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

.poker-tables-page .content-stack {
  gap: var(--space-4);
}

.poker-tables-page .content-stack > * {
  margin: 0;
}

.poker-tables-hero {
  padding-block: clamp(5rem, 10vw, 9rem) var(--section-space);
}

.poker-tables-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: center;
  min-height: 42.5rem;
}

.poker-tables-hero__copy {
  grid-column: 1 / span 5;
  min-width: 0;
}

.poker-tables-hero__copy .display-xl {
  max-width: 10ch;
}

.poker-tables-hero__copy .lead {
  max-width: 55ch;
}

.poker-tables-hero__actions {
  width: 100%;
}

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

.poker-tables-hero__media {
  grid-column: 7 / span 6;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: var(--radius-hero);
}

.poker-tables-hero__media img {
  object-position: 62% center;
  transition: transform var(--transition-image);
}

.poker-tables-hero__media:hover img {
  transform: scale(1.025);
}

.poker-tables-principles__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.poker-tables-principles__intro {
  grid-column: 1 / span 4;
  min-width: 0;
}

.poker-tables-principles__intro p:last-child {
  max-width: 50ch;
}

.poker-tables-principles__items {
  display: grid;
  grid-column: 6 / span 7;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  min-width: 0;
}

.poker-tables-principle {
  min-width: 0;
  border-top: var(--border-brass);
  padding-top: var(--space-4);
}

.poker-tables-principle h3 {
  color: var(--color-dusty-blue);
}

.poker-tables-principle p {
  max-width: 43ch;
  margin-bottom: 0;
}

.poker-tables-feature__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.poker-tables-feature__media {
  grid-column: 1 / span 7;
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-feature);
}

.poker-tables-feature--private .poker-tables-feature__media {
  aspect-ratio: 3 / 2;
}

.poker-tables-feature__media img,
.poker-tables-blue__media img,
.poker-tables-social__media img {
  transition: transform var(--transition-image);
}

.poker-tables-feature__media:hover img,
.poker-tables-blue__media:hover img,
.poker-tables-social__media:hover img {
  transform: scale(1.025);
}

.poker-tables-feature__copy {
  grid-column: 9 / span 4;
  min-width: 0;
}

.poker-tables-feature__copy > p:not(.eyebrow) {
  max-width: 48ch;
}

.poker-tables-feature__aside {
  border-top: var(--border-brass);
  padding-top: var(--space-4);
}

.poker-tables-detail-toggle {
  width: fit-content;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  border-bottom: 1px solid var(--color-brass);
  background: transparent;
  color: var(--color-dusty-blue);
  padding: 0.5rem 0;
  font-size: var(--text-small);
  font-weight: 650;
  text-align: left;
}

.poker-tables-detail-toggle:hover {
  color: var(--color-terracotta-dark);
  border-bottom-color: var(--color-terracotta-dark);
}

.poker-tables-detail {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), opacity var(--transition-base);
}

.poker-tables-detail p {
  max-width: 44ch;
}

.poker-tables-private-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  border-radius: var(--radius-card);
  background: var(--color-sage-mist);
  padding: var(--space-6);
}

.poker-tables-private-panel p {
  max-width: 43ch;
  margin: 0;
}

.poker-tables-private-panel .button {
  align-self: flex-start;
}

.poker-tables-blue {
  background: var(--color-porcelain);
}

.poker-tables-blue__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.poker-tables-blue__copy {
  grid-column: 1 / span 4;
  min-width: 0;
  border-radius: var(--radius-feature);
  background: var(--color-blue-mist);
  padding: var(--space-8);
}

.poker-tables-blue__copy .lead,
.poker-tables-blue__copy > p:not(.eyebrow) {
  max-width: 46ch;
}

.poker-tables-blue__media {
  grid-column: 7 / span 4;
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-feature);
}

.poker-tables-blue__media--mobile {
  display: none;
}

.poker-tables-social__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.poker-tables-social__copy {
  grid-column: 1 / span 5;
  min-width: 0;
}

.poker-tables-social__copy > p:not(.eyebrow) {
  max-width: 52ch;
}

.poker-tables-social__service {
  border-top: var(--border-brass);
  padding-top: var(--space-4);
}

.poker-tables-social__media {
  grid-column: 6 / span 7;
  width: 100%;
  min-width: 0;
  aspect-ratio: 3 / 2;
  margin: 3.5rem 0 0;
  border-radius: var(--radius-feature);
}

.poker-tables-social__media--mobile {
  display: none;
}

.poker-tables-compare__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-12) 1.25rem;
}

.poker-tables-compare__intro {
  grid-column: 1 / span 5;
  min-width: 0;
}

.poker-tables-compare__intro p:last-child {
  max-width: 50ch;
}

.poker-tables-compare__rows {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: column;
  min-width: 0;
  border-top: var(--border-default);
}

.poker-tables-compare-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  gap: 1.25rem;
  align-items: center;
  min-width: 0;
  border-bottom: var(--border-default);
  padding-block: var(--space-6);
}

.poker-tables-compare-row > * {
  min-width: 0;
}

.poker-tables-compare-row h3,
.poker-tables-compare-row p {
  margin: 0;
}

.poker-tables-compare-row__summary p {
  max-width: 52ch;
}

.poker-tables-compare-row__action {
  justify-self: end;
}

.poker-tables-context__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8) 1.25rem;
  align-items: start;
}

.poker-tables-context__intro {
  grid-column: 1 / span 5;
  min-width: 0;
}

.poker-tables-context__intro p:last-child {
  max-width: 52ch;
}

.poker-tables-context-card {
  display: flex;
  min-width: 0;
}

.poker-tables-context-card:nth-of-type(1) {
  grid-column: 1 / span 5;
}

.poker-tables-context-card:nth-of-type(2) {
  grid-column: 7 / span 5;
}

.poker-tables-context-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-6);
}

.poker-tables-context-card__body > * {
  margin: 0;
}

.poker-tables-context-card__body p {
  max-width: 46ch;
}

.poker-tables-context-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  min-width: 0;
}

.poker-tables-context__statement {
  grid-column: 7 / span 6;
  min-width: 0;
  color: var(--color-dusty-blue);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.poker-tables-cta__content {
  width: min(100%, 48rem);
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

.poker-tables-cta__content p:last-of-type {
  width: min(100%, 48ch);
  margin-inline: auto;
  text-align: left;
}

.poker-tables-cta__actions {
  justify-content: center;
  width: 100%;
}

.poker-tables-cta__actions > * {
  min-width: 0;
}

@media (max-width: 1199px) {
  .poker-tables-hero__grid,
  .poker-tables-principles__grid,
  .poker-tables-feature__grid,
  .poker-tables-blue__grid,
  .poker-tables-social__grid,
  .poker-tables-compare__layout,
  .poker-tables-context__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 1rem;
  }

  .poker-tables-hero__grid {
    min-height: 34rem;
  }

  .poker-tables-hero__copy { grid-column: 1 / span 3; }
  .poker-tables-hero__media { grid-column: 4 / span 5; }
  .poker-tables-principles__intro { grid-column: 1 / span 4; }
  .poker-tables-principles__items { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-4); }
  .poker-tables-principle:nth-child(3) { grid-column: 1 / span 1; }
  .poker-tables-feature__media { grid-column: 1 / span 5; }
  .poker-tables-feature__copy { grid-column: 6 / span 3; }
  .poker-tables-blue__copy { grid-column: 1 / span 4; }
  .poker-tables-blue__media { grid-column: 5 / span 4; }
  .poker-tables-social__copy { grid-column: 1 / span 4; }
  .poker-tables-social__media { grid-column: 5 / span 4; margin-top: 0; }
  .poker-tables-compare__intro { grid-column: 1 / span 6; }
  .poker-tables-compare__rows { grid-column: 1 / -1; }
  .poker-tables-context__intro { grid-column: 1 / span 6; }
  .poker-tables-context-card:nth-of-type(1) { grid-column: 1 / span 4; }
  .poker-tables-context-card:nth-of-type(2) { grid-column: 5 / span 4; }
  .poker-tables-context__statement { grid-column: 3 / span 6; }
}

@media (max-width: 859px) {
  .poker-tables-hero__grid,
  .poker-tables-feature__grid,
  .poker-tables-blue__grid,
  .poker-tables-social__grid {
    grid-template-columns: 1fr;
  }

  .poker-tables-hero__grid { min-height: 0; }
  .poker-tables-hero__copy,
  .poker-tables-hero__media,
  .poker-tables-feature__media,
  .poker-tables-feature__copy,
  .poker-tables-blue__copy,
  .poker-tables-blue__media,
  .poker-tables-social__copy,
  .poker-tables-social__media { grid-column: 1; }

  .poker-tables-feature__media { order: 1; }
  .poker-tables-feature__copy { order: 2; }
  .poker-tables-blue__media--desktop,
  .poker-tables-social__media--desktop { display: none; }
  .poker-tables-blue__media--mobile,
  .poker-tables-social__media--mobile { display: block; }

  .poker-tables-blue__copy { padding: var(--space-6); }
  .poker-tables-social__media { margin: 0; }
  .poker-tables-compare-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poker-tables-compare-row__action { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 767px) {
  .poker-tables-hero { padding-top: var(--space-16); }
  .poker-tables-hero__copy .display-xl { max-width: 11ch; font-size: clamp(3.25rem, 14vw, 4.25rem); }
  .poker-tables-hero__copy .lead { max-width: 43ch; }
  .poker-tables-hero__media { margin-top: var(--space-2); }

  .poker-tables-principles__grid,
  .poker-tables-compare__layout,
  .poker-tables-context__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .poker-tables-principles__intro,
  .poker-tables-principles__items,
  .poker-tables-compare__intro,
  .poker-tables-compare__rows,
  .poker-tables-context__intro,
  .poker-tables-context-card:nth-of-type(1),
  .poker-tables-context-card:nth-of-type(2),
  .poker-tables-context__statement {
    grid-column: 1;
  }

  .poker-tables-principles__items { grid-template-columns: 1fr; gap: var(--space-6); margin-top: 0; }
  .poker-tables-principle:nth-child(3) { grid-column: 1; }
  .poker-tables-principle p { max-width: 46ch; }

  .poker-tables-feature__grid,
  .poker-tables-blue__grid,
  .poker-tables-social__grid { gap: var(--space-6); }
  .poker-tables-feature__copy > p:not(.eyebrow),
  .poker-tables-blue__copy .lead,
  .poker-tables-blue__copy > p:not(.eyebrow),
  .poker-tables-social__copy > p:not(.eyebrow) { max-width: 46ch; }

  .poker-tables-feature--classic .poker-tables-feature__media { order: 2; }
  .poker-tables-feature--classic .poker-tables-feature__copy { display: contents; }
  .poker-tables-feature--classic .poker-tables-feature__copy > .eyebrow,
  .poker-tables-feature--classic .poker-tables-feature__copy > h2 { order: 1; }
  .poker-tables-feature--classic .poker-tables-feature__copy > p,
  .poker-tables-feature--classic .poker-tables-feature__copy > button,
  .poker-tables-feature--classic .poker-tables-feature__copy > div,
  .poker-tables-feature--classic .poker-tables-feature__copy > a { order: 3; }

  .poker-tables-private-panel .button { width: 100%; }
  .poker-tables-compare-row { grid-template-columns: 1fr; gap: var(--space-3); border: var(--border-default); border-radius: var(--radius-card); margin-bottom: var(--space-4); padding: var(--space-6); }
  .poker-tables-compare__rows { border: 0; }
  .poker-tables-compare-row__action { grid-column: 1; }
  .poker-tables-context-card__body { padding: var(--space-6); }
  .poker-tables-context__statement { font-size: clamp(2.5rem, 12vw, 3.3rem); }

  .poker-tables-cta__content { text-align: center; }
  .poker-tables-cta__actions { flex-direction: column; align-items: stretch; }
  .poker-tables-cta__actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .poker-tables-hero__media:hover img,
  .poker-tables-feature__media:hover img,
  .poker-tables-blue__media:hover img,
  .poker-tables-social__media:hover img { transform: none; }
  .poker-tables-detail { transition: none; }
}
