
    :root { --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.2; 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 a:hover { background: var(--gray-100); color: var(--navy); }
    
    
    .primary-nav a.cta-btn:hover { background: var(--gold-light); }

    /* Hub Hero */
    .hub-hero { background: var(--navy); padding: 4rem 0 3.5rem; position: relative; overflow: hidden; }
    .hub-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%; }
    .hub-hero .hub-eyebrow { color: #b88a26; 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; }
    .hub-hero h1 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 0.75rem; line-height: 1.3; }
    .hub-hero .subtitle { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.7; max-width: 600px; }

    .hero-cta-new { display: inline-block; margin-top: 1.5rem; padding: 0.75rem 1.5rem; background: var(--gold); color: var(--navy); border-radius: 50px; font-weight: 700; font-size: 0.95rem; box-shadow: 0 4px 16px rgba(201,150,42,0.4); transition: all 0.2s; text-shadow: 0 1px 2px rgba(255,255,255,0.3); }
    .hero-cta-new:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,150,42,0.5); }

    /* Area nav (sticky) */
    .area-nav { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 68px; z-index: 90; }
    .area-nav-list { display: flex; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .area-nav a { padding: 0.9rem 1.25rem; font-size: 0.85rem; font-weight: 500; color: var(--gray-700); white-space: nowrap; border-bottom: 3px solid transparent; display: flex; align-items: center; gap: 0.4rem; transition: all 0.2s; }
    .area-nav a small { font-size: 0.65rem; color: var(--gray-500); display: block; line-height: 1.2; }
    .area-nav a:hover { color: var(--navy); background: rgba(26,39,68,0.05); }
    .area-nav a.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 700; }

    /* Pillar Page 視覺 */
    .pillar-flow { background: var(--off-white); padding: 2.5rem 0; border-bottom: 1px solid var(--gray-200); }
    .pillar-inner { display: grid; grid-template-columns: 1fr; gap: 1rem; }
    .pillar-line { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.6rem; background: var(--white); border-radius: 50px; border: 1px solid var(--gray-200); font-size: 0.85rem; color: var(--gray-700); justify-content: center; min-width: 80px; text-align: center; }
    .pillar-line .pillar-num { background: var(--navy); color: var(--white); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; flex-shrink: 0; }
    .pillar-line strong { color: var(--navy); }
    .pillar-flow-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
    .pillar-line small { font-size: 0.65rem; color: var(--gray-500); display: block; line-height: 1.2; margin-top: 0.2rem; }

    /* Content */
    .section { padding: 3.5rem 0; }
    .cluster-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--gold); }
    .cluster-num { background: var(--navy); color: var(--white); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; font-family: 'Montserrat', 'PingFang TC', 'Microsoft JhengHei', sans-serif; flex-shrink: 0; }
    .cluster-label { font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); }
    .cluster-header h2 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--navy); font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 700; line-height: 1.3; }
    .cluster-header p { color: var(--gray-500); font-size: 0.9rem; margin-top: 0.2rem; }

    /* Article list (vertical for Pillar) */
    .article-list { display: flex; flex-direction: column; gap: 0.75rem; }
    .article-item { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; transition: all 0.2s; text-decoration: none; color: inherit; display: flex; align-items: center; gap: 1rem; }
    .article-item:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateX(4px); }
    .article-icon { width: 44px; height: 44px; background: var(--off-white); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
    .article-content { flex: 1; min-width: 0; }
    .article-content h3 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--navy); font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.2rem; }
    .article-content p { color: var(--gray-500); font-size: 0.85rem; line-height: 1.5; }
    .article-tag { display: inline-block; background: var(--gold); color: var(--white); padding: 0.2rem 0.7rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; align-self: center; font-family: 'Montserrat', 'PingFang TC', 'Microsoft JhengHei', sans-serif; white-space: nowrap; }
    .article-tag.secondary { background: var(--gray-100); color: var(--navy); }
    .article-tag.tool { background: #E0F2FE; color: #0369A1; }
    .article-arrow { color: var(--gold); font-size: 1rem; font-weight: 700; flex-shrink: 0; }

    /* CTA */
    .cta-area { background: var(--navy); border-radius: var(--radius-md); padding: 3rem; text-align: center; color: var(--white); margin-top: 2rem; }
    .cta-area h2 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: var(--white); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
    .cta-area p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
    .cta-area .btn { background: var(--gold); color: var(--white); padding: 0.8rem 2rem; border-radius: var(--radius-sm); font-weight: 700; display: inline-block; }
    .cta-area .btn:hover { background: var(--gold-light); color: var(--navy); }

    .site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 2.5rem 0; text-align: center; font-size: 0.82rem; }

    @media (max-width: 640px) {
      /* Article cards: single column, icon above title */
      .article-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
      .article-icon { width: 32px; height: 32px; font-size: 1rem; }
      .article-content { width: 100%; }
      .article-tag { align-self: flex-start; margin-top: 0; font-size: 0.7rem; }
      .article-arrow { display: none; }
      .hub-hero { padding: 2.5rem 0 2rem; }
      .pillar-flow-row { gap: 0.3rem; }
      .pillar-line { font-size: 0.78rem; padding: 0.3rem 0.5rem; }
    }


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

  
.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: #f3f5fb; font-weight: 600; }
.primary-nav a.cta-btn:hover { background: #8a6714; color: #fff; }
.primary-nav a.cta-btn.active { background: var(--navy); }
    .footer-top { display: flex; flex-wrap: wrap; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1.5rem; }
    .footer-brand {
  display: flex;
  flex-direction: column;
  text-align: left; flex: 0 0 auto; }
    .footer-col { flex: 1 1 auto; min-width: 140px; }
    .footer-col h3 {font-family: 'NotoSerifTC-Sub', 'Noto Serif TC', 'Songti TC', serif; color: #ccd2e0; }
    .footer-bottom { padding-top: 1.5rem; }

    @media (max-width: 768px) {
      .nav-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 68px;
        gap: 1rem;
        width: 100%;
        max-width: 1120px;
        margin: 0 auto;
      }
      .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--gray-200);
        flex-direction: column;
        padding: 0.5rem 1.5rem 1rem;
        z-index: 999;
      }
      .primary-nav.open { display: flex; }
      .primary-nav a { padding: 0.85rem 0.5rem; }
      .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0;
        background: none;
        border: none;
        padding: 8px 10px;
        cursor: pointer;
      }
      .nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        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;
}
