/* UYRvoice — matches Emergent preview (white + slate + emerald) */

:root {
  --emerald: #059669;
  --emerald-hover: #047857;
  --emerald-light: #d1fae5;
  --emerald-glow: rgba(5, 150, 105, 0.35);
  --teal-deep: #0d9488;
  --navy: #0f172a;
  --gold: #d97706;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

img { display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6, p, li, td, th, blockquote {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

/* Logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.site-logo:hover {
  transform: scale(1.02);
  opacity: 0.92;
}
.site-logo-img {
  display: block;
  height: 68px;
  width: auto;
  max-width: min(260px, 52vw);
  object-fit: contain;
}
.footer-logo-img {
  height: 72px;
  max-width: 220px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:active { transform: translateY(0); }

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--teal-deep) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px var(--emerald-glow);
}
.btn-emerald:hover {
  background: linear-gradient(135deg, var(--emerald-hover) 0%, #0f766e 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px var(--emerald-glow);
}

.btn-outline {
  background: var(--white);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}
.btn-outline:hover {
  background: var(--slate-50);
  border-color: var(--emerald);
  color: var(--emerald-hover);
  transform: translateY(-1px);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 12px 28px; font-size: 15px; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
}
.badge-emerald {
  background: linear-gradient(135deg, var(--emerald), var(--teal-deep));
  color: var(--white);
  box-shadow: 0 2px 10px var(--emerald-glow);
}
.badge-topic {
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  font-size: 11px;
}

/* Top strip */
.masthead-strip {
  background: linear-gradient(90deg, var(--navy) 0%, #134e4a 45%, #115e59 55%, var(--navy) 100%);
  background-size: 200% 100%;
  animation: masthead-flow 12s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@keyframes masthead-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 8px 0;
  gap: 12px;
  min-width: 0;
}

/* Mobile-only center title (desktop keeps nav in the middle) */
.header-mobile-title {
  display: none;
  margin: 0;
  padding: 0 6px;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  font-size: clamp(9px, 2.6vw, 11px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--slate-600);
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px;
  background: var(--slate-50);
  border-radius: 999px;
  border: 1px solid var(--slate-200);
}

.site-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--slate-600);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.site-nav a:hover {
  color: var(--slate-900);
  background: var(--white);
  box-shadow: var(--shadow);
}
.site-nav a.active {
  color: var(--white);
  font-weight: 600;
  background: linear-gradient(135deg, var(--emerald), var(--teal-deep));
  box-shadow: 0 4px 12px var(--emerald-glow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--slate-600);
  border-radius: 50%;
  border: 1px solid transparent;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s;
}
.header-icon-btn:hover {
  background: var(--emerald-light);
  border-color: rgba(5, 150, 105, 0.2);
  color: var(--emerald-hover);
  transform: scale(1.05);
}

.header-actions .btn-emerald {
  padding: 10px 18px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--slate-700);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.menu-toggle:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-light);
}
.menu-toggle.is-open {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 4% 16px;
  border-top: 1px solid var(--slate-200);
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s, padding 0.3s;
}
.mobile-nav.open {
  display: flex;
  max-height: 480px;
  opacity: 1;
}
.mobile-nav a {
  padding: 12px 14px;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}
.mobile-nav a:hover {
  background: var(--white);
  color: var(--emerald-hover);
  padding-left: 18px;
  border-color: var(--slate-200);
}
.mobile-nav a.active {
  background: var(--emerald-light);
  color: var(--emerald-hover);
  font-weight: 600;
  border-color: rgba(5, 150, 105, 0.25);
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-empty .hero-bg {
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 720px;
  color: var(--white);
}

.hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0 20px;
}

.hero-excerpt {
  font-size: 1.15rem;
  color: var(--slate-300);
  margin-bottom: 24px;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--slate-400);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-latest-story {
  font-size: 14px;
  color: var(--slate-400);
  margin: 0;
}
.hero-latest-story a {
  color: var(--emerald-light);
  font-weight: 600;
}
.hero-latest-story a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 72px 0; }
.section-muted {
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
}
.section-sub {
  text-align: center;
  color: var(--slate-500);
  font-size: 1.05rem;
  max-width: 560px;
  margin: -24px auto 40px;
  line-height: 1.65;
}
.section-sub.center { margin-left: auto; margin-right: auto; }

.section-title-center {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 40px;
}

.section-title-left {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 32px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-head h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
}

/* Topic cards (homepage genres) */
.topics-section-head {
  margin-bottom: 40px;
}
.topics-section-head .section-title-center {
  margin-bottom: 12px;
}
.topics-section-head .section-sub.center {
  margin-bottom: 0;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.topic-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  min-height: 0;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 150, 105, 0.35);
}

.topic-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  margin: 0 0 16px;
  border-radius: 12px;
  background: var(--emerald-light);
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.topic-card:hover .topic-icon {
  background: var(--emerald);
  color: var(--white);
}

.topic-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-items: flex-start;
  min-height: 0;
}

.topic-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--slate-900);
  margin: 0 0 10px;
  text-wrap: balance;
}

.topic-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate-600);
  margin: 0 0 16px;
  flex: 1 1 auto;
}

.topic-card-count {
  display: inline-block;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 0.02em;
}

/* Shared icon style on categories page */
.category-block .topic-icon {
  margin: 0;
  border-radius: 12px;
}

/* Story cards */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.story-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 150, 105, 0.25);
}

.story-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.story-card:hover .story-card-image img { transform: scale(1.05); }

.story-card-image .badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.story-card-body { padding: 24px; }
.story-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  line-height: 1.35;
  transition: color 0.2s;
}
.story-card:hover h3 { color: var(--emerald); }

.story-card-body p {
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate-500);
}

/* Article rows */
.article-list { display: flex; flex-direction: column; gap: 20px; }

.article-row {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.article-row:hover { box-shadow: var(--shadow-lg); }

.article-row-link {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .article-row-link { flex-direction: row; }
}

.article-row-image {
  flex: 0 0 auto;
  height: 220px;
}
@media (min-width: 768px) {
  .article-row-image {
    width: 33%;
    height: auto;
    min-height: 200px;
  }
}
.article-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-row-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-row-body .badge { margin-bottom: 12px; width: fit-content; }
.article-row-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
  transition: color 0.2s;
}
.article-row:hover h3 { color: var(--emerald); }
.article-row-body p {
  color: var(--slate-600);
  margin-bottom: 16px;
}
.article-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--slate-500);
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #134e4a 50%, var(--navy) 100%);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Join Network — homepage section only (above footer) */
.network-cta-band {
  background: #eceef1;
  padding: 0 0 clamp(56px, 7vw, 80px);
  color: var(--slate-900);
  text-align: center;
  border-bottom: 1px solid var(--slate-200);
}

.network-cta-banner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 32px);
  line-height: 0;
  background: #eceef1;
  box-sizing: border-box;
}

.network-cta-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.network-cta-inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(24px, 4vw, 40px);
  box-sizing: border-box;
}

.network-cta-panel {
  max-width: min(580px, 100%);
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}
.network-cta-band .network-signup-title {
  color: var(--slate-900);
  margin-bottom: 10px;
}
.network-cta-band .network-signup-lead {
  color: var(--slate-600);
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
}
.network-cta-band .network-notify-opt {
  color: var(--slate-600);
}
.network-cta-band .network-member-status {
  color: var(--slate-700);
}
.network-cta-band .cta-form input {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-900);
}
.network-cta-band .cta-form input::placeholder {
  color: var(--slate-400);
}

.cta-band:not(.network-cta-band)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(5, 150, 105, 0.2), transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-inner > p {
  color: var(--slate-300);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1 1 180px;
  min-width: 0;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  background: var(--slate-800);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
}
.cta-form input::placeholder { color: var(--slate-400); }

/* Foundation notice (above footer) */
.foundation-strip {
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  padding: 20px 0;
  text-align: center;
}
.foundation-strip p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-700);
  line-height: 1.6;
}
.foundation-strip a {
  color: var(--emerald);
  font-weight: 500;
}
.foundation-notice {
  background: var(--emerald-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
}
.foundation-notice p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--slate-800);
  line-height: 1.6;
}
.foundation-notice a {
  color: var(--emerald-hover);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding-top: 56px;
  margin-top: 0;
}

/* Branded footer — stacked strips: lower (down cut) on top, upper cut below it */
.site-footer--branded {
  padding-top: 0;
  background: #f0f1f3;
  color: var(--slate-700);
}

.footer-brand-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  line-height: 0;
  background: #f0f1f3;
}

.footer-brand-strip {
  width: 100%;
  line-height: 0;
  margin: 0;
  padding: 0;
  background: #f0f1f3;
}

.footer-brand-strip img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  vertical-align: top;
}

.footer-brand-strip--lower {
  order: 1;
}

.footer-brand-strip--upper {
  order: 2;
  border-top: none;
}

.footer-content-layer {
  position: relative;
  background: #fff;
  padding-top: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.site-footer--branded .footer-brand-name,
.site-footer--branded .footer-col h3 {
  color: var(--slate-900);
}

.site-footer--branded .footer-brand p,
.site-footer--branded .footer-brand-tagline,
.site-footer--branded .footer-col > p,
.site-footer--branded .footer-foundation,
.site-footer--branded .footer-col a,
.site-footer--branded .footer-social a {
  color: var(--slate-600);
}

.site-footer--branded .footer-col a:hover,
.site-footer--branded .footer-social a:hover {
  color: var(--emerald);
}

.site-footer--branded .footer-foundation a {
  color: var(--emerald);
}

.site-footer--branded .footer-bottom {
  border-top-color: var(--slate-200);
  color: var(--slate-500);
}

.site-footer--branded .footer-bottom a {
  color: var(--slate-600);
}

.site-footer--branded .footer-credit {
  border-top-color: var(--slate-200);
  color: var(--slate-500);
  background: rgba(255, 255, 255, 0.85);
}

.site-footer--branded .network-notify-opt {
  color: var(--slate-600);
}

.site-footer--branded .cta-form input {
  background: var(--white);
  border-color: var(--slate-300);
  color: var(--slate-900);
}

.site-footer--branded .footer-network-link a {
  color: var(--emerald);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  margin: 0 0 12px;
  line-height: 1.6;
  color: var(--slate-400);
}
.footer-logo { margin-bottom: 12px; }
.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px !important;
}
.footer-brand-tagline {
  margin-bottom: 16px !important;
}
.footer-brand-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 10px !important;
}
.footer-brand-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.footer-brand-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--slate-400);
  line-height: 1.5;
}
.footer-brand-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-400);
}
.footer-social a:hover { color: var(--emerald); }

.footer-foundation {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-400);
  margin: 0 0 24px;
}
.footer-foundation a {
  color: var(--emerald);
  font-weight: 500;
}
.footer-foundation a:hover { text-decoration: underline; }
.footer-col-updates h3 { margin-top: 0; }

.footer-col h3 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--slate-400);
}
.footer-col a:hover { color: var(--emerald); }
.footer-col > p {
  font-size: 14px;
  color: var(--slate-400);
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--slate-500);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--emerald); }

.footer-credit {
  text-align: center;
  font-size: 12px;
  color: var(--slate-500);
  padding: 16px 4% 24px;
  margin: 0;
  border-top: 1px solid var(--slate-800);
}
.footer-credit a {
  color: var(--emerald);
  font-weight: 500;
}
.footer-credit a:hover { color: var(--emerald-hover); }

/* Inner pages */
.page-hero {
  background: var(--slate-50);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--slate-200);
}
.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 640px;
}

.page-content {
  max-width: 720px;
}
.page-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--slate-900);
}
.page-content p {
  margin-bottom: 16px;
  color: var(--slate-600);
}
.page-content .btn { margin-right: 12px; margin-top: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.contact-form textarea { resize: vertical; }
.contact-info p { margin-bottom: 24px; color: var(--slate-600); }
.contact-info a { color: var(--emerald); font-weight: 500; }

.page-body { padding: 48px 0 64px; }

.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--slate-500);
}
.empty-state h3 {
  font-size: 1.25rem;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a {
  padding: 8px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-700);
}
.pagination a.active,
.pagination a:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

/* Article page hero */
.article-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.92) 100%);
}
.article-hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 56px;
  max-width: 800px;
  color: var(--white);
}
.article-hero-inner h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 16px 0 16px;
}
.article-meta-light {
  color: var(--slate-300);
  font-size: 14px;
}
.article-meta-light span + span::before {
  content: '·';
  margin: 0 10px;
  opacity: 0.6;
}

.magazine-reader {
  margin: 40px 0;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slate-50);
}
.magazine-reader-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.magazine-reader-header h3 {
  font-size: 1.1rem;
  color: var(--slate-900);
  margin-bottom: 4px;
}
.magazine-reader-header p {
  font-size: 14px;
  color: var(--slate-600);
}
.magazine-reader iframe {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  border: none;
  border-top: 1px solid var(--slate-200);
}

.alert-success {
  padding: 12px 16px;
  background: var(--emerald-light);
  color: #065f46;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.share-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
}

.back-link {
  display: inline-block;
  margin-top: 32px;
  font-weight: 500;
  color: var(--emerald);
}
.back-link:hover { color: var(--emerald-hover); }

.gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Single article */
#readingBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--emerald);
  z-index: 300;
}

.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 4% 64px;
}

.article-header { margin-bottom: 32px; }
.article-cat {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
}
.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--slate-500);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--slate-700);
}
.article-content p { margin-bottom: 1.25em; }
.article-content h2, .article-content h3 {
  color: var(--slate-900);
  margin: 1.5em 0 0.75em;
}

.post-gallery { margin-bottom: 32px; }
.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slate-100);
}
.gallery-main img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: none;
}
.gallery-main img.active { display: block; }
.gallery-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}
.gallery-nav .prev-btn { left: 12px; }
.gallery-nav .next-btn { right: 12px; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.gallery-thumbs img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
}
.gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--emerald);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
}

.like-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
}
.like-btn:hover { border-color: var(--emerald); color: var(--emerald); }

.share-links { display: flex; gap: 10px; flex-wrap: wrap; }
.share-links a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  color: var(--slate-600);
}
.share-links a:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.comment-box {
  margin-top: 48px;
  padding: 32px;
  background: var(--slate-50);
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
}
.comment-box h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--slate-900);
}
.comment-form {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-family: inherit;
  background: var(--white);
}
.comment-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--slate-200);
}
.comment-item strong { color: var(--slate-900); }
.comment-item span { font-size: 13px; color: var(--slate-500); margin-left: 8px; }

.related-posts { margin-top: 48px; }
.related-posts h3 { margin-bottom: 20px; font-size: 1.25rem; }
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-list a {
  color: var(--slate-700);
  font-weight: 500;
}
.related-list a:hover { color: var(--emerald); }

/* Magazines */
.mag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.mag-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.mag-card:hover { box-shadow: var(--shadow-lg); }
.mag-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--slate-100);
}
.mag-card-body { padding: 20px; }
.mag-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--slate-900);
}
.mag-card-body p {
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 16px;
}

.search-page-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  max-width: 560px;
}
.search-page-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.search-meta {
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 24px;
}

.section-sub.center { text-align: center; margin: -24px 0 32px; color: var(--slate-600); font-size: 15px; }
.section-sub a { color: var(--emerald); font-weight: 500; }
.empty-inline { text-align: center; color: var(--slate-500); grid-column: 1 / -1; }

/* Article filters */
.article-filters { margin-bottom: 28px; }
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}
.filter-row label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--slate-600); }
.filter-row select,
.filter-row input {
  padding: 10px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  min-width: 0;
  max-width: 100%;
}
.filter-search input { min-width: 0; width: 100%; }

/* Category blocks */
.category-list { display: flex; flex-direction: column; gap: 16px; }
.category-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.category-block:hover { box-shadow: var(--shadow-lg); }
.category-block h3 { font-size: 1.15rem; color: var(--slate-900); margin-bottom: 8px; }
.category-block p { font-size: 14px; color: var(--slate-600); margin-bottom: 8px; }
.category-count { font-size: 13px; color: var(--emerald); font-weight: 600; }

/* Editions */
.edition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.edition-card {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.edition-card:hover { box-shadow: var(--shadow-lg); }
.edition-card a { display: block; padding: 28px; }
.edition-code, .edition-code-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 8px;
}
.edition-card h3 { font-size: 1.2rem; color: var(--slate-900); margin-bottom: 10px; }
.edition-card p { font-size: 14px; color: var(--slate-600); margin-bottom: 12px; }
.edition-meta { display: flex; gap: 16px; font-size: 13px; color: var(--slate-500); margin-bottom: 16px; }

/* UYR Network signup */
.network-signup-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 12px;
  color: var(--slate-900);
}
.network-signup-lead {
  color: var(--slate-600);
  margin-bottom: 24px;
  max-width: 520px;
}
.cta-band .network-signup-title,
.cta-band .network-signup-lead {
  color: var(--white);
  margin-left: auto;
  margin-right: auto;
}
.cta-band .network-signup-lead { opacity: 0.92; }
.cta-band .network-notify-opt { color: rgba(255, 255, 255, 0.9); }
.cta-band .network-member-status { color: var(--white); }
.cta-band .network-member-status a { color: #6ee7b7; }

.network-form {
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}
.network-notify-opt {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--slate-600);
  text-align: left;
  cursor: pointer;
}
.network-notify-opt input { margin-top: 3px; accent-color: var(--emerald); }
.network-member-status {
  font-size: 15px;
  color: var(--slate-700);
  text-align: center;
  margin: 0;
}
.network-member-status a { color: var(--emerald); font-weight: 600; }

.network-signup--compact .network-form { max-width: none; }
.network-signup--compact .network-notify-opt { font-size: 12px; }
.footer-col-updates .network-signup { margin-top: 12px; }
.footer-col-updates .cta-form input { width: 100%; }
.footer-network-link { margin-top: 10px; font-size: 13px; }
.footer-network-link a { color: var(--emerald); font-weight: 500; }

.network-hero .network-hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.12);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.network-page-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 380px);
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.network-benefits-list {
  margin: 16px 0 24px 1.25rem;
  color: var(--slate-600);
}
.network-benefits-list li { margin-bottom: 12px; }
.network-fine-print { font-size: 13px; color: var(--slate-500); }
.network-signup-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.network-panel-mag { text-align: center; }

/* Magazine subscribe */
.subscribe-panel {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  text-align: center;
}
.subscribe-panel h2 { margin-bottom: 8px; color: var(--slate-900); }
.subscribe-panel p { color: var(--slate-600); margin-bottom: 20px; }
.mag-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.mag-locked { opacity: 0.85; cursor: not-allowed; }
.mag-card-full .mag-card-body { padding: 20px; }
.alert-error {
  padding: 12px 16px;
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* About / Contact */
.content-sections section { margin-bottom: 36px; }
.content-list { margin-left: 1.25rem; color: var(--slate-600); }
.content-list li { margin-bottom: 8px; }
.page-content a { color: var(--emerald); font-weight: 500; }

.board-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}
.board-card-lead { border-color: var(--emerald); background: var(--emerald-light); }
.board-card h3 { font-size: 1.1rem; color: var(--slate-900); }
.board-card .role { font-size: 13px; font-weight: 600; color: var(--emerald); margin: 4px 0 8px; }
.board-card p { font-size: 14px; color: var(--slate-600); }
.board-list { display: grid; gap: 12px; }

/* Guest of the Edition */
.guest-edition {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.guest-edition-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.guest-edition-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 6px;
}
.guest-edition-meta {
  font-size: 15px;
  color: var(--slate-600);
}
.guest-edition-meta a {
  color: var(--emerald);
  font-weight: 600;
}
.guest-edition-meta a:hover { text-decoration: underline; }
.guest-edition-sep { margin: 0 6px; color: var(--slate-400); }
.guest-edition-card {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 40px;
  align-items: start;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.guest-edition-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--emerald-light);
  aspect-ratio: 1;
}
.guest-edition-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guest-edition-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.guest-edition-role {
  font-size: 15px;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 20px;
}
.guest-edition-opinion {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--slate-800);
  border-left: 4px solid var(--emerald);
  padding-left: 20px;
  margin: 0 0 20px;
  font-style: italic;
}
.guest-edition-message {
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-600);
}
.guest-edition-card--empty {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 48px 32px;
}
.guest-edition-empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.guest-edition-empty-text {
  font-size: 15px;
  color: var(--slate-600);
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.65;
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title-center,
.section-title-left {
  position: relative;
}
.section-title-center::after,
.section-head h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--emerald), var(--teal-deep));
  border-radius: 2px;
}
.section-title-center::after {
  margin-left: auto;
  margin-right: auto;
}

.article-row {
  transition: background 0.25s, border-color 0.25s;
  border-radius: var(--radius-sm);
}
.article-row:hover {
  background: var(--slate-50);
}

/* Edition / magazine covers */
.edition-covers-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
}
.edition-covers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.edition-cover-card {
  margin: 0;
  text-align: center;
}
.edition-cover-frame {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.edition-cover-card:hover .edition-cover-frame {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 150, 105, 0.3);
}
.edition-cover-frame img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 6px;
}
.edition-cover-card figcaption {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mag-covers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}
.mag-cover-thumb {
  flex: 1 1 140px;
  margin: 0;
  text-align: center;
}
.mag-cover-thumb img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: var(--white);
}
.mag-cover-thumb figcaption {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-500);
  margin-top: 6px;
  text-transform: uppercase;
}

.topic-page-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.topic-page-meta {
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  /* Same tagline moves from top strip into header center on mobile */
  .masthead-strip { display: none; }

  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
  }
  .site-logo { grid-column: 1; }
  .header-mobile-title {
    display: -webkit-box;
    grid-column: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
  }
  .header-actions { grid-column: 3; }

  .site-logo-img {
    height: 56px;
    max-width: min(200px, 46vw);
  }

  .network-page-grid { grid-template-columns: 1fr; }
  .network-signup-card { position: static; }
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .guest-edition-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .guest-edition-photo-wrap { max-width: 280px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero { min-height: 460px; }
  .hero-inner { padding: 56px 0; }
  .hero-inner h1 {
    font-size: clamp(1.5rem, 6.5vw, 2.25rem);
    line-height: 1.2;
  }
  .hero-excerpt { font-size: 1rem; }
  .section { padding: 52px 0; }
  .page-hero { padding: 40px 0 32px; }
  .page-hero h1 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .article-row-body { padding: 20px; }
  .article-row-body h3 { font-size: 1.2rem; }
  .story-grid { grid-template-columns: 1fr; }
  .edition-grid { grid-template-columns: 1fr; }
  .edition-covers-grid { grid-template-columns: 1fr; gap: 20px; }
  .category-block { flex-direction: column; gap: 16px; }
  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-row label { width: 100%; }
  .filter-row select,
  .filter-row input { width: 100%; }
}

@media (max-width: 560px) {
  .topic-grid { grid-template-columns: 1fr; gap: 16px; }
  .topic-card { padding: 22px 18px; }
  .masthead-strip {
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 10px 12px;
  }
  .site-logo-img {
    height: 48px;
    max-width: min(160px, 44vw);
  }
  .header-inner { gap: 8px; }
  .hero { min-height: 400px; }
  .hero-inner { padding: 40px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-title-center,
  .section-title-left,
  .section-head h2 { font-size: 1.45rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-legal { flex-wrap: wrap; gap: 12px 20px; }
  .footer-credit { padding-inline: 16px; }
  .cta-form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .cta-form input,
  .cta-form .btn,
  .network-form .btn {
    width: 100%;
    flex: 1 1 auto;
  }
  .network-cta-panel { padding: 24px 16px; }
  .network-notify-opt { font-size: 13px; }
  .guest-edition-card { padding: 20px 16px; }
  .guest-edition-opinion { padding-left: 14px; font-size: 1.05rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .mag-covers-row { padding: 10px; }
  .mag-cover-thumb { flex: 1 1 100%; }
}

@media (max-width: 600px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}
