:root {
  color-scheme: light;
  --font-sans:
    "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "YuGothic", "Meiryo", system-ui, sans-serif;
  --bg: #f6f1e8;
  --surface: #fffaf1;
  --surface-strong: #ffffff;
  --ink: #1d2721;
  --muted: #65706b;
  --line: #d8d0c2;
  --green: #184c3a;
  --green-soft: #dfe9df;
  --gold: #b7852d;
  --red: #9e3f35;
  --shadow: 0 18px 42px rgba(38, 50, 44, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "palt";
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  background: rgba(246, 241, 232, 0.92);
  border-bottom: 1px solid rgba(29, 39, 33, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 10px;
}

.brand-title,
.brand-subtitle {
  display: block;
}

.brand-title {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #33413b;
  font-size: 12px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: stretch;
  padding: clamp(34px, 5vw, 58px) clamp(20px, 5vw, 72px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.hero-inner {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 800;
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--green);
  color: #fff;
}

.button-secondary {
  border-color: var(--line);
  color: var(--green);
  background: #fff;
}

.hero-panel {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.84), rgba(255, 250, 241, 0.94)),
    url("https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?auto=format&fit=crop&w=900&q=80");
  background-position: center 42%;
  background-size: cover;
  box-shadow: var(--shadow);
}

.panel-label,
.card-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.hero-panel h2,
.hero-panel p {
  margin: 0;
}

.hero-panel h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.35;
}

.section {
  padding: 16px 14px;
}

.section-contrast {
  background: #ece5d8;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 10px;
}

.section-heading h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.24;
  font-weight: 800;
}

.section-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  text-wrap: pretty;
}

.intro {
  padding: 16px 14px 15px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.intro h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  text-wrap: balance;
}

.intro .eyebrow {
  max-width: 720px;
  margin-inline: auto;
}

.intro p:not(.eyebrow) {
  max-width: 720px;
  margin: 6px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.section-pickup {
  background: var(--bg);
}

.pickup-card {
  position: relative;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  max-width: 720px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  overflow: hidden;
  box-shadow: none;
}

.pickup-card img,
.story-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--green-soft);
}

.pickup-card img {
  height: 80px;
  min-height: 80px;
  margin: 10px 0 10px 10px;
  border-radius: 5px;
}

.pickup-card > div {
  min-width: 0;
  padding: 12px 14px 12px 0;
}

.pickup-card h3 {
  margin: 8px 0 4px;
  font-size: 15px;
  line-height: 1.38;
  text-wrap: balance;
}

.pickup-card h3 a,
.story-card h3 a {
  color: inherit;
  text-decoration: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.pickup-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.pickup-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-inline: auto;
}

.story-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  overflow: hidden;
}

.story-card[hidden] {
  display: none;
}

.story-card img {
  height: auto;
  aspect-ratio: auto;
  height: 74px;
}

.story-card-body {
  display: grid;
  gap: 7px;
  padding: 10px 10px 11px;
}

.story-card h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  text-wrap: balance;
}

.story-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.story-card p {
  display: none;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag-row span {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.28;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.theme-tools {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin-inline: auto;
}

.theme-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
}

.theme-row > span {
  color: var(--muted);
  font-size: 12px;
}

.theme-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  appearance: none;
  min-height: 24px;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--green);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.filter-status {
  max-width: 720px;
  margin: 9px auto 0;
  padding-left: 48px;
  color: var(--muted);
  font-size: 11px;
}

.random-strip {
  padding-top: 0;
  padding-bottom: 18px;
}

.random-compact {
  display: flex;
  justify-content: center;
  max-width: none;
  padding: 0;
}

.random-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #4f514d;
  color: #fff;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(38, 50, 44, 0.26);
  cursor: pointer;
}

.random-button:hover,
.random-button:focus-visible {
  background: var(--green);
}

.random-compact .random-card {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.random-compact .random-card h3 {
  margin: 0 0 4px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.4;
}

.random-compact .random-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.feature-story,
.ops-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.card {
  padding: 24px;
  min-height: 240px;
}

.card h3,
.ops-block h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.card p,
.ops-block p {
  color: var(--muted);
}

.card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.story-layout,
.story-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 20px;
  align-items: stretch;
}

.story-board {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  align-items: start;
}

.feature-story {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
}

.feature-story h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.22;
  font-weight: 800;
  text-wrap: balance;
}

.feature-story h3 a,
.article-item h3 a,
.random-card h3 a {
  color: inherit;
  text-decoration: none;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.feature-story h3 a::after,
.article-item h3 a::after,
.random-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.feature-story h3 a:focus-visible,
.article-item h3 a:focus-visible,
.random-card h3 a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.feature-story p {
  color: var(--muted);
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-item {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.article-item h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.35;
}

.article-item p {
  margin: 0;
  color: var(--muted);
}

.random-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: 20px;
  align-items: stretch;
}

.random-card {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.random-card h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.24;
  text-wrap: balance;
}

.random-card p {
  color: var(--muted);
}

.random-card .button {
  margin-top: 16px;
}

.random-actions {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.random-actions p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.meta-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.timeline-item p {
  margin: 0;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ops-block {
  padding: 24px;
}

.article-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px) clamp(20px, 5vw, 72px);
  box-sizing: border-box;
  width: 100%;
}

.article-hero-grid > * {
  min-width: 0;
}

.article-hero h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.14;
  font-weight: 800;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.article-title-part {
  display: inline;
}

.article-lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.9;
  text-wrap: pretty;
}

.article-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 40px) 8px;
}

.article-main h2 {
  margin: 42px 0 14px;
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.32;
  font-weight: 800;
  padding-left: 14px;
  border-left: 5px solid var(--gold);
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.article-main p {
  margin: 14px 0;
}

.article-photo {
  margin: 28px 0;
}

.article-photo img,
.article-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.article-hero-image img {
  aspect-ratio: 5 / 3.25;
  object-fit: cover;
}

.article-caption,
.credit-note {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.article-caption a,
.credit-note a {
  color: var(--green);
}

.point-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 30px;
}

.point-card {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--green);
  text-align: center;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.point-card-stacked {
  gap: 3px;
  align-content: center;
}

.point-card-stacked span {
  display: block;
}

.point-card-stacked span:last-child {
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.2;
}

.info-panel,
.voice-panel,
.dashboard,
.credits {
  margin: 26px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.info-panel h3,
.voice-panel h3,
.dashboard h3,
.credits h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
}

.dashboard h2,
.credits h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: 18px;
  line-height: 1.35;
}

.info-panel ul,
.credits ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.info-panel li,
.credits li {
  margin: 4px 0;
}

.info-panel li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.credits a,
.credits li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.voice-panel blockquote {
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.voice-panel p {
  color: var(--muted);
  font-size: 14px;
}

.pull {
  margin: 28px 0;
  padding: 16px 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  color: var(--green);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  text-align: center;
  text-wrap: balance;
}

.progeny-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.progeny-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.progeny-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.progeny-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.related-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover,
.related-card:focus-visible {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.related-card .related-horse {
  display: block;
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.related-card .related-reason {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 0.58fr);
  gap: 22px;
  align-items: center;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-strip div {
  padding: 14px 12px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.metric-strip div:last-child {
  border-right: 0;
}

.metric-strip strong {
  display: block;
  color: var(--green);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.1;
}

.metric-strip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.pie-chart {
  width: min(210px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 var(--turf), var(--gold) var(--turf) 100%);
  border: 10px solid var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.chart-legend {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  background: var(--green);
}

.legend-dot.dirt {
  background: var(--gold);
}

.bar-list {
  display: grid;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: 86px 1fr 40px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: var(--green-soft);
  overflow: hidden;
}

.bar-fill {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.dash-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.data-block {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  contain: layout paint;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  color: var(--green);
  font-size: 12px;
}

.data-table tbody th {
  color: var(--green);
  font-weight: 800;
  word-break: keep-all;
}

.type-list {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.type-list dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.type-list dl > div {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.type-list dt {
  color: var(--green);
  font-weight: 800;
  word-break: keep-all;
}

.type-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.credits {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.credits h2,
.credits h3 {
  font-size: 14px;
}

.back-link {
  display: inline-block;
  margin: 8px 0 0;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .site-nav a {
    padding: 8px 0;
    border-bottom: 1px solid rgba(29, 39, 33, 0.12);
  }

  .hero,
  .pickup-card,
  .story-grid,
  .article-hero-grid,
  .story-layout,
  .story-board,
  .random-layout,
  .random-compact {
    grid-template-columns: 1fr;
  }

  .pickup-card > div {
    padding: 0 16px 16px;
  }

  .article-hero h1 {
    font-size: 30px;
    word-break: normal;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }

  .article-title-part {
    display: block;
  }

  .article-lead {
    max-width: 19em;
    font-size: 15px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .article-main {
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
    padding-left: 0;
    padding-right: 0;
  }

  .card-grid.three,
  .point-cards,
  .metric-strip,
  .progeny-grid,
  .related-grid,
  .dashboard-grid,
    .ops-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .metric-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-strip div:last-child {
    border-bottom: 0;
  }

  .type-list dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
