
    :root {  --gray-600: #5a6a8a;
 --navy: #1B2952; --gold: #8e6a1d; --gold-light: #f5d77a; --white: #ffffff; --off-white: #f8f9fc; --gray-100: #f4f5fa; --gray-200: #e8eaf2; --gray-500: #5a6a8a; --gray-700: #4a5568; --text: #2d3748; --shadow-md: 0 4px 16px rgba(26,39,68,0.12); --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; }
    *,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; }

    .container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
    .site-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; }
    .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
    .brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
    .brand-mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
    .brand-text { display: flex; flex-direction: column; line-height: 1.3; font-size: 0.82rem; }
    .brand-text strong { font-weight: 700; color: var(--navy); 
  white-space: nowrap;}
    .brand-text em { font-style: normal; color: var(--gray-500); font-size: 0.78rem; 
  white-space: nowrap;}
    .primary-nav { display: flex; gap: 0.25rem; align-items: center; }
    
    .primary-nav a:hover { background: var(--gray-100); color: var(--navy); }
    
    

    /* Article hero */
    .article-hero { background: linear-gradient(160deg, var(--navy) 0%, #243460 100%); padding: 3.5rem 0 3rem; color: var(--white); position: relative; overflow: hidden; }
    .article-hero::before { content: ''; position: absolute; top: -40px; right: -40px; width: 350px; height: 350px; background: radial-gradient(circle, rgba(201,150,42,0.15) 0%, transparent 70%); border-radius: 50%; }
    .article-hero .breadcrumb { color: rgba(255,255,255,0.85); font-size: 0.85rem; margin-bottom: 1rem; }
    .article-hero .breadcrumb a { color: rgba(255,255,255,0.95); }
    .article-hero .breadcrumb a:hover { color: var(--gold-light); }
    .article-hero .article-eyebrow { color: var(--gold-light); font-family: 'Montserrat', 'PingFang TC', 'Microsoft JhengHei', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.6rem; text-shadow: 0 1px 3px rgba(0,0,0,0.2); }
    .article-hero h1 { font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; color: #FFFFFF; text-shadow: 0 2px 8px rgba(0,0,0,0.3); line-height: 1.35; margin-bottom: 0.75rem; }
    .article-hero .subtitle { color: rgba(255,255,255,0.95); font-size: 1.05rem; line-height: 1.7; max-width: 700px; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }
    .article-hero .article-meta { display: flex; gap: 1.5rem; margin-top: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.85); flex-wrap: wrap; }
    .article-hero .article-meta span::before { content: '•'; margin-right: 0.5rem; color: var(--gold); }
    .article-hero .article-meta span:first-child::before { display: none; }

    /* Article body */
    .article-body { padding: 4rem 0 3rem; }
    .article-content { max-width: 760px; margin: 0 auto; }
    .article-content h2 { font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--navy); font-size: 1.6rem; font-weight: 700; margin: 2.5rem 0 1rem; padding-top: 1.5rem; border-top: 2px solid var(--gray-200); }
    .article-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1rem; }
    .article-content h3 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--navy); font-size: 1.25rem; font-weight: 700; margin: 1.75rem 0 0.75rem; }
    .article-content p { margin-bottom: 1.25rem; font-size: 1.02rem; line-height: 1.85; color: #344155; }
    .article-content ul, .article-content ol { margin: 1rem 0 1.5rem 1.5rem; }
    .article-content li { margin-bottom: 0.5rem; line-height: 1.85; color: #344155; }
    .article-content strong { color: var(--navy); font-weight: 600; }
    .article-content em { color: #61708e; font-style: italic; }

    /* Hero takeaway */
    .takeaway-box { background: linear-gradient(135deg, var(--gold-light) 0%, #e8c766 100%); color: #1b2952; padding: 1.5rem 1.75rem; border-radius: var(--radius-md); margin: 1.5rem 0 2rem; font-weight: 600; font-size: 1.05rem; line-height: 1.6; box-shadow: var(--shadow-md); }
    .takeaway-box::before { content: '💡 '; font-size: 1.2rem; }

    /* Numbered list icon */
    .article-content ol > li { padding-left: 0.25rem; }
    .article-content ol > li::marker { color: var(--gold); font-weight: 700; }

    /* Quiz / FAQ box */
    .faq-box { background: var(--off-white); border-left: 4px solid var(--gold); padding: 1.5rem 1.75rem; margin: 2rem 0; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
    .faq-box h2 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; border-top: none; padding-top: 0; margin-top: 0; }
    .faq-item { margin-bottom: 1.5rem; }
    .faq-item:last-child { margin-bottom: 0; }
    .faq-q { font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; font-size: 1.05rem; }
    .faq-a { color: #344155; line-height: 1.85; }

    /* Mistake/Myth boxes */
    .myth-box { display: flex; gap: 1rem; margin: 1.5rem 0; padding: 1.25rem 1.5rem; background: var(--white); border-radius: var(--radius-md); border: 1.5px solid var(--gray-200); }
    .myth-box .icon { font-size: 1.5rem; flex-shrink: 0; }
    .myth-box .content { flex: 1; }
    .myth-box .myth-line { font-weight: 700; color: var(--gray-700); margin-bottom: 0.5rem; }
    .myth-box .truth-line { color: var(--navy); font-weight: 500; }
    .myth-box.mistake { border-left: 4px solid #d64545; }
    .myth-box.truth { border-left: 4px solid var(--gold); }
    .myth-box.mistake .myth-line { color: #d54141; }
    .myth-box.truth .myth-line { color: var(--navy); }

    /* Summary check list */
    .check-list { background: var(--off-white); border-radius: var(--radius-md); padding: 1.75rem 2rem; margin: 2rem 0; }
    .check-list h2 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; border-top: none; padding-top: 0; margin-top: 0; }
    .check-list ul { list-style: none; padding: 0; margin: 0; }
    .check-list li { padding-left: 1.75rem; position: relative; margin-bottom: 0.75rem; }
    .check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; font-size: 1.1rem; }

    /* CTA */
    .cta-section { background: var(--navy); color: var(--white); padding: 3rem 2rem; border-radius: var(--radius-lg); margin: 3rem 0 1rem; text-align: center; }
    .cta-section h2 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--white); border-top: none; padding-top: 0; margin-top: 0; font-size: 1.5rem; }
    .cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
    .cta-btn { display: inline-block; background: var(--gold); color: var(--white); padding: 0.85rem 2rem; border-radius: var(--radius-sm); font-weight: 600; transition: all 0.15s; }
    .cta-btn:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }

    /* Internal links */
    .article-content a.internal-link { color: var(--navy); border-bottom: 1.5px solid var(--gold); font-weight: 500; transition: all 0.15s; }
    .article-content a.internal-link:hover { background: var(--gold-light); padding: 0 4px; border-radius: 2px; }

    /* Author box */
    .author-box { background: var(--off-white); border-radius: var(--radius-md); padding: 1.75rem 2rem; margin: 3rem 0 1rem; display: flex; gap: 1.25rem; align-items: center; }
    .author-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; flex-shrink: 0; }
    .author-info h3 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--navy); font-size: 1.1rem; margin-bottom: 0.25rem; }
    .author-info p { color: var(--gray-700); font-size: 0.9rem; margin: 0; line-height: 1.5; }

    /* Site footer */
    .site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 2.5rem 0; font-size: 0.82rem; margin-top: 3rem; }

    /* Related articles */
    .related-section { background: var(--off-white); padding: 3rem 0; margin-top: 3rem; }
    .related-section h2 { text-align: center; color: var(--navy); font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; font-size: 1.5rem; margin-bottom: 2rem; }
    .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
    .related-card { background: var(--white); padding: 1.5rem; border-radius: var(--radius-md); border: 1.5px solid var(--gray-200); transition: all 0.2s; text-decoration: none; color: inherit; display: block; }
    .related-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-md); }
    .related-card .tag { display: inline-block; background: var(--gold); color: var(--white); padding: 0.2rem 0.7rem; border-radius: 50px; font-size: 0.7rem; font-weight: 700; margin-bottom: 0.75rem; }
    .related-card h3 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--navy); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
    .related-card p { color: var(--gray-500); font-size: 0.85rem; line-height: 1.5; margin: 0; }

    /* Responsive */
    @media (max-width: 640px) {
      .article-hero { padding: 2.5rem 0 2rem; }
      .article-content h2 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; font-size: 1.3rem; }
      .article-content h3 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; font-size: 1.1rem; }
      .article-content p { font-size: 1rem; }
      .myth-box { flex-direction: column; gap: 0.5rem; }
      .author-box { flex-direction: column; text-align: center; }
    }

    .share-buttons { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin: 2rem auto; padding: 1.25rem 0 1.25rem 1rem; border-top: 1px solid #e8eaf2; justify-content: center; }
    .share-label { font-size: 0.85rem; color: #8492af; font-weight: 500; }
    .share-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 1rem; border-radius: 6px; font-size: 0.82rem; font-weight: 600; cursor: pointer; border: none; transition: opacity 0.2s; text-decoration: none; color: #fff; }
    .share-btn:hover { opacity: 0.85; }
    .share-facebook { background: #1772e8; }
    .share-line { background: #008a00; }
    .share-copy { background: #4a5568; }
    .share-instagram { background: #c9295b; }



.search-result-item strong { font-weight:600; }


.article-update { text-align:center; padding:1.5rem 0 0.5rem; font-size:0.8rem; color:#5a6a8a; border-top:1px solid #e8eaf2; margin-top:1rem; }

  

.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--navy);
  padding: 32px 0;
  color: #fff;
}
.footer-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1 1 200px;
  min-width: 0;
}
.footer-brand img {
  display: block;
}
.footer-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 4px;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.footer-col {
  flex: 1 1 150px;
  min-width: 0;
}
.footer-col h3,
.footer-col h4 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; font-size: 0.82rem;
  font-weight: 700;
  color: #ccd2e0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 6px;
}
.footer-col a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-copy {
  font-size: 0.78rem;
  color: #bcc3d4;
  margin: 0;
}
.footer-meta { color: #aeb6c8; font-size: 0.82rem; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
  .primary-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  
  .hero, .page-hero { padding: 56px 0 40px; }
  .section { padding: 56px 0; }
  .sched-row { grid-template-columns: 80px repeat(5, 1fr); }
  .sched-time { font-size: 0.92rem; padding: 12px 6px; }
  .sched-time span { font-size: 0.7rem; }
  .schedule-card { padding: 20px 16px; }
  .sched-cell.on::before { width: 26px; height: 26px; font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .sched-row { grid-template-columns: 70px repeat(5, 1fr); font-size: 0.85rem; }
  .sched-head > div { padding: 8px 2px; font-size: 0.85rem; }
}

/* ---- Subtle entrance animation ---- */
@media (prefers-reduced-motion: no-preference) {
  .feature-card, .news-card, .timeline li { opacity: 1; transform: translateY(8px); animation: fadeUp 0.6s ease forwards; }
  .feature-card:nth-child(1) { animation-delay: 0.05s; }
  .feature-card:nth-child(2) { animation-delay: 0.10s; }
  .feature-card:nth-child(3) { animation-delay: 0.15s; }
  .feature-card:nth-child(4) { animation-delay: 0.20s; }
  .feature-card:nth-child(5) { animation-delay: 0.25s; }
  .feature-card:nth-child(6) { animation-delay: 0.30s; }
  .feature-card:nth-child(7) { animation-delay: 0.35s; }
  .news-card:nth-child(1) { animation-delay: 0.05s; }
  .news-card:nth-child(2) { animation-delay: 0.10s; }
  .news-card:nth-child(3) { animation-delay: 0.15s; }
  .news-card:nth-child(4) { animation-delay: 0.20s; }
  .news-card:nth-child(5) { animation-delay: 0.25s; }
  .news-card:nth-child(6) { animation-delay: 0.30s; }
  .timeline li { animation-delay: 0.1s; }
  .timeline li:nth-child(2) { animation-delay: 0.15s; }
  .timeline li:nth-child(3) { animation-delay: 0.20s; }
  .timeline li:nth-child(4) { animation-delay: 0.25s; }
  .timeline li:nth-child(5) { animation-delay: 0.30s; }
  @keyframes fadeUp { to { transform: translateY(0); } }
}

/* 麵包屑導航 */
.breadcrumb { margin: 0 auto; padding: 1rem 1.5rem; max-width: 1200px; font-size: 0.85rem; color: #5a6a8a; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; padding: 0; margin: 0; }
.breadcrumb-list li { display: inline-flex; align-items: center; }
.breadcrumb-list li:not(:last-child)::after { content: ''; }
.breadcrumb-list a { color: #1B2952; text-decoration: none; padding: 0.25rem 0; transition: color 0.2s; }
.breadcrumb-list a:hover { color: #8e6a1d; text-decoration: underline; }
.breadcrumb-list .breadcrumb-sep { padding: 0 0.5rem; color: #c8c8c8; margin: 0 0.25rem; }
.breadcrumb-list > li:last-child > span { color: #5a6a8a; }
@media (max-width: 640px) {
  .breadcrumb { padding: 0.75rem 1rem; font-size: 0.8rem; }
  .breadcrumb-list .breadcrumb-sep { padding: 0 0.25rem; }
}

/* 文章目錄 */
.toc { margin: 2rem auto; }
.toc ol li { padding: 0.25rem 0; }
.toc a { color: #1a2744; }
.toc a:hover { color: #8e6a1d; text-decoration: underline; }
.toc strong { color: #1a2744; }

/* 讓 H2 錨點跳轉時不被 header 遮擋 */
.article-body h2[id],
.article-content h2[id],
.section h2[id] {
  scroll-margin-top: 100px;
}

/* Hub 快速導覽卡片 */
.hub-quick-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin: 2rem 0; }
.hub-nav-card { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; background: var(--white); border: 1.5px solid var(--gray-200); border-radius: 12px; text-decoration: none; color: inherit; transition: all 0.25s; }
.hub-nav-card:hover { border-color: var(--gold); background: #fff8f0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.hub-nav-icon { font-size: 2rem; flex-shrink: 0; }
.hub-nav-text { display: flex; flex-direction: column; gap: 0.25rem; }
.hub-nav-text strong { color: var(--navy); font-size: 1.05rem; font-weight: 700; }
.hub-nav-text em { color: var(--gray-600); font-size: 0.85rem; font-style: normal; line-height: 1.5; }


    .article-source { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.5rem; border-top: 1px solid #e8eaf2; }
    .article-source .container { padding: 0; }


.primary-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: 4px;
  transition: background 0.2s;

  white-space: nowrap;}
.primary-nav a:hover { background: var(--gray-100); color: var(--navy); }
.primary-nav a.active { background: var(--navy); color: #fff !important; }
.primary-nav a.cta-btn { background: #8e6a1d; color: var(--white); font-weight: 600; }
.primary-nav a.cta-btn:hover { background: #a87a1f; }
.primary-nav a.cta-btn.active { background: var(--navy); }

/* 正文與資訊卡內的文內連結加底線（WCAG 1.4.1） */
.article-body a,
.article-content a,
.author-box a,
.map-address a,
.info-card a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* narrow-screen card fix (2026-10-27) */
@media (max-width: 360px) {
  .card, .info-card, .article-card {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .card, .info-card, .article-card * { min-width: 0; overflow-wrap: anywhere; }
}

/* 文章頁 hero 標題容器寬度統一（2026-10-31，全站視覺一致） */
body .article-hero .container,
body .hub-hero .container,
body .page-hero .container {
  max-width: 760px;
}
