.series-page {
  --rat-a: #3d630c;
  --rat-a-soft: #f0f5e8;
  --rat-a-glow: #c7ff35;
}

.series-page .art-hero {
  padding: clamp(100px, 9vw, 126px) 0 clamp(38px, 6vw, 72px);
}

.series-page .art-hero .container {
  display: grid;
  max-width: 1250px;
  gap: 24px;
}

.series-page .art-hero h1 {
  max-width: 22ch;
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.35vw, 3.8rem);
}

.series-page .art-hero .art-lede {
  max-width: 59ch;
  font-size: clamp(1.01rem, 1.6vw, 1.17rem);
}

.series-page .art-body {
  padding-top: clamp(26px, 5vw, 58px);
}

.series-hero-image {
  margin: 0;
}

.series-hero-image picture,
.series-hero-image img {
  display: block;
  width: 100%;
}

.series-hero-image img {
  aspect-ratio: 1200 / 710;
  object-fit: cover;
  height: auto;
  border-radius: 14px;
  background: #181818;
}

.series-hero-image figcaption,
.series-interior figcaption {
  margin: 10px 0 0;
  color: #525252;
  font-size: .85rem;
  line-height: 1.45;
}

.series-page .art-prose > p:first-of-type::first-letter {
  float: none;
  margin: 0;
  color: inherit;
  font: inherit;
}

.series-page .art-prose {
  overflow-wrap: anywhere;
}

.series-page .art-prose h2 {
  scroll-margin-top: 96px;
}

.series-table,
.series-page pre {
  max-width: 100%;
  margin: 20px 0 26px;
  border: 1px solid #d8dfd1;
  border-radius: 10px;
}

.series-table {
  overflow-x: auto;
}

.series-table:focus-visible {
  outline: 2px solid #3d630c;
  outline-offset: 3px;
}

.series-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  line-height: 1.5;
}

.series-table caption {
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  background: #e8f2dc;
}

.series-table th,
.series-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e6df;
  text-align: left;
  vertical-align: top;
}

.series-table thead th {
  background: #f3f5f1;
}

.series-table tr:last-child > * {
  border-bottom: 0;
}

.series-page pre {
  padding: 16px;
  white-space: pre-wrap;
  background: #f4f6f1;
}

.series-page pre code {
  display: block;
  padding: 0;
  white-space: inherit;
  background: none;
  line-height: 1.65;
}

.series-example {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid #62962b;
  border-radius: 0 10px 10px 0;
  background: #f2f6ed;
}

.series-example h3:first-child,
.series-example > :last-child {
  margin-top: 0;
}

.series-example > :last-child {
  margin-bottom: 0;
}

.series-related {
  margin: 42px 0 24px;
}

.series-related ul {
  padding-left: 20px;
}

.series-section .series-card {
  padding: 0;
  overflow: hidden;
}

.series-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #181818;
}

.series-card-inner {
  display: block;
  padding: 18px 20px 20px;
}

.series-card-inner .rg-card-kicker {
  color: #3d630c;
}

.series-section .rg-grid {
  align-items: stretch;
}

@media (min-width: 960px) {
  .series-page .art-hero .container {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    column-gap: clamp(32px, 5vw, 80px);
  }
}

@media (max-width: 540px) {
  .series-table table {
    font-size: .84rem;
  }

  .series-table th,
  .series-table td {
    padding: 9px;
  }
}

.series-page .series-interior img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  background: #171717;
}

.series-page .series-intro {
  margin-bottom: 26px;
}

.series-page .series-cta {
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid #d8dfd1;
  border-radius: 12px;
  background: #f0f5e8;
}

.series-page .series-cta p {
  margin: 0 0 14px;
}

@media (max-width: 540px) {
  .series-page .art-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }
}

.series-page .series-evidence img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 10px;
}

.series-page .series-evidence figcaption {
  margin-top: 10px;
  color: #525252;
  font-size: .86rem;
  line-height: 1.5;
}

.series-page .series-test-pair {
  display: grid;
  gap: 20px;
}

.series-page .series-test-pair figure {
  margin: 0 !important;
}

.series-page .series-test-pair img {
  width: 100%;
}

@media (min-width: 650px) {
  .series-page .series-test-pair {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
