/* ── 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; position: relative; padding-bottom: 3px; }
.site-nav a::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.22s ease; border-radius: 2px; }
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { width: 100%; }
.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-page-title { color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.search-page-wrap h1 { font-size: clamp(1.4rem, 3.5vw, 1.8rem); font-weight: 700; margin-bottom: 24px; }
.search-form-large { margin-bottom: 8px; }
.search-form-inner { display: flex; align-items: center; background: #ffffff; border: 2px solid #e2e8f0; border-radius: 28px; padding: 10px 20px; gap: 10px; transition: var(--trans); }
.search-form-inner:focus-within { border-color: var(--accent, var(--primary, #4338ca)); box-shadow: 0 0 0 3px rgba(26,39,68,0.08); }
.search-form-icon { color: #64748b; flex-shrink: 0; }
.search-input-large { flex: 1; border: none; outline: none; font-size: 17px; color: #0f172a; background: transparent; font-family: var(--sans); }
.search-input-large::placeholder { color: #94a3b8; }
.search-status { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.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; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.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: 0; flex-wrap: wrap; }
.post-featured-image { border-radius: var(--radius); overflow: hidden; margin-top: 0; margin-bottom: 22px; }
.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 h1 { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--text); margin: 4px 0 14px; }
.post-content img { max-width: 100%; height: auto; display: block; margin: 20px 0; }
.post-content h2, .post-content h3, .post-content h2[id], .post-content h3[id] { scroll-margin-top: 84px; }
.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; text-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.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; }
  .post-wrap, .page-wrap { display: block; } .sidebar { display: flex; width: 100%; margin-top: 28px; }
}
@media (max-width: 768px) {
  .post-wrap, .footer-grid { grid-template-columns: 1fr; }
  .post-wrap, .page-wrap { display: block; } .sidebar { display: flex; width: 100%; margin-top: 28px; }
  .articles-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .site-nav { display: none; }
  .nav-toggle { display: block; order: -1; }
  .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; }
}

/* ── FEATURED DEPTH ARTICLE BADGES ── */
.hero-feature-labels {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.hero-feature-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.hero-feature-badge-depth {
  background: #c9a84c;
  border: 1px solid rgba(0,0,0,0.12);
  color: #2b2205;
}
.hero-feature-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.9);
}

.article-card-labels {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.article-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--primary);
  text-transform: uppercase;
  display: inline-block;
}
.article-badge-depth {
  background: rgba(201,168,76,0.15);
  color: #c9a84c;
  border: 1px solid rgba(201,168,76,0.3);
}
.article-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 6px 24px rgba(201,168,76,0.15);
}
.article-card-featured:hover {
  box-shadow: 0 12px 36px rgba(201,168,76,0.25);
}

/* ── 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 h1 { font-family: var(--serif); font-size: clamp(1.4rem, 3.5vw, 1.8rem); font-weight: 700; margin-top: 28px; margin-bottom: 12px; line-height: 1.3; }
.page-content h2 { font-family: var(--serif); font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; margin-top: 24px; margin-bottom: 10px; line-height: 1.3; }
.page-content h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; margin-top: 18px; margin-bottom: 8px; }
.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(1.65rem, 3vw, 2.5rem);
  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-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 4px;
  transition: var(--trans);
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-hero-primary::after { content: '→'; font-size: 15px; font-weight: 400; letter-spacing: 0; transition: transform 0.2s ease; }
.btn-hero-primary:hover::after { transform: translateX(4px); }
.btn-hero-primary:hover { filter: brightness(0.9); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 11px 4px;
  border: none;
  text-decoration: none;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-hero-ghost:hover { color: #fff; }

/* Hero carousel */
.hero-carousel { position: relative; }
.hero-carousel-dots { display: flex; gap: 7px; justify-content: center; margin-top: 10px; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.32); border: none; cursor: pointer; padding: 0; transition: background 0.25s ease, transform 0.25s ease; }
.hero-dot.active { background: rgba(255,255,255,0.92); transform: scale(1.35); }
.hero-dot:hover { background: rgba(255,255,255,0.6); }

/* 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: 1.45rem; }
}
@media (max-width: 600px) {
  .hero-authority { padding: 48px 20px 56px; }
  .hero-auth-title { font-size: 1.45rem; }
  .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; }


/* ── ARTICLE COMPONENTS (inline TOC, share bar, related, amazon strip) ── */
.toc { margin: 0 0 28px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.toc-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc #TableOfContents ul { list-style: none; margin: 0; padding-left: 16px; }
.toc #TableOfContents > ul { padding-left: 0; }
.toc #TableOfContents li { margin: 5px 0; }
.toc #TableOfContents a { color: var(--primary); font-size: 14px; line-height: 1.5; text-decoration: none; border-bottom: 1px solid transparent; transition: var(--trans); }
.toc #TableOfContents a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Social share bar */
.post-share { display: flex; align-items: center; gap: 8px; margin: 0; flex-wrap: wrap; }
.post-share::before { content: "Share this article"; font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); color: var(--muted); transition: var(--trans); }
.share-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.share-btn svg { width: 16px; height: 16px; }

/* Related articles (inline, end of article) */
.related-articles-inline { margin: 32px 0; padding: 20px 24px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.related-articles-inline h3 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 12px; color: var(--text); }
.related-articles-inline ul { list-style: none; margin: 0; padding: 0; }
.related-articles-inline li { position: relative; margin-bottom: 8px; padding-left: 16px; }
.related-articles-inline li::before { content: "\203A"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.related-articles-inline a { color: var(--primary); font-size: 14px; text-decoration: none; border-bottom: 1px solid transparent; transition: var(--trans); }
.related-articles-inline a:hover { border-bottom-color: var(--accent); }

/* Amazon affiliate product cards (bottom strip) */
.amazon-products { max-width: var(--max-w); margin: 32px auto; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.amazon-products-heading { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 16px; color: var(--text); }
.amazon-products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.amazon-card { display: flex; flex-direction: column; padding: 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--trans); }
.amazon-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--accent); }
.amazon-card-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.amazon-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; flex: 1; }
.amazon-btn { display: inline-block; align-self: flex-start; margin-top: auto; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 9px 16px; border-radius: 6px; transition: var(--trans); }
.amazon-card:hover .amazon-btn { filter: brightness(1.08); }
.amazon-note { font-size: 12px; color: var(--muted); margin: 16px 0 0; font-style: italic; }

/* Consent banner contrast */
.cookie-text { color: rgba(255,255,255,0.92); }
.cookie-link { color: #fff; text-decoration: underline; font-weight: 600; }

/* ── LEFT TOC RAIL (floating, sticky) ── */
.toc-rail { min-width: 0; }
.toc-rail .toc-widget { position: sticky; top: 80px; margin-bottom: 0; }
/* 3-column layout only when a TOC rail is present; wider container keeps the article readable */
.post-wrap:has(.toc-rail) { grid-template-columns: 230px minmax(0,1fr) 300px; max-width: 1360px; }
/* hide the inline in-body TOC when the floating rail is shown */
.post-wrap:has(.toc-rail) .post-main .toc { display: none; }
@media (max-width: 1100px) {
  .post-wrap:has(.toc-rail) { grid-template-columns: minmax(0,1fr) 300px; max-width: var(--max-w); }
  .toc-rail { display: none; }
  .post-wrap:has(.toc-rail) .post-main .toc { display: block; }
}
@media (max-width: 900px) {
  .post-wrap:has(.toc-rail) { grid-template-columns: 1fr; }
}

/* ── TOC RAIL + BRAND-MARK FIXES ── */
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.toc-rail { align-self: stretch; }
.toc-widget-body { padding: 4px 0 8px; }
.toc-widget-body nav ul { list-style: none; padding: 0; margin: 0; }
.toc-widget-body nav li { margin: 0; }
.toc-widget-body 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; text-decoration: none; }
.toc-widget-body nav a:hover { color: var(--primary); background: var(--bg); }
.toc-widget-body nav a.toc-active { color: var(--primary); font-weight: 600; border-left-color: var(--accent); background: rgba(201,168,76,0.06); }
.toc-widget-body nav ul ul a { padding-left: 28px; font-size: 12px; }

/* ── TOPIC-GROUPED HOMEPAGE ── */
.topic-groups { margin-top: 40px; }
.topic-group { margin-bottom: 52px; }
.topic-group-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.topic-group-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--text); margin: 0; }
.topic-view-all { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; transition: var(--trans); white-space: nowrap; }
.topic-view-all:hover { color: var(--primary); }
/* Lead card: first article in each topic group — full-width horizontal layout */
.article-card-lead { flex-direction: row; }
.article-card-lead .article-card-image { width: 42%; flex-shrink: 0; min-height: 220px; aspect-ratio: auto; border-radius: var(--radius) 0 0 var(--radius); }
.article-card-lead .article-card-image img { height: 100%; object-fit: cover; }
.article-card-lead .article-card-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.article-card-lead .article-title { font-size: 1.25rem; -webkit-line-clamp: 3; }
.article-card-lead .article-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.topic-group .articles-grid .article-card-lead { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .article-card-lead { flex-direction: column; }
  .article-card-lead .article-card-image { width: 100%; min-height: 180px; border-radius: var(--radius) var(--radius) 0 0; }
}

/* ── POSTS BROWSE PAGE (/posts/) ── */
.posts-section { max-width: var(--max-w); margin: 0 auto; padding: 0 24px 64px; }

.posts-hero { padding: 48px 0 32px; border-bottom: 2px solid var(--border); margin-bottom: 48px; }
.posts-hero-inner { margin-bottom: 24px; }
.posts-hero-title { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--text); margin: 6px 0 8px; }
.posts-hero-sub { font-size: 14px; color: var(--muted); }

.posts-topic-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.posts-topic-pill { display: inline-block; padding: 5px 14px; border: 1.5px solid var(--border); border-radius: 20px; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--surface); transition: var(--trans); }
.posts-topic-pill:hover { border-color: var(--accent); color: var(--primary); background: rgba(201,168,76,0.06); }

.posts-body { display: flex; flex-direction: column; gap: 64px; }

/* Category section */
.cat-section { scroll-margin-top: 84px; }
.cat-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.cat-section-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--text); margin: 0; display: flex; align-items: center; gap: 10px; }
.cat-section-name::before { content: ''; display: block; width: 4px; height: 1.3em; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.cat-section-count { font-size: 11px; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 2px 10px; white-space: nowrap; }
.cat-view-all { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--accent); transition: var(--trans); white-space: nowrap; flex-shrink: 0; }
.cat-view-all:hover { color: var(--primary); }

/* Lead + tiles two-column layout */
.cat-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; align-items: start; }

/* Lead card */
.cat-lead { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; transition: var(--trans); }
.cat-lead:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-lead-img { aspect-ratio: 16/9; overflow: hidden; }
.cat-lead-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-lead:hover .cat-lead-img img { transform: scale(1.04); }
.cat-lead-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-lead-topic { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.cat-lead-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.cat-lead-excerpt { font-size: 13px; color: var(--muted); line-height: 1.65; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cat-lead-meta { display: flex; gap: 12px; align-items: center; font-size: 11px; color: var(--stone); padding-top: 10px; border-top: 1px solid var(--border); margin-top: auto; }
.cat-lead-cta { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--primary); }

/* Compact tile stack */
.cat-tiles { display: flex; flex-direction: column; gap: 14px; }
.cat-tile { display: flex; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; transition: var(--trans); min-height: 120px; }
.cat-tile:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.09); }
.cat-tile-img { width: 140px; flex-shrink: 0; overflow: hidden; }
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat-tile:hover .cat-tile-img img { transform: scale(1.06); }
.cat-tile-body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.cat-tile-title { font-family: var(--serif); font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cat-tile-meta { font-size: 12px; color: var(--stone); }

/* Responsive */
@media (max-width: 860px) {
  .cat-layout { grid-template-columns: 1fr; }
  .cat-tiles { flex-direction: row; flex-wrap: wrap; }
  .cat-tile { flex: 1 1 calc(50% - 6px); min-width: 180px; }
}
@media (max-width: 480px) {
  .cat-tile { flex: 1 1 100%; }
  .posts-topic-nav { gap: 6px; }
  .posts-topic-pill { font-size: 11px; padding: 4px 10px; }
}

/* ── STANDALONE TOOL/COMPARISON PAGES ── */
.page-tool-desc { font-size: 16px; color: var(--muted); line-height: 1.65; margin: 10px 0 24px; }
.page-wrap .post-main { max-width: 860px; }

/* -- Category/topic header case fix (2026-07-03) -- */
/* Capitalizes each word; Hugo template handles acronyms (PM, SEO, RV, etc.) */
.topic-group-title { text-transform: capitalize; }
.cat-section-name  { text-transform: capitalize; }

/* -- Hero carousel v2: sliding track, arrows, swipe (2026-07-04) -- */
.hero-carousel-viewport { overflow: hidden; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.35); position: relative; }
.hero-carousel-track { display: flex; transition: transform 0.45s cubic-bezier(0.4,0,0.2,1); }
.hero-slide { flex: 0 0 100%; min-width: 0; display: flex; }
.hero-slide .hero-feature-card { width: 100%; box-shadow: none; border-radius: 0; }
.hero-slide .hero-feature-card:hover { transform: none; box-shadow: none; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(15,23,42,0.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; transition: background 0.2s ease, opacity 0.2s ease;
}
.hero-arrow:hover { background: rgba(15,23,42,0.82); }
.hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow-prev { left: 12px; }
.hero-arrow-next { right: 12px; }
.hero-dot { width: 8px; height: 8px; box-sizing: content-box; padding: 5px; background-clip: content-box; }
@media (min-width: 901px) {
  .hero-authority-inner { grid-template-columns: 2fr 3fr; gap: 48px; }
  .hero-feature-title { font-size: 1.5rem; }
  .hero-feature-body { padding: 22px 26px 24px; }
}
@media (max-width: 900px) {
  .hero-authority { padding-top: 24px; }
  .hero-authority-inner { display: flex; flex-direction: column; }
  .hero-carousel { order: -1; width: 100%; }
  .hero-slide .hero-feature-card, .hero-feature-card { max-width: none; }
  .hero-auth-text { text-align: center; }
  .hero-auth-sub { margin-left: auto; margin-right: auto; }
  .hero-auth-actions { justify-content: center; }
}
@media (max-width: 600px) {
  .hero-arrow { width: 34px; height: 34px; }
  .hero-arrow svg { width: 15px; height: 15px; }
}

/* -- Hero actions: stacked + centered under tagline (2026-07-04) -- */
.hero-auth-actions { flex-direction: column; align-items: center; gap: 12px; }

/* -- Hero: long-tagline sizing + eyebrow contrast pill (2026-07-04) -- */
.hero-auth-title { text-wrap: balance; }
.hero-auth-title-long { font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.3; }
.hero-eyebrow {
  color: rgba(255,255,255,0.92);
  background: rgba(15,23,42,0.3);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
@media (max-width: 900px) {
  .hero-auth-title-long { font-size: 1.25rem; }
}

/* -- AI disclosure footer (2026-07-04) -- */
.ai-disclosure {
  margin-top: 32px;
  padding: 12px 16px;
  background: var(--surface);
  border-left: 3px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.ai-disclosure a { color: var(--primary); text-decoration: none; }
.ai-disclosure a:hover { text-decoration: underline; }
.ai-disclosure p { margin: 0; }
/* -- Hide empty ad containers (2026-07-04) -- */
.ad-container:empty,
.ad-container.ad-empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Cache bust: 1783349113 */

/* -- Authority sources -- */
.authority-sources{margin:2rem 0;padding:20px 22px;border:1px solid var(--border,#e2e8f0);border-left:4px solid var(--accent,#c9a84c);border-radius:10px;background:var(--surface,#f8fafc)}
.authority-sources-title{font-family:var(--serif,Georgia,serif);font-size:1.15rem;margin:0 0 6px;color:var(--heading,#1e293b)}
.authority-sources-intro{font-size:.9rem;color:var(--muted,#64748b);margin:0 0 12px}
.authority-sources-list{margin:0;padding-left:1.15rem;display:flex;flex-direction:column;gap:7px}
.authority-sources-list li{font-size:.92rem;line-height:1.45}
.authority-sources-list a{font-weight:600}
.authority-sources-list .src-note{color:var(--muted,#64748b)}
.authority-sources-list .src-note::before{content:"\00b7 ";color:var(--muted,#64748b)}
/* responsive-table */
@media (max-width: 640px){.post-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}}
