.capitol-song-history {
  background: var(--capitol-bg);
  color: #000;
}

.capitol-song-history__article {
  max-width: 1920px;
  margin: 0 auto;
}

.capitol-song-history__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 4.5vw, 86px);
  padding: 0 var(--capitol-primary-gutter);
}

.capitol-song-history__copy {
  padding: clamp(64px, 6vw, 104px) 0 clamp(54px, 5vw, 92px);
}

.capitol-song-history h1 {
  margin: 0 0 clamp(42px, 4vw, 70px);
  font-size: calc(clamp(42px, 3.2vw, 58px) * var(--capitol-font-scale));
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.capitol-song-history__content {
  font-size: calc(clamp(18px, 1.18vw, 23px) * var(--capitol-font-scale));
  font-weight: 500;
  line-height: 1.42;
}

.capitol-song-history__content h2 {
  margin: 0 0 26px;
  font-size: calc(clamp(24px, 1.65vw, 32px) * var(--capitol-font-scale));
  font-weight: 700;
  line-height: 1.2;
}

.capitol-song-history__content h4 {
  margin: 28px 0 0;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.35;
}

.capitol-song-history__content p { margin: 0 0 22px; }
.capitol-song-history__content > :last-child { margin-bottom: 0; }
.capitol-song-history__content strong { font-weight: 700; }
.capitol-song-history__content a {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  color: inherit;
  text-decoration: none;
}
.capitol-song-history__content a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 340ms cubic-bezier(.22, 1, .36, 1);
}
.capitol-song-history__content a:is(:hover, :focus-visible)::after { transform: scaleX(1); }

.capitol-song-history__funding {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #000;
  font-size: .78em;
  line-height: 1.42;
}

.capitol-song-history__funding figure {
  margin: 22px 0 24px;
}

.capitol-song-history__funding img {
  display: block;
  width: 100%;
  height: auto;
}

.capitol-song-history__funding em { font-style: italic; }

.capitol-song-history__image {
  min-width: 0;
  margin: 0 calc(-1 * var(--capitol-primary-gutter)) 0 0;
  align-self: start;
}

.capitol-song-history__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.capitol-song-history__gallery {
  padding: clamp(50px, 5vw, 84px) var(--capitol-primary-gutter) clamp(58px, 6vw, 96px);
}

.capitol-song-history__gallery h2 {
  font-size: calc(clamp(34px, 2.4vw, 46px) * var(--capitol-font-scale));
  font-weight: 700;
  text-transform: none;
}

body.a11y-contrast .capitol-song-history {
  background: #000;
  color: #fff;
}
body.a11y-contrast .capitol-song-history__funding img[src*="Belka-KPO2.png"] {
  content: url("/wp-content/uploads/2026/09/Belka-KPO.png");
}
body.a11y-contrast .capitol-song-history__funding { border-color: #fff; }
body.a11y-contrast .capitol-show__gallery-range::-webkit-slider-runnable-track,
body.a11y-contrast .capitol-show__gallery-range::-moz-range-track { background: #fff; }

@media (max-width: 1180px) {
  .capitol-song-history__hero { gap: 38px; }
  .capitol-song-history__content { font-size: calc(18px * var(--capitol-font-scale)); }
  .capitol-song-history__funding { font-size: .82em; }
}

@media (max-width: 820px) {
  .capitol-song-history__hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .capitol-song-history__copy { padding-bottom: 46px; }
  .capitol-song-history__image { margin: 0 calc(-1 * var(--capitol-primary-gutter)); }
  .capitol-song-history__image img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .capitol-song-history__gallery { margin-top: 0; }
}

@media (max-width: 540px) {
  .capitol-song-history h1 { margin-bottom: 30px; }
  .capitol-song-history__copy { padding-top: 42px; }
  .capitol-song-history__content h2 { margin-bottom: 20px; }
  .capitol-song-history__funding { margin-top: 26px; padding-top: 24px; }
  .capitol-song-history__gallery .capitol-show__gallery-open--video { width: min(420px, calc(100vw - 2 * var(--capitol-primary-gutter))); }
}
