/* ═══════════════════════════════════════════════════════════
   THE EXECUTIVE SUMMARY — v2.0
   Premium editorial theme. HBR-inspired design system.
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --navy: #13283B;
  --navy-deep: #0C1A28;
  --teal: #00BBD9;
  --teal-muted: #0A8FA6;
  --coral: #E8613A;
  --coral-hover: #D4502A;
  --cream: #F5ECE5;      /* citycio blush */
  --warm-white: #FAF3ED; /* pinker white for cards */
  --sand: #ECE1D7;       /* deeper blush for sections */
  --stone: #D4CFC5;
  --border: #E8E4DC;
  --gold: #C4963C;
  --text: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-tertiary: #7A7A7A;
  --max-width: 1200px;
  --section-gap: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

/* ── Utility ── */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: var(--section-gap) 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-title.centered { text-align: center; }
.section-more {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-more:hover { color: var(--coral-hover); }

/* ── Buttons ── */
.btn-subscribe {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 24px;
  background: var(--coral);
  color: #fff;
  border: none;
}
.btn-subscribe:hover { background: var(--coral-hover); }
.btn-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 36px;
  background: var(--coral);
  color: #fff;
  border: none;
}
.btn-cta:hover { background: var(--coral-hover); }

/* ── Topic Badge System ── */
.topic-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  display: inline-block;
}
.topic-ai { background: #EDE9FE; color: #7C3AED; }
.topic-growth { background: #D1FAE5; color: #059669; }
.topic-leadership { background: #FEE2E2; color: #DC2626; }
.topic-wellbeing { background: #CFFAFE; color: #0891B2; }
.topic-geopolitics { background: #FEF3C7; color: #D97706; }
.topic-downtime { background: #E0E7FF; color: #6366F1; }
.topic-frameworks { background: #E0E7FF; color: var(--navy); }
.topic-research { background: var(--sand); color: var(--navy); }

/* ══════════════════════════════════════════════════════════
   HEADER — 64px sticky compact
   ══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img {
  height: 38px;
  width: auto;
}
.header-nav {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  border-bottom-color: var(--teal);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s;
}
.mobile-nav {
  display: none;
  background: var(--navy-deep);
  padding: 24px 32px;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-link:hover { color: #fff; }
.btn-subscribe.mobile {
  margin-top: 8px;
  text-align: center;
}
.nav-open .mobile-nav { display: flex; }
.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════════════════════════
   HERO — Content-led with featured article + signup panel
   ══════════════════════════════════════════════════════════ */
.hero {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 20px;
}
.hero-img .topic-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}
.hero-title {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title a { color: var(--navy); }
.hero-title a:hover { color: var(--teal-muted); }
.hero-excerpt {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.hero-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.meta-author { font-weight: 600; color: var(--text-secondary); }
.meta-sep { margin: 0 8px; }

.hero-signup {
  position: sticky;
  top: 88px;
}
.hero-signup-inner {
  background: var(--navy);
  color: #fff;
  padding: 36px 32px;
}
.hero-signup h3 {
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: 12px;
}
.hero-signup p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}
.hero-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: center; flex: 1; }
.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
}
.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}
.hero-signup .btn-cta {
  width: 100%;
  text-align: center;
}
.signup-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 10px;
}

/* ══════════════════════════════════════════════════════════
   READER LOGOS TICKER
   ══════════════════════════════════════════════════════════ */
.logos-strip {
  background: var(--sand);
  padding: 20px 0;
  overflow: hidden;
}
.logos-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logos-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.logos-ticker {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-logo {
  height: 22px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.35;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════
   TOPIC RIBBON
   ══════════════════════════════════════════════════════════ */
.topic-ribbon {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.topic-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.topic-inner::-webkit-scrollbar { display: none; }
.topic-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  padding: 16px 20px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.topic-link:hover {
  color: var(--text);
}
.topic-link.active {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ══════════════════════════════════════════════════════════
   GRIDS
   ══════════════════════════════════════════════════════════ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* ══════════════════════════════════════════════════════════
   ARTICLE CARDS
   ══════════════════════════════════════════════════════════ */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--stone); }
.card-img {
  display: block;
  position: relative;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card-img .topic-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
.card-body {
  padding: 20px 24px 24px;
}
.card-title {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 10px;
}
.card-title a { color: var(--navy); }
.card-title a:hover { color: var(--teal-muted); }
.card-excerpt {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--sand);
  padding: var(--section-gap) 0;
}
.testimonials .section-title {
  margin-bottom: 48px;
}
.testimonials-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.testimonials-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 28px 24px;
}
.testimonial-card blockquote {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-author span {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

/* ══════════════════════════════════════════════════════════
   CTA BARS (mid-page and final)
   ══════════════════════════════════════════════════════════ */
.cta-bar {
  background: var(--navy);
  padding: 48px 0;
}
.cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.cta-bar h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 20px;
}
.final-cta {
  background: var(--navy);
  padding: 80px 0;
}
.final-cta h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
}
.final-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.final-cta .signup-note {
  color: rgba(255,255,255,0.35);
}

/* ══════════════════════════════════════════════════════════
   FRAMEWORK CARDS
   ══════════════════════════════════════════════════════════ */
.fw-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 28px 24px;
  position: relative;
  transition: border-color 0.2s;
}
.fw-card:hover { border-color: var(--stone); }
.fw-number {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.fw-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.fw-title a { color: var(--navy); }
.fw-title a:hover { color: var(--teal-muted); }
.fw-excerpt {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.fw-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--navy);
  color: var(--teal);
  padding: 4px 10px;
}

/* ══════════════════════════════════════════════════════════
   RESEARCH CARDS
   ══════════════════════════════════════════════════════════ */
.research-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.research-card:hover { border-color: var(--stone); border-left-color: var(--teal); }
.research-card.is-sponsored { border-left-color: var(--gold); }
.research-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  margin-bottom: 14px;
  display: inline-block;
}
.research-badge.original {
  background: var(--navy);
  color: var(--teal);
}
.research-badge.sponsored {
  background: rgba(196,150,60,0.15);
  color: var(--gold);
}
.research-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.research-card h3 a { color: var(--navy); }
.research-card h3 a:hover { color: var(--teal-muted); }
.research-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.research-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════
   VOICES / CONTRIBUTORS
   ══════════════════════════════════════════════════════════ */
.voices-section {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
}
.voices-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.voice-card { text-align: center; }
.voice-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  overflow: hidden;
}
.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--teal);
}
.voice-initials {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
}
.voice-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.voice-card p {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.45;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.45);
}
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════════════════════════
   ARTICLE / POST CONTENT
   ══════════════════════════════════════════════════════════ */
.post-header {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 0 32px;
}
.post-header .topic-badge { margin-bottom: 16px; }
.post-header h1 {
  font-size: 2.6rem;
  line-height: 1.12;
  margin-bottom: 16px;
}
.post-header .post-excerpt {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.post-meta-bar {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.post-feature-img {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 0 32px;
}
.post-feature-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px 64px;
}
.post-content p { margin-bottom: 1.5em; }
.post-content h2 {
  font-size: 1.6rem;
  margin: 2em 0 0.6em;
}
.post-content h3 {
  font-size: 1.25rem;
  margin: 1.8em 0 0.5em;
}
.post-content blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 20px;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-secondary);
}
.post-content ul, .post-content ol {
  margin: 1em 0 1.5em 1.5em;
}
.post-content li { margin-bottom: 0.5em; }
.post-content img {
  margin: 2em auto;
}
.post-content a {
  color: var(--teal-muted);
  text-decoration: underline;
}
.post-content a:hover { color: var(--teal); }
.post-content code {
  background: var(--sand);
  padding: 2px 6px;
  font-size: 0.88em;
}
.post-content pre {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 1.5em 0;
}
.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Post tags */
.post-tags {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.post-tags a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.post-tags a:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* Author box */
.author-box {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 32px;
  background: var(--sand);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.author-box img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}
.author-box h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.author-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   INDEX / LISTING PAGE
   ══════════════════════════════════════════════════════════ */
.pagination {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pagination a {
  color: var(--coral);
}
.pagination a:hover { color: var(--coral-hover); }

/* ══════════════════════════════════════════════════════════
   TAG & AUTHOR ARCHIVES
   ══════════════════════════════════════════════════════════ */
.archive-header {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.archive-header h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 8px;
}
.archive-header p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto;
}
.archive-header .author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  object-fit: cover;
  margin: 0 auto 16px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (1024px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-signup { position: static; }
  .hero-title { font-size: 2rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .testimonials-row-3 { grid-template-columns: repeat(2, 1fr); }
  .testimonials-row-2 { grid-template-columns: 1fr; max-width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (768px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .section-inner { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .header-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { padding: 32px 16px; gap: 32px; }
  .hero-title { font-size: 1.6rem; }
  .hero-excerpt { font-size: 0.92rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testimonials-row-3, .testimonials-row-2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .section-head {
    flex-direction: column;
    gap: 8px;
  }
  .cta-bar h3, .final-cta h2 { font-size: 1.3rem; }
  .post-header h1 { font-size: 1.8rem; }
  .post-header, .post-content, .post-feature-img, .post-tags {
    padding: 0 16px;
  }
  .author-box { flex-direction: column; margin-left: 16px; margin-right: 16px; }
  .logos-inner { padding: 0 16px; }
  .mobile-nav { padding: 24px 16px; }
}

/* ══════════════════════════════════════════════════════════
   v2.1 FIXES — Bigger logo, email inputs, framework images
   ══════════════════════════════════════════════════════════ */

/* Bigger header logo */
.header-logo img { height: 52px; }
.footer-logo { height: 44px; }

/* Email signup forms */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.signup-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
  width: 100%;
}
.signup-input::placeholder { color: rgba(255,255,255,0.4); }
.signup-input:focus { border-color: var(--teal); background: rgba(255,255,255,0.12); }
.signup-input.light {
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
}

/* Inline signup form (mid CTA, final CTA) */
.signup-form-inline {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}
.signup-form-inline .signup-input {
  flex: 1;
  border-right: none;
}
.signup-form-inline .btn-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Framework card with image - number overlay */
.fw-number-inline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--teal);
  background: var(--navy);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Research badge on image */
.research-badge-img {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
}
.research-badge-img.original { background: var(--navy); color: var(--teal); }
.research-badge-img.sponsored { background: rgba(196,150,60,0.9); color: #fff; }
.card.is-sponsored { border-left: 3px solid var(--gold); }

/* Hide Ghost default notification bar */
.gh-notification-bar, .gh-head-notification { display: none !important; }

@media (max-width: 768px) {
  .header-logo img { height: 42px; }
  .signup-form-inline { flex-direction: column; }
  .signup-form-inline .signup-input { border-right: 1px solid rgba(255,255,255,0.2); }
}

/* ══════════════════════════════════════════════════════════
   v2.2 — Explainer section, bigger logo, cohorts
   ══════════════════════════════════════════════════════════ */

/* Override previous logo sizes - double them */
.header-logo img { height: 80px !important; }
.header-inner { height: 96px; }
.footer-logo { height: 56px !important; }

/* Explainer section — phone mockup + copy */
.explainer {
  background: var(--navy);
  padding: 80px 0;
  overflow: hidden;
}
.explainer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}
.explainer-text h2 {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 20px;
}
.explainer-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.explainer-lead em {
  color: var(--teal);
  font-style: italic;
}
.explainer-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.explainer-list {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
}
.explainer-list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.explainer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: var(--teal);
}
.explainer-list strong {
  color: rgba(255,255,255,0.9);
}

/* Signup form horizontal (dark bg) */
.signup-form-horizontal {
  display: flex;
  gap: 0;
}
.signup-form-horizontal .signup-input {
  flex: 1;
  border-right: none;
}
.signup-input.dark {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.signup-input.dark::placeholder { color: rgba(255,255,255,0.4); }
.signup-input.dark:focus { border-color: var(--teal); }

/* Phone frame */
.explainer-device {
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: 280px;
}
.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cohorts bar */
.cohorts-bar {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cohorts-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.cohorts-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
}
.cohort-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.cohort-link:hover { color: var(--teal); }

@media (max-width: 1024px) {
  .explainer-inner { grid-template-columns: 1fr; }
  .explainer-device { display: none; }
}
@media (max-width: 768px) {
  .header-logo img { height: 56px !important; }
  .header-inner { height: 72px; }
  .explainer { padding: 48px 0; }
  .explainer-inner { padding: 0 16px; }
  .signup-form-horizontal { flex-direction: column; }
  .signup-form-horizontal .signup-input { border-right: 1px solid rgba(255,255,255,0.2); }
  .cohorts-bar { display: none; }
}

/* ══════════════════════════════════════════════════════════
   v2.3 — Hero pitch as main hero, featured grid below
   ══════════════════════════════════════════════════════════ */

/* Hero Pitch (the main hero now) */
.hero-pitch {
  background: var(--navy);
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero-pitch-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
}
.hero-pitch-text h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.hero-pitch-text h1 span {
  color: var(--teal);
  font-style: italic;
}
.hero-pitch-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.hero-pitch-lead em {
  color: var(--teal);
  font-style: italic;
}
.hero-pitch-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.hero-pitch-list {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
}
.hero-pitch-list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  padding: 8px 0 8px 20px;
  position: relative;
  line-height: 1.5;
}
.hero-pitch-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 2px;
  background: var(--teal);
}
.hero-pitch-list strong {
  color: rgba(255,255,255,0.95);
}
.hero-email-form {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}
.hero-email-form .signup-input { flex: 1; border-right: none; }
.hero-email-form .btn-cta { white-space: nowrap; flex-shrink: 0; }
.hero-pitch-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.hero-pitch-stats {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-pitch-stats strong { color: var(--teal); }
.hero-pitch-stats .meta-sep { margin: 0 12px; }

.hero-pitch-device {
  display: flex;
  justify-content: center;
}

/* Featured article + sidebar grid */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}
.featured-lead { }
.featured-img {
  display: block;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
}
.featured-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.featured-img .topic-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}
.featured-title {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
.featured-title a { color: var(--navy); }
.featured-title a:hover { color: var(--teal-muted); }
.featured-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.sidebar-articles {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-card:first-child { padding-top: 0; }
.sidebar-card:last-child { border-bottom: none; }
.sidebar-card .topic-badge.small {
  font-size: 0.6rem;
  padding: 2px 8px;
  margin-bottom: 8px;
}
.sidebar-card h4 {
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 8px;
}
.sidebar-card h4 a { color: var(--navy); }
.sidebar-card h4 a:hover { color: var(--teal-muted); }

/* Hide old hero styles if they exist */
.hero { display: none; }
.explainer { display: none; }

/* Hide Ghost's default notification banner */
.gh-notification-bar,
.gh-head-notification,
[data-notification],
.gh-notification { display: none !important; }

@media (max-width: 1024px) {
  .hero-pitch-inner { grid-template-columns: 1fr; }
  .hero-pitch-device { display: none; }
  .hero-pitch-text h1 { font-size: 2.2rem; }
  .featured-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-pitch { padding: 48px 0 56px; }
  .hero-pitch-inner { padding: 0 16px; }
  .hero-pitch-text h1 { font-size: 1.8rem; }
  .hero-email-form { flex-direction: column; }
  .hero-email-form .signup-input { border-right: 1px solid rgba(255,255,255,0.2); }
}

/* v2.4 — Cohorts in nav, kill separate bar */
.cohorts-bar { display: none !important; }
.nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
  align-self: center;
}

/* v2.5 — 5-star ratings on testimonials */
.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* v2.6 — Page number, archive fixes */
.page-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════════════
   v2.9 — Cohorts section, Partners strip
   ══════════════════════════════════════════════════════════ */

/* Partners strip */
.partners-strip {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
.partners-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partners-logos img {
  height: 28px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.partners-logos img:hover { opacity: 0.8; }
.partner-placeholder {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}
.partner-placeholder a {
  color: var(--coral);
  font-weight: 600;
}

/* Cohorts section */
.cohorts-section {
  background: var(--cream);
  padding: var(--section-gap) 0;
}
.cohorts-section .section-head {
  border-bottom-color: var(--border);
}
.cohorts-section .section-title {
  color: var(--navy);
}
.cohorts-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.cohort-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color 0.2s;
}
.cohort-card:hover {
  border-color: var(--stone);
}
.cohort-icon {
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.cohort-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.cohort-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.cohort-details {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.cohort-details li {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  padding: 4px 0 4px 16px;
  position: relative;
}
.cohort-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--teal);
}
.cohort-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.cohort-cta:hover { color: var(--coral); }

/* Cohorts grid override for dark bg */
.cohorts-section .grid-3 {
  gap: 24px;
}

@media (max-width: 768px) {
  .cohorts-section { padding: 64px 0; }
}

/* ══════════════════════════════════════════════════════════
   ADDITIONS — Clean consolidated rules
   ══════════════════════════════════════════════════════════ */

/* Hide Ghost announcement bar + Portal floating button */
.gh-announcement-bar,
.gh-portal-triggerbtn-container,
.gh-portal-triggerbtn-iframe,
div[data-testid="portal-trigger-frame"],
iframe[title="portal-trigger"] { display: none !important; }

/* Theme toggle (sun/moon) */
.theme-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  padding: 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.theme-toggle:hover { color: #fff; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Sign In button */
.btn-signin {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 10px 16px;
}
.btn-signin:hover { color: #fff; }
.btn-signin.mobile {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Nav dropdown (Cohorts) */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-trigger svg { transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 180px;
  padding: 8px 0;
  z-index: 100;
  margin-top: 8px;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav-dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* Hero — centered full-width, no phone */
.hero-pitch-inner {
  display: block;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero-pitch-text { text-align: center; }
.hero-pitch-list { text-align: left; display: inline-block; }
.hero-email-form { justify-content: center; }
.hero-pitch-stats {
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 20px;
}
.hero-pitch-stats strong {
  font-size: 1.3rem;
  color: var(--teal);
}

/* Sidebar cards with thumbnails */
.sidebar-card.has-thumb {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sidebar-thumb {
  flex-shrink: 0;
  width: 90px;
  height: 64px;
  overflow: hidden;
  display: block;
}
.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-card-body {
  flex: 1;
  min-width: 0;
}

/* Browse by Topic — HBR-style columns */
.topic-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}
.topic-column {
  border-top: 3px solid var(--coral);
  padding-top: 16px;
}
.topic-column-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.topic-column-title a { color: var(--coral); }
.topic-column-title a:hover { color: var(--coral-hover); }
.topic-article {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.topic-article:last-child { border-bottom: none; }
.topic-article h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}
.topic-article h4 a { color: var(--navy); }
.topic-article h4 a:hover { color: var(--teal-muted); }


/* Mid-page signup — centered, no phone */
.mid-signup {
  background: var(--navy);
  padding: 72px 0;
}
.mid-signup-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.mid-signup-text { text-align: center; }
.mid-signup-text h2 { color: var(--teal); font-size: 2rem; margin-bottom: 16px; }
.mid-signup-text p { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.6; margin-bottom: 24px; }
.mid-signup-text .signup-form-inline { justify-content: center; }
.mid-signup-text .signup-note { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 10px; }

/* Footer fix */
.site-footer { background: var(--navy); }

/* ══════════════════════════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --cream: #0C1A28;
  --warm-white: #111E2E;
  --sand: #0F1923;
  --stone: #2A3A4A;
  --border: #1E2E3E;
  --text: #E8E4DC;
  --text-secondary: #B0B8C0;
  --text-tertiary: #7A8A9A;
}
[data-theme="dark"] body { background: var(--cream); color: var(--text); }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 { color: #F0EDE6; }
[data-theme="dark"] .card { background: var(--warm-white); border-color: var(--border); }
[data-theme="dark"] .card:hover { border-color: var(--stone); }
[data-theme="dark"] .card-title a, [data-theme="dark"] .featured-title a, [data-theme="dark"] .sidebar-card h4 a,
[data-theme="dark"] .topic-article h4 a { color: #F0EDE6; }
[data-theme="dark"] .card-title a:hover, [data-theme="dark"] .featured-title a:hover,
[data-theme="dark"] .topic-article h4 a:hover { color: var(--teal); }
[data-theme="dark"] .testimonials { background: #0F1923; }
[data-theme="dark"] .testimonial-card { background: var(--warm-white); border-color: var(--border); color: var(--text); }
[data-theme="dark"] .testimonial-card blockquote { color: var(--text-secondary); }
[data-theme="dark"] .logos-strip { background: #0F1923; }
[data-theme="dark"] .ticker-logo { filter: grayscale(100%) invert(1); opacity: 0.3; }
[data-theme="dark"] .topic-ribbon { background: var(--warm-white); border-color: var(--border); }
[data-theme="dark"] .topic-link { color: var(--text-tertiary); }
[data-theme="dark"] .topic-link:hover { color: var(--text); }
[data-theme="dark"] .topic-link.active { color: var(--coral); }
[data-theme="dark"] .topic-column { border-top-color: var(--coral); }
[data-theme="dark"] .topic-article { border-bottom-color: var(--border); }
[data-theme="dark"] .post-content { color: var(--text); }
[data-theme="dark"] .post-header h1 { color: #F0EDE6; }
[data-theme="dark"] .post-content a { color: var(--teal); }
[data-theme="dark"] .author-box { border-color: var(--border); }
[data-theme="dark"] .post-tags a { background: var(--warm-white); border-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] .cohort-card { background: var(--warm-white); border-color: var(--border); }
[data-theme="dark"] .cohort-card h3 { color: #F0EDE6; }
[data-theme="dark"] .cohort-card p, [data-theme="dark"] .cohort-card li { color: var(--text-secondary); }
[data-theme="dark"] .fw-number-inline { color: var(--teal); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .topic-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-pitch-device { display: none; }
  .mid-signup-device { display: none; }
}
@media (max-width: 600px) {
  .topic-columns { grid-template-columns: 1fr; }
}

/* Border radius on cards, buttons, inputs */
.card { border-radius: 8px; overflow: hidden; }
.card-img img { border-radius: 8px 8px 0 0; }
.cohort-card { border-radius: 8px; }
.testimonial-card { border-radius: 8px; }
.btn-cta { border-radius: 6px; }
.btn-subscribe { border-radius: 6px; }
.signup-input { border-radius: 6px; }
.topic-badge { border-radius: 4px; }
.sidebar-thumb { border-radius: 6px; }
.sidebar-thumb img { border-radius: 6px; }

/* Mid-signup with phone — grid layout */
.mid-signup-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  text-align: left;
}
.mid-signup-text { text-align: left; }
.mid-signup-text .signup-form-inline { justify-content: flex-start; }
@media (max-width: 768px) {
  .mid-signup-inner { display: block; text-align: center; max-width: 640px; }
  .mid-signup-text { text-align: center; }
  .mid-signup-text .signup-form-inline { justify-content: center; }
  .mid-signup-device { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   AD: HBR-style banner (used on home + post pages, slot A + B)
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --ad-bg: #EDE1D7;
  --ad-bg-art: #E2D4C9;
}
.ad-featured-banner {
  padding: 0 0 var(--section-gap);
}
.ad-featured-banner .section-inner {
  padding: 0 32px;
}
.ad-banner-card {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--ad-bg);
  padding: 40px 48px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.ad-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.ad-banner-text {
  flex: 1;
  min-width: 0;
}
.ad-banner-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  opacity: 0.55;
  margin-bottom: 14px;
}
.ad-banner-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ad-banner-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--navy);
  opacity: 0.75;
  margin: 0 0 22px;
  max-width: 52ch;
}
.ad-banner-cta {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--navy);
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  transition: background 0.18s;
}
.ad-banner-card:hover .ad-banner-cta {
  background: var(--navy-deep);
}
.ad-banner-art {
  flex-shrink: 0;
  width: 260px;
  max-width: 40%;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ad-bg-art);
}
.ad-banner-art img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Dark mode */
[data-theme="dark"] {
  --ad-bg: #1A2736;
  --ad-bg-art: #223142;
}
[data-theme="dark"] .ad-banner-card { color: #F0EDE6; }
[data-theme="dark"] .ad-banner-label { color: #F0EDE6; opacity: 0.55; }
[data-theme="dark"] .ad-banner-title { color: #F0EDE6; }
[data-theme="dark"] .ad-banner-desc { color: #E8E4DC; opacity: 0.75; }
[data-theme="dark"] .ad-banner-cta { background: var(--teal); color: var(--navy-deep); }
[data-theme="dark"] .ad-banner-card:hover .ad-banner-cta { background: #00A8C2; }

/* Mobile */
@media (max-width: 768px) {
  .ad-banner-card {
    flex-direction: column-reverse;
    gap: 24px;
    padding: 28px 24px;
    text-align: left;
  }
  .ad-banner-art {
    width: 100%;
    max-width: none;
  }
  .ad-banner-art img { height: 160px; }
  .ad-banner-title { font-size: 1.5rem; }
  .ad-banner-desc { font-size: 0.9rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   POST ARTICLE — editorial layout (HBR/FT-inspired)
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --article-max: 720px;
  --article-gap: 48px;
  --rule: rgba(19,40,59,0.12);
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
}
[data-theme="dark"] {
  --rule: rgba(255,255,255,0.14);
}

.post-article {
  margin: 0 auto;
  padding: 56px 24px 0;
}

/* Header */
.post-header { max-width: var(--article-max); margin: 0 auto; padding: 0; }
.post-header-inner { display: block; }
.post-kicker {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
  text-decoration: none;
  margin-bottom: 20px;
}
.post-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 20px;
}
.post-dek {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-secondary, #54606B);
  margin: 0 0 28px;
  font-weight: 400;
}
.post-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary, #8A96A2);
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.post-byline .byline-sep { opacity: 0.5; }

/* Feature image — full container, slightly wider than article body */
.post-feature {
  max-width: 960px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.post-feature img {
  width: 100%;
  height: auto;
  display: block;
}
.post-feature figcaption {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--text-tertiary, #8A96A2);
  padding-top: 10px;
  text-align: center;
}

/* Content — serif body, narrow column */
.post-content {
  max-width: var(--article-max);
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--navy);
  font-feature-settings: "liga", "kern";
}
.post-content p { margin: 0 0 1.3em; }
.post-content p:first-of-type { font-size: 1.2rem; line-height: 1.55; }
.post-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 2em 0 0.7em;
  letter-spacing: -0.005em;
}
.post-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1.8em 0 0.5em;
}
.post-content a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-content a:hover { color: var(--coral); }
.post-content blockquote {
  border-left: 3px solid var(--coral);
  padding: 0.1em 0 0.1em 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--text-secondary, #54606B);
}
.post-content ul, .post-content ol { margin: 0 0 1.3em; padding-left: 1.5em; }
.post-content li { margin-bottom: 0.5em; }
.post-content img { max-width: 100%; height: auto; margin: 2em auto; display: block; }
.post-content figure { margin: 2em 0; }
.post-content figcaption {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: var(--text-tertiary, #8A96A2);
  text-align: center;
  padding-top: 8px;
}
.post-content hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }

/* Kg-width */
.post-content .kg-width-wide { max-width: 960px; margin-left: auto; margin-right: auto; }
.post-content .kg-width-full {
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

/* Share */
.post-share {
  max-width: var(--article-max);
  margin: 48px auto 0;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-tertiary, #8A96A2);
}
.post-share .share-label { color: var(--navy); font-weight: 600; margin-right: 6px; }
.post-share a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s;
}
.post-share a:hover { color: var(--coral); }
.post-share .share-sep { opacity: 0.5; }

/* Tags */
.post-tags {
  max-width: var(--article-max);
  margin: 32px auto 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.post-tags a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border: 1px solid var(--rule);
  color: var(--text-secondary, #54606B);
  text-decoration: none;
}
.post-tags a:hover { border-color: var(--navy); color: var(--navy); }

/* Author card */
.author-card {
  max-width: var(--article-max);
  margin: 56px auto 0;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.author-card-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-card-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary, #8A96A2);
  margin-bottom: 6px;
}
.author-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--navy);
  font-weight: 600;
}
.author-card p {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary, #54606B);
  margin: 0;
}


/* Read next */
.read-next {
  max-width: 960px;
  margin: 96px auto 0;
  padding: 48px 24px 0;
  border-top: 1px solid var(--rule);
}
.read-next-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-tertiary, #8A96A2);
  margin: 0 0 28px;
}
.read-next-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.read-next-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}
.read-next-thumb {
  display: block;
  width: 120px;
  height: 90px;
  overflow: hidden;
  background: var(--sand);
}
.read-next-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.read-next-thumb.thumb-fallback { background: var(--sand); }
.read-next-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 6px 0 8px;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.read-next-body h3 a { color: inherit; text-decoration: none; }
.read-next-body h3 a:hover { color: var(--coral); }
.read-next-kicker {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
}
.read-next-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary, #8A96A2);
}
.read-next-meta .byline-sep { opacity: 0.5; }

/* Final CTA under post */
.post-article + .final-cta { margin-top: 96px; }

/* Dark mode */
[data-theme="dark"] .post-title { color: #F0EDE6; }
[data-theme="dark"] .post-content { color: var(--text); }
[data-theme="dark"] [data-theme="dark"] .post-content h2,
[data-theme="dark"] .post-content h3 { color: #F0EDE6; }
[data-theme="dark"] .post-content a { color: var(--teal); }
[data-theme="dark"] .post-share .share-label,
[data-theme="dark"] .post-share a,
[data-theme="dark"] .author-card h4,
[data-theme="dark"] .members-paywall h3,
[data-theme="dark"] .members-paywall .paywall-signin a,
[data-theme="dark"] .read-next-body h3,
[data-theme="dark"] .read-next-body h3 a { color: #F0EDE6; }
[data-theme="dark"] .post-content.is-preview::after {
  background: linear-gradient(to bottom, transparent, var(--cream));
}

/* Mobile */
@media (max-width: 768px) {
  .post-title { font-size: 2rem; }
  .post-dek { font-size: 1.1rem; }
  .post-content { font-size: 1.05rem; }
    .read-next-list { grid-template-columns: 1fr; gap: 28px; }
  .post-article { padding-top: 32px; }
}

/* ═══ Header search button ═══ */
.header-search {
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.header-search:hover { color: #fff; }
.header-search svg { display: block; }

/* ═══ Broken-image fallback for card images ═══ */
.card-img.img-fallback {
  background: var(--sand);
  min-height: 180px;
  position: relative;
}
.featured-img.img-fallback {
  background: var(--sand);
  min-height: 280px;
}
.sidebar-thumb.img-fallback {
  background: var(--sand);
  min-height: 90px;
}
[data-theme="dark"] .card-img.img-fallback,
[data-theme="dark"] .featured-img.img-fallback,
[data-theme="dark"] .sidebar-thumb.img-fallback {
  background: #1A2736;
}

/* ═══ Paywall: preview fades at the end, CTA follows directly below ═══ */
.post-content.is-preview {
  max-width: var(--article-max);
  margin: 0 auto;
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.125rem;
  line-height: 1.65;
  padding-bottom: 8px;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.post-content.is-preview p { margin: 0; }

.paywall-cta {
  max-width: var(--article-max);
  margin: 24px auto 0;
  padding: 8px 24px 8px;
  text-align: center;
}
.paywall-cta h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.paywall-cta p {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary, #54606B);
  margin: 0 auto 20px;
  max-width: 440px;
}
.paywall-cta .btn-cta {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 13px 30px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 0;
}
.paywall-cta .btn-cta:hover { background: var(--navy-deep); }
.paywall-cta .paywall-signin {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary, #8A96A2);
  margin: 14px 0 0;
}
.paywall-cta .paywall-signin a { color: var(--navy); text-decoration: underline; }

/* Hide Ghost's default "This post is for subscribers only" aside if it ever leaks through */
.gh-post-upgrade-cta, .members-subscribe-cta { display: none !important; }

[data-theme="dark"] .paywall-cta h3 { color: #F0EDE6; }
[data-theme="dark"] .paywall-cta .btn-cta { background: var(--teal); color: var(--navy-deep); }
[data-theme="dark"] .paywall-cta .btn-cta:hover { background: #00A8C2; }
[data-theme="dark"] .paywall-cta .paywall-signin a { color: var(--teal); }

/* Image-left ad variant (used for logo-style branded ads like City CIO) */
/* Entire card goes dark: black panel, white text, white CTA */
.ad-banner-card.image-left {
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #000000;
  color: #FFFFFF;
}
.ad-banner-card.image-left:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.24);
}
.ad-banner-card.image-left .ad-banner-art {
  width: 45%;
  max-width: 45%;
  border-radius: 0;
  background: #000000;
}
.ad-banner-card.image-left .ad-banner-art img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.ad-banner-card.image-left .ad-banner-text {
  padding: 48px 56px;
  flex: 1;
  background: #000000;
  color: #FFFFFF;
}
.ad-banner-card.image-left .ad-banner-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0 0 28px;
  letter-spacing: 0;
}
.ad-banner-card.image-left .ad-banner-cta {
  background: #FFFFFF;
  color: #000000;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 13px 28px;
  display: inline-block;
  border-radius: 0;
}
.ad-banner-card.image-left:hover .ad-banner-cta {
  background: #C8BFB0;
  color: #000000;
}
@media (max-width: 768px) {
  .ad-banner-card.image-left { flex-direction: column; gap: 0; }
  .ad-banner-card.image-left .ad-banner-art { width: 100%; max-width: none; }
  .ad-banner-card.image-left .ad-banner-text { padding: 32px 28px; }
  .ad-banner-card.image-left .ad-banner-title { font-size: 1.5rem; }
}

/* Scroll reveal — fade up as elements enter the viewport */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: none;
}
/* Never hide above-the-fold: hero is always visible */
.hero-pitch.reveal-on-scroll,
.site-header.reveal-on-scroll,
.logos-strip.reveal-on-scroll,
.topic-ribbon.reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Dark mode: accent blocks (hero/header/footer/mid-signup/final-cta) flip to blush pink */
[data-theme="dark"] .hero-pitch,
[data-theme="dark"] .mid-signup,
[data-theme="dark"] .final-cta,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .site-header {
  background: #F5ECE5;
  color: #13283B;
}
[data-theme="dark"] .site-header { border-bottom: 1px solid #E0D5CC; }
[data-theme="dark"] .hero-pitch h1,
[data-theme="dark"] .hero-pitch p,
[data-theme="dark"] .hero-pitch li,
[data-theme="dark"] .hero-pitch strong,
[data-theme="dark"] .mid-signup h2,
[data-theme="dark"] .mid-signup p,
[data-theme="dark"] .final-cta h2,
[data-theme="dark"] .final-cta p,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .site-footer a,
[data-theme="dark"] .site-footer h4 { color: #13283B; }
[data-theme="dark"] .nav-link,
[data-theme="dark"] .header-logo img { filter: invert(0); }
[data-theme="dark"] .header-nav a,
[data-theme="dark"] .nav-dropdown-trigger { color: #13283B; }
[data-theme="dark"] .btn-signin { color: #13283B; }
[data-theme="dark"] .site-header .theme-toggle { color: #13283B; }
[data-theme="dark"] .site-header .header-search { color: #13283B; }

/* Dark mode on pink hero: restore legibility for all text/inputs */
[data-theme="dark"] .hero-pitch .hero-pitch-lead,
[data-theme="dark"] .hero-pitch .hero-pitch-body,
[data-theme="dark"] .hero-pitch .hero-pitch-list li,
[data-theme="dark"] .hero-pitch .hero-pitch-note,
[data-theme="dark"] .hero-pitch .hero-pitch-stats,
[data-theme="dark"] .hero-pitch .hero-pitch-stats span,
[data-theme="dark"] .mid-signup .signup-note,
[data-theme="dark"] .final-cta .signup-note { color: #13283B; }

[data-theme="dark"] .hero-pitch em,
[data-theme="dark"] .hero-pitch a { color: #0A8FA6; }

/* Inputs in pink blocks */
[data-theme="dark"] .hero-pitch .signup-input,
[data-theme="dark"] .mid-signup .signup-input,
[data-theme="dark"] .final-cta .signup-input {
  background: #FFFFFF;
  border: 1px solid #D4C9BF;
  color: #13283B;
}
[data-theme="dark"] .hero-pitch .signup-input::placeholder,
[data-theme="dark"] .mid-signup .signup-input::placeholder,
[data-theme="dark"] .final-cta .signup-input::placeholder { color: #7A6A5E; }

/* Subtle rule inside hero stats */
[data-theme="dark"] .hero-pitch-stats { border-top-color: rgba(19,40,59,0.15); }

/* Meta separators */
[data-theme="dark"] .hero-pitch .meta-sep,
[data-theme="dark"] .mid-signup .meta-sep,
[data-theme="dark"] .final-cta .meta-sep { color: rgba(19,40,59,0.45); }

/* "2,000+" and "2x" bold numbers — use teal so they pop */
[data-theme="dark"] .hero-pitch-stats strong { color: #0A8FA6; }

/* Logo swap: white on light (navy header); dark on dark-mode (pink header) */
.header-logo .logo-dark { display: none; }
.header-logo .logo-light { display: block; }
[data-theme="dark"] .header-logo .logo-light { display: none; }
[data-theme="dark"] .header-logo .logo-dark { display: block; }

/* Dark mode: force readable text on article paywall preview + content */
[data-theme="dark"] .post-content,
[data-theme="dark"] .post-content.is-preview,
[data-theme="dark"] .post-content.is-preview p,
[data-theme="dark"] .post-content p,
[data-theme="dark"] .post-content li,
[data-theme="dark"] .post-content blockquote {
  color: #E8E4DC !important;
}
[data-theme="dark"] .post-content h2,
[data-theme="dark"] .post-content h3,
[data-theme="dark"] .post-content h4 {
  color: #F0EDE6 !important;
}
[data-theme="dark"] .post-content a { color: var(--teal) !important; }
/* Fade mask colour bottom should match dark bg */
[data-theme="dark"] .post-content.is-preview {
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

/* Loosen up article flow: space between feature image, caption, content, paywall */
.post-feature { margin-bottom: 72px; }
.post-feature figcaption { padding-top: 14px; padding-bottom: 8px; }
.post-content { padding-top: 8px; }
.post-content.is-preview { padding: 16px 0 56px; }
.paywall-cta { margin-top: 56px; padding: 24px 24px 32px; }
.paywall-cta h3 { margin-bottom: 18px; }
.paywall-cta p { margin-bottom: 32px; line-height: 1.6; }
.paywall-cta .btn-cta { padding: 16px 36px; }
.paywall-cta .paywall-signin { margin-top: 22px; }
/* Post article container — more generous */
.post-article { padding-top: 72px; padding-bottom: 32px; }
/* Byline spacing */
.post-byline { margin-bottom: 56px; padding: 24px 0; }
/* Read next top spacing */
.read-next { margin-top: 120px; padding-top: 56px; }

/* Logo consistency: lock height regardless of which image is shown */
.header-logo img {
  width: auto;
  max-width: none;
  display: block;
}
.header-logo .logo-light { height: 42px; }
.header-logo .logo-dark  { height: 26px; }
