/* ── TOKENS ── */
:root {
  --primary: #1a2744;
  --accent: #c9a84c;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --border: rgba(0,0,0,0.08);
  --text: #0f172a;
  --muted: #64748b;
  --stone: #94a3b8;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.13);
  --trans: all 0.22s ease;
  --max-w: 1200px;
  /* Hero gradient vars — overridden per-site via baseof.html inline style */
  --hero-c1: #0f172a;
  --hero-c2: #1e3a8a;
  --hero-c3: #c9a84c;
  --hero-c4: #1a2744;
  --site-accent: #c9a84c;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.site-header { background: var(--primary); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; height: 64px; }
.site-logo { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; flex-shrink: 0; white-space: nowrap; }
.site-nav { display: flex; gap: 20px; margin-left: auto; flex-shrink: 0; }
.site-nav a { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); transition: var(--trans); white-space: nowrap; }
.site-nav a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; flex-shrink: 0; }

/* ── SEARCH BAR ── */
.site-search { flex: 1; max-width: 360px; display: flex; align-items: center; position: relative; }
.search-input { width: 100%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 7px 36px 7px 14px; font-size: 13px; color: #fff; outline: none; transition: var(--trans); font-family: var(--sans); }
.search-input::placeholder { color: rgba(255,255,255,0.5); }
.search-input:focus { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
.search-btn { position: absolute; right: 10px; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; padding: 0; display: flex; align-items: center; transition: var(--trans); }
.search-btn:hover { color: #fff; }

/* ── SEARCH PAGE ── */
.search-page-wrap { max-width: 860px; }
.search-form-large { margin-bottom: 8px; }
.search-form-inner { display: flex; align-items: center; background: var(--surface); border: 2px solid var(--border); border-radius: 28px; padding: 10px 20px; gap: 10px; transition: var(--trans); }
.search-form-inner:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,39,68,0.08); }
.search-form-icon { color: var(--muted); flex-shrink: 0; }
.search-input-large { flex: 1; border: none; outline: none; font-size: 17px; color: var(--text); background: transparent; font-family: var(--sans); }
.search-input-large::placeholder { color: var(--stone); }
.search-status { font-size: 13px; color: var(--muted); margin-bottom: 20px; min-height: 20px; }
.search-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.search-no-results { font-size: 15px; color: var(--muted); padding: 24px 0; }

/* ── AD COLLAPSE (unfilled slots) ── */
.ad-container.ad-empty { margin: 0 !important; padding: 0 !important; min-height: 0 !important; overflow: hidden; max-height: 0; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #2d4070 100%); padding: 80px 24px; text-align: center; }
.hero-inner { max-width: 680px; margin: 0 auto; }
.hero-label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.hero-title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 520px; margin: 0 auto; }

/* ── ADS ── */
.ad-container { max-width: var(--max-w); margin: 20px auto; padding: 0 24px; min-height: 0; transition: max-height 0.2s ease, margin 0.2s ease; }
.ad-header { text-align: center; }
.ad-incontent { margin: 16px 0; padding: 0; }

/* ── ARTICLES SECTION ── */
.articles-section { max-width: var(--max-w); margin: 0 auto; padding: 32px 24px 48px; }
.articles-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.articles-wrap { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 48px; }
.section-label { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; align-items: start; }

/* ── ARTICLE CARD ── */
.article-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: var(--trans); display: flex; flex-direction: column; height: auto; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.1); }
.article-card-image { aspect-ratio: 16/9; overflow: hidden; background: #e8e8f0; flex-shrink: 0; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-card:hover .article-card-image img { transform: scale(1.04); }
.article-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.article-cat { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.article-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { font-size: 11px; color: var(--stone); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.card-read-more { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--primary); letter-spacing: 0.04em; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: var(--surface); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }
.widget-title { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.widget-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.widget-list a { font-size: 13px; color: var(--muted); transition: var(--trans); line-height: 1.4; display: block; }
.widget-list a:hover { color: var(--primary); padding-left: 4px; }
.widget-list span { color: var(--stone); font-size: 11px; }

/* ── POST ── */
.post-wrap { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 48px; align-items: start; }
.post-main { min-width: 0; }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 24px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); transition: var(--trans); }
.breadcrumb a:hover { color: var(--primary); }
.post-cat { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 10px; }
.post-title { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.2; color: var(--text); margin-bottom: 14px; }
.post-meta { font-size: 12px; color: var(--stone); display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.post-featured-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 0; }
.post-featured-image img { width: 100%; max-height: 480px; object-fit: cover; }
.post-content { font-size: 16px; line-height: 1.85; color: var(--text); }
.post-content h2 { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--text); margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.post-content h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--text); margin: 28px 0 10px; }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 18px; }
.post-content li { margin-bottom: 6px; }
.post-content strong { font-weight: 600; color: var(--primary); }
.post-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote { border-left: 4px solid var(--accent); padding: 14px 20px; margin: 24px 0; background: var(--bg); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--muted); }
.post-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.post-content th { background: var(--primary); color: #fff; padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.post-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.post-content tr:nth-child(even) td { background: var(--bg); }

/* FAQ styling */
.post-content .faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.post-content .faq-q { background: var(--bg); padding: 14px 18px; font-weight: 600; font-size: 15px; cursor: pointer; }
.post-content .faq-a { padding: 14px 18px; font-size: 14px; color: var(--muted); }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.tag { font-size: 11px; font-weight: 500; background: var(--bg); border: 1px solid var(--border); padding: 4px 12px; border-radius: 20px; color: var(--muted); transition: var(--trans); }
.tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── RELATED POSTS ── */
.related-posts { max-width: var(--max-w); margin: 0 auto; padding: 0 24px 60px; }

/* ── LIST PAGE ── */
.list-section { max-width: var(--max-w); margin: 0 auto; padding: 48px 24px; }
.list-header { text-align: center; margin-bottom: 40px; }
.section-title { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: var(--text); margin-bottom: 10px; }
.section-desc { font-size: 15px; color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn-outline { display: inline-block; border: 2px solid var(--primary); color: var(--primary); padding: 12px 28px; border-radius: var(--radius); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: var(--trans); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ── FOOTER ── */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.65); padding: 56px 0 28px; margin-top: 60px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.footer-logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 320px; }
.footer-col-title { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.55); transition: var(--trans); }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.disclaimer { font-size: 11px !important; font-style: italic; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .articles-wrap, .list-inner .articles-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}
@media (max-width: 768px) {
  .post-wrap, .footer-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .articles-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 48px 20px; }
  /* Collapse search on mobile — tap hamburger to open nav */
  .site-search { max-width: 160px; }
  .search-input { font-size: 12px; }
}
@media (max-width: 520px) {
  .site-search { display: none; }
}
@media (max-width: 480px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* ── COOKIE CONSENT BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #1a2744;
  border-top: 3px solid var(--accent);
  padding: 14px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  animation: slideUp 0.3s ease;
}
.cookie-banner-hide { animation: slideDown 0.35s ease forwards; }
@keyframes slideUp   { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes slideDown { from { transform: translateY(0); }   to { transform: translateY(100%); } }
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  min-width: 200px;
}
.cookie-link { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  white-space: nowrap;
}
.cookie-btn-primary { background: var(--accent); color: #1a2744; }
.cookie-btn-primary:hover { background: #e0b95a; }
.cookie-btn-outline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); }
.cookie-btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
@media (max-width: 600px) {
  .cookie-banner { padding: 12px 16px; }
  .cookie-banner-inner { gap: 12px; }
  .cookie-text { font-size: 12px; }
}

/* ── AUTHOR BOX ── */
.author-box {
  margin: 40px 0 0;
  padding: 20px 24px;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.author-box-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 6px;
}
.author-box-bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA BOX ── */
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #2a3a5c 100%);
  border-left: 5px solid var(--cta-accent, var(--accent));
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.cta-box-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text-wrap { flex: 1; min-width: 200px; }
.cta-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cta-accent, var(--accent));
  margin-bottom: 8px;
}
.cta-headline {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.cta-subtext {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 10px;
}
.cta-badge {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}
.cta-action-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cta-btn {
  display: inline-block;
  background: var(--cta-accent, var(--accent));
  color: #1a2744;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--trans);
  text-align: center;
  letter-spacing: 0.02em;
}
.cta-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.cta-disclaimer {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  max-width: 160px;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .cta-box { padding: 18px 20px; }
  .cta-box-inner { flex-direction: column; gap: 20px; }
  .cta-action-wrap { width: 100%; }
  .cta-btn { width: 100%; }
}

/* ── AFFILIATE DISCLOSURE ── */
.affiliate-disclosure {
  font-size: 11px;
  color: var(--stone);
  margin-top: 6px;
  line-height: 1.5;
}

/* ── YOUTUBE VIDEO EMBED (16:9 standard, autoplay) ── */
.youtube-video-wrap {
  margin: 32px 0;
  width: 100%;
}
.youtube-video-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.youtube-video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.youtube-video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}


/* ── STATIC PAGES (about, contact, privacy) ── */
.page-wrap { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }
.page-header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
.page-title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--text); line-height: 1.2; }
.page-subtitle { font-size: 16px; color: var(--muted); margin-top: 10px; }
.page-content { font-size: 16px; line-height: 1.85; }
.page-content .disclaimer-box { background: #fff8e7; border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; font-size: 14px; line-height: 1.7; color: var(--text); }
.page-content .disclaimer-box strong { color: var(--primary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
.contact-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.contact-card h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.contact-card a { color: var(--primary); font-weight: 500; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   THE AUTHORITY THEME — additions
   ═══════════════════════════════════════════════════════════════ */

/* ── TRUST RIBBON ── */
.trust-ribbon {
  background: #0b1528;
  padding: 8px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-ribbon-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-sep { color: rgba(255,255,255,0.2); font-size: 11px; }

/* ── ANIMATED GRADIENT HERO ── */
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-authority {
  background: linear-gradient(-45deg, var(--hero-c1), var(--hero-c2), var(--hero-c3), var(--hero-c4));
  background-size: 400% 400%;
  animation: heroGradient 14s ease infinite;
  padding: 72px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-authority::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.hero-authority-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-auth-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.hero-auth-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
}
.hero-auth-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-block;
  background: var(--accent);
  color: #1a1a2e;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: var(--trans);
  white-space: nowrap;
}
.btn-hero-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn-hero-ghost {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  transition: var(--trans);
  white-space: nowrap;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* Featured article card in hero */
.hero-feature-card {
  background: rgba(255,255,255,0.96);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  transition: var(--trans);
  display: block;
  backdrop-filter: blur(8px);
}
.hero-feature-card:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(0,0,0,0.42); }
.hero-feature-img { aspect-ratio: 16/9; overflow: hidden; background: #e2e8f0; }
.hero-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hero-feature-card:hover .hero-feature-img img { transform: scale(1.04); }
.hero-feature-body { padding: 18px 20px 20px; }
.hero-feature-label {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.hero-feature-cat {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-feature-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-feature-read {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
}
.stats-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  gap: 4px;
}
.stat-counter {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-pct::after { content: '%'; }
.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
  margin: 12px 0;
}

/* ── WIDE ARTICLE CARD (editor's pick) ── */
.article-card-wide {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  margin-bottom: 0;
  height: auto;
}
.article-card-image-wide {
  aspect-ratio: 4/3;
  flex-shrink: 0;
}
.article-title-wide {
  font-size: 1.35rem !important;
  -webkit-line-clamp: 3 !important;
}
@media (max-width: 700px) {
  .article-card-wide { grid-template-columns: 1fr; }
  .article-card-image-wide { aspect-ratio: 16/9; }
}

/* ── TOC WIDGET ── */
.toc-widget {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  overflow: hidden;
  margin-bottom: 24px;
  position: sticky;
  top: 80px;
}
.toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.toc-nav { padding: 8px 0; max-height: 420px; overflow-y: auto; }
.toc-nav ul { list-style: none; padding: 0; margin: 0; }
.toc-nav li { margin: 0; }
.toc-nav a {
  display: block;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--muted);
  transition: var(--trans);
  border-left: 2px solid transparent;
  line-height: 1.4;
}
.toc-nav a:hover { color: var(--primary); background: var(--bg); }
.toc-nav a.toc-active {
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--accent);
  background: rgba(201,168,76,0.06);
}
/* Nested (h3) TOC links — indent */
.toc-nav ul ul a { padding-left: 28px; font-size: 12px; }
.toc-progress-bar {
  height: 2px;
  background: var(--border);
}
.toc-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
}

/* ── ENHANCED HERO RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-authority-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-feature-card { max-width: 480px; }
  .hero-auth-title { font-size: 2.2rem; }
}
@media (max-width: 600px) {
  .hero-authority { padding: 48px 20px 56px; }
  .hero-auth-title { font-size: 1.8rem; }
  .hero-auth-sub { font-size: 15px; }
  .stats-strip-inner { flex-wrap: wrap; }
  .stat-item { flex: 1 1 40%; }
  .stat-sep { display: none; }
  .stat-counter { font-size: 1.6rem; }
  .trust-ribbon { display: none; }
}

/* ── EXISTING HERO OVERRIDE — disable old simple hero on homepage ── */
.hero-authority ~ * .hero { display: none; }

