﻿:root {
  --bg: #eef0e6;
  --bg-soft: #f8f6ef;
  --panel: rgba(252, 250, 244, 0.94);
  --panel-solid: #fcfaf4;
  --panel-dark: #1d2a22;
  --line: rgba(27, 33, 29, 0.14);
  --line-strong: rgba(27, 33, 29, 0.24);
  --text: #1b211d;
  --muted: #5b655d;
  --accent: #bf5c30;
  --accent-deep: #8e3f1b;
  --accent-forest: #3b6653;
  --accent-gold: #c5bb4a;
  --accent-pale: #f1e2d7;
  --shadow: 0 20px 52px rgba(27, 33, 29, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  line-height: 1.68;
  background:
    radial-gradient(circle at top left, rgba(197, 187, 74, 0.18), transparent 24%),
    radial-gradient(circle at right 12% top 8%, rgba(59, 102, 83, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(191, 92, 48, 0.08), transparent 35%),
    repeating-linear-gradient(90deg, rgba(27, 33, 29, 0.03) 0 1px, transparent 1px 36px),
    linear-gradient(180deg, #faf7ee 0%, #eef0e6 46%, #f8f5ec 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow-shell {
  width: min(1080px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 246, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.site-logo::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: var(--panel-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  padding: 34px 0 90px;
}

.section-heading-wrap,
.page-head,
.section-bar {
  margin-bottom: 26px;
}

.section-heading-wrap h1,
.page-head h1,
.section-bar h2,
.author-spotlight-body h1,
.article-head h1 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.section-heading-wrap h1 {
  font-size: clamp(2.4rem, 4.3vw, 4.7rem);
  max-width: 15ch;
}

.page-head h1,
.author-spotlight-body h1 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.article-head h1 {
  font-size: clamp(1.35rem, 4.2vw, 2.25rem);
}

.section-bar h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-head,
.section-bar {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

.page-head::after,
.section-bar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 110px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold), transparent);
}

.page-head-center {
  justify-content: center;
  text-align: center;
}

.page-head-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-bar-compact h2 {
  font-size: 1.26rem;
}

.no-top-gap {
  margin-top: 0;
}

.story-card-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.story-card-taxonomy a,
.story-card-taxonomy span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(59, 102, 83, 0.18);
  background: rgba(59, 102, 83, 0.08);
  color: var(--accent-forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card-taxonomy a:hover {
  border-color: rgba(191, 92, 48, 0.32);
  color: var(--accent-deep);
}

.home-categories,
.home-latest,
.author-articles {
  margin-top: 56px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.signal-card,
.dispatch-card,
.stream-card,
.related-card,
.author-story-card {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.signal-card {
  position: relative;
  grid-column: span 3;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(252, 250, 244, 0.96), rgba(247, 244, 236, 0.96));
  border-radius: 28px 12px 28px 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.signal-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold), var(--accent-forest));
}

/* .signal-card-lead {
  grid-column: span 6;
  grid-row: span 2;
} */

.signal-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.signal-card-lead .signal-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

.signal-card-media {
  background: #d8ddd0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.signal-card-lead .signal-card-media {
  order: 2;
  min-height: 100%;
  aspect-ratio: auto;
}

.signal-card-media img,
.dispatch-card-media img,
.stream-card-media img,
.related-card-media img,
.author-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.signal-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 20px 22px;
}

.signal-card-lead .signal-card-body {
  justify-content: center;
  padding: 36px 34px;
}

.signal-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--panel-dark);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.signal-card-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.signal-card-lead .signal-card-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.signal-card-brief {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.74;
}

.signal-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
}

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

.topic-strip {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px 10px 22px 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(241, 226, 215, 0.48));
  box-shadow: 0 10px 24px rgba(27, 33, 29, 0.04);
}

.topic-strip-count {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.topic-strip-name {
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.2;
}

.topic-strip-tail {
  color: var(--accent-forest);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.dispatch-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 26px 12px 26px 12px;
  box-shadow: var(--shadow);
}

.dispatch-card-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.1fr) 360px;
}

.dispatch-card-media {
  display: block;
  overflow: hidden;
  background: #d8ddd0;
  aspect-ratio: 4 / 3;
}

.dispatch-card-featured .dispatch-card-media {
  min-height: 100%;
  aspect-ratio: auto;
  grid-column: 2;
}

.dispatch-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 22px 24px;
}

.dispatch-card-featured .dispatch-card-body {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
  padding: 30px;
}

.dispatch-card-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.dispatch-card-featured .dispatch-card-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.dispatch-card-brief {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.74;
}

.dispatch-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-card:hover,
.dispatch-card:hover,
.stream-card:hover,
.related-card:hover,
.author-story-card:hover,
.topic-strip:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 92, 48, 0.26);
  box-shadow: 0 24px 54px rgba(27, 33, 29, 0.1);
}

.signal-card:hover .signal-card-media img,
.dispatch-card:hover .dispatch-card-media img {
  transform: scale(1.05);
}

.dispatch-card-title a:hover,
.signal-card-title:hover,
.topic-strip:hover .topic-strip-name {
  color: var(--accent-deep);
}
.content-shell {
  padding-top: 6px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crumbs a:hover {
  color: var(--accent-deep);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.content-main,
.content-side {
  min-width: 0;
}

.story-stream {
  display: grid;
  gap: 18px;
}

.stream-card {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(252, 250, 244, 0.96), rgba(246, 243, 235, 0.96));
  border-radius: 28px 12px 28px 12px;
  box-shadow: var(--shadow);
}

.stream-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), var(--accent-gold), var(--accent-forest));
}

.stream-card-media {
  display: block;
  min-height: 100%;
  background: #d8ddd0;
}

.stream-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 26px;
}

.stream-card-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.stream-card-title a:hover,
.related-card-title a:hover,
.author-story-title a:hover,
.sidebar-post a:hover,
.footer-link:hover,
.archive-row h2 a:hover {
  color: var(--accent-deep);
}

.stream-card-brief {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.74;
}

.stream-card-meta,
.related-card-meta,
.author-story-meta,
.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stream-card-meta,
.related-card-meta,
.author-story-meta {
  margin-top: auto;
  padding-top: 16px;
}

.sidebar-stack {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 78px;
}

.sidebar-card,
.article-panel,
.single-panel,
.author-copy,
.comment-shell,
.related-shell {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px 12px 28px 12px;
  box-shadow: var(--shadow);
}

.sidebar-card {
  padding: 22px;
}

.article-panel,
.single-panel,
.author-copy {
  padding: 34px 36px;
}

.comment-shell,
.related-shell {
  margin-top: 28px;
  padding: 24px 26px;
}

.sidebar-card::before,
.article-panel::before,
.comment-shell::before,
.related-shell::before,
.single-panel::before,
.author-copy::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
}

.article-panel::before,
.single-panel::before,
.author-copy::before {
  left: 36px;
}

.sidebar-head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.sidebar-head h3,
.related-shell h2,
.comment-shell h2,
.author-box h2 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sidebar-links,
.sidebar-posts {
  display: grid;
  gap: 12px;
}

.sidebar-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.sidebar-link:hover {
  border-color: rgba(191, 92, 48, 0.26);
  transform: translateY(-2px);
}

.sidebar-link-count {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.sidebar-link-text {
  font-weight: 700;
  line-height: 1.25;
}

.sidebar-post {
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.sidebar-post:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sidebar-post time {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-profile-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.editor-avatar {
  display: block;
  width: 92px;
  height: 92px;
  padding: 5px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--panel-dark), var(--accent-forest));
}

.editor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.editor-copy h4 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 900;
}

.editor-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.article-meta-line {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
  border-radius: 18px;
}

.author-chip {
  display: inline-flex;
  gap: 3px;
  min-height: 34px;
  color: var(--accent-forest);
  white-space: wrap;
}

.author-chip img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.article-content {
  margin-top: 28px;
  font-size: 0.985rem;
  letter-spacing: 0.2px;
  color: #171717;
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: normal;
}

.article-content p {
  margin: 0 0 1.2em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.65em 0 0.65em;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--text);
}

.article-content h2 {
  font-size: 1.7rem;
}

.article-content h3 {
  font-size: 1.35rem;
}

.article-content h4 {
  font-size: 1.12rem;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

.article-content li + li {
  margin-top: 0.45em;
}

.article-content blockquote {
  margin: 1.7em 0;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(191, 92, 48, 0.08);
}

.article-content a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-color: rgba(191, 92, 48, 0.35);
  text-underline-offset: 3px;
}

.article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.author-box {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px 12px 24px 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(241, 226, 215, 0.6));
}

.author-box-media img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 20px;
}

.author-box-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.author-box-body h2 {
  font-size: 1.36rem;
}

.author-box-body p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.76;
}

.share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(29, 42, 34, 0.3);
  border-radius: 24px 12px 24px 12px;
  background: linear-gradient(135deg, rgba(29, 42, 34, 0.97), rgba(63, 47, 25, 0.96));
  color: #fff;
}

.share-panel-copy span {
  display: block;
  font-size: 1.14rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.share-panel-copy p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.share-btn,
.submit-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(191, 92, 48, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.share-btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(191, 92, 48, 0.28);
}

.article-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.switch-card {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px 10px 20px 10px;
  background: rgba(255, 255, 255, 0.52);
}

.switch-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.switch-card strong {
  line-height: 1.35;
  font-size: 1rem;
}

.comment-form-static {
  display: grid;
  gap: 14px;
}

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

.comment-form-static input,
.comment-form-static textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdfa;
  color: var(--text);
  outline: none;
}

.comment-form-static input:focus,
.comment-form-static textarea:focus {
  border-color: rgba(191, 92, 48, 0.55);
  box-shadow: 0 0 0 4px rgba(191, 92, 48, 0.12);
}
.related-grid,
.author-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-card,
.author-story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 244, 236, 0.92));
  border-radius: 24px 12px 24px 12px;
  box-shadow: var(--shadow);
}

.related-card-media,
.author-story-media {
  display: block;
  overflow: hidden;
  background: #d8ddd0;
  aspect-ratio: 4 / 3;
}

.related-card-body,
.author-story-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.related-card-title,
.author-story-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.related-card-brief,
.author-story-brief {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.related-card:hover .related-card-media img,
.author-story-card:hover .author-story-media img,
.stream-card:hover .stream-card-media img {
  transform: scale(1.05);
}

.author-spotlight {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(29, 42, 34, 0.22);
  border-radius: 34px 14px 34px 14px;
  background: linear-gradient(135deg, rgba(29, 42, 34, 0.97), rgba(59, 102, 83, 0.92));
  box-shadow: var(--shadow);
  color: #fff;
}

.author-spotlight .eyebrow {
  color: #efe082;
}

.author-spotlight-media img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.author-spotlight-body p {
  margin: 14px 0 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.archive-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.archive-timeline::before {
  content: "";
  position: absolute;
  left: 152px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.archive-row {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 18px 0 18px 22px;
}

.archive-row::before {
  content: "";
  position: absolute;
  left: 146px;
  top: 27px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(191, 92, 48, 0.12);
}

.archive-row time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-row h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.pager-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pager-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.pager-chip:hover,
.pager-chip.is-current {
  background: var(--panel-dark);
  border-color: var(--panel-dark);
  color: #fff;
}

.pager-chip.is-disabled,
.pager-chip.is-gap {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.3);
}

.pager-chip.is-hidden {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(248, 246, 239, 0.9);
}

.footer-inner {
  padding: 24px 0 34px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-link {
  color: var(--muted);
  font-weight: 700;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(191, 92, 48, 0.26);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1180px) {
  .signal-card {
    grid-column: span 4;
  }

  .signal-card-lead {
    grid-column: span 12;
    grid-row: auto;
  }

  .signal-card-lead .signal-card-link {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

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

  .content-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-stack {
    position: static;
  }

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

@media (max-width: 960px) {
  .stream-card {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .dispatch-card-featured {
    grid-template-columns: 1fr;
  }

  .dispatch-card-featured .dispatch-card-media {
    grid-column: auto;
    aspect-ratio: 4 / 2.85;
  }

  .dispatch-card-featured .dispatch-card-body {
    grid-column: auto;
    grid-row: auto;
  }

  .author-spotlight {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .author-spotlight-media img {
    width: 200px;
    height: 200px;
  }

  .share-panel {
    grid-template-columns: 1fr;
  }

  .share-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .container,
  .narrow-shell {
    width: min(100%, calc(100% - 20px));
  }

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

  .site-nav {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 8px);
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel-solid);
    box-shadow: var(--shadow);
  }

  main {
    padding: 28px 0 78px;
  }

  .section-heading-wrap h1 {
    font-size: clamp(1.55rem, 8.2vw, 2.1rem);
    max-height: 150px;
  }

  .page-head h1,
  .section-bar h2,
  .author-spotlight-body h1 {
    font-size: clamp(1.3rem, 6vw, 1.55rem);
    max-height: 150px;
  }

  .article-head h1 {
    font-size: clamp(1.5rem, 7.2vw, 2rem);
    max-height: 150px;
  }

  .signal-grid,
  .topic-grid,
  .dispatch-grid,
  .author-grid,
  .related-grid,
  .article-switch,
  .comment-row {
    grid-template-columns: 1fr;
  }

  .signal-card,
  .signal-card-lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .signal-card-lead .signal-card-link,
  .dispatch-card-featured {
    grid-template-columns: 1fr;
  }

  .signal-card-lead .signal-card-media,
  .dispatch-card-featured .dispatch-card-media,
  .stream-card-media,
  .related-card-media,
  .author-story-media {
    aspect-ratio: 4 / 2.8;
    min-height: 0;
  }

  .signal-card-body,
  .signal-card-lead .signal-card-body,
  .dispatch-card-body,
  .dispatch-card-featured .dispatch-card-body,
  .stream-card-body,
  .related-card-body,
  .author-story-body {
    padding: 18px;
  }

  .stream-card {
    grid-template-columns: 1fr;
  }

  .article-panel,
  .single-panel,
  .author-copy,
  .comment-shell,
  .related-shell {
    padding: 22px 18px;
  }

  .article-panel::before,
  .single-panel::before,
  .author-copy::before,
  .comment-shell::before,
  .related-shell::before {
    left: 18px;
  }

  .editor-profile-card,
  .author-box,
  .author-spotlight {
    grid-template-columns: 1fr;
  }

  .editor-avatar,
  .author-box-media img,
  .author-spotlight-media img {
    margin: 0 auto;
  }

  .article-meta-line {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .archive-timeline::before {
    left: 18px;
  }

  .archive-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 0 18px 38px;
  }

  .archive-row::before {
    left: 12px;
    top: 8px;
  }

  .pager-chip {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}


/* detail-mobile-tune-1761 */
.author-chip-label {
  color: inherit;
}

@media (max-width: 768px) {
  .detail-crumbs {
    display: none;
  }


}
