.poker-page {
  overflow: hidden;
}

.poker-page .caption {
  margin: 0;
}

.poker-hero {
  position: relative;
  min-height: 35rem;
  isolation: isolate;
  background: var(--color-midnight);
  color: var(--color-porcelain);
}

.poker-hero__image,
.poker-hero__image::after {
  position: absolute;
  inset: 0;
}

.poker-hero__image {
  z-index: -1;
}

.poker-hero__image::after {
  background: linear-gradient(90deg, rgb(16 45 59 / 92%) 0%, rgb(16 45 59 / 78%) 43%, rgb(16 45 59 / 26%) 75%, rgb(16 45 59 / 42%) 100%);
  content: "";
}

.poker-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poker-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 2fr) minmax(14.375rem, 3fr);
  min-height: 35rem;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-8);
}

.poker-hero__copy,
.poker-hero__rail,
.poker-room__intro,
.poker-table-plan,
.poker-room__annotations,
.poker-interpret__article,
.poker-interpret__rail,
.poker-rhythm__media,
.poker-rhythm__copy,
.poker-rhythm__rail,
.poker-cues__media,
.poker-cues__copy,
.poker-cues__rail,
.poker-guidance__article,
.poker-guidance__scope {
  min-width: 0;
}

.poker-hero__copy {
  grid-column: 1;
  max-width: 58ch;
}

.poker-hero .display-title {
  color: var(--color-porcelain);
  font-size: clamp(3rem, 6vw, 4rem);
}

.poker-hero__standfirst {
  margin-bottom: 0;
  color: var(--color-pale-steel);
  font-size: var(--text-standfirst);
  line-height: 1.45;
}

.poker-hero__scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
  border-top: 1px solid rgb(220 232 236 / 45%);
  padding-top: var(--space-3);
  color: var(--color-porcelain);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.poker-hero__scope span {
  position: relative;
  min-width: 0;
  padding-left: var(--space-3);
}

.poker-hero__scope span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  transform: translateY(-50%);
  border: 1px solid var(--color-marine-teal);
  border-radius: 50%;
  content: "";
}

.poker-hero__rail {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-self: stretch;
  justify-content: center;
  border-left: 1px solid rgb(220 232 236 / 55%);
  padding-left: var(--space-5);
}

.poker-hero__rail > * {
  min-width: 0;
  margin: 0;
}

.poker-hero__caution {
  max-width: 32ch;
  border-top: 3px solid var(--color-coral);
  padding-top: var(--space-3);
  color: var(--color-porcelain);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.poker-hero__rail .caption {
  max-width: 31ch;
  color: var(--color-pale-steel);
}

.poker-section-header {
  max-width: 46rem;
}

.poker-room__grid {
  display: grid;
  grid-template-columns: minmax(13.75rem, 4fr) minmax(22.5rem, 5fr) minmax(13.75rem, 3fr);
  align-items: start;
  gap: var(--space-5);
}

.poker-room__intro {
  grid-column: 1;
  max-width: 55ch;
}

.poker-room__schedule {
  margin-top: var(--space-6);
  border-top: var(--border-subtle);
  padding-top: var(--space-4);
}

.poker-table-plan {
  grid-column: 2;
  width: 100%;
  margin: 0;
}

.poker-table-plan__field {
  position: relative;
  min-height: 23rem;
  overflow: hidden;
  border: 1px solid var(--color-marine-teal);
  background-color: rgb(245 247 246 / 44%);
  background-image: linear-gradient(rgb(8 127 135 / 9%) 1px, transparent 1px), linear-gradient(90deg, rgb(8 127 135 / 9%) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
}

.poker-table-plan__field::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  height: 49%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--color-midnight);
  border-radius: 50%;
  background: var(--color-deep-teal);
  box-shadow: inset 0 0 0 1rem rgb(245 247 246 / 18%);
  content: "";
}

.poker-table-plan__field span {
  position: absolute;
  z-index: 1;
  min-width: 0;
  color: var(--color-midnight);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.poker-table-plan__seat {
  padding: 0.28rem 0.38rem;
  border: 1px solid var(--color-midnight);
  background: var(--color-paper);
}

.poker-table-plan__seat--one { top: 9%; left: 43%; }
.poker-table-plan__seat--two { top: 28%; left: 7%; }
.poker-table-plan__seat--three { top: 67%; left: 12%; }
.poker-table-plan__seat--four { top: 70%; right: 11%; }
.poker-table-plan__seat--five { top: 27%; right: 7%; }
.poker-table-plan__felt { top: 46%; left: 50%; transform: translate(-50%, -50%); color: var(--color-porcelain) !important; }
.poker-table-plan__dealer { bottom: 8%; left: 42%; color: var(--color-porcelain) !important; }
.poker-table-plan__rail { right: 8%; bottom: 12%; transform: rotate(-22deg); color: var(--color-porcelain) !important; }

.poker-table-plan figcaption {
  padding-top: var(--space-3);
}

.poker-room__annotations {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-left: 1px solid var(--color-line-steel);
  padding-left: var(--space-4);
}

.poker-room__annotations > div {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: var(--space-2);
}

.poker-room__annotations span {
  color: var(--color-marine-teal);
  font-size: var(--text-label);
  font-weight: 700;
}

.poker-room__annotations p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.poker-interpret__grid,
.poker-guidance__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 2fr) minmax(14.375rem, 3fr);
  gap: var(--space-5);
}

.poker-interpret__article,
.poker-guidance__article {
  grid-column: 1;
  width: 100%;
  max-width: 47.5rem;
}

.poker-interpret__article h3,
.poker-guidance__article h3 {
  margin-top: var(--space-6);
}

.poker-interpret__definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}

.poker-interpret__definitions > div {
  min-width: 0;
  border-top: 2px solid var(--color-marine-teal);
  padding-top: var(--space-3);
}

.poker-interpret__definitions p,
.poker-interpret__definitions h3 {
  margin-bottom: 0;
}

.poker-interpret__definitions h3 {
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.poker-interpret__inset {
  margin-top: var(--space-6);
  border-top: var(--border-subtle);
  background: var(--color-paper);
  padding: var(--space-5);
}

.poker-interpret__inset > :last-child {
  margin-bottom: 0;
}

.poker-interpret__rail {
  grid-column: 3;
  align-self: start;
  border-left: 2px solid var(--color-marine-teal);
  padding-left: var(--space-4);
}

.poker-interpret__rail p {
  max-width: 34ch;
}

.poker-rhythm__grid,
.poker-cues__grid {
  display: grid;
  grid-template-columns: minmax(22.5rem, 5fr) minmax(0, 4fr) minmax(13.75rem, 3fr);
  align-items: start;
  gap: var(--space-5);
}

.poker-rhythm__media,
.poker-cues__media {
  grid-column: 1;
  width: 100%;
  margin: 0;
}

.poker-rhythm__media .media-frame {
  aspect-ratio: 4 / 3;
}

.poker-cues__media .media-frame {
  aspect-ratio: 3 / 2;
}

.poker-rhythm__media figcaption,
.poker-cues__media figcaption {
  padding-top: var(--space-3);
}

.poker-rhythm__copy,
.poker-cues__copy {
  grid-column: 2;
  max-width: 52ch;
}

.poker-rhythm__copy h3 + p,
.poker-cues__copy h3 + p {
  margin-bottom: var(--space-6);
}

.poker-rhythm__rail,
.poker-cues__rail {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-left: 1px solid var(--color-line-steel);
  padding-left: var(--space-4);
}

.poker-rhythm__rail > *,
.poker-cues__rail > * {
  min-width: 0;
  margin: 0;
}

.poker-rhythm__rail > div {
  border-top: 1px solid var(--color-line-steel);
  padding-top: var(--space-3);
}

.poker-rhythm__rail p {
  margin: var(--space-2) 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.poker-checklist__intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 2fr) minmax(12rem, 3fr);
  align-items: start;
  gap: var(--space-5);
}

.poker-checklist__intro > div {
  grid-column: 1;
  width: 100%;
  max-width: 47.5rem;
}

.poker-checklist__marker {
  grid-column: 3;
  margin: 0;
  border-left: 2px solid var(--color-marine-teal);
  padding-left: var(--space-4);
  color: var(--color-slate);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.poker-checklist__marker strong {
  color: var(--color-midnight);
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 0;
  line-height: 0.9;
}

.poker-checklist__panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.poker-checklist__panels > details {
  min-width: 0;
  margin: 0;
  border-top: 2px solid var(--color-marine-teal);
  border-bottom: 1px solid var(--color-line-steel);
}

.poker-checklist__panels summary {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: var(--space-2);
  align-items: center;
  min-height: 4rem;
  padding: var(--space-3) 0;
}

.poker-checklist__panels summary span {
  color: var(--color-marine-teal);
  font-size: var(--text-label);
  letter-spacing: 0.08em;
}

.poker-checklist__body {
  padding: 0 0 var(--space-5);
}

.poker-checklist__body h3,
.poker-checklist__body p {
  margin-bottom: 0;
}

.poker-checklist__body h3 {
  margin-bottom: var(--space-2);
}

.poker-checklist__body--caution {
  border-top: 3px solid var(--color-coral);
  padding-top: var(--space-3);
}

.poker-checklist__fallback {
  max-width: 75ch;
  margin: var(--space-6) 0 0;
  border-left: 2px solid var(--color-marine-teal);
  padding-left: var(--space-4);
}

.poker-cues .eyebrow,
.poker-cues .technical-label,
.poker-cues .caption {
  color: var(--color-pale-steel);
}

.poker-cues__rail {
  border-left-color: rgb(220 232 236 / 46%);
}

.poker-cues__rail ol {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  padding-left: 1.25rem;
}

.poker-cues__rail li {
  min-width: 0;
  padding-left: var(--space-1);
}

.poker-cues__rail li strong,
.poker-cues__rail li span {
  display: block;
}

.poker-cues__rail li span {
  color: var(--color-pale-steel);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.poker-cues__note {
  border-top: 3px solid var(--color-coral);
  padding-top: var(--space-3);
}

.poker-cues__note p {
  margin: var(--space-2) 0 0;
  color: var(--color-pale-steel);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.poker-variation__header {
  width: 100%;
  max-width: 47.5rem;
  margin-inline: auto;
  text-align: center;
}

.poker-variation__header .eyebrow {
  justify-content: center;
}

.poker-variation__rows {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-6);
  border-top: 1px solid var(--color-line-steel);
}

.poker-variation__rows article {
  display: grid;
  grid-template-columns: minmax(11.875rem, 3fr) minmax(0, 6fr) minmax(12.5rem, 3fr);
  gap: var(--space-5);
  align-items: start;
  min-width: 0;
  border-bottom: 1px solid var(--color-line-steel);
  padding-block: var(--space-5);
}

.poker-variation__rows h3,
.poker-variation__rows p {
  min-width: 0;
  margin: 0;
}

.poker-variation__rows h3 {
  grid-column: 1;
}

.poker-variation__rows article > p:not(.poker-variation__verify) {
  grid-column: 2;
  max-width: 70ch;
}

.poker-variation__verify {
  grid-column: 3;
  border-left: 2px solid var(--color-marine-teal);
  padding-left: var(--space-3);
  font-size: 0.875rem;
  line-height: 1.45;
}

.poker-guidance__scope {
  grid-column: 3;
  align-self: start;
  background: var(--color-midnight);
  color: var(--color-porcelain);
  padding: var(--space-5);
}

.poker-guidance__scope .technical-label {
  color: var(--color-pale-steel);
}

.poker-guidance__scope p:last-child {
  max-width: 36ch;
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.poker-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.poker-related__lead,
.poker-related__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  border: var(--border-subtle);
  background: var(--color-paper);
  padding: var(--space-5);
  color: var(--color-ink);
  text-decoration: none;
}

.poker-related__lead {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: center;
  border-top: 3px solid var(--color-marine-teal);
}

.poker-related__card {
  grid-column: span 1;
}

.poker-related__card--steel {
  background: rgb(245 247 246 / 64%);
}

.poker-related__lead > *,
.poker-related__card > * {
  min-width: 0;
  margin: 0;
}

.poker-related__lead h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.02;
}

.poker-related__card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-card-title);
  line-height: 1.05;
}

.poker-related__lead p {
  max-width: 50ch;
}

.poker-related__card p {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.poker-related__arrow,
.poker-related__card > span {
  margin-top: auto;
  color: var(--color-marine-teal);
  font-size: var(--text-nav);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.poker-related__lead:hover,
.poker-related__lead:focus-visible,
.poker-related__card:hover,
.poker-related__card:focus-visible {
  background: var(--color-paper);
}

.poker-close__content {
  display: flex;
  width: 100%;
  max-width: 47.5rem;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-inline: auto;
  text-align: center;
}

.poker-close__content > * {
  min-width: 0;
  margin: 0;
}

.poker-close__content .eyebrow {
  color: var(--color-pale-steel);
}

.poker-close__content > p:not(.poker-close__boundary) {
  max-width: 65ch;
  color: var(--color-pale-steel);
}

.poker-close__link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-porcelain);
  font-weight: 700;
  text-underline-offset: 0.22em;
}

.poker-close__boundary {
  width: 100%;
  max-width: 38.75rem;
  border-top: 1px solid rgb(220 232 236 / 42%);
  padding-top: var(--space-4);
  color: var(--color-pale-steel);
  font-size: var(--text-caption);
  line-height: var(--line-caption);
}

@media (max-width: 65rem) {
  .poker-room__grid {
    grid-template-columns: minmax(0, 4fr) minmax(22.5rem, 5fr);
  }

  .poker-room__annotations {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--color-line-steel);
    border-left: 0;
    padding-top: var(--space-4);
    padding-left: 0;
  }

  .poker-rhythm__grid {
    grid-template-columns: minmax(22.5rem, 5fr) minmax(0, 4fr);
  }

  .poker-rhythm__rail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--color-line-steel);
    border-left: 0;
    padding-top: var(--space-4);
    padding-left: 0;
  }

  .poker-rhythm__rail .technical-label {
    grid-column: 1 / -1;
  }

  .poker-cues__grid {
    grid-template-columns: minmax(22.5rem, 5fr) minmax(0, 4fr);
  }

  .poker-cues__rail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14.375rem, 1fr);
    border-top: 1px solid rgb(220 232 236 / 46%);
    border-left: 0;
    padding-top: var(--space-4);
    padding-left: 0;
  }

  .poker-cues__rail .technical-label {
    grid-column: 1 / -1;
  }

  .poker-cues__rail ol { grid-column: 1; }
  .poker-cues__note { grid-column: 2; }

  .poker-checklist__panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-checklist__panels > details:last-child {
    grid-column: 1 / span 1;
  }
}

@media (max-width: 61.1875rem) {
  .poker-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .poker-hero__image {
    position: relative;
    order: 3;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .poker-hero__image::after {
    background: rgb(16 45 59 / 18%);
  }

  .poker-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: var(--space-5);
    padding-block: var(--space-7);
  }

  .poker-hero__copy,
  .poker-hero__rail {
    grid-column: 1;
    width: 100%;
    max-width: none;
  }

  .poker-hero__rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: var(--space-3) var(--space-5);
    border-top: 1px solid rgb(220 232 236 / 55%);
    border-left: 0;
    padding-top: var(--space-4);
    padding-left: 0;
  }

  .poker-hero__rail .technical-label {
    grid-column: 1;
    margin: 0;
  }

  .poker-hero__caution {
    grid-column: 2;
    max-width: 44ch;
  }

  .poker-hero__rail .caption {
    grid-column: 2;
    max-width: none;
  }
}

@media (max-width: 57.5rem) {
  .poker-interpret__grid,
  .poker-guidance__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-interpret__article,
  .poker-guidance__article,
  .poker-interpret__rail,
  .poker-guidance__scope {
    grid-column: 1;
  }

  .poker-interpret__rail,
  .poker-guidance__scope {
    width: 100%;
    max-width: 47.5rem;
  }

  .poker-checklist__intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-checklist__intro > div,
  .poker-checklist__marker {
    grid-column: 1;
  }

  .poker-checklist__marker {
    width: 100%;
    max-width: 24rem;
  }

  .poker-variation__rows article {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }

  .poker-variation__rows h3,
  .poker-variation__rows article > p:not(.poker-variation__verify),
  .poker-variation__verify {
    grid-column: 1;
  }

  .poker-variation__verify {
    width: 100%;
    max-width: 31rem;
  }

  .poker-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-related__lead,
  .poker-related__card {
    grid-column: span 1;
    grid-row: auto;
  }

  .poker-related__lead {
    grid-column: span 2;
  }
}

@media (max-width: 47.9375rem) {
  .poker-hero__content {
    padding-block: var(--space-6);
  }

  .poker-hero .display-title {
    font-size: 2.25rem;
  }

  .poker-hero__scope,
  .poker-hero__rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-hero__scope {
    gap: var(--space-2);
  }

  .poker-hero__rail .technical-label,
  .poker-hero__caution,
  .poker-hero__rail .caption {
    grid-column: 1;
  }

  .poker-hero__caution {
    max-width: none;
  }

  .poker-room__grid,
  .poker-rhythm__grid,
  .poker-cues__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-room__intro,
  .poker-table-plan,
  .poker-room__annotations,
  .poker-rhythm__media,
  .poker-rhythm__copy,
  .poker-rhythm__rail,
  .poker-cues__media,
  .poker-cues__copy,
  .poker-cues__rail {
    grid-column: 1;
  }

  .poker-table-plan__field {
    min-height: 20rem;
  }

  .poker-room__annotations,
  .poker-rhythm__rail,
  .poker-cues__rail {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .poker-room__annotations > div {
    width: 100%;
  }

  .poker-rhythm__rail > div {
    width: 100%;
  }

  .poker-cues__rail ol,
  .poker-cues__note {
    width: 100%;
  }

  .poker-interpret__definitions,
  .poker-checklist__panels,
  .poker-related__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-checklist__panels > details:last-child,
  .poker-related__lead,
  .poker-related__card {
    grid-column: 1;
  }

  .poker-variation__header {
    margin-inline: 0;
    text-align: left;
  }

  .poker-variation__header .eyebrow {
    justify-content: flex-start;
  }

  .poker-related__lead,
  .poker-related__card {
    min-height: 11rem;
  }

  .poker-close__content {
    align-items: flex-start;
    margin-inline: 0;
    text-align: left;
  }

  .poker-close__boundary {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-hero__image::after {
    transition: none;
  }
}
