.play-page {
  background: var(--paper);
}

.play-page .site-header {
  color: var(--ink);
  border-bottom-color: rgba(16, 42, 34, 0.2);
}

.play-page .site-header .button-dark {
  color: white;
  background: var(--ink);
}

.play-page .nav-social {
  border-left-color: rgba(16, 42, 34, 0.3);
}

.play-page.theme-dark .site-header {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.play-page.theme-dark .site-header .button-dark {
  color: var(--ink);
  background: var(--cream);
}

.play-page.theme-dark .nav-social {
  border-left-color: rgba(255, 255, 255, 0.35);
}

.play-page.theme-dark .subpage-number {
  color: rgba(255, 255, 255, 0.12);
}

.play-page.theme-dark .back-link {
  color: white;
}

.subpage-hero {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: 1.25fr 0.75fr;
  padding: 10rem 6vw 6rem;
  overflow: hidden;
  background: var(--page-color);
}

.subpage-hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 850px;
}

.subpage-hero h1 {
  margin-bottom: 1.8rem;
  color: var(--ink);
}

.subpage-hero h1 em {
  color: var(--page-accent);
}

.subpage-hero .hero-intro {
  color: var(--ink);
}

.subpage-number {
  position: absolute;
  top: 9rem;
  right: 6vw;
  color: rgba(16, 42, 34, 0.16);
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 18rem);
  line-height: 1;
}

.back-link {
  margin-bottom: 2.5rem;
}

.details-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: 10vw;
  background: var(--cream);
}

.details-section h2 {
  max-width: 650px;
}

.details-copy {
  align-self: center;
}

.details-copy .lead {
  margin-bottom: 2rem;
}

.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 3rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-list article {
  min-height: 190px;
  padding: 1.7rem;
  background: var(--paper);
}

.detail-list span {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-list h3 {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}

.detail-list p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.league-teams {
  background: var(--paper);
}

.league-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.league-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--ink);
}

.league-bolton {
  background: var(--lime);
}

.league-walkden {
  background: var(--sky);
}

.league-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.league-card h3 {
  max-width: 560px;
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.league-card p:not(.event-kicker) {
  max-width: 590px;
}

.league-card > a:not(.button) {
  align-self: flex-start;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 700;
}

.league-card > .button {
  align-self: flex-start;
}

.page-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  color: white;
  background: var(--green-deep);
}

.highlight-copy {
  padding: clamp(4rem, 8vw, 8rem) 7vw;
}

.highlight-copy h2 {
  max-width: 650px;
}

.highlight-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
}

.highlight-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
  color: var(--ink);
  background: var(--page-color);
}

.play-page.theme-dark .highlight-panel {
  color: white;
}

.play-page.theme-dark .highlight-panel ul {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.play-page.theme-dark .highlight-panel li {
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.play-page.theme-dark .highlight-action {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.play-page.theme-dark .highlight-action:hover,
.play-page.theme-dark .highlight-action:focus-visible {
  color: white;
  border-color: white;
}

.highlight-panel h3 {
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 500;
  line-height: 0.98;
}

.highlight-panel ul {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid rgba(16, 42, 34, 0.35);
}

.highlight-panel li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(16, 42, 34, 0.35);
  font-weight: 600;
}

.highlight-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 0.75rem;
  min-height: 3.25rem;
  margin-top: 2.25rem;
  padding: 0.8rem 1.5rem;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.highlight-action:hover,
.highlight-action:focus-visible {
  color: var(--ink);
  background: transparent;
  transform: translateY(-2px);
}

.highlight-action span {
  font-size: 1rem;
}

.coaching-gallery {
  background: var(--paper);
}

.coaching-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  min-height: 430px;
}

.coaching-photo {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  color: white;
  background: var(--green);
  border: 1px solid var(--ink);
}

.coaching-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.coaching-photo:nth-child(1) img {
  object-position: 50% 45%;
}

.coaching-photo:nth-child(2) img {
  object-position: 50% 55%;
}

.coaching-photo:hover img {
  transform: scale(1.025);
}

.coaching-instagram {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem;
  background: var(--green);
  border: 1px solid var(--ink);
  color: white;
}

.instagram-mark {
  display: grid;
  width: 4.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  margin-bottom: auto;
}

.instagram-mark svg {
  width: 48%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.coaching-instagram h3 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
}

.coaching-instagram p:last-child {
  margin-bottom: 1.5rem;
}

.coaching-instagram .eyebrow {
  color: var(--lime);
}

.coaching-instagram .text-link {
  color: white;
}

.other-ways {
  background: var(--paper);
}

.other-ways h2 {
  margin-bottom: 3rem;
}

.other-ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.other-way {
  min-height: 260px;
  padding: 2rem;
  border: 1px solid var(--ink);
  background: var(--cream);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.other-way:hover {
  background: var(--lime);
  transform: translateY(-5px);
}

.other-way span {
  display: block;
  margin-bottom: 5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.other-way strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

@media (max-width: 1000px) {
  .play-page .site-nav {
    color: white;
  }

  .subpage-hero {
    grid-template-columns: 1fr;
  }

  .details-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .league-grid {
    grid-template-columns: 1fr;
  }

  .coaching-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    min-height: 0;
  }

}

@media (max-width: 720px) {
  .subpage-hero {
    min-height: 700px;
    padding: 9rem 5vw 4rem;
  }

  .subpage-number {
    top: 8rem;
    right: 5vw;
  }

  .detail-list,
  .page-highlight,
  .other-ways-grid {
    grid-template-columns: 1fr;
  }

  .league-card {
    min-height: 480px;
  }

  .coaching-gallery-grid {
    grid-template-columns: 1fr;
  }

  .coaching-photo,
  .coaching-instagram {
    min-height: 360px;
  }

  .coaching-photo img {
    min-height: 360px;
  }

}
