:root { --primary: #2c5282; --accent: #d4a84b; --light: #f8fafc; --gray: #6b7280; --white: #ffffff; --radius: 14px; --shadow: 0 4px 24px rgba(30,58,95,0.08); --transition: 0.3s ease; }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; color: var(--primary); line-height: 1.7; }
    body > header { background: #1e3a5f; position: sticky; top: 0; z-index: 1000; }
    header nav { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; }
    .logo { color: var(--white); font-weight: 700; font-size: 20px; text-decoration: none; }
    .nav-links { display: flex; gap: 8px; list-style: none; }
    .nav-links a { color: rgba(255,255,255,0.88); padding: 8px 14px; border-radius: 6px; font-size: 14px; text-decoration: none; }
    .nav-links a.active { background: rgba(255,255,255,0.15); }
    .breadcrumb { background: var(--light); padding: 12px 0; border-bottom: 1px solid rgba(26,60,110,0.08); }
    .breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; font-size: 13px; color: var(--gray); }
    .breadcrumb-inner a { color: var(--primary); text-decoration: none; }
    .breadcrumb-inner a:hover { text-decoration: underline; }
    .breadcrumb-sep { margin: 0 8px; color: var(--gray); }
    .article-header { background: linear-gradient(135deg, #1d6b3a, #145a32); padding: 60px 24px; text-align: center; color: var(--white) }
    .article-header h1 { font-size: 32px; margin-bottom: 16px; }
    .article-header p { opacity: 0.8; }
    /* ===== ARTICLE LAYOUT WITH SIDEBAR ===== */
    .article-layout {
      max-width: 1200px; margin: 0 auto;
      padding: 48px 24px;
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 40px;
    }
    @media (max-width: 1024px) {
      .article-layout { grid-template-columns: 1fr; }
    }

    /* ===== ARTICLE CONTENT ===== */
    .article-container {
      max-width: 100%;
      padding: 48px 24px;
    }

    /* ===== SIDEBAR ===== */
    .sidebar { display: flex; flex-direction: column; gap: 24px; }
    .sidebar-card {
      background: var(--white); border-radius: var(--radius);
      box-shadow: var(--shadow);
      border: 1px solid rgba(26,60,110,0.07);
      overflow: hidden;
    }
    .sidebar-card .sidebar-head {
      background: var(--primary); color: var(--white);
      padding: 14px 20px; font-size: 14px; font-weight: 700;
      letter-spacing: 0.5px;
    }
    .sidebar-card .sidebar-body { padding: 20px; }
    .cat-list { list-style: none; }
    .cat-list li {
      display: flex; justify-content: space-between; align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid rgba(26,60,110,0.06);
    }
    .cat-list li:last-child { border-bottom: none; }
    .cat-list a {
      font-size: 13px; color: var(--dark); font-weight: 500;
      transition: var(--transition);
    }
    .cat-list a:hover { color: var(--primary); }
    .cat-list .count {
      background: rgba(26,60,110,0.08);
      color: var(--primary); padding: 3px 9px;
      border-radius: 20px; font-size: 11px; font-weight: 700;
    }
    .popular-post {
      display: flex; gap: 12px; align-items: flex-start;
      padding: 12px 0;
      border-bottom: 1px solid rgba(26,60,110,0.06);
    }
    .popular-post:last-child { border-bottom: none; }
    .popular-num {
      width: 28px; height: 28px; flex-shrink: 0;
      background: var(--primary); color: var(--white);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px; font-weight: 700;
      margin-top: 2px;
    }
    .popular-info h4 {
      font-size: 13px; font-weight: 600; color: var(--dark);
      margin-bottom: 4px; line-height: 1.4;
    }
    .popular-info h4 a:hover { color: var(--primary); }
    .popular-info span { font-size: 11px; color: var(--gray); }
    .sidebar-cta {
      background: linear-gradient(135deg, var(--primary), #1a3c6e);
      border-radius: var(--radius);
      padding: 24px;
      color: var(--white);
      text-align: center;
    }
    .sidebar-cta h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
    .sidebar-cta p { font-size: 13px; opacity: 0.9; margin-bottom: 16px; }
    .sidebar-cta a {
      display: inline-block;
      background: var(--accent); color: var(--primary);
      padding: 12px 24px; border-radius: 8px;
      font-size: 13px; font-weight: 700;
      transition: var(--transition);
    }
    .sidebar-cta a:hover { background: #f5b840; }
    .article-content h2 { font-size: 24px; margin: 32px 0 16px; }
    .article-content h3 { font-size: 20px; margin: 24px 0 12px; color: var(--primary); }
    .article-content p { margin-bottom: 16px; color: #374151; }
    .article-cta { background: var(--light); padding: 32px; text-align: center; margin: 48px 0; border-radius: 12px; }
    .article-cta h3 { font-size: 18px; margin-bottom: 12px; color: var(--primary); }
    .article-cta p { margin-bottom: 16px; font-weight: 600; color: var(--primary); }
    .article-cta a { display: inline-block; background: var(--primary); color: var(--white); padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 700; }
    .related-posts { background: var(--light); padding: 60px 24px; }
    .related-posts-inner { max-width: 1200px; margin: 0 auto; }
    .related-posts h2 { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 24px; text-align: center; }
    .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .related-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(30,58,95,0.08); border: 1px solid rgba(26,60,110,0.07); text-decoration: none; transition: 0.3s ease; }
    .related-card:hover { transform: translateY(-4px); }
    .related-card-body { padding: 24px 20px 20px; border-top: 4px solid var(--primary) }
    .related-card-body h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
    .related-card-body p { font-size: 13px; color: var(--gray); }
    footer { background: var(--primary); color: var(--white); padding: 40px 24px; margin-top: 60px; text-align: center; }
    @media (max-width: 1024px) {
      .article-layout { grid-template-columns: 1fr; }
      .sidebar { display: none; }
    }
    @media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
  
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
    @media (max-width: 768px) {
      header .nav-links, nav .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: #1e3a5f; flex-direction: column; padding: 16px; gap: 4px; }
      header .nav-links.open, nav .nav-links.open { display: flex; }
      header .hamburger, nav .hamburger { display: flex; }
    }

    /* ===== QUICK ANSWER / TOC / AI SUMMARY / FAQ ===== */
    .quick-answer {
      background: #f0f7ff;
      border-left: 4px solid var(--primary);
      padding: 20px 24px;
      margin: 24px 0;
      border-radius: 0 var(--radius) var(--radius) 0;
    }
    .quick-answer p { margin-bottom: 0; color: var(--primary); }
    .toc {display: block;
      background: var(--light);
      border: 1px solid rgba(26,60,110,0.08);
      border-radius: var(--radius);
      padding: 24px;
      margin: 28px 0;
    }
    .toc h3 { font-size: 16px; margin-bottom: 14px; color: var(--primary);; margin-top: 0}
    .toc ol { padding-left: 20px; margin-bottom: 0; }
    .toc li { margin-bottom: 8px; }
    .toc a { color: var(--primary); text-decoration: underline; }
    .ai-summary {
      background: var(--light);
      border: 1px solid rgba(26,60,110,0.1);
      border-radius: var(--radius);
      padding: 24px;
      margin: 40px 0;
    }
    .ai-label {
      display: inline-block;
      background: var(--primary);
      color: var(--white);
      font-size: 12px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 4px;
      margin-bottom: 10px;
      text-transform: uppercase;
    }
    .ai-summary p { margin-bottom: 0; }
    .faq-section { margin: 48px 0; }
    .faq-block {
      background: var(--light);
      border: 1px solid rgba(26,60,110,0.08);
      border-radius: 10px;
      padding: 20px 24px;
      margin-bottom: 16px;
    }
    .faq-block h4 { color: var(--primary); font-size: 15px; font-weight: 700; margin-bottom: 10px; }
    .faq-block p { margin-bottom: 0; }
    .cta-contact { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; font-size: 15px; color: var(--primary); }

  


/* Resources dropdown nav */
.dropdown { position: relative; display: inline-block; }
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 8px;
  background: transparent;
  z-index: 199;
}

.dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  z-index: 1100;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; z-index: 1100}
.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #2d3748;
  white-space: nowrap;
  text-decoration: none;
}
.dropdown-menu a:hover { background: #f7fafc; color: #2b6cb0; }
.dropdown-menu a.active { color: #2b6cb0; font-weight: 600; }




/* Unified header styles */
body > header {
  background: #1e3a5f !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
}
header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
header .logo::before {
  content: 'A';
  width: 44px;
  height: 44px;
  background: #d4a84b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #1e3a5f;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}
.nav-links a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: #d4a84b;
  border-radius: 1px;
}
.nav-cta {
  background: #d4a84b;
  color: #1e3a5f !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
}
.nav-cta:hover { background: #d49010; transform: translateY(-2px); }
/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.lang-switcher a {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s ease;
  text-decoration: none;
}
.lang-switcher a.active {
  background: rgba(255,255,255,0.25);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.lang-switcher a:hover:not(.active) { color: #fff; }
/* Resources dropdown nav */
.dropdown { position: relative; display: inline-block; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  z-index: 1100;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; z-index: 1100}
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: #2d3748;
  white-space: nowrap;
  text-decoration: none;
}
.dropdown-menu a:hover { background: #f7fafc; color: #2b6cb0; }
.dropdown-menu a.active { color: #2b6cb0; font-weight: 600; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
}

/* ===== Author Byline ===== */
.author-byline { font-size: 0.95rem; color: #4a5568; margin: 8px 0 24px; }
.author-byline a { color: #2c5282; text-decoration: underline; }
.author-byline a:hover { color: #d4a84b; }
