.history-sections {
  width: min(1260px, calc(100% - 72px));
  margin: 24px auto 32px;
}
.history-sections ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.history-sections a {
  display: block;
  padding: 10px 14px;
  line-height: 22px;
  border: 1px solid #6b725f;
  border-radius: 8px;
  color: #f0f0e7;
  background: #252e23;
  font-size: 14px;
  text-decoration: none;
}
.history-sections a:hover { border-color: #f1c58a; }
.history-sections a[aria-current="page"] {
  color: #22271d;
  background: #f1c58a;
  border-color: #f1c58a;
  font-weight: 650;
}
.history-section-heading {
  padding: clamp(32px, 6vw, 72px) 0 1px;
}
.history-section-heading .time-intro {
  width: min(1260px, calc(100% - 72px));
  margin: 0 auto;
}
.history-section-heading h1 {
  max-width: 19ch;
  margin: 0;
  font: 400 clamp(36px, 6vw, 80px)/1.02 Georgia, serif;
  letter-spacing: -.04em;
}
.history-section-heading + .history-index {
  width: min(1260px, calc(100% - 72px));
}
.history-section-heading .time-intro .history-section-intro {
  color: #e2e7d7;
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
.history-memory-list, .history-memory {
  width: min(760px, calc(100% - 72px));
  margin: 0 auto;
  padding: 48px 0 64px;
}
.history-memory-card {
  display: block;
  padding: 24px;
  color: inherit;
  background: #fbf8ef;
  border: 1px solid #cfc6b2;
  border-radius: 12px;
  text-decoration: none;
}
.history-memory-card:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.history-memory-card h2 {
  font: 400 clamp(26px, 5vw, 40px)/1.1 Georgia, serif;
  margin: 8px 0 12px;
}
.history-memory-card p, .history-memory p { margin: 0 0 16px; }
.history-memory-card p:last-child { margin-bottom: 0; }
.history-memory time, .history-memory-card time { font-size: 14px; color: #5e6256; }
.history-memory p { font-size: 18px; line-height: 1.7; }
.history-memory .history-memory-attribution { font-size: 15px; margin-top: 28px; color: #4d5746; }
.history-memory-timeline { display: inline-block; margin-top: 10px; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .history-sections, .history-memory-list, .history-memory,
  .history-section-heading .time-intro, .history-section-heading + .history-index {
    width: calc(100% - 32px);
  }
  .history-sections { margin: 20px auto 24px; }
  .history-sections ul { gap: 4px; }
  .history-sections a { padding: 10px 8px; font-size: 13px; }
  .history-memory-list, .history-memory { padding: 32px 0 48px; }
  .history-memory-card { padding: 16px; }
  .history-memory p { font-size: 16px; }
}
