@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap");

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f7fbf4;
  --surface-2: #eaffd0;
  --soft: #fdf7df;
  --text: #070707;
  --muted: #6f6f6f;
  --line: #d7e8df;
  --strong-line: #070707;
  --accent: #f38181;
  --accent-2: #fce38a;
  --accent-3: #95e1d3;
  --accent-4: #eaffd0;
  --footer: #000000;
  --footer-text: #ffffff;
  --card-radius: 0;
  --container: 1280px;
  --font-ui: Manrope, Aptos, "Segoe UI", Arial, Helvetica, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0d0f;
  --surface: #17171b;
  --surface-2: #202026;
  --soft: #1d1718;
  --text: #f4f4f4;
  --muted: #b6b6bd;
  --line: #34343a;
  --strong-line: #f4f4f4;
  --footer: #000000;
  --footer-text: #f4f4f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(200px, max-content) 1fr 292px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-name {
  white-space: nowrap;
}

.brand-heart {
  width: 30px;
  height: 30px;
  fill: var(--accent);
  flex-shrink: 0;
  display: inline-block;
}

.brand-name {
  font-family: var(--font-ui);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-accent {
  color: var(--accent);
  font-size: 15px;
  align-self: flex-start;
  padding-top: 3px;
  margin-left: -7px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 2px solid var(--strong-line);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.primary-nav a.active,
.category-link {
  color: var(--accent);
}

.primary-nav a.active {
  box-shadow: inset 0 -8px 0 rgba(52, 72, 255, 0.14);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  width: min(230px, 100%);
  height: 42px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.search-box input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0 12px;
  font-size: 14px;
}

.theme-toggle {
  width: 62px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.theme-toggle-track {
  position: relative;
  width: 58px;
  height: 30px;
  border: 2px solid var(--strong-line);
  border-radius: 999px;
  background: var(--bg);
  transition: background 180ms ease, border-color 180ms ease;
}

.theme-toggle-track::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(236, 167, 20, 0.18);
}

.theme-toggle-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--strong-line);
  transition: transform 180ms ease, background 180ms ease;
}

[data-theme="dark"] .theme-toggle-track {
  background: #050505;
}

[data-theme="dark"] .theme-toggle-track::before {
  left: auto;
  right: 10px;
  background: transparent;
  box-shadow: inset -4px -3px 0 0 #f4f4f4;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(28px);
}

.button {
  border: 3px solid var(--strong-line);
  background: transparent;
  color: var(--text);
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.button-accent {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.issue-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.issue-strip__inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
}

.issue-strip__inner a {
  color: var(--muted);
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.issue-strip__inner a:hover {
  color: var(--text);
}

.issue-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section {
  padding: 56px 0;
}

.section-tight {
  padding: 38px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: #000;
  color: #fff;
}

.section-dark .section-head {
  border-top-color: rgba(149, 225, 211, 0.32);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  background: transparent;
  min-height: 52px;
  position: relative;
}

.section-head[data-section]::before {
  content: attr(data-section);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  position: absolute;
  top: -10px;
  left: 0;
  background: var(--bg);
  padding-right: 10px;
}

.section-dark .section-head[data-section]::before {
  background: #000;
  color: var(--accent-2);
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 900;
}

.section-head .section-title {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.section-head .section-title::after {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--accent-2);
  border-radius: 50%;
  transform: translateY(3px);
}

.section-dark .section-head .section-title::after {
  background: var(--accent-2);
}

.view-more {
  border: 1px solid var(--line);
  padding: 9px 16px;
  font-weight: 850;
  font-size: 13px;
  white-space: nowrap;
  background: var(--bg);
  color: var(--text);
}

.view-more::after {
  content: " /";
  color: var(--accent);
}

.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  margin: 0 0 9px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kicker-yellow {
  color: var(--accent-2);
}

.headline {
  margin: 0;
  font-size: clamp(24px, 2.75vw, 40px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.headline-sm {
  margin: 0;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 900;
}

.dek {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.38;
}

.home-hero {
  padding: 46px 0 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(380px, 0.82fr);
  gap: 28px;
  align-items: stretch;
  position: relative;
}

.hero-grid > aside {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.featured-card img {
  aspect-ratio: 1.48 / 1;
  width: 100%;
  object-fit: cover;
}

.media {
  position: relative;
  overflow: hidden;
}

.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  text-shadow: 0 1px 6px #000;
}

.duration {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #000;
  color: #fff;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 900;
}

.featured-body {
  padding: 20px 22px 22px;
  background: var(--surface);
  border-left: 6px solid var(--accent);
  transform: translateY(-1px);
}

.editor-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.side-tabs {
  border-bottom: 1px solid var(--line);
  border-top: 4px solid var(--strong-line);
  display: flex;
  gap: 28px;
  margin-bottom: 12px;
  padding-top: 13px;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.side-tabs span {
  padding-bottom: 10px;
}

.side-tabs .active {
  color: var(--accent);
  border-bottom: 0;
  margin-bottom: 0;
}

.mini-list {
  display: grid;
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.mini-item {
  display: grid;
  grid-template-columns: minmax(120px, 148px) 1fr;
  gap: 14px;
  align-items: center;
  min-height: 0;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, transparent);
  transition: background 160ms ease;
}

.mini-item:hover {
  background: var(--surface);
}

.mini-item img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mini-item h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.08;
  font-weight: 900;
}

.split-news {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(350px, 0.9fr);
  gap: 38px;
}

.two-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.post-card img {
  aspect-ratio: 1.1 / 1;
  width: 100%;
  object-fit: cover;
}

.post-card {
  position: relative;
}

.post-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  background: var(--accent-2);
  margin-bottom: 10px;
}

.post-card .media + .body,
.post-card > img + .body,
.post-card > span.media + .body {
  border-top: 1px solid var(--line);
}

.post-card .body {
  padding-top: 14px;
}

.line-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.line-list a {
  border-bottom: 1px solid var(--line);
  min-height: 92px;
  padding: 12px 0;
  display: block;
}

.line-list h3,
.sidebar-list h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.08;
  font-weight: 950;
}

.feature-with-list {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 38px;
}

.feature-large img {
  aspect-ratio: 1.35 / 1;
  width: 100%;
  object-fit: cover;
}

.feature-large > .kicker,
.feature-large > .kicker-yellow {
  margin-top: 18px;
  margin-bottom: 6px;
}

.feature-large .headline {
  margin-top: 6px;
}

.mixed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.videos-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.video-card img {
  aspect-ratio: 1.35 / 1;
  width: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.video-card h3 {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 950;
}

.three-plus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(260px, 0.9fr);
  gap: 22px;
}

.cta-band {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36) 0 22%, transparent 22% 100%),
    linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 58%, var(--accent-3) 100%);
  color: #101010;
  padding: 78px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}

.cta-grid img {
  width: 100%;
  aspect-ratio: 1.8 / 1;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.38);
}

.newsletter {
  padding: 76px 0;
  background:
    linear-gradient(90deg, rgba(252, 227, 138, 0.22) 0 64%, rgba(149, 225, 211, 0.26) 64% 100%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 90px;
  align-items: center;
}

.newsletter h2,
.cta-band h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
  font-weight: 950;
}

.newsletter p,
.cta-band p {
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form input,
.contact-form input,
.contact-form textarea {
  min-height: 56px;
  border: 2px solid var(--strong-line);
  background: var(--bg);
  color: var(--text);
  padding: 0 16px;
}

.newsletter-form label {
  color: var(--muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.newsletter-form label input {
  width: 15px;
  height: 15px;
  min-height: 0;
  flex: 0 0 auto;
  padding: 0;
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  border-top: 6px solid var(--accent-3);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -90px;
  top: 40px;
  width: 360px;
  height: 360px;
  opacity: 0.055;
  background:
    linear-gradient(#fff 0 0) left 20px top 80px / 230px 28px no-repeat,
    linear-gradient(#fff 0 0) left 20px top 150px / 320px 28px no-repeat,
    linear-gradient(#fff 0 0) left 20px top 220px / 180px 28px no-repeat,
    linear-gradient(var(--accent-3) 0 0) right 0 top 55px / 70px 210px no-repeat;
  transform: skewX(-10deg);
  pointer-events: none;
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-main {
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.15fr 1.1fr;
  gap: 44px;
}

.footer-title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(149, 225, 211, 0.28);
  padding-bottom: 12px;
}

.footer-main p,
.footer-main li,
.footer-main a {
  color: #fff;
  font-size: 15px;
}

.footer-main ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(149, 225, 211, 0.22);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: #fff;
  font-size: 14px;
}

.footer-links,
.social-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-row a,
.author-social a,
.share-col a {
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.page-hero {
  padding: 82px 0 54px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 58%, var(--surface) 58% 100%);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.5vw, 74px);
  line-height: 0.96;
  font-weight: 900;
  max-width: 920px;
}

.page-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-summary {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.38;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 42px;
}

.filter-row a {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.category-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(250px, 0.75fr));
  gap: 26px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.category-lead .lead-main img {
  aspect-ratio: 1.62 / 1;
}

.category-grid,
.author-post-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 22px;
}

.category-grid .post-card img,
.author-post-grid .post-card img,
.related-grid .post-card img {
  aspect-ratio: 1.23 / 1;
}

.pager {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 42px;
}

.pager a {
  border-bottom: 2px solid currentColor;
  padding-bottom: 6px;
}

.author-hero {
  padding: 82px 0 58px;
  background:
    linear-gradient(90deg, transparent 0 50%, var(--surface) 50% 100%);
}

.author-box {
  display: grid;
  grid-template-columns: 480px minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.author-box img {
  width: 480px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 32px;
  border: 10px solid var(--bg);
  box-shadow: -18px 18px 0 var(--accent-2);
}

.author-box h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.95;
  margin: 0 0 22px;
  font-weight: 950;
}

.author-box p {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.35;
  margin: 0 0 42px;
}

.author-social {
  display: flex;
  gap: 18px;
}

.author-social a {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  border-radius: 50%;
}

.rule {
  border-top: 1px solid var(--line);
  margin: 0 auto 56px;
  width: min(var(--container), calc(100% - 48px));
}

.single-hero {
  padding: 44px 0 64px;
}

.single-top {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1fr);
  gap: 54px;
  align-items: center;
  background: var(--surface);
  padding: 32px;
  border-left: 8px solid var(--accent);
}

.single-title {
  font-size: clamp(42px, 4.7vw, 64px);
  line-height: 1.05;
  margin: 0 0 32px;
  font-weight: 950;
}

.single-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 15px;
}

.single-top img {
  width: 100%;
  aspect-ratio: 0.9 / 1;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 64px minmax(0, 730px) 340px;
  gap: 42px;
  align-items: start;
}

.share-col {
  position: sticky;
  top: 122px;
  display: grid;
  gap: 10px;
}

.share-col span {
  margin-bottom: 10px;
}

.share-col a {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.article-content {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.55;
}

.article-content h2 {
  font-family: var(--font-ui);
  font-size: 34px;
  line-height: 1.1;
  margin: 44px 0 20px;
}

.article-content p {
  margin: 0 0 26px;
}

.article-content blockquote {
  margin: 48px 0;
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  font-style: italic;
  font-weight: 950;
  text-align: left;
  border-left: 7px solid var(--accent-2);
  padding-left: 26px;
}

.article-content img {
  width: 100%;
  margin: 38px 0;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.article-sidebar {
  position: sticky;
  top: 122px;
}

.toc {
  background: var(--surface);
  border-left: 5px solid var(--accent-2);
  padding: 28px;
  margin-bottom: 42px;
}

.toc h2,
.sidebar-list h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.sidebar-list {
  border-top: 7px solid var(--strong-line);
  padding-top: 22px;
  display: grid;
  gap: 22px;
}

.author-mini {
  margin-top: 70px;
  border-top: 7px solid var(--strong-line);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  font-family: var(--font-ui);
}

.author-mini img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: 0;
}

.tags {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  font-family: var(--font-ui);
}

.tags span,
.tags a {
  background: var(--surface);
  padding: 8px 12px;
  font-size: 14px;
}

.text-page {
  max-width: 920px;
  margin-inline: auto;
  padding-bottom: 80px;
}

.text-page h2 {
  font-size: 34px;
  margin: 44px 0 16px;
}

.text-page p,
.text-page li {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  margin: 0 0 42px;
  background: var(--surface);
}

.stat-strip span {
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.stat-strip span:last-child {
  border-right: 0;
}

.stat-strip strong {
  display: block;
  color: var(--text);
  font-size: 26px;
  line-height: 1;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 44px;
}

.info-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 24px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.info-card p {
  margin: 0;
  font-size: 17px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding-top: 58px;
}

.legal-layout .text-page {
  margin: 0;
  padding-bottom: 86px;
}

.legal-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  border-left: 5px solid var(--accent-3);
  padding-left: 18px;
}

.legal-aside a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-aside a:hover {
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-top: 64px;
  padding-bottom: 90px;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 28px;
  box-shadow: -10px 10px 0 var(--accent-4);
}

.contact-form textarea {
  min-height: 180px;
  padding-top: 16px;
}

.contact-form select {
  min-height: 56px;
  border: 2px solid var(--strong-line);
  background: var(--bg);
  color: var(--text);
  padding: 0 16px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .split-news,
  .feature-with-list,
  .single-top,
  .article-layout,
  .author-box,
  .newsletter-grid,
  .cta-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid > aside {
    min-height: auto;
  }

  .mini-list {
    grid-template-rows: none;
  }

  .author-box img {
    width: min(420px, 100%);
  }

  .article-layout {
    gap: 24px;
  }

  .share-col,
  .article-sidebar {
    position: static;
  }

  .share-col {
    display: flex;
    align-items: center;
  }

  .category-lead,
  .three-plus-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid,
  .author-post-grid,
  .related-grid,
  .videos-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-strip span:last-child {
    border-bottom: 0;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-aside {
    position: static;
    grid-template-columns: repeat(4, max-content);
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 76px;
    gap: 12px;
  }

  .brand {
    font-size: 24px;
  }

  .brand-mark {
    width: 26px;
    height: 23px;
  }

  .primary-nav {
    top: 76px;
  }

  .issue-strip__inner {
    overflow-x: auto;
    min-height: 42px;
    padding-bottom: 2px;
  }

  .search-box {
    display: none;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .theme-toggle {
    width: 58px;
    height: 34px;
  }

  .section,
  .home-hero,
  .author-hero {
    padding: 46px 0;
  }

  .section-head {
    background: transparent;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .section-head .section-title::after {
    width: 9px;
    height: 9px;
  }

  .mini-item,
  .two-card-grid,
  .line-list,
  .mixed-grid,
  .category-lead,
  .category-grid,
  .author-post-grid,
  .related-grid,
  .three-plus-list,
  .videos-row,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    grid-template-columns: repeat(3, max-content);
  }

  .contact-form {
    padding: 18px;
    box-shadow: -6px 6px 0 var(--accent-4);
  }

  .headline,
  .single-title,
  .author-box h1,
  .page-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .author-box {
    gap: 32px;
  }

  .author-box img {
    border-radius: 22px;
    box-shadow: -10px 10px 0 var(--accent-2);
  }

  .author-box p,
  .article-content {
    font-size: 19px;
  }

  .single-top {
    gap: 32px;
    padding: 18px;
  }

  .single-top img {
    aspect-ratio: 1 / 1.1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================
   ERROR PAGES & SEARCH (4xx, 5xx, maintenance)
   ============================================ */
.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.error-section .container {
  text-align: center;
  max-width: 720px;
}

.error-code {
  font-family: var(--font-serif);
  font-size: clamp(96px, 22vw, 220px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.error-code::after {
  content: "";
  position: absolute;
  inset: auto -10px -8px -10px;
  height: 18px;
  background: var(--accent-2);
  z-index: -1;
}

.error-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--strong-line);
}

.error-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  margin: 16px 0 12px;
  line-height: 1.15;
  color: var(--text);
}

.error-desc {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto 36px;
  max-width: 540px;
  line-height: 1.6;
}

.error-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.error-actions .button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--strong-line);
  padding: 14px 24px;
  font-family: var(--font-ui);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.error-actions .button-secondary:hover {
  background: var(--text);
  color: var(--bg);
}

.error-search {
  margin: 32px auto 0;
  max-width: 440px;
  display: flex;
  border: 1px solid var(--strong-line);
}

.error-search input {
  flex: 1;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 15px;
  outline: none;
  color: var(--text);
}

.error-search button {
  padding: 14px 22px;
  border: 0;
  border-left: 1px solid var(--strong-line);
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-ui);
  font-weight: 600;
  cursor: pointer;
}

.error-suggested {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.error-suggested h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 24px;
}

/* Search results */
.search-form-page {
  display: flex;
  margin: 24px 0 0;
  border: 1px solid var(--strong-line);
  max-width: 560px;
}

.search-form-page input {
  flex: 1;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 16px;
  outline: none;
  color: var(--text);
}

.search-form-page button {
  padding: 16px 26px;
  border: 0;
  border-left: 1px solid var(--strong-line);
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-ui);
  font-weight: 600;
  cursor: pointer;
}

.search-meta {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
}

.empty-state strong {
  color: var(--text);
}

/* Maintenance */
.maintenance-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--strong-line);
  border-radius: 999px;
  font-size: 32px;
}

[data-theme="dark"] .error-code::after { background: var(--accent-2); opacity: 0.6; }
[data-theme="dark"] .empty-state { background: var(--surface); }

/* ============================================
   HERO TAB PANELS
   ============================================ */
.side-tabs span {
  cursor: pointer;
  user-select: none;
}
.side-tabs span:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.mini-list[hidden] { display: none; }

/* ============================================
   CTA BAND CLICKABLE
   ============================================ */
.cta-band {
  cursor: pointer;
}
.cta-band #cta-band-trigger:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

/* ============================================
   SUBSCRIBE MODAL
   ============================================ */
.cta-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: cta-modal-fade 0.25s ease;
}

.cta-modal[hidden] { display: none; }

.cta-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.cta-modal-content {
  position: relative;
  background: #fdf0eb;
  width: 100%;
  max-width: 940px;
  padding: 56px 64px 48px;
  animation: cta-modal-slide 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .cta-modal-content {
  background: #2a1a17;
  color: var(--text);
}

.cta-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  z-index: 2;
}

.cta-modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cta-modal-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--text);
}

.cta-modal-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.cta-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-modal-form input[type="email"] {
  padding: 16px 18px;
  border: 1px solid var(--strong-line);
  background: #fff;
  font-family: var(--font-ui);
  font-size: 15px;
  outline: none;
  color: var(--text);
}

.cta-modal-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-2);
}

.button.button-dark {
  background: var(--text);
  color: #fff;
  padding: 16px 18px;
  border: 0;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
}

.button.button-dark:hover {
  opacity: 0.85;
}

.cta-modal-form label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.cta-modal-form label a {
  color: #4f6dff;
  text-decoration: none;
}

.cta-modal-form label a:hover {
  text-decoration: underline;
}

@keyframes cta-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cta-modal-slide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 760px) {
  .cta-modal-content {
    padding: 48px 24px 28px;
  }
  .cta-modal-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta-modal-text h2 {
    font-size: 24px;
  }
}

body.cta-modal-open {
  overflow: hidden;
}

/* ============================================
   FOOTER BRAND (2x size)
   ============================================ */
.brand--footer {
  font-size: 56px;
  gap: 14px;
  margin-bottom: 18px;
}

.brand--footer .brand-heart {
  width: 52px;
  height: 52px;
}

.site-footer .brand--footer {
  color: var(--footer-text);
}

.site-footer .brand--footer .brand-name {
  color: var(--footer-text);
}

@media (max-width: 760px) {
  .brand--footer {
    font-size: 42px;
  }
  .brand--footer .brand-heart {
    width: 38px;
    height: 38px;
  }
}

/* ============================================
   PRIMARY NAV DROPDOWN
   ============================================ */
.primary-nav .nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.primary-nav .nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown-caret {
  width: 9px;
  height: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
  color: currentColor;
}

.has-dropdown:hover .dropdown-caret,
.has-dropdown:focus-within .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--strong-line);
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  box-shadow: 6px 6px 0 var(--strong-line);
  z-index: 30;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  text-align: left;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--accent-2);
  color: var(--text);
}

[data-theme="dark"] .dropdown-menu {
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--accent);
}

@media (max-width: 980px) {
  .primary-nav .has-dropdown {
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    margin-left: 12px;
    padding: 4px 0 4px 12px;
    background: transparent;
    min-width: 0;
  }
  .has-dropdown .dropdown-menu {
    display: none;
  }
  .has-dropdown.is-open .dropdown-menu {
    display: flex;
  }
  .dropdown-menu a {
    padding: 8px 0;
    border-bottom: 0;
    font-size: 13px;
  }
}

/* ============================================
   LATEST FEED + PAGINATION
   ============================================ */
.latest-feed {
  padding: 64px 0 48px;
}

.latest-feed .section-head {
  margin-bottom: 36px;
}

.latest-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}

@media (max-width: 980px) {
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

@media (max-width: 580px) {
  .latest-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.latest-pager {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pager-num,
.pager-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--bg);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}

.pager-num:hover,
.pager-arrow:hover {
  background: var(--accent-2);
  border-color: var(--strong-line);
}

.pager-num.is-current {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  cursor: default;
}

.pager-arrow {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pager-arrow.disabled,
.pager-num.disabled {
  color: var(--muted);
  border-color: var(--line);
  background: transparent;
  cursor: not-allowed;
  opacity: 0.55;
}

.pager-dots {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 700;
  user-select: none;
}

[data-theme="dark"] .pager-num,
[data-theme="dark"] .pager-arrow {
  background: var(--surface);
  border-color: var(--line);
}

[data-theme="dark"] .pager-num:hover,
[data-theme="dark"] .pager-arrow:hover {
  background: var(--accent-2);
  color: var(--text);
}

@media (max-width: 580px) {
  .latest-feed .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .latest-meta {
    align-self: flex-start;
  }
  .pager-num,
  .pager-arrow {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }
}

/* ============================================
   LATEST FEED ï¿½ MAGAZINE LAYOUT
   ============================================ */
.latest-feed {
  padding: 72px 0 56px;
  position: relative;
}

.latest-feed::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--line);
  opacity: 0.5;
}

.latest-magazine {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}

.latest-stacked {
  display: grid;
  gap: 24px;
  align-content: space-between;
}

.latest-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

/* ----- Story card base ----- */
.story-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-3px);
}

.story-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface);
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.story-card:hover .story-card__media img {
  transform: scale(1.05);
}

.story-card__date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--text);
  color: var(--bg);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

.story-card__body {
  padding: 18px 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text);
}

.story-card__title a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease;
}

.story-card:hover .story-card__title a {
  background-size: 100% 1px;
}

.story-card__dek {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.story-card__meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.story-card__meta .dot {
  color: var(--accent);
}

/* ----- Spotlight (large card on left) ----- */
.story-card--spot .story-card__media {
  aspect-ratio: 4 / 3;
}

.story-card--spot .story-card__title {
  font-size: clamp(28px, 2.4vw, 36px);
  line-height: 1.1;
  font-weight: 700;
}

.story-card--spot .story-card__dek {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 4px;
}

.story-card--spot .story-card__body {
  padding-top: 22px;
  gap: 12px;
}

/* ----- Stacked horizontal cards (right) ----- */
.story-card--row {
  flex-direction: row;
  gap: 18px;
  align-items: stretch;
}

.story-card--row .story-card__media {
  flex: 0 0 38%;
  aspect-ratio: 1 / 1;
  align-self: stretch;
}

.story-card--row .story-card__body {
  padding: 0;
  justify-content: center;
  gap: 8px;
}

.story-card--row .story-card__title {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
}

.story-card--row .story-card__meta {
  margin-top: 4px;
}

/* ----- Bottom row 4-col cards ----- */
.latest-row .story-card__media {
  aspect-ratio: 1.3 / 1;
}

.latest-row .story-card__title {
  font-size: 17px;
  line-height: 1.25;
}

.latest-row .story-card__date {
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 11px;
}

/* ----- Dark mode tweaks ----- */
[data-theme="dark"] .story-card__date {
  background: var(--accent-2);
  color: var(--text);
}

[data-theme="dark"] .latest-feed::before {
  background: var(--line);
  opacity: 0.3;
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .latest-magazine {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .latest-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .story-card--spot .story-card__title {
    font-size: 28px;
  }
}

@media (max-width: 580px) {
  .latest-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .latest-stacked {
    gap: 20px;
  }
  .story-card--row {
    gap: 14px;
  }
  .story-card--row .story-card__media {
    flex-basis: 42%;
  }
  .story-card--row .story-card__title {
    font-size: 15px;
  }
}

/* ============================================
   ARCHIVE LAYOUT (1 spotlight + 3 trio + 4ï¿½3 grid)
   ============================================ */
.archive-spotlight {
  display: block;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.archive-spotlight .lead-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

/* The .post-card::before accent bar becomes a grid child and breaks layout â€” hide in spotlight */
.archive-spotlight .lead-main::before,
.archive-spotlight .post-card::before {
  display: none;
}

.archive-spotlight .lead-main .media {
  display: block;
}

.archive-spotlight .lead-main img {
  aspect-ratio: 1.6 / 1;
  width: 100%;
  object-fit: cover;
}

.archive-spotlight .lead-main .body {
  padding: 0;
}

.archive-spotlight .lead-main .headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 12px 0 14px;
}

.archive-spotlight .lead-main .dek {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 620px;
}

.archive-spotlight .lead-main .kicker {
  margin-bottom: 6px;
}

.archive-trio-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.archive-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 50px;
}

.archive-trio .post-card img {
  aspect-ratio: 1.5 / 1;
}

@media (max-width: 980px) {
  .archive-spotlight .lead-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .archive-spotlight .lead-main .headline {
    font-size: 28px;
  }
  .archive-trio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 580px) {
  .archive-trio {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   LATEST FEED ï¿½ BENTO ASYMMETRIC GRID
   ============================================ */
.latest-feed .latest-head {
  margin-bottom: 40px;
  align-items: flex-end;
}

.latest-head__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.latest-meta-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.latest-page-info {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Bento grid: 4 cols, auto-flow rows */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 22px;
}

.bento-card--xl {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card--mid {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-card--wide {
  grid-column: span 2;
  grid-row: span 1;
}

/* Card base */
.bento-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, transform 0.3s ease;
}

.bento-card:hover {
  border-color: var(--strong-line);
  transform: translateY(-2px);
}

.bento-card__link {
  display: block;
  position: relative;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.bento-card__media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.bento-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.bento-card:hover .bento-card__media img {
  transform: scale(1.06);
}

/* Numerical accent */
.bento-card__num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--accent-2);
  padding: 4px 10px;
  letter-spacing: 0.05em;
  z-index: 3;
}

.bento-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-card__kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.bento-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--text);
}

.bento-card:hover .bento-card__title {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.bento-card__dek {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.bento-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 6px;
}

.bento-card__sep {
  width: 14px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* MID card layout ï¿½ image top, text bottom */
.bento-card--mid .bento-card__media {
  aspect-ratio: 1.4 / 1;
}

.bento-card--mid .bento-card__title {
  font-size: 16px;
}

/* WIDE card layout ï¿½ image left, body right (horizontal) */
.bento-card--wide .bento-card__link {
  display: grid;
  grid-template-columns: minmax(160px, 42%) 1fr;
}

.bento-card--wide .bento-card__media {
  aspect-ratio: auto;
  height: 100%;
}

.bento-card--wide .bento-card__body {
  padding: 22px 24px;
  justify-content: center;
}

.bento-card--wide .bento-card__title {
  font-size: 18px;
}

.bento-card--wide .bento-card__num {
  top: 14px;
  right: 14px;
}

/* HERO (xl) card ï¿½ full overlay */
.bento-card--hero .bento-card__link {
  position: relative;
  height: 100%;
  display: block;
}

.bento-card--hero .bento-card__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bento-card--hero .bento-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.2) 35%, rgba(0,0,0,0.85) 100%);
  z-index: 2;
}

.bento-card--hero .bento-card__num {
  z-index: 4;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,0.95);
  font-size: 16px;
  padding: 5px 14px;
}

.bento-card--hero .bento-card__body {
  position: relative;
  z-index: 4;
  height: 100%;
  padding: 36px 36px 32px;
  justify-content: flex-end;
  color: #fff;
}

.bento-card--hero .bento-card__kicker {
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.bento-card--hero .bento-card__title {
  color: #fff;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.08;
  font-weight: 700;
  max-width: 520px;
}

.bento-card--hero .bento-card__dek {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
}

.bento-card--hero .bento-card__meta {
  color: rgba(255,255,255,0.75);
}

.bento-card--hero .bento-card__sep {
  background: var(--accent-2);
}

.bento-card--hero:hover .bento-card__title {
  text-decoration: none;
}

[data-theme="dark"] .bento-card {
  background: var(--dark-surface, #17171b);
  border-color: var(--line);
}

[data-theme="dark"] .bento-card__num {
  background: var(--accent-2);
  color: #070707;
}

/* Responsive */
@media (max-width: 980px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .bento-card--xl {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 360px;
  }
  .bento-card--wide {
    grid-column: span 2;
  }
  .bento-card--mid {
    grid-column: span 1;
  }
  .bento-card--hero .bento-card__title {
    font-size: 26px;
  }
}

@media (max-width: 580px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .bento-card--xl,
  .bento-card--wide,
  .bento-card--mid {
    grid-column: span 1;
  }
  .bento-card--xl {
    min-height: 320px;
  }
  .bento-card--wide .bento-card__link {
    grid-template-columns: 1fr;
  }
  .bento-card--wide .bento-card__media {
    aspect-ratio: 1.6 / 1;
  }
  .latest-feed .latest-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Hide bento card numbers */
.bento-card__num { display: none !important; }


/* ============================================
   COMMENTS ï¿½ list + form (moderated)
   ============================================ */
.comments-section {
  padding: 40px 0 56px;
  position: relative;
}

.comments-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--strong-line);
}

.comments-wrap {
  max-width: 760px;
}

.comments-head {
  margin-bottom: 24px;
  padding-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

.comments-head::before {
  content: attr(data-label);
  display: block;
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: var(--bg);
  padding-right: 10px;
}

.comments-head .section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.01em;
}

.comments-head .section-title::after {
  display: none;
}

.comments-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Comment list */
.comment-list {
  list-style: none;
  margin: 0 0 60px;
  padding: 0;
}

.comment-list > .comment {
  border-bottom: 1px solid var(--line);
}

.comment-list > .comment:last-child {
  border-bottom: 0;
}

.comment-list--nested {
  margin: 18px 0 0 60px;
  padding-left: 22px;
  border-left: 2px solid var(--strong-line);
}

.comment-list--nested > .comment:last-child {
  border-bottom: 0;
}

.comment {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
}

.comment__avatar {
  width: 48px;
  height: 48px;
  background: var(--text);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.comment__body {
  min-width: 0;
}

.comment__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.comment__author {
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.comment__author a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1.5px solid var(--text);
}

.comment__date {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-left: 18px;
}

.comment__date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

.comment__content {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 400;
}

.comment__reply {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.comment__reply::after {
  content: "â†³";
  font-size: 13px;
  color: var(--accent);
  transform: scaleX(-1);
}

.comment__reply:hover {
  color: var(--accent);
}

/* Form â€” editorial style (compact) */
[hidden] { display: none !important; }

.comment-form-wrap {
  background: transparent;
  border: 2px solid var(--strong-line);
  padding: 22px 24px 22px;
  position: relative;
  margin-top: 12px;
}

.comment-form-wrap::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 48px;
  height: 6px;
  background: var(--accent);
}

.comment-form-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.comment-form-cancel {
  margin: 0 0 14px;
  padding: 8px 12px;
  background: var(--accent-2);
  border-left: 3px solid var(--text);
  font-size: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.comment-form-cancel button {
  background: var(--text);
  border: 0;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--bg);
}

.comment-form-cancel button:hover {
  background: var(--accent);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.comment-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
}

.comment-form__field > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.comment-form__field > span::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-left: 6px;
}

.comment-form__field input,
.comment-form__field textarea {
  border: 0;
  border-bottom: 1.5px solid var(--strong-line);
  background: transparent;
  padding: 6px 0 8px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.comment-form__field input::placeholder,
.comment-form__field textarea::placeholder {
  color: var(--muted);
  opacity: 0.55;
  font-style: italic;
}

.comment-form__field input:focus,
.comment-form__field textarea:focus {
  border-color: var(--accent);
}

.comment-form__field textarea {
  resize: vertical;
  min-height: 88px;
  padding-top: 10px;
}

.comment-form__notice {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-left: 10px;
  border-left: 2px solid var(--accent);
  line-height: 1.4;
}

.comment-form__recaptcha {
  margin-top: 4px;
}

.comment-form__recaptcha .g-recaptcha,
.comment-form__recaptcha .grecaptcha-badge,
.comment-form__recaptcha > div {
  transform: scale(0.85);
  transform-origin: 0 0;
}

.comment-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.comment-form__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.comment-form__msg {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.comment-form__msg.is-success { color: #197a3d; }
.comment-form__msg.is-error   { color: #c52828; }

.comment-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  height: 42px;
  min-height: 42px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  background: var(--text);
  color: var(--bg);
  border: 2px solid var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.comment-form__submit:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.comment-form__submit svg {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.comment-form__submit:hover svg {
  transform: translateX(3px);
}

[data-theme="dark"] .comment-form-wrap {
  border-color: var(--strong-line);
}

[data-theme="dark"] .comment-form-wrap::before {
  background: var(--accent);
}

[data-theme="dark"] .comment__avatar {
  background: var(--accent-2);
  color: #070707;
}

[data-theme="dark"] .comment-form__msg.is-success { color: #6ee48b; }
[data-theme="dark"] .comment-form__msg.is-error   { color: #ff8a8a; }

@media (max-width: 580px) {
  .comments-section { padding: 48px 0 64px; }
  .comment-form-wrap { padding: 32px 22px 24px; }
  .comment-form__row { grid-template-columns: 1fr; }
  .comment-form-title { font-size: 22px; }
  .comment-list--nested { margin-left: 0; padding-left: 16px; }
  .comment { grid-template-columns: 38px 1fr; gap: 14px; }
  .comment__avatar { width: 38px; height: 38px; font-size: 15px; }
  .comment-form__submit { padding: 0 22px; height: 50px; font-size: 12px; }
}

/* ============================================
   ARTICLE CONTENT ï¿½ inline links underlined
   ============================================ */
.article-content a:not(.no-underline) {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
  transition: color 0.15s, text-decoration-color 0.15s;
}

.article-content a:hover {
  color: var(--accent);
  text-decoration-color: var(--text);
}

[data-theme="dark"] .article-content a:not(.no-underline) {
  color: var(--text);
  text-decoration-color: var(--accent);
}

/* ============================================
   YOUTUBE LITE EMBED
   ============================================ */
.lite-youtube {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
  margin: 28px 0;
  overflow: hidden;
  contain: content;
  border: 0;
}

.lite-youtube__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.2s;
}

.lite-youtube:hover .lite-youtube__poster {
  filter: brightness(0.85);
}

.lite-youtube__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  background: rgba(0, 0, 0, 0.62);
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.lite-youtube__play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 26px solid #fff;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  margin-left: 6px;
}

.lite-youtube__play svg {
  display: none;
}

.lite-youtube:hover .lite-youtube__play {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.06);
}

@media (max-width: 580px) {
  .lite-youtube__play {
    width: 72px;
    height: 72px;
    border-width: 2.5px;
  }
  .lite-youtube__play::before {
    border-left-width: 20px;
    border-top-width: 12px;
    border-bottom-width: 12px;
  }
}

.lite-youtube--loaded {
  cursor: default;
}

.lite-youtube--loaded .lite-youtube__poster,
.lite-youtube--loaded .lite-youtube__play {
  display: none;
}

.lite-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================
   BRAND MARK — modern square logo (used by hobirehber etc.)
   ============================================ */
.brand-mark-modern {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-block;
  overflow: visible;
}

.brand-mark-modern__outer { fill: var(--text); }
.brand-mark-modern__fill  { fill: var(--accent); }

.site-footer .brand-mark-modern__outer { fill: var(--footer-text); }

.brand--footer .brand-mark-modern { width: 60px; height: 60px; }

@media (max-width: 760px) {
  .brand--footer .brand-mark-modern { width: 44px; height: 44px; }
}

/* ============================================
   FOOTER LOGO — faded/ghost look (heart + squares)
   Inherits site theme colors but at reduced opacity for a soft footer accent
   ============================================ */
.site-footer .brand--footer .brand-heart,
.site-footer .brand--footer .brand-mark-modern {
  opacity: 0.55;
  transition: opacity 0.2s;
}

.site-footer .brand--footer:hover .brand-heart,
.site-footer .brand--footer:hover .brand-mark-modern {
  opacity: 0.85;
}