/* =============================================================
   HARVEST SEO — INSIGHTS (BLOG) COMPONENTS
   Loads AFTER https://aiseoexpert.sg/css/stylesheet.css and only
   adds what the blog needs. All colours come from the main tokens.
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   0. TOKENS (blog additions)
   --gold-ink: gold darkened for small text on cream/white.
   #c9a84c on cream is 2.07:1 (fails WCAG AA); #7a5f1a is 5.46:1.
   ───────────────────────────────────────────────────────────── */
:root {
  --gold-ink:     #7a5f1a;
  --nav-h:        84px;
  --max-article:  760px;
}

/* ─────────────────────────────────────────────────────────────
   1. ACCESSIBILITY CORRECTIONS (WCAG 2.2 AA)
   Same look, raised to ≥4.5:1 text contrast / ≥3:1 focus contrast.
   Recommended to back-port into the main stylesheet.
   ───────────────────────────────────────────────────────────── */
.breadcrumb p,
.breadcrumb a                 { color: rgba(255,255,255,0.6); }
.breadcrumb span[aria-hidden] { color: rgba(255,255,255,0.4); }
.breadcrumb .breadcrumb__current { color: rgba(255,255,255,0.75); margin: 0; }
.logo-subtext                 { color: rgba(255,255,255,0.62); }
.hero-trust                   { color: rgba(255,255,255,0.62); }
.hero-trust a                 { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
footer a                      { color: rgba(255,255,255,0.65); }
.footer-contact p             { color: rgba(255,255,255,0.62); }
.footer-contact strong        { color: rgba(255,255,255,0.75); }
.footer-copy                  { color: rgba(255,255,255,0.58); }
.footer-brand .logo-subtext   { color: rgba(255,255,255,0.58); }
.cta-left p,
.cta-promises li              { color: rgba(255,255,255,0.7); }

/* Focus ring: forest on light surfaces, gold on dark ones. */
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.site-nav :focus-visible,
.breadcrumb :focus-visible,
.hero :focus-visible,
footer :focus-visible,
.cta-section :focus-visible,
.tldr :focus-visible,
.aside-cta :focus-visible,
.cluster-card--dark :focus-visible { outline-color: var(--gold); }

/* Light-background eyebrow labels. */
.section-inner > .section-label,
.answer-label,
.insight-link__lead,
.author-bio__label,
.toc__title                   { color: var(--gold-ink); }


/* ─────────────────────────────────────────────────────────────
   2. NAVIGATION (bundled mirror)
   ───────────────────────────────────────────────────────────── */
.site-nav .nav-links a[aria-current] { color: var(--gold); }
.site-nav .dropdown li { list-style: none; }

/* The blog adds an "Insights" item — tighten spacing on mid-size screens. */
@media (min-width: 1025px) and (max-width: 1340px) {
  .site-nav .nav-links { gap: 22px; }
  .site-nav .nav-links a { font-size: 12.5px; }
}
@media (min-width: 1025px) and (max-width: 1140px) {
  .site-nav .logo-subtext { display: none; }
}
@media (max-width: 1024px) {
  .site-nav .nav-item--cta { padding: 16px var(--pad-x) 8px; }
  .site-nav .nav-item--cta .nav-cta { display: block; text-align: center; padding: 12px 22px; }
  .site-nav .nav-item.has-dropdown { position: relative; }
  .site-nav .submenu-toggle { position: absolute; right: calc(var(--pad-x) - 8px); top: 10px; }
  .site-nav .nav-item.open .submenu-toggle { transform: rotate(180deg); }
}

/* <nav> elements that are NOT the site bar must not inherit the global
   `nav { position: sticky; background: forest; … }` rule. */
nav.toc,
nav.navigation.pagination {
  position: static;
  display: block;
  padding: 0;
  background: transparent;
  z-index: auto;
}


/* ─────────────────────────────────────────────────────────────
   3. HUB + ARCHIVE HERO
   ───────────────────────────────────────────────────────────── */
.insights-hero__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  position: relative;
}
.insights-hero h1 { max-width: 860px; }
.insights-hero .hero-sub { max-width: 640px; }
.insights-hero .speakable .hero-sub { margin-bottom: 32px; }
.insights-hero--compact { padding-top: 56px; padding-bottom: 64px; }
.insights-hero--compact h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.insights-hero--compact .hero-sub { margin-bottom: 0; }

/* Search */
.insights-search {
  display: flex;
  max-width: 520px;
  margin-top: 32px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255,255,255,0.07);
}
.insights-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 12px 16px;
  font: 400 14px/1.4 'poppins', sans-serif;
  color: #fff;
}
.insights-search input::placeholder { color: rgba(255,255,255,0.6); }
.insights-search input:focus-visible { outline-offset: -3px; }
.insights-search__btn {
  border: 0;
  background: var(--gold);
  color: var(--forest);
  font: 700 13px/1 'poppins', sans-serif;
  padding: 0 20px;
  letter-spacing: 0.03em;
  transition: opacity var(--ease);
}
.insights-search__btn:hover { opacity: 0.88; }


/* ─────────────────────────────────────────────────────────────
   4. HUB SECTIONS
   ───────────────────────────────────────────────────────────── */
.insights-clusters { background: var(--cream); }

.cluster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(26,61,43,0.07);
}
.cluster-card {
  background: var(--bg-white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--ease);
}
.cluster-card:hover { background: #fffdf8; }
.cluster-card h3 { font-size: 16px; margin-bottom: 10px; }
.cluster-card h3 a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.cluster-card h3 a:hover { color: var(--gold-ink); }
.cluster-card p { font-size: 13px; line-height: 1.7; color: var(--muted); flex: 1; }
.cluster-card__count {
  flex: 0 0 auto !important;
  margin-top: 16px;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-ink) !important;
}
.cluster-card--dark { background: var(--forest); }
.cluster-card--dark:hover { background: var(--forest-mid); }
.cluster-card--dark h3,
.cluster-card--dark h3 a { color: #fff; }
.cluster-card--dark h3 a:hover { color: var(--gold); }
.cluster-card--dark p { color: rgba(255,255,255,0.7); }
.cluster-card--dark .cluster-card__count { color: var(--gold) !important; }

.insights-latest { background: var(--cream); padding-top: 0; }
.insights-clusters + .insights-latest { padding-top: var(--sp-lg); }
.insights-hero + .insights-latest,
.insights-hero--compact + .insights-latest { padding-top: var(--sp-xl); }

.insights-founder { background: var(--cream-dark); padding: var(--sp-xl) var(--pad-x); }
.insights-founder .author-bio { background: transparent; padding: 0; }


/* ─────────────────────────────────────────────────────────────
   5. ARTICLE CARDS  (.ai-article — BlogPosting)
   ───────────────────────────────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-article {
  background: var(--bg-white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.ai-article:hover {
  border-color: var(--gold-pale);
  box-shadow: 0 8px 32px rgba(26,61,43,0.08);
  transform: translateY(-2px);
}
.ai-article__media { display: block; aspect-ratio: 16 / 9; background: var(--cream-dark); overflow: hidden; }
.ai-article__media img { width: 100%; height: 100%; object-fit: cover; }

.ai-article__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ai-article__meta {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin-bottom: 10px;
  line-height: 1.5 !important;
}
.ai-article__meta a { color: var(--gold-ink); position: relative; z-index: 1; }
.ai-article__meta a:hover { text-decoration: underline; }
.ai-article__meta span { margin: 0 6px; }

.ai-article__title { font-size: 17px; line-height: 1.35; margin-bottom: 10px; max-width: none; }
.ai-article__title a { color: var(--forest); }
.ai-article__title a::after { content: ''; position: absolute; inset: 0; } /* whole card clickable */
.ai-article__title a:hover { color: var(--gold-ink); }
.ai-article__title a:focus-visible { outline: none; }
.ai-article:focus-within { outline: 2px solid var(--forest); outline-offset: 2px; }

.ai-article__excerpt { font-size: 14px !important; line-height: 1.7 !important; color: var(--ink-soft) !important; flex: 1; }
.ai-article__foot { font-size: 12px !important; color: var(--muted) !important; margin-top: 16px !important; }

/* Guide badge */
.aeo-guide .ai-article__meta::before {
  content: 'Guide';
  display: inline-block;
  background: var(--forest);
  color: var(--gold);
  padding: 2px 8px;
  margin-right: 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.12em;
}

/* Featured (first card on hub page 1) */
.ai-article--featured { grid-column: 1 / -1; flex-direction: row; }
.ai-article--featured .ai-article__media { flex: 0 0 54%; aspect-ratio: auto; min-height: 320px; }
.ai-article--featured .ai-article__body { padding: 36px 40px; justify-content: center; }
.ai-article--featured .ai-article__title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.ai-article--featured .ai-article__excerpt { font-size: 15px !important; flex: 0 0 auto; }


/* ─────────────────────────────────────────────────────────────
   6. PAGINATION (WordPress outputs .nav-links — reset the site-nav rules)
   ───────────────────────────────────────────────────────────── */
nav.navigation.pagination { margin-top: var(--sp-lg); }
nav.navigation.pagination .nav-links {
  position: static;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  background: transparent;
  padding: 0;
  border: 0;
}
nav.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--forest);
  font-size: 14px;
  font-weight: 500;
}
nav.navigation.pagination a.page-numbers:hover { border-color: var(--gold); color: var(--gold-ink); }
nav.navigation.pagination .page-numbers.current { background: var(--forest); border-color: var(--forest); color: var(--gold); }
nav.navigation.pagination .page-numbers.dots { border: 0; background: transparent; }


/* ─────────────────────────────────────────────────────────────
   7. ARTICLE — HERO + META
   ───────────────────────────────────────────────────────────── */
.post-hero { padding-top: 64px; padding-bottom: 64px; }
.post-hero__inner { max-width: var(--max-content); margin: 0 auto; position: relative; }
.post-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(1.85rem, 4vw, 3rem); }
.post-hero__topic { color: var(--gold); }
.post-hero__topic:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
}
.post-meta span:not(:last-child)::after { content: '·'; margin: 0 10px; color: var(--gold); }
.post-meta a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.post-meta a:hover { color: var(--gold); }


/* ─────────────────────────────────────────────────────────────
   8. ARTICLE — LAYOUT (content + sticky question TOC)
   ───────────────────────────────────────────────────────────── */
.post-layout {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--sp-xl) var(--pad-x) var(--sp-lg);
  display: grid;
  grid-template-columns: minmax(0, var(--max-article)) 300px;
  grid-template-areas:
    "lead aside"
    "body aside";
  column-gap: 72px;
  justify-content: space-between;
  align-items: start;
}
.post-lead { grid-area: lead; }
.post-body { grid-area: body; min-width: 0; }
.post-aside { grid-area: aside; position: sticky; top: calc(var(--nav-h) + 16px); align-self: start; }

.post-layout--single {
  grid-template-columns: minmax(0, var(--max-article));
  grid-template-areas: "lead" "body";
  justify-content: center;
}

/* Answer-first block (extends .answer-block from the main stylesheet) */
.post-lead .answer-block { margin: 0 0 32px; padding: 22px 26px; }
.answer-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 8px !important;
}
.post-lead .answer-first { font-size: 17px; line-height: 1.7; }
.answer-link { font-size: 14px !important; margin-top: 12px !important; color: var(--ink-soft); }
.answer-link a { color: var(--forest); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.post-figure { margin: 0 0 40px; }
.post-figure img { width: 100%; border-radius: var(--radius-md); }
.post-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.6; }

/* TOC */
.toc {
  background: var(--bg-white);
  border: 1px solid var(--cream-dark);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 24px;
  max-height: calc(100vh - var(--nav-h) - 220px);
  overflow-y: auto;
}
.toc__title {
  font-family: 'cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px !important;
}
.toc__list { counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.toc__list li { counter-increment: toc; display: flex; gap: 10px; }
.toc__list li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-ink);
  padding-top: 5px;
  flex: 0 0 20px;
}
.toc__list a {
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  transition: color var(--ease);
}
.toc__list a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); }
.toc__list a[aria-current="true"] { color: var(--forest); font-weight: 600; }

.aside-cta {
  margin-top: 20px;
  background: var(--forest);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.aside-cta__title { font-family: 'cinzel', serif; font-weight: 700; color: #fff !important; font-size: 15px; line-height: 1.35; margin-bottom: 8px; }
.aside-cta p { color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.6; }
.aside-cta .btn-primary { margin-top: 16px; }


/* ─────────────────────────────────────────────────────────────
   9. ARTICLE — BODY TYPOGRAPHY (.entry-content)
   The main stylesheet resets lists and link styling; restore them
   for long-form reading. Links must be underlined (WCAG 1.4.1).
   ───────────────────────────────────────────────────────────── */
.entry-content { font-size: 17px; }
.entry-content > * + * { margin-top: 0; }
.entry-content p { font-size: 17px; line-height: 1.85; margin: 0 0 22px; color: var(--ink-soft); }
.entry-content p + p { margin-top: 0; }

.entry-content h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  max-width: none;
  margin: 56px 0 18px;
  padding-top: 8px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin: 36px 0 12px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.entry-content h4 { margin: 28px 0 10px; font-size: 1.05rem; }
/* "Snippable" pattern: the sentence straight after a heading is the answer. */
.entry-content h2 + p { font-weight: 400; color: var(--ink); }

.entry-content a:not(.cta-button):not(.btn-primary):not(.wp-block-button__link) {
  color: var(--forest);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--ease), text-decoration-thickness var(--ease);
}
.entry-content a:not(.cta-button):not(.btn-primary):not(.wp-block-button__link):hover {
  color: var(--gold-ink);
  text-decoration-thickness: 2px;
}

.entry-content ul,
.entry-content ol { margin: 0 0 26px; padding-left: 1.35em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin: 0 0 10px; padding-left: 4px; font-size: 17px; line-height: 1.75; font-weight: 300; color: var(--ink-soft); }
.entry-content li::marker { color: var(--gold-ink); font-weight: 600; }
.entry-content li > ul,
.entry-content li > ol { margin: 10px 0 0; }

.entry-content strong { font-weight: 600; color: var(--ink); }

.entry-content blockquote,
.entry-content .wp-block-quote,
.entry-content .wp-block-pullquote {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  margin: 40px 0;
  background: var(--cream-dark);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
}
.entry-content blockquote p {
  font-family: 'cinzel', serif;
  font-size: 1.2rem;
  color: var(--forest);
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 10px;
}
.entry-content blockquote cite { font-size: 13px; color: var(--ink-soft); font-style: normal; }

/* Tables — same look as .comparison-table, scroll on small screens */
.entry-content .wp-block-table,
.entry-content figure.table-wrap { margin: 32px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--bg-white); }
.entry-content th,
.entry-content td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--cream-dark); vertical-align: top; line-height: 1.55; }
.entry-content thead th {
  font-family: 'cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--cream-dark);
  border-bottom: 2px solid var(--gold-pale);
}
.entry-content tbody th { font-weight: 600; color: var(--forest); background: rgba(26,61,43,0.03); }
.entry-content td { color: var(--ink-soft); font-weight: 300; }
.entry-content figcaption,
.entry-content .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.6; }

.entry-content figure { margin: 36px 0; }
.entry-content img { border-radius: var(--radius-md); }

.entry-content pre,
.entry-content .wp-block-code {
  background: var(--forest);
  color: var(--cream);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 28px 0;
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--cream-dark); padding: 2px 6px; border-radius: var(--radius-sm); }
.entry-content pre code { background: none; padding: 0; color: inherit; }

.entry-content hr { border: 0; height: 1px; background: var(--cream-dark); margin: 48px 0; }

/* Gutenberg buttons → brand buttons */
.entry-content .wp-block-button__link {
  background: var(--gold);
  color: var(--forest);
  border-radius: var(--radius-sm);
  font: 700 14px/1.2 'poppins', sans-serif;
  padding: 14px 28px;
}

/* Author-placed answer blocks in content (class "answer-block" on a Group block) */
.entry-content .answer-block p { margin: 0; font-weight: 500; color: var(--forest); }


/* ─────────────────────────────────────────────────────────────
   10. ARTICLE — CONTEXTUAL LINK, CTA, TL;DR, FAQ, TAGS
   ───────────────────────────────────────────────────────────── */
.insight-link {
  margin: 40px 0;
  padding: 18px 22px;
  background: rgba(201,168,76,0.09);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.insight-link p { margin: 0 !important; font-size: 15px !important; color: var(--ink-soft); line-height: 1.6 !important; }
.insight-link__lead {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.post-cta { margin: 48px 0; }
.post-cta .cta-button { white-space: normal; text-align: center; }

.tldr {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.tldr::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.tldr h2 { color: var(--gold); font-size: 1.35rem; letter-spacing: 0.08em; margin-bottom: 18px; position: relative; }
.tldr__list { display: flex; flex-direction: column; gap: 12px; position: relative; }
.tldr__list li {
  padding-left: 28px;
  position: relative;
  color: rgba(255,255,255,0.85);
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 300;
}
.tldr__list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.tldr__list a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.tldr__list strong { color: #fff; }

/* FAQ — native <details>; reuses .faq-* styles from the main stylesheet */
.aeo-faq { padding: 0; margin: 56px 0 24px; }
.aeo-faq > h2 { margin-bottom: 20px; }
.aeo-faq .faq-list { max-width: none; }
.aeo-faq summary.faq-q { list-style: none; }
.aeo-faq summary.faq-q::-webkit-details-marker { display: none; }
.aeo-faq summary.faq-q:focus-visible { outline-offset: 2px; }
.aeo-faq details[open] > .faq-a { display: block; }
.aeo-faq details[open] .faq-icon { transform: rotate(45deg); }
.aeo-faq .faq-a p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.aeo-faq .faq-a a { color: var(--forest); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.post-tags a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--forest);
  background: var(--cream-dark);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-sm);
}
.post-tags a:hover { border-color: var(--gold); }


/* ─────────────────────────────────────────────────────────────
   11. AUTHOR BIO + TRUST
   ───────────────────────────────────────────────────────────── */
.post-trust { background: var(--cream-dark); padding: var(--sp-lg) var(--pad-x); }
.author-bio { padding: 0; }
.author-inner { max-width: var(--max-article); }
.author-bio__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
h2.author-name,
h3.author-name { font-family: 'cinzel', serif; font-size: 18px; margin-bottom: 4px; max-width: none; }
.author-name a:hover { color: var(--gold-ink); }
.author-role { color: var(--ink-soft) !important; }
.author-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
.author-links a { font-size: 13px; font-weight: 600; color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.author-links a:hover { color: var(--gold-ink); }

.insights-trust { max-width: var(--max-article); margin: 20px auto 0; text-align: center; }
.insights-trust p { font-size: 13px; color: var(--ink-soft); }
.insights-trust span[aria-hidden] { margin: 0 6px; }
.insights-trust__stars { color: var(--gold); letter-spacing: 2px; }
.insights-trust a { color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.related-posts { background: var(--cream); }


/* ─────────────────────────────────────────────────────────────
   12. CLOSING CTA + FAQ PAGE
   ───────────────────────────────────────────────────────────── */
.insights-cta__card { display: flex; flex-direction: column; gap: 12px; }
.insights-cta__kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 4px;
}
.insights-cta__card .cta-button,
.insights-cta__card .cta-secondary { width: 100%; text-align: center; white-space: normal; }
.insights-cta__note { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.insights-cta__note a { color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.faq-page { padding-top: var(--sp-xl); padding-bottom: var(--sp-xl); }
.faq-page > .entry-content,
.faq-page > .aeo-faq,
.faq-page > .post-cta { max-width: var(--max-article); }
.faq-group__more { margin-top: 16px; font-size: 14px; }
.faq-group__more a { color: var(--forest); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.insights-main .callout a,
.insights-main .about-principles a { color: var(--forest); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }


/* ─────────────────────────────────────────────────────────────
   13. RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .post-layout { column-gap: 48px; grid-template-columns: minmax(0, 1fr) 260px; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 74px; }
  .cluster-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }

  .post-layout,
  .post-layout--single {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "lead" "aside" "body";
    padding-top: var(--sp-lg);
  }
  .post-aside { position: static; margin-bottom: 40px; }
  .toc { max-height: none; }
  .aside-cta { display: none; }
}

@media (max-width: 768px) {
  .cluster-grid,
  .article-grid { grid-template-columns: 1fr; }
  .ai-article--featured { flex-direction: column; }
  .ai-article--featured .ai-article__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .ai-article--featured .ai-article__body { padding: 22px 24px 24px; }

  .post-hero { padding-top: 44px; padding-bottom: 48px; }
  .post-meta { font-size: 12.5px; }
  .post-lead .answer-first { font-size: 16px; }
  .entry-content,
  .entry-content p,
  .entry-content li { font-size: 16px; }
  .tldr { padding: 28px 22px; }
  .post-trust { padding: var(--sp-lg) var(--pad-x); }
  .insights-trust span[aria-hidden],
  .insights-trust span[aria-hidden] + * { display: inline; }
  .insights-search { max-width: none; }
  .insights-founder { padding: var(--sp-lg) var(--pad-x); }
}

@media print {
  .post-aside, .post-cta, .insight-link, .related-posts, .insights-cta, .insights-search, .breadcrumb { display: none !important; }
  .post-layout { display: block; padding: 0; }
  .post-hero { background: #fff; padding: 0 0 16px; }
  .post-hero h1, .post-meta, .post-meta a { color: #000; }
  .tldr { background: #fff; border: 1px solid #000; }
  .tldr h2, .tldr__list li { color: #000; }
  .aeo-faq .faq-a { display: block !important; }
}

/* Nav CTA abbreviation: no dotted underline on the button */
.nav-cta abbr[title] { text-decoration: none; border: 0; cursor: inherit; }

/* ─────────────────────────────────────────────────────────────
   14. FIXES (live-site stylesheet overrides)
   ───────────────────────────────────────────────────────────── */

/* Author byline: the live main stylesheet styles .author-bio as its own
   panel, which put a second white box behind the card. Reset the wrapper
   so only the card shows, centred on the article column. */
.post-trust .author-bio,
.insights-founder .author-bio {
  background: transparent;
  padding: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
  max-width: none;
  width: auto;
}
.post-trust .author-inner,
.insights-founder .author-inner {
  max-width: var(--max-article);
  width: 100%;
  margin: 0 auto;
}
.insights-trust { max-width: 960px; }

/* Logged-in editors: keep the sticky menu below the WordPress admin bar. */
/* (Below 1025px the menu isn't sticky, so no offset is needed.) */
@media (min-width: 1025px) { body.admin-bar .site-nav { top: 32px; } }
