/* Poker Room page styles */

#poker-room-page {
  display: block;
}

/* Shared section rhythm */
#poker-room-page > section {
  padding-block: var(--space-4xl);
}

@media (min-width: 48rem) {
  #poker-room-page > section {
    padding-block: var(--space-5xl);
  }
}

/* Hero */
.poker-room-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  align-items: flex-start;
}

.poker-room-hero__text {
  width: 100%;
  max-width: 45rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-room-hero__text .label-small-caps {
  margin-block-end: 0;
}

.poker-room-hero__text h1 {
  margin-block-end: 0;
  font-size: var(--text-h1-size);
  line-height: var(--leading-h1);
}

.poker-room-hero__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--leading-body-large);
  margin-block-end: 0;
}

.poker-room-hero__cta {
  min-width: 14rem;
  text-align: center;
}

@media (min-width: 64rem) {
  .poker-room-hero__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gutter);
    align-items: end;
  }

  .poker-room-hero__text {
    grid-column: 3 / span 8;
    max-width: none;
  }

  .poker-room-hero__cta {
    grid-column: 3 / span 4;
    justify-self: start;
  }
}

/* Text-only light sections: atmosphere, face-to-face, closeup text, visit */
.poker-room-atmosphere__inner,
.poker-room-face-to-face__inner,
.poker-room-visit__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.poker-room-atmosphere__text,
.poker-room-face-to-face__text,
.poker-room-visit__text {
  width: 100%;
  max-width: 45rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-room-atmosphere__text .label-small-caps,
.poker-room-face-to-face__text .label-small-caps,
.poker-room-visit__text .label-small-caps {
  margin-block-end: 0;
}

.poker-room-atmosphere__text h2,
.poker-room-face-to-face__text h2,
.poker-room-visit__text h2 {
  margin-block-end: 0;
}

.poker-room-atmosphere__text h3,
.poker-room-face-to-face__text h3,
.poker-room-visit__text h3 {
  margin-block-start: var(--space-md);
  margin-block-end: var(--space-xs);
}

.poker-room-atmosphere__text p,
.poker-room-face-to-face__text p,
.poker-room-visit__text p {
  margin-block-end: 0;
}

.poker-room-visit__cta {
  min-width: 14rem;
  text-align: center;
  align-self: flex-start;
}

@media (min-width: 64rem) {
  .poker-room-atmosphere__inner,
  .poker-room-face-to-face__inner,
  .poker-room-visit__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gutter);
  }

  .poker-room-atmosphere__text,
  .poker-room-face-to-face__text,
  .poker-room-visit__text {
    grid-column: 3 / span 8;
    max-width: none;
  }

  .poker-room-visit__cta {
    grid-column: 3 / span 4;
    justify-self: start;
  }
}

/* Text-only dark sections: layout, amenities, responsible */
.poker-room-layout__inner,
.poker-room-amenities__inner,
.poker-room-responsible__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.poker-room-layout__text,
.poker-room-amenities__text,
.poker-room-responsible__text {
  width: 100%;
  max-width: 45rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-room-layout__text .label-small-caps,
.poker-room-amenities__text .label-small-caps,
.poker-room-responsible__text .label-small-caps {
  margin-block-end: 0;
}

.poker-room-layout__text h2,
.poker-room-amenities__text h2,
.poker-room-responsible__text h2 {
  margin-block-end: 0;
}

.poker-room-layout__text h3,
.poker-room-amenities__text h3,
.poker-room-responsible__text h3 {
  margin-block-start: var(--space-md);
  margin-block-end: var(--space-xs);
}

.poker-room-layout__text p,
.poker-room-amenities__text p,
.poker-room-responsible__text p {
  margin-block-end: 0;
}

@media (min-width: 64rem) {
  .poker-room-layout__inner,
  .poker-room-amenities__inner,
  .poker-room-responsible__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gutter);
  }

  .poker-room-layout__text,
  .poker-room-amenities__text,
  .poker-room-responsible__text {
    grid-column: 3 / span 8;
    max-width: none;
  }
}

/* Image + text sections: tables, restaurant, closeup */
.poker-room-tables__inner,
.poker-room-restaurant__inner,
.poker-room-closeup__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.poker-room-tables__media,
.poker-room-restaurant__media,
.poker-room-closeup__media {
  width: 100%;
  margin-block-end: 0;
}

.poker-room-tables__media img,
.poker-room-restaurant__media img,
.poker-room-closeup__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.poker-room-tables__media figcaption,
.poker-room-restaurant__media figcaption,
.poker-room-closeup__media figcaption {
  margin-block-start: var(--space-xs);
}

.poker-room-tables__text,
.poker-room-restaurant__text,
.poker-room-closeup__text {
  width: 100%;
  max-width: 45rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-room-tables__text .label-small-caps,
.poker-room-restaurant__text .label-small-caps,
.poker-room-closeup__text .label-small-caps {
  margin-block-end: 0;
}

.poker-room-tables__text h2,
.poker-room-restaurant__text h2,
.poker-room-closeup__text h2 {
  margin-block-end: 0;
}

.poker-room-tables__text h3,
.poker-room-restaurant__text h3,
.poker-room-closeup__text h3 {
  margin-block-start: var(--space-md);
  margin-block-end: var(--space-xs);
}

.poker-room-tables__text p,
.poker-room-restaurant__text p,
.poker-room-closeup__text p {
  margin-block-end: 0;
}

@media (min-width: 64rem) {
  .poker-room-tables__inner,
  .poker-room-restaurant__inner,
  .poker-room-closeup__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--grid-gutter);
    align-items: start;
  }

  .poker-room-tables__media {
    grid-column: 1 / span 6;
  }

  .poker-room-tables__text {
    grid-column: 8 / span 5;
    max-width: none;
  }

  .poker-room-restaurant__text {
    grid-column: 1 / span 5;
    max-width: none;
  }

  .poker-room-restaurant__media {
    grid-column: 7 / span 6;
  }

  .poker-room-closeup__media {
    grid-column: 1 / span 6;
  }

  .poker-room-closeup__text {
    grid-column: 8 / span 5;
    max-width: none;
  }
}

@media (max-width: 47.99rem) {
  #poker-room-page > section {
    padding-block: var(--space-3xl);
  }

  .poker-room-hero__text h1 {
    font-size: 2.125rem;
  }

  .poker-room-hero__lead {
    font-size: var(--text-body-size);
    line-height: var(--leading-body);
  }

  .poker-room-hero__cta,
  .poker-room-visit__cta {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #poker-room-page *,
  #poker-room-page *::before,
  #poker-room-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
