:root {
  --paper: #f1dfbd;
  --paper-deep: #e4c99a;
  --paper-light: #fbf0d4;
  --ink: #1e1812;
  --ink-soft: #4b3a2b;
  --muted: #705c43;
  --rule: #7e6348;
  --rule-soft: rgba(77, 52, 31, 0.28);
  --red: #9f221d;
  --red-dark: #761712;
  --shadow-ink: rgba(43, 26, 10, 0.15);
  --page-width: 1180px;
  --gutter: clamp(14px, 2vw, 26px);
  --serif: Georgia, "Times New Roman", Times, serif;
  --display: "Times New Roman", Georgia, serif;
  --utility: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: #211811;
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.5;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 246, 214, 0.42), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(126, 82, 42, 0.2), transparent 30%),
    linear-gradient(135deg, #3a281c, #15100b);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(43, 26, 10, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 26, 10, 0.05) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: multiply;
}

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

.newspaper-page {
  width: min(var(--page-width), calc(100% - 20px));
  margin: 10px auto;
  padding: clamp(16px, 3vw, 34px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.12), rgba(78, 49, 21, 0.06)),
    radial-gradient(circle at 20% 20%, rgba(255, 250, 222, 0.65), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(140, 88, 42, 0.18), transparent 24%),
    var(--paper);
  border: 1px solid #c9a36e;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.masthead {
  border-top: 3px double var(--ink);
  border-bottom: 3px double var(--ink);
  padding: 8px 0 10px;
}

.masthead__topline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  font-family: var(--utility);
  font-size: clamp(0.66rem, 1.5vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
}

.masthead__topline > :first-child {
  justify-self: start;
}

.masthead__topline > :nth-child(2) {
  justify-self: center;
}

.masthead__topline > :last-child {
  justify-self: end;
}

.edition-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--utility);
  font-size: clamp(0.66rem, 1.5vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
}

.masthead__main {
  display: grid;
  grid-template-columns: minmax(100px, 150px) 1fr minmax(100px, 150px);
  gap: var(--gutter);
  align-items: center;
  margin: 14px 0 12px;
}

.masthead__title-block {
  text-align: center;
}

.masthead h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 1px 1px 0 rgba(255, 247, 219, 0.65);
}

.masthead h1::first-line {
  color: var(--ink);
}

.masthead h1 span {
  color: var(--red);
}

.masthead__title-block p {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--utility);
  font-size: clamp(0.95rem, 2.2vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ai-credit,
.pixel-stamp {
  min-height: 108px;
  padding: 10px;
  border: 2px solid var(--rule);
  background: rgba(255, 244, 211, 0.48);
  text-align: center;
  overflow-wrap: anywhere;
}

.ai-credit span,
.ai-credit em,
.pixel-stamp span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.ai-credit strong,
.pixel-stamp strong {
  display: block;
  margin: 6px 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.05;
}

.ai-credit em {
  color: var(--red);
  font-family: var(--utility);
  font-style: normal;
  font-weight: 700;
}

.pixel-stamp {
  border-radius: 50% 50% 10px 10px / 22% 22% 10px 10px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pixel-stamp:hover,
.pixel-stamp:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 240, 200, 0.68);
  box-shadow: 0 6px 16px var(--shadow-ink);
}

.pixel-stamp:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.pixel-info-pulse {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--red);
  color: var(--paper-light);
  box-shadow: 0 0 0 0 rgba(159, 34, 29, 0.45);
  animation: pixelPulse 2.6s infinite;
  line-height: 1;
}

@keyframes pixelPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(159, 34, 29, 0.45);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(159, 34, 29, 0);
    transform: scale(1.06);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(159, 34, 29, 0);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pixel-info-pulse {
    animation: none;
  }
}

.pixel-stamp__avatar {
  width: 52px;
  height: 52px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--paper-light);
  background: var(--ink);
  font-family: var(--utility);
  font-weight: 900;
  overflow: hidden;
  transition: background 0.3s ease;
}

/* Si un visuel est présent, on bascule sur un fond papier clair pour l'intégration de l'encre */
.pixel-stamp__avatar:has(img) {
  background: var(--paper-light);
}

.pixel-stamp__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Intégration subtile sur papier journal rétro (effet impression encre physique) */
  filter: sepia(0.12) contrast(1.08) brightness(0.97);
  mix-blend-mode: multiply;
}

.edition-meta {
  padding-top: 8px;
  border-top: 1px solid var(--ink);
}

.edition-meta time {
  color: var(--red);
}

.edition-archives {
  display: grid;
  grid-template-columns: minmax(88px, auto) 1fr minmax(88px, auto);
  gap: 10px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--utility);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.edition-archives a,
.detail-link {
  color: var(--red-dark);
  text-decoration: none;
}

.edition-archives a {
  border-bottom: 2px solid transparent;
}

.edition-archives a:hover,
.edition-archives a:focus-visible,
.edition-archives a[aria-current="page"] {
  border-bottom-color: var(--red);
}

.edition-archives a[aria-disabled="true"] {
  color: var(--muted);
  pointer-events: none;
  opacity: 0.52;
}

.edition-archives__select {
  font-family: var(--utility);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  background-color: rgba(255, 250, 227, 0.5);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  padding: 4px 8px;
  width: min(100%, 420px);
  max-width: 420px;
  justify-self: center;
  cursor: pointer;
}

.edition-archives__select:focus {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.85fr) minmax(200px, 0.95fr);
  gap: var(--gutter);
  margin-top: 18px;
}

.side-column {
  display: grid;
  align-content: start;
  gap: 16px;
}

.section-label {
  width: max-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 3px 8px;
  color: var(--paper-light);
  background: var(--red);
  border: 1px solid var(--red-dark);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.editorial-card,
.daily-number,
.pixel-note,
.notebook-card,
.quote-block {
  border: 1px solid var(--rule-soft);
  background: rgba(255, 246, 218, 0.48);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.editorial-card,
.daily-number,
.pixel-note {
  padding: 14px;
}

.editorial-card h2,
.pixel-note h2 {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 2.2vw, 1.42rem);
  line-height: 1.05;
}

.editorial-card p,
.pixel-note p {
  margin: 0 0 10px;
}

.editorial-card p:empty,
.hero-story__body p:empty {
  display: none;
}

.detail-link {
  display: inline-block;
  margin-top: 4px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid var(--red);
  background: transparent;
  font-family: var(--utility);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
  cursor: pointer;
}

.detail-link:hover,
.detail-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.detail-link--center {
  margin-top: 10px;
}

.detail-link--inline {
  margin-top: 7px;
}

.signature {
  color: var(--red);
  font-family: var(--utility);
  font-weight: 700;
  text-align: right;
}

.daily-number strong {
  display: block;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(3.5rem, 9vw, 5.8rem);
  line-height: 0.9;
}

.daily-number span {
  display: block;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 700;
}

.hero-story {
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--rule-soft);
  background:
    linear-gradient(rgba(255, 250, 227, 0.82), rgba(244, 222, 181, 0.58)),
    var(--paper-light);
  box-shadow: 0 7px 22px var(--shadow-ink);
}

.hero-story__stamp {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 16px auto;
  padding: 6px 14px;
  color: var(--red);
  background: transparent;
  border: 2px double var(--red);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: rotate(-1deg);
  box-shadow: 2px 2px 0 rgba(199, 45, 59, 0.15);
}

.hero-story h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  line-height: 0.91;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-story h2::after {
  content: "";
  display: block;
  width: min(260px, 60%);
  height: 5px;
  margin: 14px auto 0;
  background: var(--red);
}

.hero-story__dek {
  max-width: 700px;
  margin: 18px auto;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.hero-story__media {
  margin: 18px auto;
  max-width: 620px;
  border: 1px solid var(--rule-soft);
  background: #dcc08d;
}

.hero-story__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 26%;
  filter: sepia(0.08) contrast(0.98);
}

.hero-story__media figcaption {
  padding: 7px 10px;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 0.72rem;
}

.hero-story__body {
  column-count: 2;
  column-gap: 28px;
  color: var(--ink);
  font-size: 1rem;
}

.hero-story__body p {
  margin: 0 0 12px;
}

.brief-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-soft);
}

.brief-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.brief-list strong,
.brief-list span {
  display: block;
}

.brief-list strong {
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.brief-list span {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.notebook-card {
  padding: 16px 16px 18px;
  background:
    linear-gradient(90deg, rgba(128, 31, 23, 0.15) 1px, transparent 1px) 30px 0 / 100% 100%,
    repeating-linear-gradient(0deg, rgba(94, 64, 39, 0.15), rgba(94, 64, 39, 0.15) 1px, transparent 1px, transparent 28px),
    rgba(255, 246, 218, 0.58);
}

.notebook-card ul {
  margin: 0 0 14px;
  padding: 0 0 0 22px;
}

.notebook-card li {
  margin: 8px 0;
}

.notebook-card li::marker {
  color: var(--red);
  content: "✓ ";
  font-weight: 900;
}

.notebook-card strong {
  color: var(--red);
  font-family: var(--utility);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
  gap: var(--gutter);
  margin-top: var(--gutter);
  padding-top: var(--gutter);
  border-top: 2px solid var(--ink);
}

.editorial-card--wide {
  min-width: 0;
}

.brief-list--articles li {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 12px;
}

.brief-list--compact {
  list-style: disc;
  padding-left: 18px;
}

.brief-list--compact li {
  border-bottom: 0;
  padding-bottom: 4px;
}

.quote-block {
  margin: 0;
  padding: 18px;
  text-align: center;
}

.quote-block p {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.25;
}

.quote-block p::before,
.quote-block p::after {
  color: var(--red);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0;
}

.quote-block p::before {
  content: "“";
}

.quote-block p::after {
  content: "”";
}

.quote-block cite {
  color: var(--ink-soft);
  font-family: var(--utility);
  font-size: 0.75rem;
}

.newspaper-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 10px;
  border-top: 3px double var(--ink);
  color: var(--ink);
  font-family: var(--utility);
  font-size: clamp(0.72rem, 1.6vw, 0.9rem);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.newspaper-footer p {
  margin: 0;
}

.has-open-modal {
  overflow: hidden;
}

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

.detail-modal {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 17, 10, 0.66);
}

.detail-modal__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: clamp(18px, 3vw, 30px);
  border: 3px double var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 250, 222, 0.78), transparent 30%),
    var(--paper-light);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.detail-modal__panel h2 {
  margin: 0 34px 14px 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.detail-modal__content p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.05rem;
}

.detail-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  color: var(--paper-light);
  background: var(--ink);
  font-family: var(--utility);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

/* Pixel Info Modal */
.pixel-modal[hidden] {
  display: none;
}

.pixel-modal {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.pixel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 17, 10, 0.72);
  backdrop-filter: blur(2px);
}

.pixel-modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(85vh, 800px);
  overflow-y: auto;
  padding: clamp(18px, 4vw, 36px);
  border: 3px double var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 250, 222, 0.78), transparent 30%),
    var(--paper-light);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
  font-family: var(--serif);
}

.pixel-modal__panel h2 {
  margin: 0 34px 18px 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 5.5vw, 3rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
}

.pixel-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  color: var(--paper-light);
  background: var(--ink);
  font-family: var(--utility);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pixel-modal__close:hover,
.pixel-modal__close:focus-visible {
  background: var(--red);
  color: var(--paper-light);
  border-color: var(--red);
}

.pixel-modal__content h3 {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  text-transform: uppercase;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  color: var(--ink);
}

.pixel-modal__content p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.45;
}

.pixel-modal__content ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.pixel-modal__content li {
  margin-bottom: 6px;
  font-size: 1.02rem;
  line-height: 1.45;
}

.pixel-modal__divider {
  border: none;
  border-top: 1px dashed var(--rule);
  margin: 20px 0;
}

.pixel-modal__footer {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  text-align: center;
  font-family: var(--utility);
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--muted);
  text-transform: uppercase;
}


@media (max-width: 920px) {
  .layout-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .masthead__main {
    grid-template-columns: minmax(80px, 120px) 1fr minmax(80px, 120px);
    gap: 8px;
    margin: 8px 0;
  }

  .ai-credit,
  .pixel-stamp {
    min-height: 0;
  }

  .side-column--left {
    order: 2;
  }

  .hero-story {
    order: 1;
  }

  .side-column--right {
    order: 3;
  }

  .hero-story__body {
    column-count: 1;
  }
}

@media (max-width: 640px) {
  .newspaper-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 14px;
    border-left: 0;
    border-right: 0;
  }

  .newspaper-footer {
    display: grid;
    justify-content: stretch;
    text-align: center;
  }

  .masthead__topline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 4px;
    font-size: clamp(0.42rem, 1.8vw, 0.52rem);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--rule-soft);
    width: 100%;
  }

  .masthead__topline > :first-child {
    justify-self: start;
  }

  .masthead__topline > :nth-child(2) {
    justify-self: center;
  }

  .masthead__topline > :last-child {
    justify-self: end;
  }

  .masthead {
    padding: 4px 0 6px;
  }

  .masthead__main {
    display: grid;
    grid-template-columns: 75px 1fr 75px;
    align-items: center;
    gap: 6px;
    margin: 6px 0;
  }

  .masthead h1 {
    max-width: 100%;
    font-size: clamp(1.2rem, 5.2vw, 1.75rem);
    line-height: 0.85;
    overflow-wrap: anywhere;
    margin: 0;
  }

  .masthead h1 span {
    display: inline;
  }

  .masthead__title-block p {
    display: block;
    padding-inline: 2px;
    font-size: clamp(0.5rem, 2vw, 0.62rem);
    margin: 2px 0 0;
    line-height: 1.1;
  }

  /* AI credit ultra compact side encart on mobile */
  .ai-credit {
    width: 100%;
    min-height: 0;
    padding: 4px 2px;
    border: 1px dashed var(--rule);
    background: transparent;
    text-align: center;
    display: block;
    overflow: hidden;
  }

  .ai-credit span {
    display: block;
    font-size: 0.45rem;
    color: var(--ink-soft);
    text-transform: uppercase;
  }

  .ai-credit strong {
    display: block;
    font-size: 0.52rem;
    margin: 2px 0;
    line-height: 1.1;
    color: var(--ink);
  }

  .ai-credit em {
    display: none; /* Hide long description entirely on mobile */
  }

  /* Pixel badge stamp ultra compact side encart on mobile */
  .pixel-stamp {
    width: 100%;
    min-height: 0;
    padding: 4px 2px;
    border: 1px dashed var(--rule);
    background: transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    overflow: visible; /* Prevent badge pulse shadow clipping */
    border-radius: 0; /* Keep neat rectangular newspaper box symmetry */
  }

  .pixel-info-pulse {
    top: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    font-size: 0.45rem;
  }

  .pixel-stamp__avatar {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border: 1px solid var(--ink);
  }

  .pixel-stamp strong {
    display: block;
    font-size: 0.52rem;
    margin: 0;
    line-height: 1.1;
  }

  .pixel-stamp span {
    display: none; /* Hide subtitle completely on mobile */
  }

  /* Edition meta horizontal rows on mobile */
  .edition-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px 6px;
    font-size: 0.58rem;
    padding: 4px 0;
    margin: 4px 0 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    text-align: center;
  }

  .edition-meta time {
    width: 100%;
    text-align: center;
    margin-bottom: 1px;
  }

  .edition-meta [data-edition-title] {
    font-weight: bold;
    color: var(--ink);
  }

  .edition-meta [data-edition-title]::before {
    content: "";
  }

  .edition-meta span:last-child::before {
    content: " · ";
    font-weight: bold;
  }

  /* Horizontal scroll navigation archives on mobile */
  .edition-archives {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
    margin-top: 4px;
    font-size: 0.62rem;
  }

  .edition-archives__select {
    width: 100%;
    max-width: 100%;
  }

  .edition-archives__list {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 6px;
    max-width: 60%;
    flex-wrap: nowrap;
    padding: 2px 0;
  }

  .edition-archives__list::-webkit-scrollbar {
    display: none;
  }

  .edition-archives a {
    flex-shrink: 0;
  }

  .hero-story {
    padding: 14px;
  }

  .hero-story h2 {
    max-width: none;
    font-size: clamp(1.42rem, 6.8vw, 1.65rem);
  }

  .hero-story__media img {
    aspect-ratio: 4 / 3;
  }

  .brief-list--articles li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media print {
  html,
  body {
    background: var(--paper);
  }

  .newspaper-page {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }
}
