:root {
  --tdp-grid-gap: 1.5rem;
}

.tables-poker-page {
  overflow: clip;
}

.tables-poker-page .tdp-container {
  width: min(100% - (var(--gutter) * 2), var(--container-max));
  margin-inline: auto;
}

.tables-poker-page .tdp-eyebrow {
  margin-block-end: var(--space-3);
}

.tables-poker-page .tdp-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  width: fit-content;
  color: var(--color-champagne-100);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-button);
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.tables-poker-page .tdp-link::after {
  width: 100%;
  height: 1px;
  margin-block-start: 0.25rem;
  background: var(--color-antique-gold-500);
  content: "";
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.tables-poker-page .tdp-link:hover::after,
.tables-poker-page .tdp-link:focus-visible::after {
  transform: scaleX(1);
}

.tables-poker-page .tdp-hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  isolation: isolate;
  background: var(--color-charcoal-950);
}

.tables-poker-page .tdp-hero__media,
.tables-poker-page .tdp-hero__media::after {
  position: absolute;
  inset: 0;
}

.tables-poker-page .tdp-hero__media {
  z-index: -2;
  overflow: hidden;
}

.tables-poker-page .tdp-hero__media::after {
  background: linear-gradient(90deg, rgba(23, 21, 21, 0.76) 0%, rgba(67, 25, 35, 0.38) 47%, rgba(23, 21, 21, 0.18) 100%);
  content: "";
}

.tables-poker-page .tdp-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 50%;
}

.tables-poker-page .tdp-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--tdp-grid-gap);
  width: min(100% - (var(--gutter) * 2), var(--container-max));
  margin-inline: auto;
}

.tables-poker-page .tdp-hero__copy {
  grid-column: 2 / span 6;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 32.5rem;
  max-width: 40.625rem;
  padding: var(--space-7);
  border: 1px solid rgba(178, 138, 74, 0.46);
  background: rgba(33, 29, 28, 0.82);
  box-shadow: var(--shadow-overlay);
}

.tables-poker-page .tdp-hero__copy > * {
  min-width: 0;
  margin: 0;
}

.tables-poker-page .tdp-hero__copy .display-title {
  max-width: 11ch;
  margin: 0;
}

.tables-poker-page .tdp-hero__intro {
  max-width: 58ch;
  font-size: var(--text-lg);
  line-height: 1.55;
}

.tables-poker-page .tdp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
}

.tables-poker-page .tdp-hero__actions > * {
  min-width: 0;
}

.tables-poker-page .tdp-hero__caption {
  grid-column: 11 / span 1;
  align-self: end;
  margin-block-end: var(--space-8);
  color: var(--color-champagne-300);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.tables-poker-page .tdp-materials {
  padding-block: var(--section-space-desktop);
}

.tables-poker-page .tdp-materials__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--tdp-grid-gap);
  align-items: start;
}

.tables-poker-page .tdp-materials__copy {
  grid-column: 2 / span 5;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  max-width: 35rem;
}

.tables-poker-page .tdp-materials__copy > * {
  min-width: 0;
  margin: 0;
}

.tables-poker-page .tdp-materials__intro {
  max-width: 58ch;
}

.tables-poker-page .tdp-materials__intro em {
  color: var(--color-champagne-100);
  font-family: var(--font-heading);
  font-size: 1.45em;
}

.tables-poker-page .tdp-materials__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
}

.tables-poker-page .tdp-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  padding-block-start: var(--space-5);
  border-top: var(--border-gold);
}

.tables-poker-page .tdp-detail > * {
  min-width: 0;
  margin: 0;
}

.tables-poker-page .tdp-detail h3 {
  color: var(--color-champagne-100);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

.tables-poker-page .tdp-detail p {
  max-width: 50ch;
}

.tables-poker-page .tdp-materials__figure {
  grid-column: 8 / span 4;
  width: 100%;
  min-width: 0;
  margin: var(--space-7) 0 0;
}

.tables-poker-page .tdp-materials__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  border: var(--border-default);
}

.tables-poker-page .tdp-rhythm {
  padding-block: var(--section-space-desktop);
  background: var(--color-walnut-800);
}

.tables-poker-page .tdp-rhythm__header {
  width: min(100%, 37.5rem);
  margin: 0 auto var(--space-8);
  text-align: center;
}

.tables-poker-page .tdp-rhythm__header p {
  max-width: 48ch;
  margin-inline: auto;
}

.tables-poker-page .tdp-rhythm__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tdp-grid-gap);
}

.tables-poker-page .tdp-rhythm-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  min-height: 100%;
  padding: var(--space-6);
  border: var(--border-default);
}

.tables-poker-page .tdp-rhythm-card > * {
  min-width: 0;
  margin: 0;
}

.tables-poker-page .tdp-rhythm-card:nth-child(1) { background: var(--color-walnut-800); }
.tables-poker-page .tdp-rhythm-card:nth-child(2) { background: var(--color-forest-700); }
.tables-poker-page .tdp-rhythm-card:nth-child(3) { background: var(--color-charcoal-900); }

.tables-poker-page .tdp-number {
  color: var(--color-antique-gold-500);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.tables-poker-page .tdp-rhythm-card p {
  max-width: 44ch;
}

.tables-poker-page .tdp-spaces {
  padding-block: var(--section-space-desktop);
}

.tables-poker-page .tdp-spaces__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--tdp-grid-gap);
  align-items: start;
}

.tables-poker-page .tdp-spaces__intro {
  grid-column: 2 / span 4;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  max-width: 28rem;
}

.tables-poker-page .tdp-spaces__intro > * { margin: 0; min-width: 0; }

.tables-poker-page .tdp-spaces__image {
  grid-column: 7 / span 6;
  width: calc(100% + var(--gutter));
  min-width: 0;
  margin: var(--space-6) 0 0;
}

.tables-poker-page .tdp-spaces__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 50%;
  border: var(--border-default);
}

.tables-poker-page .tdp-space-panels {
  grid-column: 2 / span 4;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
}

.tables-poker-page .tdp-space-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  padding: var(--space-5);
  border: var(--border-default);
}

.tables-poker-page .tdp-space-panel > * { margin: 0; min-width: 0; }
.tables-poker-page .tdp-space-panel:nth-child(1) { background: var(--color-charcoal-900); }
.tables-poker-page .tdp-space-panel:nth-child(2) { background: var(--color-forest-700); }
.tables-poker-page .tdp-space-panel p { max-width: 50ch; }

.tables-poker-page .tdp-spaces__quote {
  grid-column: 6 / span 7;
  margin: var(--space-7) 0 0;
  max-width: 62ch;
}

.tables-poker-page .tdp-spaces__quote p {
  margin-block-end: var(--space-4);
  font-size: var(--text-lg);
}

.tables-poker-page .tdp-choice {
  padding-block: var(--section-space-desktop);
}

.tables-poker-page .tdp-choice__panel {
  padding: var(--space-7);
  border: 1px solid var(--color-line-light);
  outline: 1px solid var(--color-antique-gold-500);
  outline-offset: -0.5rem;
}

.tables-poker-page .tdp-choice__header {
  width: min(100%, 33.75rem);
  margin-block-end: var(--space-7);
}

.tables-poker-page .tdp-choice__header p { max-width: 50ch; }

.tables-poker-page .tdp-choice__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tdp-grid-gap);
}

.tables-poker-page .tdp-choice-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  min-height: 100%;
  padding: var(--space-5);
  border: 1px solid var(--color-line-light);
}

.tables-poker-page .tdp-choice-card > * { min-width: 0; margin: 0; }
.tables-poker-page .tdp-choice-card:nth-child(1) { background: var(--color-warm-white); color: var(--color-ink-900); }
.tables-poker-page .tdp-choice-card:nth-child(1) h3 { color: var(--color-ink-900); }
.tables-poker-page .tdp-choice-card:nth-child(2) { background: var(--color-forest-700); color: var(--color-warm-white); border-color: rgba(241, 227, 195, 0.5); }
.tables-poker-page .tdp-choice-card:nth-child(3) { background: var(--color-charcoal-900); color: var(--color-warm-white); border-color: var(--color-line-dark); }

.tables-poker-page .tdp-choice-card ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tables-poker-page .tdp-choice-card li {
  min-width: 0;
  padding-inline-start: var(--space-4);
  position: relative;
}

.tables-poker-page .tdp-choice-card li::before {
  position: absolute;
  left: 0;
  color: var(--color-antique-gold-500);
  content: "◇";
}

.tables-poker-page .tdp-choice-card .tdp-link { margin-top: auto; }
.tables-poker-page .tdp-choice-card:nth-child(1) .tdp-link { color: var(--color-ink-900); }

.tables-poker-page .tdp-guidance {
  padding-block: var(--section-space-desktop);
  background: var(--color-forest-700);
}

.tables-poker-page .tdp-guidance__grid {
  display: grid;
  grid-template-columns: 5fr 1px 5fr;
  gap: calc(var(--tdp-grid-gap) * 1.5);
  align-items: stretch;
}

.tables-poker-page .tdp-guidance__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  max-width: 32.5rem;
}

.tables-poker-page .tdp-guidance__intro > * { margin: 0; min-width: 0; }
.tables-poker-page .tdp-guidance__intro p { max-width: 55ch; }
.tables-poker-page .tdp-guidance__line { width: 1px; min-width: 1px; background: var(--color-antique-gold-500); }

.tables-poker-page .tdp-guidance__list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tables-poker-page .tdp-guidance-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  padding-block: var(--space-5);
  border-top: 1px solid rgba(241, 227, 195, 0.42);
}

.tables-poker-page .tdp-guidance-item:first-child { padding-block-start: 0; border-top: 0; }
.tables-poker-page .tdp-guidance-item > * { margin: 0; min-width: 0; }
.tables-poker-page .tdp-guidance-item h3 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); }
.tables-poker-page .tdp-guidance-item p { max-width: 50ch; }

.tables-poker-page .tdp-groups {
  padding-block: var(--section-space-desktop);
  background: var(--color-walnut-800);
}

.tables-poker-page .tdp-groups__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--tdp-grid-gap);
  align-items: start;
}

.tables-poker-page .tdp-groups__intro {
  grid-column: 1 / span 6;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  max-width: 39.375rem;
}

.tables-poker-page .tdp-groups__intro > * { margin: 0; min-width: 0; }
.tables-poker-page .tdp-groups__intro p { max-width: 58ch; }

.tables-poker-page .tdp-group-scenarios {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

.tables-poker-page .tdp-scenario {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: calc(100% - var(--space-5));
  min-width: 0;
  padding: var(--space-5);
  border: var(--border-default);
}

.tables-poker-page .tdp-scenario > * { margin: 0; min-width: 0; }
.tables-poker-page .tdp-scenario:nth-child(1) { align-self: flex-start; background: var(--color-walnut-800); }
.tables-poker-page .tdp-scenario:nth-child(2) { align-self: flex-end; margin-top: calc(var(--space-5) * -1); background: var(--color-burgundy-900); border-color: rgba(178, 138, 74, 0.6); }
.tables-poker-page .tdp-scenario p { max-width: 48ch; }

.tables-poker-page .tdp-groups__quote {
  grid-column: 1 / span 8;
  margin: var(--space-8) 0 0;
  max-width: 60ch;
}

.tables-poker-page .tdp-assurances {
  padding-block: var(--space-8);
}

.tables-poker-page .tdp-assurances__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.tables-poker-page .tdp-assurance {
  min-width: 0;
  padding: 0 var(--space-6);
  text-align: center;
}

.tables-poker-page .tdp-assurance + .tdp-assurance { border-left: var(--border-default); }
.tables-poker-page .tdp-assurance p { margin: 0; }
.tables-poker-page .tdp-assurance .meta { display: block; margin-block-end: var(--space-2); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; }

.tables-poker-page .tdp-close {
  padding-block: var(--section-space-desktop);
}

.tables-poker-page .tdp-close__panel {
  width: min(100%, 64.5rem);
  margin-inline: auto;
  padding: var(--space-8);
  border: var(--border-default);
  background: var(--color-charcoal-900);
}

.tables-poker-page .tdp-close__core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  width: min(100%, 42.5rem);
  margin-inline: auto;
  text-align: center;
}

.tables-poker-page .tdp-close__core > * { min-width: 0; margin: 0; }
.tables-poker-page .tdp-close__core p { max-width: 55ch; }

.tables-poker-page .tdp-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  min-width: 0;
}

.tables-poker-page .tdp-close__actions > * { flex: 0 1 auto; min-width: 11.875rem; }

.tables-poker-page .tdp-close__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tdp-grid-gap);
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: var(--border-default);
}

.tables-poker-page .tdp-close-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
  color: var(--color-warm-white);
}

.tables-poker-page .tdp-close-link strong { color: var(--color-champagne-100); }
.tables-poker-page .tdp-close-link span { font-size: var(--text-sm); line-height: var(--leading-small); }

.tables-poker-page [data-tdp-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.tables-poker-page [data-tdp-reveal].is-revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 63.9375rem) {
  .tables-poker-page .tdp-hero { min-height: 0; display: block; }
  .tables-poker-page .tdp-hero__media { position: relative; height: 56vh; min-height: 28rem; }
  .tables-poker-page .tdp-hero__media::after { background: linear-gradient(180deg, rgba(23,21,21,0.1), rgba(23,21,21,0.38)); }
  .tables-poker-page .tdp-hero__grid { display: block; width: 100%; }
  .tables-poker-page .tdp-hero__copy { min-width: 0; max-width: none; padding: var(--space-7) var(--gutter); border-inline: 0; border-bottom: 0; box-shadow: none; }
  .tables-poker-page .tdp-hero__caption { display: none; }
  .tables-poker-page .tdp-materials,
  .tables-poker-page .tdp-rhythm,
  .tables-poker-page .tdp-spaces,
  .tables-poker-page .tdp-choice,
  .tables-poker-page .tdp-guidance,
  .tables-poker-page .tdp-groups,
  .tables-poker-page .tdp-close { padding-block: var(--section-space-tablet); }
  .tables-poker-page .tdp-materials__grid,
  .tables-poker-page .tdp-spaces__grid,
  .tables-poker-page .tdp-groups__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tables-poker-page .tdp-materials__copy { grid-column: 1 / span 4; max-width: 42rem; }
  .tables-poker-page .tdp-materials__figure { grid-column: 1 / span 4; width: min(100%, 32rem); margin: 0; }
  .tables-poker-page .tdp-spaces__intro { grid-column: 1 / span 4; max-width: 42rem; }
  .tables-poker-page .tdp-spaces__image { grid-column: 1 / span 4; width: 100%; margin: 0; }
  .tables-poker-page .tdp-space-panels { grid-column: 1 / span 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tables-poker-page .tdp-spaces__quote { grid-column: 1 / span 4; margin-top: var(--space-3); }
  .tables-poker-page .tdp-rhythm__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tables-poker-page .tdp-rhythm-card:nth-child(3) { grid-column: 1 / span 2; width: min(100%, 37.5rem); }
  .tables-poker-page .tdp-guidance__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .tables-poker-page .tdp-guidance__line { display: none; }
  .tables-poker-page .tdp-guidance__intro { max-width: 42rem; }
  .tables-poker-page .tdp-groups__intro { grid-column: 1 / span 4; }
  .tables-poker-page .tdp-group-scenarios { grid-column: 1 / span 4; }
  .tables-poker-page .tdp-groups__quote { grid-column: 1 / span 4; margin-top: var(--space-5); }
  .tables-poker-page .tdp-scenario { width: 100%; }
  .tables-poker-page .tdp-scenario:nth-child(2) { margin-top: 0; }
}

@media (min-width: 42.5rem) and (max-width: 56.1875rem) {
  .tables-poker-page .tdp-choice__cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding-bottom: var(--space-3); }
  .tables-poker-page .tdp-choice-card { flex: 0 0 min(20rem, calc(100% - var(--space-6))); scroll-snap-align: start; }
}

@media (max-width: 56.1875rem) {
  .tables-poker-page .tdp-choice__panel { padding: var(--space-6); }
  .tables-poker-page .tdp-guidance,
  .tables-poker-page .tdp-groups { padding-block: var(--section-space-tablet); }
}

@media (max-width: 42.4375rem) {
  .tables-poker-page .tdp-hero__media { height: 46vh; min-height: 21rem; }
  .tables-poker-page .tdp-hero__media img { object-position: 60% 50%; }
  .tables-poker-page .tdp-hero__copy { padding-block: var(--space-6); }
  .tables-poker-page .tdp-hero__copy .display-title { font-size: clamp(3.25rem, 15vw, 4rem); }
  .tables-poker-page .tdp-hero__actions { align-items: stretch; }
  .tables-poker-page .tdp-hero__actions .button,
  .tables-poker-page .tdp-hero__actions .tdp-link { width: 100%; }
  .tables-poker-page .tdp-materials,
  .tables-poker-page .tdp-rhythm,
  .tables-poker-page .tdp-spaces,
  .tables-poker-page .tdp-choice,
  .tables-poker-page .tdp-guidance,
  .tables-poker-page .tdp-groups,
  .tables-poker-page .tdp-close { padding-block: var(--section-space); }
  .tables-poker-page .tdp-materials__grid,
  .tables-poker-page .tdp-spaces__grid,
  .tables-poker-page .tdp-groups__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .tables-poker-page .tdp-materials__copy,
  .tables-poker-page .tdp-materials__figure,
  .tables-poker-page .tdp-spaces__intro,
  .tables-poker-page .tdp-spaces__image,
  .tables-poker-page .tdp-space-panels,
  .tables-poker-page .tdp-spaces__quote,
  .tables-poker-page .tdp-groups__intro,
  .tables-poker-page .tdp-group-scenarios,
  .tables-poker-page .tdp-groups__quote { grid-column: 1; }
  .tables-poker-page .tdp-materials__figure { width: calc(100% + var(--gutter)); margin-right: calc(var(--gutter) * -1); }
  .tables-poker-page .tdp-rhythm__header { width: 100%; margin-bottom: var(--space-6); text-align: left; }
  .tables-poker-page .tdp-rhythm__header p { margin-inline: 0; }
  .tables-poker-page .tdp-rhythm__cards,
  .tables-poker-page .tdp-choice__cards,
  .tables-poker-page .tdp-space-panels,
  .tables-poker-page .tdp-assurances__grid,
  .tables-poker-page .tdp-close__links { grid-template-columns: 1fr; }
  .tables-poker-page .tdp-rhythm-card:nth-child(3) { grid-column: 1; width: 100%; }
  .tables-poker-page .tdp-choice__panel { padding: var(--space-5); outline-offset: -0.25rem; }
  .tables-poker-page .tdp-choice__header { margin-bottom: var(--space-5); }
  .tables-poker-page .tdp-choice-card { min-height: 0; }
  .tables-poker-page .tdp-spaces__quote { font-size: clamp(2rem, 9vw, 2.375rem); }
  .tables-poker-page .tdp-assurances { padding-block: var(--space-7); }
  .tables-poker-page .tdp-assurance { padding: var(--space-4) 0; text-align: left; }
  .tables-poker-page .tdp-assurance + .tdp-assurance { border-top: var(--border-default); border-left: 0; }
  .tables-poker-page .tdp-close__panel { padding: 1.75rem; }
  .tables-poker-page .tdp-close__core { align-items: flex-start; text-align: left; }
  .tables-poker-page .tdp-close__actions { width: 100%; align-items: stretch; justify-content: stretch; }
  .tables-poker-page .tdp-close__actions > * { flex: 1 1 100%; width: 100%; }
  .tables-poker-page .tdp-close__links { gap: var(--space-4); margin-top: var(--space-6); }
}

@media (prefers-reduced-motion: reduce) {
  .tables-poker-page [data-tdp-reveal] { opacity: 1; transform: none; }
}
