.hs-nav { --sc-brand: #02539C; --sc-paper: #F2F6FA; --sc-ink: #0E141B; --sc-muted: #4B5A6B; --sc-nav: 60px;
  position: sticky; z-index: 100; top: 0; height: var(--sc-nav); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 clamp(16px, 4vw, 48px); background: var(--sc-paper); box-shadow: 0 1px 0 rgba(14,20,27,.1);
  font-family: "Space Grotesk", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; }
.hs-nav .hs-logo { display: inline-flex; align-items: center; min-height: 44px; }
.hs-nav .hs-logo img { display: block; width: 128px; height: auto; }
.hs-nav nav { flex: 1; }
.hs-nav .nav-links { list-style: none; display: flex; gap: clamp(12px, 2vw, 28px); justify-content: center; margin: 0; padding: 0; position: static; background: none; backdrop-filter: none; }
.hs-nav .nav-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--sc-ink); padding: 0; border: 0; letter-spacing: 0; }
.hs-nav .nav-links a:hover, .hs-nav .nav-links a[aria-current="page"] { color: var(--sc-brand); }
.hs-nav .nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sc-brand); }
.hs-nav .nav-links a::after { display: none; }
.hs-nav .hs-nav-right { display: flex; align-items: center; gap: 10px; }
.hs-nav .hs-lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: .875rem; font-weight: 700; color: var(--sc-muted); text-decoration: none; border: 1px solid rgba(14,20,27,.18); border-radius: 6px; }
.hs-nav .nav-hamburger { display: none; background: none; border: 0; width: 44px; height: 44px; min-width: 44px; padding: 0; color: var(--sc-ink); cursor: pointer; }
.hs-nav .nav-hamburger svg { width: 24px; height: 24px; stroke: currentColor; }
@media (min-width: 861px) { .hs-nav .nav-links .nav-en { display: none; } }   /* 桌機右上已有 EN 鈕；手機漢堡選單裡才列 English */
@media (max-width: 860px) {
  .hs-nav nav { flex: 0; }
  .hs-nav .nav-hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .hs-nav .nav-links { display: none; position: absolute; top: var(--sc-nav); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--sc-paper); box-shadow: 0 8px 20px rgba(14,20,27,.12); }
  .hs-nav .nav-links.open { display: flex; }
  .hs-nav .nav-links li { width: 100%; }
  .hs-nav .nav-links a { display: flex; width: 100%; padding: 14px 20px; border-top: 1px solid rgba(14,20,27,.08); font-size: 1rem; }
  .hs-nav .nav-links a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--sc-brand); }
  .hs-nav .hs-logo img { width: 112px; }
}

/* 頁尾：跟首頁同一份連結與公司資訊 */
.hs-site-foot { font-family: "Space Grotesk", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  padding: 28px clamp(18px, 5vw, 64px) 96px; font-size: .875rem; line-height: 1.7; color: #4B5A6B; background: #F2F6FA; border-top: 1px solid rgba(14,20,27,.1); text-align: left; }
.hs-site-foot a { color: inherit; display: inline-block; padding: 10px 6px; }
.hs-site-foot .hs-foot-links { display: flex; flex-wrap: wrap; gap: 0 4px; margin-bottom: 10px; }
.hs-site-foot .hs-foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: .875rem; font-weight: 700; color: #02539C; text-decoration: none; }

/* Cookie 同意列：跟首頁同一個樣子（舊頁是深色條＋13px 字，對比 2.7） */
#cookieConsent { position: fixed; z-index: 9999; left: 12px; right: 12px; bottom: 12px; background: #fff; color: #0E141B; border: 0; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(14,20,27,.18); padding: 14px 16px; backdrop-filter: none; font-size: 14px; }
#cookieConsent > div { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; max-width: 980px; margin: 0 auto; }
#cookieConsent p { margin: 0; color: #0E141B; font-size: 14px; }
#cookieConsent a { color: #02539C; font-size: 14px; }
#cookieConsent button { font-weight: 700; font-size: 14px; min-height: 44px; padding: 10px 18px; border-radius: 8px; cursor: pointer; border: 1.5px solid #02539C; }
#cookieConsent button[data-cspev1] { background: #02539C; color: #fff; }
#cookieConsent button[data-cspev2] { background: #fff; color: #02539C; margin-left: 8px; }

.hs-nav .nav-theme-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center;
  background: none; border: 1px solid rgba(14,20,27,.18); border-radius: 6px; color: var(--sc-ink); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; padding: 0 10px; }
.hs-nav .nav-theme-btn:hover { color: var(--sc-brand); border-color: var(--sc-brand); }
@media (min-width: 861px) { .hs-nav .nav-theme-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 860px) {
  .hs-nav .nav-theme { width: 100%; }
  .hs-nav .nav-theme-btn { display: flex; width: 100%; justify-content: flex-start; padding: 14px 20px; border: 0; border-top: 1px solid rgba(14,20,27,.08); border-radius: 0; font-size: 1rem; }
}
