* { box-sizing: border-box; }

:root {
  --paper: #0b2748;
  --page-surround: #061525;
  --ink: #f6f1e7;
  --headline: #ffffff;
  --blue: #4f78a7;
  --blue-light: #d6e5f5;
  --red: #c52b3a;
  --red-light: #ff7a86;
  --muted: #b9c7d6;
  --line: #d6e5f5;
  --line-soft: #6f88a4;
  --line-dark: #315477;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page-surround);
  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: 5px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

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

h1 {
  margin: 8px 0 2px;
  color: var(--headline);
  font-size: clamp(2.8rem, 6.7vw, 5.2rem);
  line-height: .92;
  letter-spacing: -.048em;
  font-weight: 700;
}

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

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

.publication-credit {
  color: var(--muted);
  font-style: italic;
}

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

.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(--blue-light);
  text-decoration: none;
}

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

.archive-intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
  margin-bottom: 1.2rem;
}

.archive-intro h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0.25rem 0;
}

.archive-intro p {
  margin: 0;
}

.archive-list {
  display: grid;
  gap: 1rem;
}

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

.archive-entry h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0;
}

.archive-entry p {
  margin: 0.3rem 0;
}

.archive-entry a {
  color: var(--blue-light);
  font-weight: 700;
}

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

.photo-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  height: 240px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, transparent 49.7%, rgba(214,229,245,.13) 50%, transparent 50.3%),
    linear-gradient(45deg, transparent 49.7%, rgba(197,43,58,.13) 50%, transparent 50.3%),
    #123b67;
  color: var(--blue-light);
  text-align: center;
  font: 700 .82rem/1.25 Arial, sans-serif;
  letter-spacing: .16em;
}

.photo-placeholder strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 1.05rem;
}

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

.front-photo img {
  display: block;
  width: 100%;
  height: clamp(260px, 30vw, 360px);
  object-fit: cover;
  object-position: 78% 52%;
  border: 1px solid var(--line);
}

.story-photo {
  margin: 0 0 10px;
}

.story-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}

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

.lead-grid,
.secondary-grid {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--line);
  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;
  color: var(--headline);
  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(--red-light);
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  font: 700 .65rem/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.story p {
  margin: 0 0 8px;
  color: var(--ink);
  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 var(--blue-light);
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.05);
  font: 700 .76rem/1 Arial, sans-serif;
}

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

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

.more-stories {
  padding-top: 10px;
  border-bottom: 2px 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-dark);
}

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

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

.publisher-mark {
  margin-top: 24px;
  padding: 28px 0 12px;
  border-top: 4px double var(--red);
  text-align: center;
  overflow: hidden;
}

.publisher-logo {
  display: block;
  width: min(290px, 48%);
  height: auto;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .kicker-row,
  .meta,
  .lead-grid,
  .secondary-grid,
  .balanced-story-columns {
    grid-template-columns: 1fr;
  }

  .photo-placeholder {
    height: clamp(180px, 48vw, 240px);
  }

  .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);
  }

  .publisher-logo {
    width: min(250px, 58%);
  }
}

@media (max-width: 520px) {
  .site-header,
  main {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .front-photo img {
    height: 210px;
  }

  .publisher-mark {
    margin-top: 20px;
    padding-top: 24px;
  }

  .publisher-logo {
    width: min(220px, 62%);
  }
}
