@import url("../19260808/styles.css");

:root {
  --ink: #12213a;
  --paper: #f4eadb;
  --paper-light: #fbf6ee;
  --accent: #b63a2d;
  --line-strong: rgba(18, 33, 58, .36);
}

.issue-masthead {
  background: linear-gradient(135deg, #10284b 0%, #17365b 58%, #b63a2d 100%);
}

.issue-masthead .masthead-meta {
  border-color: rgba(251, 246, 238, .56);
  color: #fbf6ee;
}

.issue-masthead .masthead-gregorian,
.issue-masthead .masthead-weekday,
.issue-masthead .masthead-lunar {
  color: #fbf6ee;
}

.issue-masthead .masthead-era {
  color: #f3b2a8;
}

.issue-directory {
  background: #fbf6ee;
  border-color: rgba(18, 33, 58, .28);
}

.issue-directory li span:first-child,
.story-meta {
  color: #a12f28;
  letter-spacing: .08em;
}

.issue-section {
  padding-block: clamp(2.6rem, 5vw, 5rem);
}

.issue-section--dark {
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.07), transparent 30%),
    linear-gradient(145deg, #0a203f, #132f54 60%, #1f456b);
}

.issue-section--paper {
  background:
    linear-gradient(90deg, rgba(178, 126, 75, .06) 1px, transparent 1px),
    var(--paper-light);
  background-size: 28px 28px;
}

.section-heading h2 {
  max-width: 20ch;
}

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

.story-card--lead {
  min-height: 100%;
}

.story-card--longform {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: stretch;
}

.story-card--longform .inline-story-image {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.story-card--ad {
  border-top: 4px solid #b63a2d;
}

.story-card--ad .story-meta {
  color: #a12f28;
}

.inline-story-image {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: saturate(.86) contrast(1.04);
  background: #d7cab9;
}

.story-card--lead .inline-story-image {
  height: 360px;
}

.story-card--major .inline-story-image {
  height: 300px;
}

.story-card__copy {
  padding: clamp(1.25rem, 2.6vw, 2.2rem);
}

.story-card__copy h3 {
  text-wrap: balance;
}

.source-desk {
  background: #e7dccb;
}

.source-desk__title p {
  max-width: 62ch;
}

@media (max-width: 900px) {
  .story-card--longform {
    grid-template-columns: 1fr;
  }

  .story-card--longform .inline-story-image {
    min-height: 240px;
    height: 280px;
  }
}

@media (max-width: 720px) {
  .story-grid--two {
    grid-template-columns: 1fr;
  }

  .story-card--lead .inline-story-image,
  .story-card--major .inline-story-image,
  .inline-story-image {
    height: auto;
    max-height: none;
  }

  .story-card--longform .inline-story-image {
    height: auto;
  }

  .issue-directory li {
    border-bottom: 1px dotted var(--line-strong);
  }
}
