:root {
      --primary: #0a1628;
      --accent: #1e4a8a;
      --accent-light: #2c6ab5;
      --bg: #f4f6f9;
      --card-bg: #ffffff;
      --text: #1a1a2e;
      --text-light: #555;
      --border: #e0e4ea;
      --radius: 10px;
      --shadow: 0 2px 12px rgba(0,0,0,.06);
    }
    *,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
    body{font-family:'Inter',system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);line-height:1.7}
    a{color:var(--accent);text-decoration:none;transition:color .2s}
    a:hover{color:var(--accent-light)}

    header nav {background:var(--primary);padding:0 32px;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.15)}
    .nav-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:62px}
    .nav-logo{color:#fff;font-size:22px;font-weight:800;letter-spacing:-.5px}
    .nav-links{display:flex;gap:28px;list-style:none;align-items:center}
    .nav-links a{color:#c8d6e5;font-size:14px;font-weight:500;padding:6px 0;position:relative}
    .nav-links a::after{content:'';position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--accent-light);transition:width .2s}
    .nav-links a:hover{color:#fff}.nav-links a:hover::after{width:100%}
    .nav-btn{padding:9px 20px;background:var(--accent-light);color:#fff!important;border-radius:6px;font-weight:600;font-size:13px}
    .nav-btn:hover{background:#3a82d4}

    .breadcrumb{max-width:860px;margin:0 auto;padding:20px 24px 0;font-size:13px;color:var(--text-light)}
    .breadcrumb a{color:var(--text-light)}.breadcrumb span{color:#999}

    .article-header { max-width:860px;margin:0 auto;padding:24px 24px 0 }
    .article-header .cat-tag{display:inline-block;padding:5px 14px;background:#e8f0fb;color:var(--accent);border-radius:20px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.8px;margin-bottom:14px}
    .article-header h1{font-size:30px;font-weight:800;line-height:1.3;color:var(--primary);margin-bottom:12px}
    .article-header .meta{font-size:13px;color:var(--text-light);display:flex;gap:16px;flex-wrap:wrap}

    .article-layout{max-width:1200px;margin:0 auto;display:flex;gap:40px;padding:28px 24px 40px}
    .article-content{flex:1;min-width:0;background:var(--card-bg);border-radius:var(--radius);box-shadow:var(--shadow);padding:36px 40px}
    .sidebar{width:300px;flex-shrink:0;position:sticky;top:82px;align-self:flex-start}
    .sidebar-card{background:var(--card-bg);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;margin-bottom:18px}
    .sidebar-card h4{font-size:15px;font-weight:700;margin-bottom:12px;color:var(--primary)}
    .sidebar-card ol{padding-left:20px;font-size:13px;line-height:2;color:var(--text-light)}
    .sidebar-card ol a{font-weight:500}

    .article-content h2{font-size:22px;font-weight:700;margin:36px 0 14px;color:var(--primary);border-bottom:2px solid var(--border);padding-bottom:8px}
    .article-content h2:first-of-type{margin-top:0}
    .article-content h3{font-size:17px;font-weight:700;margin:24px 0 8px;color:var(--accent)}
    .article-content p{margin-bottom:14px;color:#333;font-size:15px}
    .article-content ul,.article-content ol{margin:8px 0 16px 22px;font-size:15px;color:#333}
    .article-content li{margin-bottom:8px}

    .featured-snippet{border-left:4px solid var(--accent);background:#f0f5fd;padding:20px 24px;border-radius:0 8px 8px 0;margin-bottom:28px}
    .featured-snippet strong{color:var(--accent);font-size:13px;text-transform:uppercase;letter-spacing:.5px}
    .featured-snippet p{margin:8px 0 0;font-size:14px;color:#444}

    .toc{display: block;
      background:#f8f9fb;border:1px solid var(--border);border-radius:8px;padding:18px 22px;margin-bottom:28px}
    .toc strong{font-size:14px;color:var(--primary);text-transform:uppercase;letter-spacing:.5px}
    .toc ol{margin:10px 0 0 18px;font-size:14px;line-height:2.2}
    .toc ol a{font-weight:500}

    .table-wrap{overflow-x:auto;margin:20px 0 28px}
    .table-wrap table{width:100%;border-collapse:collapse;font-size:14px}
    .table-wrap thead th{background:var(--primary);color:#fff;padding:12px 14px;text-align:left;font-weight:600;font-size:13px}
    .table-wrap td{padding:12px 14px;border-bottom:1px solid var(--border)}
    .table-wrap tbody tr:nth-child(even){background:#f8f9fb}

    .compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0 28px}
    .compare-card{border:1px solid var(--border);border-radius:8px;padding:20px}
    .compare-card h4{font-size:15px;font-weight:700;margin-bottom:10px}
    .compare-card ul{list-style:none;margin:0;padding:0}
    .compare-card li{padding:5px 0;font-size:14px;color:#444;border-bottom:1px dotted #eee}
    .compare-card li:last-child{border-bottom:none}

    .quote-box{border-left:4px solid #e67e22;background:#fffdf7;padding:18px 22px;margin:20px 0 28px;border-radius:0 8px 8px 0}
    .quote-box p{margin:0;font-size:14px;color:#6b4c1e;font-style:italic}

    .process-list{counter-reset:step;list-style:none;margin:18px 0 28px;padding:0}
    .process-list li{counter-increment:step;position:relative;padding:0 0 0 52px;margin-bottom:22px;min-height:38px}
    .process-list li::before{content:counter(step);position:absolute;left:0;top:0;width:38px;height:38px;background:var(--accent);color:#fff;border-radius:50%;text-align:center;line-height:38px;font-weight:700;font-size:15px}

    .ai-summary{background:#1a2332;border-radius:8px;padding:20px 24px;margin:32px 0 24px}
    .ai-summary strong{color:#5dade2;font-size:11px;text-transform:uppercase;letter-spacing:1px}
    .ai-summary p{margin:8px 0 0;font-size:14px;color:#c8d6e5;line-height:1.7}

    .article-cta{background:linear-gradient(135deg,#0a1628,#1e4a8a);border-radius:8px;padding:28px 30px;margin:28px 0;color:#fff}
    .article-cta h3{color:#fff;font-size:18px;margin:0 0 8px;font-weight:700}
    .article-cta p{color:#c8d6e5;font-size:14px;margin-bottom:6px}
    .article-cta a.cta-btn{display:inline-block;margin-top:14px;padding:12px 28px;background:#fff;color:var(--accent);border-radius:6px;font-weight:700;font-size:14px;letter-spacing:.5px}
    .article-cta a.cta-btn:hover{background:#e8f0fb}

    .sidebar-cta{background:linear-gradient(135deg,#0a1628,#1e4a8a);color:#fff}
    .sidebar-cta h4{color:#fff!important}
    .sidebar-cta p{font-size:13px;color:#c8d6e5;margin-bottom:12px}
    .sidebar-cta a{display:block;text-align:center;padding:10px 0;background:#fff;color:var(--accent)!important;border-radius:6px;font-weight:700;font-size:13px}

    .related{max-width:1200px;margin:0 auto;padding:0 24px 50px}
    .related h2{font-size:20px;font-weight:700;margin-bottom:20px;color:var(--primary)}
    .related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
    .related-card{background:var(--card-bg);border-radius:8px;box-shadow:var(--shadow);padding:20px;border-top:3px solid var(--accent)}
    .related-card h4{font-size:14px;font-weight:600;margin-bottom:6px;line-height:1.4}
    .related-card p{font-size:12px;color:var(--text-light);line-height:1.5}

    footer{background:var(--primary);padding:28px 24px;text-align:center}
    footer p{color:#8899aa;font-size:13px;margin:0}

    @media (max-width:860px){
      .article-layout{flex-direction:column;padding:20px 16px 30px}
      .sidebar{width:100%;position:static}
      .article-content{padding:24px 20px}
      .compare-grid{grid-template-columns:1fr}
      .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; }
    }

  


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