:root {
      --bg: #f5f5f5;
      --card: #ffffff;
      --text: #1a1a1a;
      --muted: #666666;
      --accent: #2563eb;
      --border: #e5e5e5;
      --green: #059669;
      --amber: #d97706;
      --red: #dc2626;
      --white: #ffffff;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
  }

  /* ── NAV ── */
  .header nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
  .nav .logo { font-size: 1.3rem; font-weight: 700; color: var(--text); text-decoration: none; }
  .nav .logo span { color: var(--accent); }
  .nav-links { display: flex; list-style: none; gap: 28px; }
  .nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.93rem; }
  .nav-links a:hover { color: var(--accent); }
  .nav-cta a { background: var(--accent); color: #fff; padding: 8px 18px; border-radius: 6px; text-decoration: none; font-weight: 600; }

  /* ── ARTICLE WRAPPER ── */
  .article-wrapper { max-width: 860px; margin: 0 auto; padding: 40px 20px 60px; }

  /* ── BREADCRUMB ── */
  .breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
  .breadcrumb a { color: var(--accent); text-decoration: none; }
  .breadcrumb span { margin: 0 6px; }

  /* ── ARTICLE HEADER ── */
  .article-header { margin-bottom: 30px }
  .article-header .meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.article-header .author-byline{color:rgba(255,255,255,0.92);margin:8px 0 14px}
.article-header .author-byline a{color:var(--accent);text-decoration:none;font-weight:600}
.article-header .author-byline a:hover{text-decoration:underline}

  .article-header .meta .cat { background: var(--accent); color: #fff; padding: 2px 10px; border-radius: 4px; margin-right: 10px; font-size: 0.78rem; font-weight: 600; }
  .article-header h1 { font-size: 2.1rem; font-weight: 800; line-height: 1.25; margin-bottom: 10px; }
.article-header h1 a{color:#fff;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:4px}
.article-header h1 a:hover{color:var(--accent)}

  .article-header .subtitle { font-size: 1.1rem; color: var(--muted); }

  /* ── FEATURED SNIPPET ── */
  .featured-snippet { background: #f0f7ff; border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 8px; margin-bottom: 28px; }
  .featured-snippet .snippet-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
  .featured-snippet p { color: #1e3a5f; font-size: 0.98rem; }

  /* ── SECTION HEADINGS ── */
  .article-content h2 { font-size: 1.45rem; font-weight: 700; margin: 36px 0 14px; color: #111; border-bottom: 2px solid var(--border); padding-bottom: 8px; }
  .article-content h3 { font-size: 1.15rem; font-weight: 700; margin: 22px 0 10px; }
  .article-content p { margin-bottom: 14px; font-size: 1rem; color: #333; }

  /* ── TABLE ── */
  .table-wrap { overflow-x: auto; margin: 20px 0 28px; border-radius: 8px; border: 1px solid var(--border); }
  .table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
  .table-wrap thead th { background: #1e293b; color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; white-space: nowrap; }
  .table-wrap tbody td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
  .table-wrap tbody tr:hover { background: #f8fafc; }
  .table-wrap tbody tr:last-child td { border-bottom: none; }

  /* ── PROFILE CARDS ── */
  .profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 20px 0 28px; }
  .profile-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
  .profile-card .card-icon { font-size: 2rem; margin-bottom: 8px; }
  .profile-card h3 { margin-top: 0; }
  .profile-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0; }

  /* ── CHECKLIST ── */
  .checklist { list-style: none; margin: 16px 0 24px; }
  .checklist li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid var(--border); }
  .checklist li::before { content: "✅"; position: absolute; left: 0; top: 10px; }
  .checklist li strong { display: block; margin-bottom: 2px; }

  /* ── ASCII DIAGRAM ── */
  .ascii-diagram { background: #1e293b; color: #10b981; padding: 16px 20px; border-radius: 8px; font-family: "Courier New", monospace; font-size: 0.82rem; line-height: 1.4; white-space: pre; overflow-x: auto; margin: 16px 0 24px; }

  /* ── QUOTE ── */
  .quote-box { background: #fefce8; border-left: 4px solid var(--amber); padding: 16px 20px; border-radius: 6px; margin: 20px 0; }
  .quote-box p { margin: 0; font-style: italic; color: #92400e; }

  /* ── AI SUMMARY ── */
  .ai-summary { background: linear-gradient(135deg, #1e293b, #334155); color: #e2e8f0; padding: 16px 20px; border-radius: 8px; margin: 28px 0; font-size: 0.9rem; }
  .ai-summary .ai-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: #38bdf8; margin-bottom: 6px; }
  .ai-summary p { color: #e2e8f0; margin: 0; }

  /* ── CTA ── */
  .article-cta { background: linear-gradient(135deg, var(--accent), #1d4ed8); color: var(--white); padding: 28px 30px; border-radius: 12px; margin-top: 36px; text-align: center; }
  .article-cta h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--white); }
  .article-cta p { opacity: 1; color: var(--white); margin-bottom: 20px; font-size: 14.5px; }
  .article-cta .cta-contact { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
  .article-cta .cta-contact span { opacity: 1; color: var(--white); font-size: 14px; }
  .article-cta .cta-contact strong { color: var(--white); }
  .article-cta .cta-btn { display: inline-block; background: #fff; color: var(--accent); padding: 10px 26px; border-radius: 6px; font-weight: 700; text-decoration: none; }

  /* ── FOOTER ── */
  .site-footer { text-align: center; padding: 24px 20px; color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--border); margin-top: 20px; }

  @media (max-width: 600px) {
  .header nav { padding: 12px 16px; z-index: 1000}
  .nav-links { display: none; }
  .article-header h1 { font-size: 1.6rem; }
  .profile-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; }
    }

  



/* 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::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 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; }
