.poker-page {
  overflow: clip;
}

.poker-page .poker-hero {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.poker-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(2rem, 1fr) minmax(29.375rem, 6fr);
  min-height: 38.75rem;
  align-items: center;
}

.poker-hero__content,
.poker-hero__media,
.poker-food__media,
.poker-food__content,
.poker-rules__intro,
.poker-rules__list,
.poker-booking__process,
.poker-booking__panel {
  min-width: 0;
}

.poker-hero__content {
  grid-column: 1;
  width: 100%;
  max-width: 38.75rem;
}

.poker-hero__content h1 {
  color: var(--color-ivory);
  font-size: clamp(2.75rem, 6vw, 4rem);
}

.poker-hero__lead {
  max-width: 35em;
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.poker-hero__media {
  grid-column: 3;
  width: 100%;
  height: min(44vw, 38.75rem);
  min-height: 31rem;
  margin: 0;
  border-radius: var(--radius-lg);
}

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

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

.poker-hero__anchor {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--color-ivory);
  font-weight: var(--weight-semibold);
}

.poker-values__intro {
  width: 100%;
  max-width: 38.75rem;
}

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

.poker-values__grid > * {
  min-width: 0;
  width: 100%;
}

.poker-value-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

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

.poker-value-card--ivory { background: var(--color-ivory); }
.poker-value-card--stone { background: var(--color-pale-stone); }
.poker-value-card--tint { background: var(--color-teal-tint); }

.poker-value-card__number,
.poker-scenario__number {
  color: var(--color-brass);
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
}

.poker-inline-link {
  font-weight: var(--weight-semibold);
}

.poker-food__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
  gap: var(--space-6);
}

.poker-food__grid > * {
  min-width: 0;
  width: 100%;
}

.poker-food__media {
  height: 100%;
  min-height: 31.25rem;
  margin: 0;
  border-radius: var(--radius-lg);
}

.poker-food__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

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

.poker-food__heading,
.poker-food__primary,
.poker-food__secondary {
  width: 100%;
}

.poker-food__heading h2 {
  max-width: 16ch;
}

.poker-food__primary {
  max-width: 32.5rem;
  border-top: 1px solid var(--color-brass);
  padding-top: var(--space-4);
}

.poker-food__secondary {
  max-width: 23.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-pale-stone);
  padding: var(--space-5);
}

.poker-food__secondary > :last-child,
.poker-food__primary > :last-child,
.poker-food__heading > :last-child {
  margin-bottom: 0;
}

.poker-rules__layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: var(--space-7);
}

.poker-rules__layout > * {
  min-width: 0;
  width: 100%;
}

.poker-rules__intro p:last-child {
  max-width: 41.25rem;
}

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

.poker-rules__list > * {
  min-width: 0;
  width: 100%;
}

.poker-rule {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
  border-top: 1px solid rgb(36 83 90 / 22%);
  padding-top: var(--space-4);
}

.poker-rule__number {
  display: flex;
  width: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-teal-tint);
  color: var(--color-deep-teal);
  font-size: var(--text-small);
  font-weight: var(--weight-bold);
}

.poker-rule__copy {
  min-width: 0;
  max-width: 35em;
}

.poker-rule__copy h3 {
  font-size: var(--text-card-title);
}

.poker-rule__contacts {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
}

.poker-atmosphere__scene {
  position: relative;
  height: 36.875rem;
  margin: 0;
  border-radius: var(--radius-lg);
}

.poker-atmosphere__scene > img {
  width: 100%;
  height: 100%;
}

.poker-atmosphere__panel {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  display: flex;
  width: min(100% - 3rem, 32.5rem);
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-5);
  border: 1px solid rgb(247 242 234 / 18%);
  border-radius: var(--radius-lg);
  background: rgb(36 83 90 / 88%);
  padding: var(--space-6);
  color: var(--color-ivory);
}

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

.poker-atmosphere__panel :is(h2, h3) {
  color: var(--color-ivory);
}

.poker-atmosphere__panel a {
  color: var(--color-ivory);
}

.poker-atmosphere__block + .poker-atmosphere__block {
  border-top: 1px solid rgb(247 242 234 / 36%);
  padding-top: var(--space-5);
}

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

.poker-atmosphere__note {
  color: var(--color-brass);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
}

.poker-scenarios__intro {
  width: 100%;
  max-width: 37.5rem;
}

.poker-scenarios__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) repeat(2, minmax(0, 3fr));
  align-items: stretch;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.poker-scenarios__grid > * {
  min-width: 0;
  width: 100%;
}

.poker-scenario {
  display: flex;
  min-width: 0;
  min-height: 14.375rem;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

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

.poker-scenario--large { background: var(--color-ivory); }
.poker-scenario--stone { background: var(--color-pale-stone); }
.poker-scenario--tint { background: var(--color-teal-tint); }

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

.poker-booking__layout > * {
  min-width: 0;
  width: 100%;
}

.poker-booking__process {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-6);
}

.poker-booking__steps {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.poker-booking-step {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
  border-top: 1px solid rgb(35 37 41 / 16%);
  padding-top: var(--space-4);
}

.poker-booking-step > span {
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-size: var(--text-card-title);
  font-weight: var(--weight-bold);
}

.poker-booking-step > div {
  min-width: 0;
  max-width: 46rem;
}

.poker-booking-step h3 {
  font-size: var(--text-card-title);
}

.poker-booking-step p:last-child {
  margin-bottom: 0;
}

.poker-booking__panel {
  display: flex;
  width: 100%;
  max-width: 26.25rem;
  justify-self: end;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

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

.poker-booking__panel h3 {
  color: var(--color-ivory);
}

.poker-booking__panel-links {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-small);
}

.poker-booking__panel-links address {
  margin: 0;
}

.poker-faq__inner {
  width: min(100%, 50rem);
  margin-inline: auto;
}

.poker-faq__heading {
  width: 100%;
  max-width: 35rem;
}

.poker-faq__list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.poker-faq-item {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-ivory);
}

.poker-faq-item h3 {
  margin: 0;
}

.poker-faq-item__button {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border: 0;
  background: transparent;
  padding: var(--space-4);
  color: var(--color-graphite);
  font-family: var(--font-body);
  font-size: var(--text-lead);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-lead);
  text-align: left;
}

.poker-faq-item__button > span {
  flex: 0 0 1.25rem;
  color: var(--color-deep-teal);
  font-size: 1.5rem;
  text-align: center;
}

.poker-faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-fast);
}

.poker-faq-item__answer:not([hidden]) {
  grid-template-rows: 1fr;
}

.poker-faq-item__answer > div {
  min-width: 0;
  overflow: hidden;
  padding-inline: var(--space-4);
}

.poker-faq-item__answer:not([hidden]) > div {
  padding-bottom: var(--space-4);
}

.poker-faq-item__answer p {
  max-width: 42.5rem;
  margin: 0;
}

.poker-final {
  padding-top: var(--section-space-compact);
}

.poker-final__panel {
  display: flex;
  width: min(100%, 53.75rem);
  min-width: 0;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 6vw, var(--space-9));
  text-align: center;
}

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

.poker-final__panel h2 {
  color: var(--color-ivory);
}

.poker-final__panel > p:not(.eyebrow) {
  width: 100%;
  max-width: 35rem;
}

.poker-final__contacts {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-small);
}

.poker-final__contacts address {
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .poker-hero__media img,
  .poker-food__media img,
  .poker-atmosphere__scene > img {
    transition: transform var(--transition-medium);
  }

  .poker-hero__media:hover img,
  .poker-food__media:hover img,
  .poker-atmosphere__scene:hover > img {
    transform: scale(1.02);
  }
}

@media (max-width: 67.49rem) {
  .poker-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: auto;
    gap: var(--space-6);
  }

  .poker-hero__media {
    grid-column: 2;
    min-width: 0;
    min-height: 28rem;
    height: 100%;
  }

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

  .poker-food__media {
    min-height: 24rem;
  }
}

@media (max-width: 63.99rem) {
  .poker-rules__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .poker-rules__intro {
    max-width: 41.25rem;
  }
}

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

  .poker-hero__content,
  .poker-hero__media {
    grid-column: 1;
    max-width: none;
  }

  .poker-hero__media {
    height: clamp(22rem, 58vw, 32rem);
    min-height: 0;
  }

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

  .poker-booking__panel {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 56.24rem) {
  .poker-food__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .poker-food__media {
    min-height: 0;
    height: clamp(15.625rem, 56vw, 28rem);
  }

  .poker-food__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: var(--space-5);
  }

  .poker-food__heading,
  .poker-food__cta {
    grid-column: 1 / -1;
  }

  .poker-food__primary,
  .poker-food__secondary {
    max-width: none;
  }

  .poker-atmosphere__scene {
    display: flex;
    height: auto;
    flex-direction: column;
    overflow: visible;
    background: transparent;
  }

  .poker-atmosphere__scene > img {
    height: clamp(15.625rem, 48vw, 25rem);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .poker-atmosphere__panel {
    position: static;
    width: 100%;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
}

@media (max-width: 53.74rem) {
  .poker-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-values__grid > :nth-child(3) {
    grid-column: 1 / -1;
  }

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

  .poker-scenarios__grid > :nth-child(3) {
    grid-column: 1 / -1;
  }
}

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

@media (max-width: 43.74rem) {
  .poker-faq__inner {
    width: 100%;
  }
}

@media (max-width: 42.49rem) {
  .poker-food__content {
    display: flex;
    flex-direction: column;
  }

  .poker-food__heading,
  .poker-food__primary,
  .poker-food__secondary,
  .poker-food__cta {
    width: 100%;
  }
}

@media (max-width: 38.74rem) {
  .poker-page .poker-hero {
    padding-block: var(--section-space-compact);
  }

  .poker-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .poker-hero__actions > * {
    width: 100%;
  }

  .poker-hero__anchor {
    justify-content: center;
  }

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

  .poker-values__grid > :nth-child(3),
  .poker-scenarios__grid > :nth-child(3) {
    grid-column: 1;
  }

  .poker-value-card,
  .poker-scenario,
  .poker-atmosphere__panel,
  .poker-booking__panel {
    padding: var(--space-5);
  }

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

  .poker-rule__number {
    width: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    font-size: var(--text-label);
  }

  .poker-booking-step {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .poker-faq-item__button {
    min-height: 3.25rem;
    padding: var(--space-4);
    font-size: var(--text-base);
  }

  .poker-final__panel {
    align-items: stretch;
    padding: var(--space-6) var(--space-5);
  }

  .poker-final__panel .button-primary {
    width: 100%;
  }
}
