/* --------------------------------------------------------------------------
   Components — hero, cards, buttons, CTA, stats, testimonials, FAQ, footer
   ------------------------------------------------------------------------- */

/* ----- Header / navigation ----- */
/* Top announcement bar */
.topbar {
  background: var(--ed-gray-800);
  color: var(--ed-hero-ink);
  font-family: var(--ed-font-ui);
  font-size: .72rem;
  letter-spacing: .06em;
  text-align: center;
  padding: .45rem 0;
  line-height: 1.3;
}
.topbar-text { margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: color-mix(in srgb, var(--ed-paper) 94%, white 6%);
  border-bottom: 1px solid var(--ed-rule);
  backdrop-filter: saturate(135%) blur(10px);
}
@supports not (color-mix(in srgb, var(--ed-paper) 94%, white 6%)) {
  .site-header { background: rgba(247,247,247,.94); }
}
.header-inner {
  height: var(--ed-header-height);
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.2rem;
  position: relative;
}
.site-logo {
  display: inline-flex; align-items: center; gap: .72rem;
  color: var(--ed-ink); text-decoration: none;
  font-family: var(--ed-font-display);
  font-size: var(--ed-logo-size);
  font-weight: var(--ed-logo-weight);
  letter-spacing: var(--ed-logo-tracking);
  font-feature-settings: "kern" 1, "liga" 1;
}
.site-logo-text { color: inherit; text-decoration: none; }
.site-logo--custom { display: flex; align-items: center; gap: .75rem; }
.site-logo--custom img { max-height: 42px; width: auto; }

.primary-menu { display: flex; align-items: center; }
.primary-menu ul,
.footer-links ul,
.footer-nav ul,
.social-navigation ul { list-style: none; margin: 0; padding: 0; }
.primary-menu .menu { display: flex; gap: 1.1rem; align-items: center; }
.primary-menu li { position: relative; margin: 0; }
.primary-menu a {
  display: inline-flex; align-items: center; min-height: 2.2rem;
  color: var(--ed-ink-soft); text-decoration: none;
  font-family: var(--ed-font-ui);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .058em; text-transform: uppercase;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { color: var(--ed-ink); }
.primary-menu .sub-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 210px; display: none;
  padding: .75rem; background: var(--ed-paper);
  border: 1px solid var(--ed-rule);
  box-shadow: var(--ed-soft-shadow);
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a {
  width: 100%; justify-content: flex-start;
  padding: .35rem .25rem;
}

.mobile-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-button);
  background: color-mix(in srgb, var(--ed-paper) 88%, white 12%);
}
@supports not (color-mix(in srgb, var(--ed-paper) 88%, white 12%)) {
  .mobile-toggle { background: #FFFFFC; }
}
.mobile-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ed-ink);
  transition: transform .2s ease, opacity .2s ease;
}
.mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta {
  display: inline-flex; min-height: 2.45rem;
  align-items: center; justify-content: center;
  padding: 0.62rem 1.05rem;
  border-radius: var(--ed-radius-button);
  border: 1px solid var(--ed-accent-dark);
  background: var(--ed-accent);
  color: var(--ed-button-ink);
  font-family: var(--ed-font-ui);
  font-weight: 700; letter-spacing: .035em; line-height: 1;
  text-decoration: none;
}
.header-cta-wrap.is-empty { display: none; }
.site-header--static { position: relative; }

/* Header social */
.header-social { display: flex; align-items: center; }
.header-social-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; }
.header-social-list a {
  display: inline-flex; width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border: 1px solid var(--ed-rule); border-radius: 4px;
  color: var(--ed-ink-soft); font-size: .72rem; text-decoration: none;
}

/* ----- Hero section ----- */
.hero {
  background: var(--ed-hero-bg);
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(255,255,255,.07) 0%, transparent 58%),
    radial-gradient(ellipse at 20% 80%, rgba(185,185,185,.055) 0%, transparent 48%);
}
.hero, .page-hero { position: relative; overflow: hidden; }
.hero h1, .page-hero h1 {
  color: var(--ed-hero-ink);
  letter-spacing: var(--ed-hero-tracking);
  margin: 0;
  max-width: 12.6em;
}
.hero-lead, .page-hero p {
  color: color-mix(in srgb, var(--ed-hero-ink) 82%, transparent);
  font-family: var(--ed-font-body);
  margin: 0;
  max-width: 68ch;
  line-height: 1.76;
}
@supports not (color-mix(in srgb, var(--ed-hero-ink) 82%, transparent)) {
  .hero-lead, .page-hero p { color: rgba(244,244,244,.82); }
}
.hero .badge-pill,
.page-hero .badge-pill {
  border-color: color-mix(in srgb, var(--ed-hero-ink) 24%, transparent);
  color: color-mix(in srgb, var(--ed-hero-ink) 74%, transparent);
}
@supports not (color-mix(in srgb, var(--ed-hero-ink) 24%, transparent)) {
  .hero .badge-pill, .page-hero .badge-pill {
    border-color: rgba(244,244,244,.24);
    color: rgba(244,244,244,.74);
  }
}
.hero-deco {
  position: absolute; inset: 0;
  background: var(--ed-hero-deco);
  opacity: var(--ed-hero-deco-opacity);
  filter: blur(.2px) saturate(.85);
  pointer-events: none;
}

/* Buttons */
.btn-group {
  display: flex; flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}
.header-cta,
.btn-primary,
.btn-amber,
.btn-dark,
.btn-outline-primary,
.btn-outline-dark,
.btn-outline-white,
.btn-enquire {
  display: inline-flex;
  min-height: 2.95rem;
  align-items: center;
  justify-content: center;
  padding: var(--ed-button-py) var(--ed-button-px);
  line-height: 1.2;
  border-radius: var(--ed-radius-button);
  text-decoration: none;
  font-family: var(--ed-font-ui);
  font-weight: 700;
  letter-spacing: .035em;
  border: 1px solid;
}
.btn-primary, .btn-dark, .btn-amber, .btn-enquire {
  background: var(--ed-accent);
  color: var(--ed-button-ink);
  border-color: var(--ed-accent-dark);
}
.btn-primary:hover, .btn-dark:hover,
.btn-amber:hover, .btn-enquire:hover {
  background: var(--ed-accent-dark);
  border-color: var(--ed-accent-dark);
  transform: translateY(-1px);
}
.btn-outline-primary, .btn-outline-dark, .btn-outline-white {
  background: transparent;
}
.btn-outline-primary, .btn-outline-dark {
  border-color: var(--ed-rule-strong);
  color: var(--ed-ink);
}
.btn-outline-white {
  border-color: var(--ed-hero-ink);
  color: var(--ed-hero-ink);
}
.btn-outline-primary:hover,
.btn-outline-dark:hover {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
}
.btn-outline-white:hover {
  background: color-mix(in srgb, var(--ed-hero-ink) 10%, transparent);
  border-color: var(--ed-hero-ink);
  color: var(--ed-hero-ink);
}
@supports not (color-mix(in srgb, var(--ed-hero-ink) 10%, transparent)) {
  .btn-outline-white:hover { background: rgba(244,244,244,.1); }
}

.read-more {
  color: var(--ed-accent);
  font-family: var(--ed-font-ui);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}
.read-more-meta { font-size: 0.875rem; flex-shrink: 0; }

/* Trust badges */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem clamp(1.2rem, 3vw, 2.1rem);
  margin-top: clamp(0.6rem, 1.4vw, 1.15rem);
  padding-top: clamp(1.35rem, 2.4vw, 2rem);
  border-top: 1px solid color-mix(in srgb, var(--ed-hero-ink) 16%, transparent);
}
@supports not (color-mix(in srgb, var(--ed-hero-ink) 16%, transparent)) {
  .hero-trust { border-top-color: rgba(244,244,244,.16); }
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--ed-hero-ink) 70%, transparent);
  font-family: var(--ed-font-ui);
  font-size: .78rem;
  letter-spacing: .04em;
}
@supports not (color-mix(in srgb, var(--ed-hero-ink) 70%, transparent)) {
  .trust-item { color: rgba(244,244,244,.7); }
}
.trust-item svg { width: 14px; height: 14px; fill: currentColor; }

/* Stats bar */
.stats-bar {
  background: var(--ed-gray-800);
  text-align: center;
}
.stats-bar .stat-item {
  background: var(--ed-gray-800);
  border-color: rgba(255,255,255,.12);
}
.stats-grid {
  max-width: var(--ed-container);
  margin-inline: auto;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--ed-card-pad);
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
}
.stat-number {
  font-family: var(--ed-font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .9;
  font-weight: 700;
  color: var(--ed-hero-ink);
}
.stat-label {
  color: rgba(244,244,244,.74);
  font-family: var(--ed-font-ui);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Cards */
.prog-card, .feature-card, .value-card,
.testimonial-card, .stat-item,
.blog-card {
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  box-shadow: var(--ed-soft-shadow);
  padding: var(--ed-card-pad);
  display: flex;
  flex-direction: column;
  gap: var(--ed-card-gap);
}
.blog-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-top: 1px solid var(--ed-rule-strong);
  padding-top: 0.65rem;
}
.blog-card h3 {
  font-family: var(--ed-font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin: .15rem 0 .35rem;
}
.blog-card h3 a { color: var(--ed-ink); text-decoration: none; }
.blog-card h3 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.blog-card p { color: var(--ed-muted); margin: 0; font-size: .88rem; line-height: 1.5; }
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--ed-card-gap);
  padding: var(--ed-card-pad-sm);
}

.feature-card h3, .value-card h3, .prog-card h3, .team-card h3 {
  font-family: var(--ed-font-display);
  font-weight: 700;
}
.feature-card p, .value-card p, .prog-card p,
.team-card p { margin: 0; color: var(--ed-muted); }

.value-card:hover, .value-card:focus-within,
.feature-card:hover, .feature-card:focus-within,
.prog-card:hover, .prog-card:focus-within,
.blog-card:hover, .blog-card:focus-within,
.testimonial-card:hover, .testimonial-card:focus-within {
  transform: translateY(-1px);
  box-shadow: var(--ed-hover-shadow);
}

/* Icons */
.icon-wrap-primary, .icon-wrap-amber, .icon-wrap-dark,
.faq-icon, .reviewer-avatar {
  width: 2.85rem;
  height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ed-radius-icon);
  background: var(--ed-icon-bg);
  border: 1px solid var(--ed-rule);
  flex-shrink: 0;
}
.icon-wrap-primary svg {
  width: 20px; height: 20px;
  stroke: var(--ed-accent);
  fill: none;
}

/* Labels / pills */
.label-pill, .badge-pill, .label-pill-bg,
.story-label, .age-badge, .age-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: .48rem .86rem;
  border: 1px solid var(--ed-rule-strong);
  border-radius: var(--ed-radius-label);
  color: var(--ed-muted);
  font-family: var(--ed-font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
  line-height: 1.12;
}
.badge-pill svg, .label-pill svg { width: 14px; height: 14px; fill: currentColor; }
.label-pill-bg { background: var(--ed-label-bg); color: var(--ed-label-ink); }
.hero-inner .badge-pill, .page-hero-inner .badge-pill {
  margin-bottom: .08rem;
}

/* Activity tags */
.activity-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.72rem;
}
.activity-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.08rem;
  border-radius: var(--ed-radius-label);
  border: 1px solid var(--ed-rule);
  background: color-mix(in srgb, var(--ed-paper) 84%, white 16%);
  font-family: var(--ed-font-ui);
  font-size: .82rem;
  color: var(--ed-ink-soft);
}
@supports not (color-mix(in srgb, var(--ed-paper) 84%, white 16%)) {
  .activity-tag { background: #FFFFFC; }
}
.activity-tag svg { width: 16px; height: 16px; fill: currentColor; }

/* Testimonials */
.stars {
  display: flex;
  gap: 0.15rem;
}
.star-icon {
  width: 16px; height: 16px;
  fill: var(--ed-secondary);
  stroke: var(--ed-secondary);
}
.testimonial-card p {
  font-family: var(--ed-font-body);
  line-height: 1.82;
  color: var(--ed-ink-soft);
  margin: 0;
  font-style: italic;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}
.reviewer-avatar {
  width: 2.85rem; height: 2.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ed-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ed-accent);
  border-radius: var(--ed-radius-icon);
  background: var(--ed-icon-bg);
  border: 1px solid var(--ed-rule);
}
.reviewer-info {
  display: flex;
  flex-direction: column;
}
.reviewer-name {
  font-family: var(--ed-font-ui);
  font-weight: 700;
  font-size: .85rem;
  color: var(--ed-ink);
}
.reviewer-role {
  font-size: .74rem;
  color: var(--ed-muted);
  letter-spacing: .04em;
}

/* CTA section */
.cta-section {
  background: var(--ed-gray-600);
  text-align: center;
}
.cta-inner {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.cta-section h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  margin-top: 0;
  margin-bottom: var(--ed-title-mb);
  color: var(--ed-hero-ink);
}
.cta-section p {
  color: color-mix(in srgb, var(--ed-hero-ink) 78%, transparent);
  font-family: var(--ed-font-body);
  max-width: 36rem;
  margin: 0;
}
@supports not (color-mix(in srgb, var(--ed-hero-ink) 78%, transparent)) {
  .cta-section p { color: rgba(244,244,244,.78); }
}
.cta-section .btn-dark {
  background: var(--ed-hero-ink);
  color: var(--ed-gray-800);
  border-color: var(--ed-hero-ink);
}
.cta-section .btn-outline-dark {
  border-color: color-mix(in srgb, var(--ed-hero-ink) 40%, transparent);
  color: var(--ed-hero-ink);
}
@supports not (color-mix(in srgb, var(--ed-hero-ink) 40%, transparent)) {
  .cta-section .btn-outline-dark { border-color: rgba(244,244,244,.4); }
}
.cta-section .btn-outline-dark:hover {
  border-color: var(--ed-hero-ink);
  color: var(--ed-hero-ink);
  background: color-mix(in srgb, var(--ed-hero-ink) 10%, transparent);
}
@supports not (color-mix(in srgb, var(--ed-hero-ink) 10%, transparent)) {
  .cta-section .btn-outline-dark:hover { background: rgba(244,244,244,.1); }
}

/* Story section (about page) */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ed-grid-gap-large);
  align-items: center;
}
.story-img-placeholder {
  min-height: 380px;
  background: var(--ed-paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ed-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 2rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-grid-gap);
}
.team-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ed-grid-gap-large);
}
.founder-placeholder {
  min-height: 280px;
  background: var(--ed-paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-family: var(--ed-font-display);
  font-weight: 700;
  color: var(--ed-muted);
  border-radius: var(--ed-radius-image);
  border: 1px solid var(--ed-rule);
}
.section-title--left {
  text-align: left;
}
.story-label { margin-bottom: var(--ed-label-mb); }
.story-title {
  font-family: var(--ed-font-display);
  font-weight: 700;
  letter-spacing: var(--ed-heading-tracking);
  margin-top: 0;
  margin-bottom: var(--ed-title-mb);
}
.story-body {
  font-family: var(--ed-font-body);
  line-height: 1.82;
  color: var(--ed-ink-soft);
  margin-bottom: var(--ed-paragraph-stack);
}
.story-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem clamp(1.75rem, 4vw, 2.5rem);
  margin-top: clamp(1.35rem, 2.6vw, 2rem);
  border-top: 1px solid var(--ed-rule);
  padding-top: clamp(1.25rem, 2.4vw, 1.8rem);
}
.story-stat-num {
  font-family: var(--ed-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ed-ink);
  display: block;
}
.story-stat-label {
  font-size: .74rem;
  color: var(--ed-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.story-img, .prog-img, .prog-image,
.team-photo, .founder-photo, .blog-card img {
  border-radius: var(--ed-radius-image);
  border: 1px solid var(--ed-rule);
  filter: grayscale(1) contrast(1.045) brightness(.985);
}

/* Team / Founder section */
.founder-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  box-shadow: var(--ed-soft-shadow);
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}
.founder-photo {
  min-height: 320px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.founder-info {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.6vw, 1.35rem);
  padding: clamp(2rem, 4vw, 3.25rem);
}
.founder-info h3 {
  font-family: var(--ed-font-display);
  margin: 0;
}
.founder-role {
  font-family: var(--ed-font-ui);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.founder-bio {
  font-family: var(--ed-font-body);
  line-height: 1.82;
  color: var(--ed-ink-soft);
}
.founder-quote, .team-quote {
  font-family: var(--ed-font-body);
  font-style: italic;
  color: var(--ed-ink-soft);
  line-height: 1.72;
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--ed-rule-strong);
}
.team-grid {
  display: grid;
  gap: var(--ed-grid-gap);
}
.team-card {
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  box-shadow: var(--ed-soft-shadow);
  overflow: hidden;
}
.team-photo {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}
.team-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--ed-card-gap);
  padding: var(--ed-card-pad-sm);
}
.team-card-body h3 {
  font-family: var(--ed-font-display);
  margin: 0;
}
.team-card-body .team-role {
  font-family: var(--ed-font-ui);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.team-card-body p {
  color: var(--ed-ink-soft);
  margin: 0;
}

/* Sections / Programmes */
.prog-section--white { background: var(--ed-paper); }
.prog-section--light { background: var(--ed-paper-alt); }
.prog-grid {
  display: grid;
  align-items: center;
  gap: var(--ed-grid-gap-large);
}
.prog-section__grid {
  display: grid;
  align-items: center;
  gap: var(--ed-grid-gap-large);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .prog-section__grid { grid-template-columns: 1fr 1fr; }
}
.prog-content h2 { margin-top: 0; margin-bottom: var(--ed-title-mb); }
.prog-subtitle {
  font-family: var(--ed-font-display);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.05rem;
}
.prog-desc {
  font-family: var(--ed-font-body);
  line-height: 1.82;
  color: var(--ed-ink-soft);
  margin-bottom: var(--ed-paragraph-stack);
}
.prog-features {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  margin-top: clamp(1rem, 1.8vw, 1.35rem);
  margin-bottom: clamp(1.55rem, 2.6vw, 2.1rem);
}
.prog-feature {
  display: flex;
  gap: 0.72rem;
  align-items: flex-start;
}
.prog-feature p { margin: 0; color: var(--ed-muted); }
.prog-image { position: relative; }
.prog-img {
  width: 100%;
  height: clamp(21rem, 32vw, 26rem);
  object-fit: cover;
}

/* FAQ */
.faq-section { background: var(--ed-paper-alt); }
.faq-list {
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.86rem;
}
.faq-list details {
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  overflow: hidden;
}
.faq-list details[open] { border-color: var(--ed-rule-strong); }
.faq-list summary {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: clamp(1.05rem, 2vw, 1.35rem) clamp(1.15rem, 2.3vw, 1.65rem);
  cursor: pointer;
  font-weight: 700;
  font-family: var(--ed-font-display);
}
.faq-chevron { color: var(--ed-accent); margin-left: auto; }
.faq-body {
  padding: 0 clamp(1.15rem, 2.3vw, 1.65rem) clamp(1.2rem, 2.3vw, 1.55rem);
}
.faq-body-inner {
  padding-top: 0.95rem;
  padding-left: clamp(3.1rem, 5.2vw, 3.65rem);
  color: var(--ed-ink-soft);
  line-height: 1.72;
}

/* Editorial section overrides for dark backgrounds */
.editorial-section--dark h1,
.editorial-section--dark h2,
.editorial-section--dark h3,
.editorial-section--dark h4,
.editorial-section--dark .section-title,
.editorial-section--dark .page-title,
.editorial-section--dark .archive-title { color: var(--ed-hero-ink); }
.editorial-section--dark .breadcrumbs,
.editorial-section--dark .breadcrumbs a,
.editorial-section--dark .section-lead,
.editorial-section--dark .entry-meta,
.editorial-section--dark .entry-footer { color: rgba(247,247,247,.76); }
.editorial-section--dark .read-more { color: var(--ed-hero-ink); }

/* Editorial component library */
.editorial-card {
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  padding: var(--ed-card-pad);
  box-shadow: var(--ed-soft-shadow);
}
.editorial-card h3 { margin: 0 0 .75rem; }
.editorial-card p { color: var(--ed-muted); margin-bottom: 1rem; }
.editorial-card--feature { min-height: 100%; }
.editorial-button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.editorial-button-row--center { justify-content: center; }
.editorial-button--outline { background: transparent; color: var(--ed-ink); border-color: var(--ed-rule-strong); }
.editorial-section--dark .editorial-button--outline { color: var(--ed-hero-ink); border-color: rgba(255,255,255,.34); }
.editorial-list { display: grid; gap: 1rem; }
.editorial-list-item { border-top: 1px solid var(--ed-rule); padding-top: 1rem; }
.editorial-list-item h3 { margin: 0 0 .25rem; }
.editorial-list-item p { margin: 0; color: var(--ed-muted); }
.editorial-stat-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.18); }
.editorial-stat { background: var(--ed-hero-bg); padding: 1.4rem; text-align: center; }
.editorial-stat strong { display: block; font-family: var(--ed-font-display); font-size: clamp(2rem,5vw,4rem); line-height: .9; color: var(--ed-hero-ink); }
.editorial-stat span { color: rgba(247,247,247,.72); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.editorial-quote { max-width: 820px; margin: 0 auto; font-family: var(--ed-font-display); font-size: clamp(2rem,5vw,4rem); line-height: 1.05; text-align: center; }
.editorial-faq { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.editorial-faq details { border: 1px solid var(--ed-rule); border-radius: var(--ed-radius-card); background: var(--ed-card); padding: 1rem 1.2rem; }
.editorial-faq summary { cursor: pointer; font-weight: 700; }
.editorial-note { grid-column: 1 / -1; border: 1px dashed var(--ed-rule-strong); border-radius: var(--ed-radius-card); padding: 1rem 1.2rem; color: var(--ed-muted); background: rgba(255,255,255,.55); }

.editorial-mini-label {
  display: inline-flex; margin-bottom: .9rem;
  border-bottom: 1px solid var(--ed-rule-strong);
  color: var(--ed-muted);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.editorial-story-band { max-width: 860px; }
.editorial-story-band > p {
  font-family: var(--ed-font-editorial);
  font-size: clamp(1.12rem, 2vw, 1.46rem);
  line-height: 1.72; color: var(--ed-muted);
}
.editorial-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ed-rule-strong); }
.editorial-timeline li {
  display: grid;
  grid-template-columns: 88px minmax(160px, .35fr) minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--ed-rule);
  padding: 1.15rem 0;
}
.editorial-timeline strong { font-family: var(--ed-font-display); font-size: 1.55rem; line-height: 1; }
.editorial-timeline p { margin: 0; color: var(--ed-muted); }
.editorial-person { border-top: 1px solid var(--ed-rule-strong); padding-top: 1rem; }
.editorial-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid var(--ed-rule-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ed-font-display); font-size: 2rem;
  margin-bottom: 1rem; background: var(--ed-paper);
}
.editorial-person h3 { margin: 0 0 .45rem; }
.editorial-person p { color: var(--ed-muted); margin: 0; }
.editorial-info-table { border-top: 1px solid var(--ed-rule-strong); }
.editorial-info-table > div {
  display: grid;
  grid-template-columns: minmax(160px, .28fr) minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--ed-rule);
  padding: 1rem 0;
}
.editorial-info-table strong { letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; }
.editorial-info-table span { color: var(--ed-muted); }
.editorial-notice {
  border: 1px solid var(--ed-rule-strong);
  background: var(--ed-card);
  border-radius: var(--ed-radius-card);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 880px; margin: 0 auto;
}
.editorial-index { max-width: 900px; margin: 0 auto; }
.editorial-index ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ed-rule-strong); }
.editorial-index li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  border-bottom: 1px solid var(--ed-rule);
  padding: 1rem 0;
}
.editorial-index li span { color: var(--ed-muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.editorial-gallery { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; }
.editorial-people-grid { align-items: start; }

/* Footer */
.site-footer {
  background: var(--ed-footer-bg);
  color: var(--ed-footer-text);
  margin-top: var(--ed-section-y);
}
.footer-main { padding: var(--ed-footer-col-pad-y) 0 2rem; }
.footer-grid, .footer-widget-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
}
.footer-widget-area { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.14); }
.footer-brand-name, .footer-col-title, .footer-label,
.footer-widget-grid .widget-title { color: var(--ed-footer-text); }
.footer-brand-desc, .footer-address,
.footer-links a, .footer-nav a,
.footer-widget-grid .widget,
.footer-widget-grid a,
.footer-contact-link { color: rgba(247,247,247,.82); }
.footer-links ul, .footer-nav ul, .social-navigation ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .35rem; }
.footer-links a, .footer-nav a { text-decoration: none; }
.footer-links a:hover, .footer-nav a:hover { color: var(--ed-footer-text); }
.footer-divider, .footer-col-divider {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.16);
  margin: 1rem 0;
}
.footer-col-title { margin: 0 0 0.8rem; font-weight: 400; }
.footer-col { min-width: 0; padding: 0; }
.footer-brand-name {
  font-family: var(--ed-font-display);
  font-size: 1.2rem;
  margin: 0 0 0.9rem;
}
.footer-brand-desc { font-size: .88rem; line-height: 1.65; margin: 0; }
.footer-contact-list { display: grid; gap: .35rem; }
.footer-contact-link { text-decoration: none; font-size: .88rem; }
.footer-address { font-style: normal; font-size: .88rem; line-height: 1.6; }
.social-navigation .menu { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-navigation a {
  display: inline-flex; min-height: 2.2rem;
  align-items: center;
  border: 1px solid rgba(255,255,255,.18);
  padding: .35rem .65rem; border-radius: 6px;
  color: var(--ed-footer-text); text-decoration: none;
  font-size: .82rem;
}
.footer-bottom { background: var(--ed-footer-bg); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(247,247,247,.74);
  font-size: .84rem;
}
.footer-nav .menu { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-copyright { display: inline-block; }
.footer-widget-column { min-width: 0; }
.footer-newsletter {
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.14);
  max-width: 36rem;
}
.footer-newsletter .widget-title,
.widget-area-newsletter .widget-title {
  font-family: var(--ed-font-display); font-size: 1.2rem; margin: 0 0 .75rem;
}
.widget-area-newsletter { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--ed-rule); }

/* Reading progress bar */
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 99999; background: transparent; pointer-events: none; }
.reading-progress__bar { display: block; height: 100%; background: var(--ed-black); width: 0; transition: width 80ms linear; will-change: width; }

/* Post formats */
.format-quote .entry-card { background: var(--ed-gray-100); padding: 1.5rem; }
.format-quote .entry-card .entry-header::before { content: "\201C"; display: block; font-family: var(--ed-font-display); font-size: 3rem; line-height: 1; color: var(--ed-gray-300); }
.format-quote .entry-card .entry-title { font-style: italic; font-size: 1.15rem; font-weight: 400; }
.format-quote .entry-card .entry-meta { font-family: var(--ed-font-ui); font-size: .8rem; }

.format-link .entry-card .entry-title::after { content: "\2197"; display: inline-block; margin-left: .35rem; font-size: .85em; }

.format-aside .entry-card .entry-title { font-family: var(--ed-font-body); font-size: 1rem; font-weight: 400; }
.format-aside .entry-card .entry-thumb { display: none; }

.format-status .entry-card { background: var(--ed-gray-100); padding: 1.25rem; }
.format-status .entry-card .entry-title { font-family: var(--ed-font-body); font-size: 1rem; font-weight: 400; }
.format-status .entry-card .entry-thumb { display: none; }

.format-gallery .entry-card .entry-thumb { position: relative; }
.format-gallery .entry-card .entry-thumb::after { content: "\1F4F7"; position: absolute; bottom: .5rem; right: .5rem; background: rgba(0,0,0,.7); color: #fff; padding: .2rem .5rem; font-size: .75rem; border-radius: 2px; }

.format-video .entry-card .entry-thumb::after,
.format-audio .entry-card .entry-thumb::after { content: "\25B6"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 2rem; color: #fff; text-shadow: 0 0 10px rgba(0,0,0,.5); }
.footer-widget-grid .widget ul { margin-left: 0; padding-left: 1.1rem; }

.scroll-top {
  position: fixed; right: 1rem; bottom: 1rem;
  width: 44px; height: 44px;
  border: 1px solid var(--ed-accent-dark);
  border-radius: var(--ed-radius-button);
  background: var(--ed-accent);
  color: var(--ed-button-ink);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
  z-index: 800;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* Archive / page / post */
.archive-header, .page-header, .search-header,
.error-404, .not-found {
  padding: var(--ed-section-y-tight) 0;
  border-bottom: 1px solid var(--ed-rule);
}
.archive-title, .page-title, .search-title { margin: .35rem 0 .75rem; }
.archive-title { font-family: var(--ed-font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 .25rem; }
.archive-description, .page-description, .entry-dek {
  max-width: var(--ed-content-measure);
  color: var(--ed-muted);
  font-family: var(--ed-font-editorial);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.55;
}
.post-card, .entry-card {
  display: grid;
  gap: 0.65rem;
  border-bottom: 1px solid var(--ed-rule);
  padding: 0 0 1rem;
  margin: 0 0 1rem;
}
.post-card .entry-title { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0 0 .35rem; }
.post-card .entry-title a { color: var(--ed-ink); text-decoration: none; }
.entry-meta, .entry-footer, .post-meta { color: var(--ed-muted); }
.entry-meta a, .entry-footer a { color: var(--ed-muted); }
.entry-summary { color: var(--ed-muted); max-width: var(--ed-content-measure); font-size: .95rem; line-height: 1.55; }
.entry-header { min-width: 0; }

/* ----- Single post (modern magazine article) ----- */

/* Hero area — full‑width, separates the post from page chrome */
.single-hero {
  background: var(--ed-paper-alt);
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.single-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.single-hero-kicker {
  font-family: var(--ed-font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ed-accent);
  margin-bottom: .65rem;
}
.single-hero-kicker a { color: var(--ed-accent); text-decoration: none; }
.single-hero-kicker a:hover { text-decoration: underline; }
.single-hero-title {
  font-family: var(--ed-font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.012em;
  max-width: 14em;
  margin: 0 0 .55rem;
}
.single-hero-dek {
  font-family: var(--ed-font-editorial);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--ed-muted);
  max-width: 42em;
  margin: 0 auto 1rem;
}
.single-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .85rem;
  justify-content: center;
  align-items: center;
  font-family: var(--ed-font-ui);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--ed-ink-soft);
  margin-bottom: .25rem;
}
.single-hero-author a { color: var(--ed-ink); font-weight: 600; text-decoration: none; }
.single-hero-author a:hover { text-decoration: underline; }
.single-hero-date { color: var(--ed-muted); }
.single-hero-date::before { content: '\2022'; margin-right: .65rem; color: var(--ed-rule-strong); }
.single-hero .reading-time { color: var(--ed-muted); }
.single-hero .reading-time::before { content: '\2022'; margin-right: .65rem; color: var(--ed-rule-strong); }
.single-hero .post-thumbnail { margin: 1.25rem auto 0; }
.single-hero .post-thumbnail img { filter: grayscale(1) contrast(1.035); }

/* Content body — reading‑width column */
.entry-content {
  max-width: var(--ed-content-measure);
  margin-inline: auto;
  font-size: 1.0625rem;
  line-height: 1.78;
}
.entry-content > * { margin-top: 0; margin-bottom: 1.15rem; }
.entry-content h2, .entry-content h3, .entry-content h4 {
  margin-top: 2.4em; margin-bottom: .7em;
}
.entry-content blockquote {
  border-left: 3px solid var(--ed-accent-dark);
  margin-left: 0; padding-left: 1.25rem;
  font-family: var(--ed-font-editorial);
  color: var(--ed-ink-soft);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.entry-content th, .entry-content td {
  border: 1px solid var(--ed-rule);
  padding: .7rem .8rem; text-align: left;
}
.entry-content figcaption, .wp-caption-text, .gallery-caption {
  color: var(--ed-muted);
  font-size: .85rem; line-height: 1.5;
}
.entry-content iframe, .entry-content embed,
.entry-content object { max-width: 100%; }
.entry-content pre { overflow: auto; background: #102332; color: var(--ed-hero-ink); padding: 1rem; border-radius: var(--ed-radius-button); }
.entry-content code { background: #E6F0F2; padding: .08em .28em; border-radius: 3px; }
.entry-content pre code { background: transparent; padding: 0; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; }

/* Drop cap — first paragraph of the article */
.entry-content > p:first-of-type:first-letter {
  font-family: var(--ed-font-display);
  font-size: 3.8em;
  font-weight: 700;
  float: left;
  line-height: .8;
  margin: .08em .18em 0 0;
  color: var(--ed-ink);
}

/* Pull quote */
.entry-content .pull-quote,
.entry-content blockquote.pull-quote {
  border-left: 0;
  text-align: center;
  max-width: 28em;
  margin: 2.5rem auto;
  padding: 1.25rem 0;
  font-family: var(--ed-font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  font-style: normal;
  font-weight: 600;
  color: var(--ed-ink);
  border-top: 1px solid var(--ed-rule-strong);
  border-bottom: 1px solid var(--ed-rule-strong);
}

/* Post thumbnail */
.post-thumbnail { display: block; margin: 2rem auto; max-width: 960px; }
.post-thumbnail img, .entry-content img {
  display: block; max-width: 100%; height: auto;
  border: 1px solid var(--ed-rule);
  filter: grayscale(1) contrast(1.035);
}

/* Entry tags — pill‑style on single posts */
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .5rem;
}
.entry-tags a {
  display: inline-flex;
  padding: .3rem .65rem;
  border: 1px solid var(--ed-rule-strong);
  border-radius: var(--ed-radius-label);
  font-family: var(--ed-font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ed-muted);
  text-decoration: none;
}
.entry-tags a:hover {
  border-color: var(--ed-accent);
  color: var(--ed-accent);
}

/* Navigation / related / author / comments */
.posts-navigation, .post-navigation, .comment-navigation {
  margin: 2rem 0;
  border-top: 1px solid var(--ed-rule);
  border-bottom: 1px solid var(--ed-rule);
  padding: 1rem 0;
}
.nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.nav-next { text-align: right; }
.nav-subtitle {
  display: block; color: var(--ed-muted);
  font-size: .75rem; letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: .35rem;
}
.nav-title { font-family: var(--ed-font-display); font-size: 1rem; line-height: 1.2; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-numbers {
  display: inline-flex; min-width: 2.2rem; min-height: 2.2rem;
  align-items: center; justify-content: center;
  border: 1px solid var(--ed-rule); text-decoration: none;
}
.page-numbers.current { background: var(--ed-accent); color: var(--ed-button-ink); }

.author-box, .related-posts, .comments-area {
  max-width: 920px; margin: 2.5rem auto 0;
  padding-top: 1.25rem; border-top: 1px solid var(--ed-rule);
}
.author-box { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 1.2rem; align-items: start; }
.author-box__avatar img { border-radius: 50%; filter: grayscale(1); }
.author-box__placeholder { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ed-paper); border: 1px solid var(--ed-line); color: var(--ed-ink); font-family: var(--ed-font-ui); font-size: var(--ed-text-lg); font-weight: 600; }
.author-box__name, .related-posts__title, .comments-title, .comment-reply-title { font-family: var(--ed-font-display); }
.author-box__body { min-width: 0; }
.author-box__title { display: block; font-family: var(--ed-font-ui); font-size: var(--ed-text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ed-slate); margin-bottom: 0.6rem; }
.author-box__links { margin-top: 0.6rem; display: flex; gap: 1rem; }
.author-box__links a { font-family: var(--ed-font-ui); font-size: var(--ed-text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ed-slate); text-decoration: underline; text-underline-offset: 2px; }
.author-box__links a:hover { color: var(--ed-ink); }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.related-card { border-top: 1px solid var(--ed-rule-strong); padding-top: 1rem; }
.related-card__title { font-family: var(--ed-font-display); font-size: 1.05rem; line-height: 1.2; margin: 0 0 .35rem; }
.related-card__title a { color: var(--ed-ink); text-decoration: none; }
.related-card__meta { font-size: .74rem; color: var(--ed-muted); text-transform: uppercase; letter-spacing: .06em; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-body { border-bottom: 1px solid var(--ed-rule); padding: 1.25rem 0; }
.comment-meta { font-size: .85rem; color: var(--ed-muted); }
.comment-content { margin-top: .75rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-field {
  width: 100%;
  border: 1px solid var(--ed-rule-strong);
  background: var(--ed-paper);
  color: var(--ed-ink);
  padding: .75rem .9rem;
  border-radius: 4px;
}
.search-form { display: flex; gap: .6rem; align-items: stretch; }
.search-form label { flex: 1; }
.entry-date.updated:not(.published), .updated:not(.published) { display: none; }

/* Widgets */
.widget { margin: 0 0 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--ed-rule); overflow-wrap: anywhere; }
.widget-title { font-family: var(--ed-font-display); font-size: 1.45rem; margin: 0 0 1rem; }
.widget ul { margin-left: 1.1rem; padding-left: 0; }
.widget a { color: var(--ed-ink); }

/* Mobile overrides */
@media (max-width: 959px) {
  .header-inner { height: 66px; }
  .mobile-toggle { display: inline-flex; position: relative; z-index: 1220; }
  .header-cta-wrap { display: none; }
  body.nav-open::after {
    content: ''; position: fixed; inset: 0;
    background: rgba(0,0,0,.42); z-index: 1000;
  }
  body.nav-open .site-logo { opacity: 0; pointer-events: none; }
  body.nav-open .site-header { z-index: 1300; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
  .primary-menu, .primary-menu.open {
    position: fixed; top: 0; right: 0;
    width: min(82vw, 340px); height: 100dvh;
    padding: 5.5rem 1.45rem 2rem;
    display: block;
    background: var(--ed-paper);
    border-left: 1px solid var(--ed-rule-strong);
    box-shadow: -18px 0 48px rgba(0,0,0,.18);
    z-index: 1210;
    overflow-y: auto;
    transition: transform .28s ease, visibility .28s ease, opacity .28s ease;
  }
  .primary-menu { transform: translateX(104%); opacity: 0; visibility: hidden; }
  .primary-menu.open { transform: translateX(0); opacity: 1; visibility: visible; }
  .primary-menu:not(.open) { pointer-events: none; }
  .primary-menu.open { pointer-events: auto; }
  .primary-menu { overscroll-behavior: contain; }
  .primary-menu .menu { display: block; width: 100%; }
  .primary-menu a { width: 100%; padding: .86rem 0; border-bottom: 1px solid var(--ed-rule); overflow-wrap: anywhere; }
  .primary-menu .sub-menu { position: static; display: block; padding: 0 0 0 1rem; border: 0; box-shadow: none; background: transparent; }
  .primary-menu .sub-menu a { padding-left: .25rem; font-size: .76rem; }
  .nav-links { grid-template-columns: 1fr; }
  .nav-next { text-align: left; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { min-height: 300px; }
  .team-photo { height: 14.5rem; }
  .prog-img { height: 20rem; }
  .footer-bottom-inner { flex-direction: column; }
  .footer-bottom { padding: 1.15rem var(--ed-page-gutter); }
  .footer-col { padding: 2.25rem var(--ed-page-gutter); }
  .search-form { display: block; }
  .search-submit { margin-top: .65rem; }
  .faq-list summary { align-items: flex-start; }
  .faq-body-inner { padding-left: 0; }
  .single-entry-header .entry-title { max-width: 100%; }
  .scroll-top { right: 1rem; bottom: 1.25rem; }
}

@media (max-width: 699px) {
  .single-entry-header .entry-title { max-width: 100%; }
}

/* ==============================================================
   Homepage layout: Broad Sheet — newspaper‑inspired density
   ============================================================== */

.broadsheet-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--ed-grid-gap);
  align-items: start;
}
.broadsheet-card {
  border-top: 1px solid var(--ed-rule-strong);
  padding-top: 0.65rem;
}
.broadsheet-card--lead {
  grid-row: span 2;
}
.broadsheet-card--lead h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}
.broadsheet-card h3 {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  margin: 0.2rem 0 0.4rem;
}
.broadsheet-card h3 a { color: var(--ed-ink); text-decoration: none; }
.broadsheet-card h3 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.broadsheet-cat {
  display: inline-block;
  font-family: var(--ed-font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.broadsheet-excerpt {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ed-muted);
  margin: 0;
}
.broadsheet-dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-grid-gap);
}
.broadsheet-dept {
  border-top: 1px solid var(--ed-rule-strong);
  padding-top: 0.85rem;
}
.broadsheet-dept h3 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin: 0 0 0.4rem;
}
.broadsheet-dept h3 a { color: var(--ed-ink); text-decoration: none; }
.broadsheet-dept p { color: var(--ed-muted); margin: 0; font-size: 0.88rem; line-height: 1.55; }
.broadsheet-values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.broadsheet-value-item {
  padding: 0.55rem 1rem;
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-label);
  font-family: var(--ed-font-ui);
  font-size: 0.82rem;
  color: var(--ed-ink-soft);
}

/* ----- Front Page Preview (broadsheet) ----- */
.fp-preview {
  max-width: 36rem;
  margin: 0 auto;
  border: 1px solid var(--ed-rule);
  background: var(--ed-paper);
  padding: 0;
}
.fp-preview-masthead {
  text-align: center;
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: 2px solid var(--ed-gray-900);
}
.fp-preview-volume {
  display: block;
  font-family: var(--ed-font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-muted);
  margin-bottom: 0.15rem;
}
.fp-preview-date {
  display: block;
  font-family: var(--ed-font-display);
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  color: var(--ed-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fp-preview-lead {
  padding: 1.5rem;
  text-align: center;
}
.fp-preview-cat {
  display: inline-block;
  font-family: var(--ed-font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-accent);
  margin-bottom: 0.65rem;
}
.fp-preview-headline {
  font-family: var(--ed-font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
}
.fp-preview-headline a {
  color: var(--ed-gray-900);
  text-decoration: none;
}
.fp-preview-headline a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.fp-preview-excerpt {
  font-family: var(--ed-font-editorial);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ed-muted);
  max-width: 30em;
  margin: 0 auto 0.65rem;
}
.fp-preview-byline {
  font-family: var(--ed-font-ui);
  font-size: 0.72rem;
  color: var(--ed-muted);
  letter-spacing: 0.04em;
}
.fp-preview-author {
  font-weight: 600;
  color: var(--ed-ink-soft);
}
.fp-preview-footer {
  border-top: 1px solid var(--ed-rule);
  padding: 0.65rem 1.5rem;
  text-align: center;
  font-family: var(--ed-font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--ed-muted);
  font-style: italic;
}

/* ==============================================================
   Homepage layout: Reading Room — editorial rhythm
   ============================================================== */

.rr-scroll-section {
  position: relative;
  overflow: hidden;
}
.rr-scroll-row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 0.5rem 0 1.25rem;
}
.rr-scroll-row::-webkit-scrollbar { height: 4px; }
.rr-scroll-row::-webkit-scrollbar-thumb { background: var(--ed-rule-strong); border-radius: 2px; }
.rr-scroll-card {
  flex: 0 0 clamp(260px, 28vw, 340px);
  scroll-snap-align: start;
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  padding: var(--ed-card-pad);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rr-scroll-card h3 {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  margin: 0;
}
.rr-scroll-card h3 a { color: var(--ed-ink); text-decoration: none; }
.rr-scroll-card h3 a:hover { text-decoration: underline; }
.rr-scroll-card p {
  color: var(--ed-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.rr-scroll-cat {
  font-family: var(--ed-font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.rr-scroll-fade {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--ed-paper));
  pointer-events: none;
}
.rr-dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-grid-gap);
}
.rr-dept-card {
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  padding: var(--ed-card-pad);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rr-dept-tag {
  font-family: var(--ed-font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-accent);
}
.rr-dept-card h3 { margin: 0; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.rr-dept-card h3 a { color: var(--ed-ink); text-decoration: none; }
.rr-dept-card p { color: var(--ed-muted); margin: 0; font-size: 0.88rem; line-height: 1.55; }
.rr-stats { background: var(--ed-gray-800); }
.rr-stats-inner {
  max-width: var(--ed-container);
  margin-inline: auto;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.rr-stat { text-align: center; }
.rr-stat-num {
  display: block;
  font-family: var(--ed-font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ed-hero-ink);
}
.rr-stat-label {
  font-family: var(--ed-font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,244,244,.74);
}

/* ==============================================================
   Homepage layout: The Journal — minimal text‑first
   ============================================================== */

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.journal-item {
  border-bottom: 1px solid var(--ed-rule);
  padding: clamp(1.15rem, 1.8vw, 1.45rem) 0;
}
.journal-item:first-child { border-top: 1px solid var(--ed-rule-strong); }
.journal-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.35rem;
}
.journal-cat {
  font-family: var(--ed-font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-accent);
}
.journal-date {
  font-family: var(--ed-font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ed-muted);
}
.journal-item h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  margin: 0 0 0.4rem;
}
.journal-item h3 a { color: var(--ed-ink); text-decoration: none; }
.journal-item h3 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.journal-item p {
  color: var(--ed-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 0.55rem;
}
.journal-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.journal-stat { text-align: center; }
.journal-stat-num {
  display: block;
  font-family: var(--ed-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ed-ink);
}
.journal-stat-label {
  font-family: var(--ed-font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ed-muted);
}

/* ==============================================================
   Homepage layout: The Newsroom — headline‑driven
   ============================================================== */

.nr-lead {
  background: var(--ed-paper-alt);
  border-bottom: 1px solid var(--ed-rule);
}
.nr-lead-body {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.nr-lead-kicker {
  font-family: var(--ed-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-accent);
  display: inline-block;
  margin-bottom: 0.65rem;
}
.nr-lead-title {
  font-family: var(--ed-font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.65rem;
}
.nr-lead-title a { color: var(--ed-ink); text-decoration: none; }
.nr-lead-title a:hover { text-decoration: underline; text-underline-offset: 0.16em; }
.nr-lead-excerpt {
  font-family: var(--ed-font-editorial);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.65;
  color: var(--ed-muted);
  max-width: 36em;
  margin: 0 auto 0.85rem;
}
.nr-lead-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  font-family: var(--ed-font-ui);
  font-size: 0.78rem;
  color: var(--ed-ink-soft);
  margin-bottom: 1.15rem;
}
.nr-lead-author a { color: var(--ed-ink); font-weight: 600; text-decoration: none; }
.nr-lead-author a:hover { text-decoration: underline; }
.nr-lead-date { color: var(--ed-muted); }
.nr-lead-date::before { content: '\2022'; margin-right: 0.65rem; color: var(--ed-rule-strong); }

.nr-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-grid-gap);
  align-items: start;
}
.nr-card {
  border-top: 1px solid var(--ed-rule-strong);
  padding-top: 0.65rem;
}
.nr-card-cat {
  display: inline-block;
  font-family: var(--ed-font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
  margin-bottom: 0.2rem;
}
.nr-card h3 {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  margin: 0.2rem 0 0.4rem;
}
.nr-card h3 a { color: var(--ed-ink); text-decoration: none; }
.nr-card h3 a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.nr-card p {
  color: var(--ed-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.rr-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-grid-gap);
  align-items: start;
}
.rr-more-card {
  border-top: 1px solid var(--ed-rule-strong);
  padding-top: 0.65rem;
}
.rr-more-card-cat {
  display: inline-block;
  font-family: var(--ed-font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
  margin-bottom: 0.2rem;
}
.rr-more-card h3 {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  margin: 0.2rem 0 0.4rem;
}
.rr-more-card h3 a { color: var(--ed-ink); text-decoration: none; }
.rr-more-card h3 a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.rr-more-card p {
  color: var(--ed-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.nr-opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-grid-gap);
}
.nr-opinion-card {
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  padding: var(--ed-card-pad);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.nr-opinion-card h3 { margin: 0; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.nr-opinion-card h3 a { color: var(--ed-ink); text-decoration: none; }
.nr-opinion-card h3 a:hover { text-decoration: underline; }
.nr-opinion-card p {
  color: var(--ed-muted);
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}
.nr-opinion-author {
  font-family: var(--ed-font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ed-muted);
  margin-top: auto;
}

/* ==============================================================
   Homepage layout: The Anthology — curated table‑of‑contents
   ============================================================== */

.anth-featured {
  max-width: 48rem;
  margin: 0 auto;
}
.anth-featured-body { text-align: center; }
.anth-feat-kicker {
  font-family: var(--ed-font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-accent);
  display: inline-block;
  margin-bottom: 0.65rem;
}
.anth-feat-title {
  font-family: var(--ed-font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.6rem;
}
.anth-feat-title a { color: var(--ed-ink); text-decoration: none; }
.anth-feat-title a:hover { text-decoration: underline; text-underline-offset: 0.16em; }
.anth-feat-excerpt {
  font-family: var(--ed-font-editorial);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.65;
  color: var(--ed-muted);
  max-width: 38em;
  margin: 0 auto 0.75rem;
}
.anth-feat-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  font-family: var(--ed-font-ui);
  font-size: 0.78rem;
  color: var(--ed-ink-soft);
  margin-bottom: 1rem;
}
.anth-feat-author a { color: var(--ed-ink); font-weight: 600; text-decoration: none; }
.anth-feat-author a:hover { text-decoration: underline; }
.anth-feat-date { color: var(--ed-muted); }
.anth-feat-date::before { content: '\2022'; margin-right: 0.65rem; color: var(--ed-rule-strong); }

.anth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-grid-gap);
}
.anth-card {
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  padding: var(--ed-card-pad);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.anth-card-cat {
  font-family: var(--ed-font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-accent);
}
.anth-card h3 { margin: 0; font-size: clamp(0.95rem, 1.5vw, 1.15rem); }
.anth-card h3 a { color: var(--ed-ink); text-decoration: none; }
.anth-card h3 a:hover { text-decoration: underline; }
.anth-card p {
  color: var(--ed-muted);
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}
.anth-card-footer {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-top: auto;
  font-size: 0.74rem;
  color: var(--ed-muted);
}
.anth-card-author { font-weight: 600; }
.anth-card-date::before { content: '\2022'; margin-right: 0.55rem; }

/* ----- Anthology Editor's Audio Note ----- */
.anth-audio-card {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  background: var(--ed-card-solid);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}
.anth-audio-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ed-gray-900);
  color: var(--ed-hero-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.anth-audio-body {
  flex: 1;
  min-width: 0;
}
.anth-audio-title {
  font-family: var(--ed-font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin: 0 0 0.4rem;
}
.anth-audio-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ed-muted);
  margin: 0 0 0.85rem;
  max-width: 36em;
}
.anth-audio-player {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem 0.45rem 0.65rem;
  border-radius: var(--ed-radius-button);
  border: 1px solid var(--ed-rule);
  background: var(--ed-paper);
  cursor: default;
  font-family: var(--ed-font-ui);
  font-size: 0.78rem;
  color: var(--ed-ink-soft);
  transition: background 0.15s ease;
}
.anth-audio-player:hover {
  background: var(--ed-card);
}
.anth-audio-play {
  display: inline-flex;
  color: var(--ed-accent);
}
.anth-audio-track {
  font-weight: 500;
}
.anth-audio-duration {
  color: var(--ed-muted);
  font-size: 0.72rem;
  margin-left: auto;
}
@media (max-width: 599px) {
  .anth-audio-card {
    flex-direction: column;
    text-align: center;
  }
  .anth-audio-desc {
    margin-inline: auto;
  }
}

.anth-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.anth-stat { text-align: center; }
.anth-stat-num {
  display: block;
  font-family: var(--ed-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ed-ink);
}
.anth-stat-label {
  font-family: var(--ed-font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

/* ==============================================================
   Homepage layout: The Bookshelf — library‑inspired
   ============================================================== */

.bs-featured-section {
  background: var(--ed-paper-alt);
  border-bottom: 1px solid var(--ed-rule);
}
.bs-featured {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.bs-featured-body { display: flex; flex-direction: column; align-items: center; }
.bs-feat-title {
  font-family: var(--ed-font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.55rem;
}
.bs-feat-title a { color: var(--ed-ink); text-decoration: none; }
.bs-feat-title a:hover { text-decoration: underline; text-underline-offset: 0.16em; }
.bs-feat-excerpt {
  font-family: var(--ed-font-editorial);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.6;
  color: var(--ed-muted);
  max-width: 38em;
  margin: 0 auto 0.65rem;
}
.bs-feat-meta {
  display: flex;
  gap: 0.35rem 0.85rem;
  font-family: var(--ed-font-ui);
  font-size: 0.78rem;
  color: var(--ed-ink-soft);
  margin-bottom: 1rem;
}
.bs-feat-author a { color: var(--ed-ink); font-weight: 600; text-decoration: none; }
.bs-feat-author a:hover { text-decoration: underline; }
.bs-feat-date { color: var(--ed-muted); }
.bs-feat-date::before { content: '\2022'; margin-right: 0.65rem; color: var(--ed-rule-strong); }

.bs-shelf-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--ed-rule);
  padding-bottom: 0.85rem;
}
.bs-shelf-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-family: var(--ed-font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--ed-ink);
}
.bs-shelf-label svg { width: 16px; height: 16px; color: var(--ed-accent); }
.bs-shelf-sub {
  margin: 0;
  color: var(--ed-muted);
  font-size: 0.88rem;
}
.bs-shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--ed-grid-gap);
}
.bs-shelf-card {
  border-top: 1px solid var(--ed-rule-strong);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.bs-shelf-card h3 {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  margin: 0;
}
.bs-shelf-card h3 a { color: var(--ed-ink); text-decoration: none; }
.bs-shelf-card h3 a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.bs-shelf-card p {
  color: var(--ed-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.bs-shelf-card-footer {
  display: flex;
  gap: 0.55rem;
  font-size: 0.72rem;
  color: var(--ed-muted);
  margin-top: auto;
}
.bs-shelf-date::before { content: '\2022'; margin-right: 0.45rem; }

/* ----- Bookshelf Most Borrowed ranking ----- */
.bs-ranking {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  max-width: 36rem;
  margin-inline: auto;
}
.bs-ranking-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--ed-rule);
}
.bs-ranking-item:last-child {
  border-bottom: none;
}
.bs-ranking-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ed-gray-900);
  color: var(--ed-hero-ink);
  font-family: var(--ed-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.bs-ranking-body {
  flex: 1;
  min-width: 0;
}
.bs-ranking-body h3 {
  margin: 0 0 0.15rem;
  font-size: clamp(0.9rem, 1.3vw, 1rem);
}
.bs-ranking-body h3 a {
  color: var(--ed-ink);
  text-decoration: none;
}
.bs-ranking-body h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.bs-ranking-cat {
  font-family: var(--ed-font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}

.bs-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.bs-stat { text-align: center; }
.bs-stat-num {
  display: block;
  font-family: var(--ed-font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ed-hero-ink);
}
.bs-stat-label {
  font-family: var(--ed-font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,244,244,.74);
}

/* ==============================================================
   Responsive overrides for layout-specific grids
   ============================================================== */

@media (max-width: 959px) {
  .broadsheet-grid {
    grid-template-columns: 1fr;
  }
  .broadsheet-card--lead { grid-row: auto; }
  .broadsheet-dept-grid,
  .rr-dept-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rr-scroll-card { flex-basis: 240px; }
  .rr-stats-inner { flex-wrap: wrap; gap: 1.25rem; }
  .journal-stats { flex-wrap: wrap; gap: 1.5rem; }
  .nr-latest-grid,
  .rr-more-grid,
  .nr-opinion-grid,
  .anth-grid,
  .bs-shelf-grid {
    grid-template-columns: 1fr 1fr;
  }
  .anth-stats,
  .bs-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 599px) {
  .broadsheet-dept-grid,
  .rr-dept-grid {
    grid-template-columns: 1fr;
  }
  .nr-latest-grid,
  .rr-more-grid,
  .nr-opinion-grid,
  .anth-grid,
  .bs-shelf-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Lead story featured images (newsroom / anthology / bookshelf) ----- */
.nr-lead-figure,
.anth-feat-figure,
.bs-feat-figure {
  margin: 0 0 1.5rem;
  max-width: 960px;
  margin-inline: auto;
}
.nr-lead-figure img,
.anth-feat-figure img,
.bs-feat-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ed-rule);
  filter: grayscale(1) contrast(1.035);
}
.nr-lead-figure a,
.anth-feat-figure a,
.bs-feat-figure a {
  display: block;
}

/* ----- Activity tag as link ----- */
.activity-tag a {
  color: inherit;
  text-decoration: none;
}
.activity-tag a:hover {
  color: var(--ed-accent);
}

/* ----- Reading time meta ----- */
.reading-time {
  font-family: var(--ed-font-ui);
  font-size: .78rem;
  color: var(--ed-muted);
  letter-spacing: .02em;
}
.nr-lead-meta .reading-time::before,
.anth-feat-meta .reading-time::before,
.bs-feat-meta .reading-time::before {
  content: "·";
  margin-inline: .4rem;
}

/* ----- Bookshelf differentiated shelf grids ----- */
.bs-shelf-grid--essays {
  grid-template-columns: repeat(3, 1fr);
}
.bs-shelf-grid--reviews {
  grid-template-columns: repeat(2, 1fr);
}
.bs-shelf-grid--dispatches {
  grid-template-columns: 1fr;
  max-width: 40rem;
}
.bs-shelf-count {
  display: block;
  font-family: var(--ed-font-ui);
  font-size: .78rem;
  color: var(--ed-muted);
  letter-spacing: .02em;
  margin-top: .25rem;
}

/* ----- Broadsheet department recent posts ----- */
.broadsheet-dept-recent {
  margin-top: 1rem;
  border-top: 1px solid var(--ed-rule);
  padding-top: .75rem;
}
.broadsheet-dept-recent-item {
  font-family: var(--ed-font-ui);
  font-size: .82rem;
  line-height: 1.5;
  padding: .2rem 0;
}
.broadsheet-dept-recent-item a {
  color: var(--ed-ink);
  text-decoration: none;
}
.broadsheet-dept-recent-item a:hover {
  color: var(--ed-accent);
}

/* ----- Anthology 2-col featured ----- */
.anth-featured-col2 .anth-featured-body {
  grid-column: 1 / -1;
}
@media (min-width: 760px) {
  .anth-featured-col2 .anth-featured-body {
    grid-column: 1 / 3;
  }
}

/* ----- Classic Editor's Choice carousel ----- */
.ec-scroll-row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 0.5rem 0 1rem;
}
.ec-scroll-row::-webkit-scrollbar { height: 4px; }
.ec-scroll-row::-webkit-scrollbar-thumb { background: var(--ed-rule-strong); border-radius: 2px; }
.ec-card {
  flex: 0 0 clamp(260px, 30vw, 340px);
  scroll-snap-align: start;
  background: var(--ed-card);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ec-card-badge {
  font-family: var(--ed-font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-accent);
  padding: 0.55rem 0.85rem 0;
  font-weight: 700;
}
.ec-card-thumb {
  display: block;
  overflow: hidden;
}
.ec-card-thumb img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.05);
  transition: filter 0.3s ease;
}
.ec-card:hover .ec-card-thumb img {
  filter: grayscale(0) contrast(1);
}
.ec-card-body {
  padding: var(--ed-card-pad);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.ec-card-cat {
  font-family: var(--ed-font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-muted);
}
.ec-card-body h3 {
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}
.ec-card-body h3 a {
  color: var(--ed-ink);
  text-decoration: none;
}
.ec-card-body h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.ec-card-body p {
  color: var(--ed-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}
.ec-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ed-font-ui);
  font-size: 0.72rem;
  color: var(--ed-muted);
  letter-spacing: 0.04em;
  margin-top: 0.75rem;
}
.ec-scroll-hint::before {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ed-rule);
}
.ec-scroll-hint::after {
  content: '\2192';
  font-size: 1rem;
}

/* ----- Classic section alternating background ----- */
.prog-section:nth-child(even) {
  background: var(--ed-paper-alt);
  margin: 0 calc(-1 * var(--ed-side-margin));
  padding-left: var(--ed-side-margin);
  padding-right: var(--ed-side-margin);
}

/* ----- Journal divider quote ----- */
.journal-divider {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--ed-rule);
  border-bottom: 1px solid var(--ed-rule);
  font-family: var(--ed-font-body);
  font-size: .92rem;
  font-style: italic;
  color: var(--ed-muted);
  line-height: 1.6;
}

/* ----- Journal editorial pullquote ----- */
.journal-pullquote {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  border: none;
  position: relative;
}
.journal-pullquote::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--ed-rule-strong);
  margin: 0 auto 1.5rem;
}
.journal-pullquote::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--ed-rule-strong);
  margin: 1.5rem auto 0;
}
.journal-pullquote p {
  font-family: var(--ed-font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.5;
  color: var(--ed-ink);
  font-style: italic;
  font-weight: 500;
  margin: 0;
  max-width: 28em;
  margin-inline: auto;
  letter-spacing: -.01em;
}
.journal-pullquote-ornament {
  display: block;
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--ed-muted);
  letter-spacing: .1em;
}

/* ----- Scrolling row (reading room / classic) ----- */
.rr-scroll-hint {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ed-font-ui);
  font-size: .78rem;
  color: var(--ed-muted);
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.rr-scroll-hint::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ed-rule);
}

/* ----- Currently Reading (reading room) ----- */
.rr-reading {
  background: var(--ed-gray-800);
  color: var(--ed-hero-ink);
}
.rr-reading-inner {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  justify-content: center;
  flex-wrap: wrap;
}
.rr-reading-counter {
  text-align: center;
  flex-shrink: 0;
}
.rr-reading-num {
  display: block;
  font-family: var(--ed-font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ed-hero-ink);
  letter-spacing: -.02em;
}
.rr-reading-label {
  display: block;
  font-family: var(--ed-font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,244,244,.7);
  margin-top: 0.35rem;
}
.rr-reading-current {
  text-align: center;
}
.rr-reading-current-label {
  display: block;
  font-family: var(--ed-font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,244,244,.6);
  margin-bottom: 0.4rem;
}
.rr-reading-title {
  font-family: var(--ed-font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 0.5rem;
  max-width: 24em;
}
.rr-reading-title a {
  color: var(--ed-hero-ink);
  text-decoration: none;
}
.rr-reading-title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.rr-reading .read-more {
  color: rgba(244,244,244,.78);
}
.rr-reading .read-more:hover {
  color: var(--ed-hero-ink);
}

/* ----- Most Read / Trending ----- */
.nr-trending {
  display: grid;
  gap: .5rem;
  padding: 0;
  list-style: none;
}
.nr-trending-item {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  font-family: var(--ed-font-body);
  font-size: .88rem;
  line-height: 1.5;
  padding: .4rem 0;
  border-bottom: 1px solid var(--ed-rule);
}
.nr-trending-num {
  font-family: var(--ed-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ed-muted);
  min-width: 1.5rem;
}
.nr-trending-item a {
  color: var(--ed-ink);
  text-decoration: none;
}
.nr-trending-item a:hover {
  color: var(--ed-accent);
}

/* ----- From the Archive ----- */
.archive-blurb {
  border-left: 3px solid var(--ed-accent);
  padding-left: 1rem;
  margin: 2rem 0;
}
.archive-blurb p {
  font-family: var(--ed-font-body);
  font-size: .92rem;
  line-height: 1.7;
  color: var(--ed-muted);
}

/* Utility classes for template-parts (replacing inline styles) */
.label-pill--flex-start { align-self: flex-start; }
.pill-mb { margin-bottom: var(--ed-label-mb); }
.section-inner--mid-center { max-width: 48rem; text-align: center; }
.section-inner--narrow-center { max-width: 40rem; text-align: center; }
.section-inner--narrow { max-width: 40rem; }
.section-title--left-unset { text-align: left; max-width: unset; }
.section-title--ch18 { max-width: 18ch; }
.desc-narrow {
  max-width: 42ch;
  font-family: var(--ed-font-body);
  line-height: 1.72;
  color: var(--ed-muted);
  margin: 0 auto;
}
.desc-editorial {
  font-family: var(--ed-font-editorial);
  font-size: clamp(1rem,1.8vw,1.25rem);
  line-height: 1.7;
  color: var(--ed-muted);
  max-width: 34rem;
  margin: 0 auto;
}
.section--paper-alt { background: var(--ed-paper-alt); }
.section--paper { background: var(--ed-paper); }
.section--gray { background: var(--ed-gray-800); }
.empty-state-dashed {
  grid-column: 1 / -1;
  border: 1px dashed var(--ed-rule-strong);
  border-radius: var(--ed-radius-card);
  padding: 2rem;
  text-align: center;
  color: var(--ed-muted);
}
.empty-state-center {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 0;
  color: var(--ed-muted);
}
.text-center { text-align: center; }
.mt-large { margin-top: 2rem; }
.fallback-muted {
  color: var(--ed-muted);
  font-size: .88rem;
  padding: 1rem 0;
  grid-column: 1 / -1;
}
.section-inner--narrow {
  max-width: 48rem;
}
.empty-state-full {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 0;
  color: var(--ed-muted);
}
.prog-section--bordered {
  border-bottom: 1px solid var(--ed-rule);
  padding-bottom: var(--ed-block-gap);
}
.prog-section__grid--start {
  align-items: start;
}
.post-card-grid {
  display: grid;
  gap: var(--ed-card-gap);
}
.read-more--compact {
  font-size: 0.875rem;
  flex-shrink: 0;
}
.blog-section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.entry-meta--gap { display: flex; gap: 0.75rem; align-items: center; }
.section-inner--gap-large { display: flex; flex-direction: column; gap: var(--ed-grid-gap-large); }
.placeholder-card {
  min-height: 160px;
  background: var(--ed-paper);
  border: 1px solid var(--ed-rule);
  border-radius: var(--ed-radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ed-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
}
.faq-icon-inline {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
}
.prog-feature-icon { flex-shrink: 0; margin-top: 0.2rem; }
.newsletter-input { flex: 1; padding: .6rem .85rem; border: 1px solid var(--ed-rule); background: var(--ed-white); font-family: var(--ed-font-ui); font-size: .9rem; }
.author-profile {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  max-width: var(--ed-content-measure);
}
.author-avatar-wrap {
  border-radius: 50%;
  overflow: hidden;
  filter: grayscale(1);
}
.author-description-muted {
  color: var(--ed-muted);
  margin: 0;
}
.author-articles-heading {
  font-family: var(--ed-font-display);
  font-size: 1.25rem;
  margin: 0 0 1.5rem;
}
.topics-wrap {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Section inner center alignment */
.section-inner--center {
  align-items: center;
  text-align: center;
}

/* Editorial hero label */
.label-pill--hero {
  margin-bottom: 0.5rem;
  border-color: rgba(244,244,244,.24);
  color: rgba(244,244,244,.74);
}

/* Category heading on dark editorial section */
.category-heading {
  color: var(--ed-hero-ink);
  max-width: 11em;
}

/* About heading on dark editorial section */
.about-heading {
  color: var(--ed-hero-ink);
  max-width: 11em;
}

/* Post list grid */
.post-list {
  display: grid;
  gap: var(--ed-grid-gap-large);
}

/* Compact entry meta */
.entry-meta--compact {
  margin-bottom: 0.35rem;
}

/* Featured post card */
.post-card--featured {
  border-bottom-width: 2px;
}

/* Large entry title */
.entry-title--large {
  font-size: clamp(1.4rem,2.6vw,1.85rem);
}

/* Large entry summary */
.entry-summary--large {
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
