* { box-sizing: border-box; }

:root {
  --paper: #f6eee9;
  --ink: #22191b;
  --muted: #7a6a6d;
  --line: #7d3f50;
  --line-soft: #b68f99;
  --primary: #c24f72;
  --primary-dark: #9d3756;
  --accent: #e5a7b8;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ddd4d1;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.site-header, main {
  width: min(960px, calc(100% - 28px));
  margin: 0 auto;
  background: var(--paper);
}

.site-header {
  padding: 14px 18px 0;
  text-align: center;
}

.rule {
  height: 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rule-top {
  height: 5px;
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid var(--accent);
}

.kicker-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 0 4px;
  color: var(--primary-dark);
  font: 700 .63rem/1.2 Arial, sans-serif;
  letter-spacing: .14em;
}

h1 {
  margin: 8px 0 2px;
  color: var(--primary-dark);
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .9;
  letter-spacing: -.05em;
  font-weight: 700;
}

.tagline {
  margin: 8px 0;
  color: var(--primary);
  font-size: clamp(1.02rem, 1.52vw, 1.22rem);
  font-style: italic;
  font-weight: 600;
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 7px 2px;
  border-top: 1px solid var(--line);
  font: 600 .76rem/1.2 Arial, sans-serif;
}

.meta span:first-child,
.meta span:nth-child(2) { color: var(--primary-dark); }
.publication-credit { color: var(--muted); font-style: italic; }

main { padding: 12px 18px 22px; }

.lead-photo {
  margin: 0 0 14px;
}

.lead-photo img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 56%;
}

.lead-photo figcaption {
  margin-top: 5px;
  color: var(--muted);
  font: .72rem/1.35 Arial, sans-serif;
}

.lead-photo figcaption a {
  color: var(--primary-dark);
}

.edition-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 10px;
  border-bottom: 1px solid var(--line-soft);
  font: 700 .72rem/1.2 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.edition-nav-home { justify-content: flex-end; }

.edition-nav a {
  color: var(--primary-dark);
  text-decoration: none;
}

.edition-nav a:hover,
.edition-nav a:focus-visible { text-decoration: underline; }

.archive-intro {
  max-width: 690px;
  margin: 0 auto;
  padding: 28px 14px 20px;
  text-align: center;
}

.archive-intro h2 {
  margin: 4px 0 10px;
  color: var(--primary-dark);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.archive-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.archive-list {
  max-width: 690px;
  margin: 0 auto;
  padding: 0 14px 26px;
}

.archive-entry {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.archive-entry h3 {
  margin: 0 0 7px;
  font-size: 1.4rem;
  line-height: 1.08;
}

.archive-entry p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .92rem;
}

.archive-entry a {
  color: var(--primary-dark);
  font: 700 .8rem/1.2 Arial, sans-serif;
}

.lead-grid, .secondary-grid {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.lead-grid { grid-template-columns: 1fr 1fr; }
.secondary-grid { grid-template-columns: repeat(2, 1fr); }

.story {
  min-width: 0;
  padding: 10px 14px 14px;
  border-right: 1px solid var(--line-soft);
}

.story:last-child { border-right: 0; }

.story h2 {
  margin: 0 0 9px;
  font-size: clamp(1.12rem, 1.55vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}

.secondary-grid .story h2 {
  font-size: clamp(.98rem, 1.25vw, 1.2rem);
  text-align: center;
}

.story-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 5px;
  color: var(--primary-dark);
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  font: 700 .65rem/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.story p {
  margin: 0 0 8px;
  font-size: .94rem;
  line-height: 1.32;
}

.source-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.source-link {
  display: inline-block;
  margin-top: 4px;
  padding: 5px 8px;
  border: 1px solid #c7afb4;
  border-radius: 3px;
  color: var(--primary-dark);
  text-decoration: none;
  background: rgba(255,255,255,.18);
  font: 700 .76rem/1 Arial, sans-serif;
}

.source-link:hover, .source-link:focus-visible {
  color: #fff;
  background: var(--primary-dark);
}

.source-name { color: var(--muted); font: .76rem Arial, sans-serif; }

.more-stories {
  padding-top: 10px;
  border-bottom: 1px solid var(--line);
}

.balanced-story-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.balanced-story-column {
  min-width: 0;
  border-right: 1px solid var(--line-soft);
}

.balanced-story-column:last-child { border-right: 0; }

.balanced-story-column .story {
  border-right: 0;
  border-bottom: 1px solid var(--line-soft);
}

.balanced-story-column .story:last-child { border-bottom: 0; }

.more-stories .story h2 { font-size: clamp(1rem, 1.28vw, 1.22rem); }

.publisher-mark {
  padding: 24px 0 10px;
  text-align: center;
}

.publisher-logo {
  display: block;
  width: min(480px, 80%);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.08));
}

@media (max-width: 820px) {
  .lead-photo img { height: clamp(190px, 54vw, 260px); }

  .kicker-row, .meta,
  .lead-grid, .secondary-grid,
  .balanced-story-columns { grid-template-columns: 1fr; }

  .story {
    padding: 10px 3px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .secondary-grid .story h2 { text-align: left; }
  .balanced-story-column { border-right: 0; }
  .balanced-story-column:not(:last-child) .story:last-child { border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 520px) {
  .site-header, main { width: 100%; }
  .site-header, main { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: clamp(2.35rem, 13vw, 4.2rem); }
}
