.pokerestek-page {
  overflow: clip;
  background-color: var(--color-marble);
}

.pokerestek-page .section--landmark {
  padding-block: var(--space-10) var(--space-9);
}

.pokerestek-page .section {
  position: relative;
}

.pokerestek-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
  align-items: center;
}

.pokerestek-hero__copy {
  grid-column: 1;
  min-width: 0;
  max-width: 32.5rem;
}

.pokerestek-hero__figure {
  grid-column: 3;
  min-width: 0;
  margin: 0;
}

.pokerestek-hero__image {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.pokerestek-hero__actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-5);
  margin-top: var(--space-5);
}

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

.pokerestek-text-link {
  font-weight: 700;
}

.pokerestek-section-heading {
  min-width: 0;
}

.pokerestek-live__heading {
  width: 58.333%;
  max-width: 40.625rem;
}

.pokerestek-live__heading::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: var(--space-6);
  background: rgba(174, 182, 178, 0.65);
  content: "";
}

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

.pokerestek-numbered {
  min-width: 0;
  padding-top: var(--space-4);
  border-top: var(--border-subtle);
}

.pokerestek-numbered__number,
.pokerestek-timeline__number {
  margin: 0 0 var(--space-3);
  color: var(--color-terracotta);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
}

.pokerestek-beginner-note {
  width: 66.667%;
  min-width: 0;
  margin-top: var(--space-7);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-card);
  background: var(--color-powder-blue);
}

.pokerestek-beginner-note > :last-child,
.pokerestek-numbered > :last-child,
.pokerestek-mini-block > :last-child,
.pokerestek-principle > :last-child,
.pokerestek-theme-panel > :last-child,
.pokerestek-timeline__item > :last-child,
.pokerestek-timeline__note > :last-child,
.pokerestek-image-story__overlay > :last-child,
.pokerestek-faq__intro > :last-child,
.pokerestek-closing__content > :last-child {
  margin-bottom: 0;
}

.pokerestek-dinner__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 5fr) minmax(0, 1fr);
  align-items: start;
}

.pokerestek-dinner__figure {
  grid-column: 1;
  min-width: 0;
  margin: 0;
}

.pokerestek-dinner__image {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.pokerestek-dinner__copy {
  grid-column: 3 / 5;
  min-width: 0;
  max-width: 31.25rem;
}

.pokerestek-dinner__mini-blocks {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.pokerestek-mini-block {
  min-width: 0;
  padding-top: var(--space-4);
  border-top: var(--border-subtle);
}

.pokerestek-friends {
  background: var(--color-sage);
  color: var(--color-ivory);
}

.pokerestek-friends h2,
.pokerestek-friends h3 {
  color: var(--color-ivory);
}

.pokerestek-friends__intro {
  width: 58.333%;
  min-width: 0;
  max-width: 36.25rem;
  margin-inline: auto;
  text-align: center;
}

.pokerestek-friends__intro .eyebrow {
  color: var(--color-ivory);
}

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

.pokerestek-principle {
  min-width: 0;
}

.pokerestek-principle h3 {
  color: var(--color-sage-deep);
}

.pokerestek-friends__link {
  width: 58.333%;
  min-width: 0;
  max-width: 36.25rem;
  margin: var(--space-6) auto 0;
  color: var(--color-ivory);
  text-align: center;
}

.pokerestek-friends__link a {
  color: var(--color-ivory);
  text-decoration-color: rgba(255, 248, 233, 0.7);
}

.pokerestek-friends__link a:hover {
  color: var(--color-cream);
}

.pokerestek-themes__heading {
  width: 41.667%;
  max-width: 31.25rem;
}

.pokerestek-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.pokerestek-theme-panel {
  min-width: 0;
  min-height: 18rem;
}

.pokerestek-theme-panel--offset {
  margin-top: var(--space-6);
}

.pokerestek-themes__link {
  margin-top: var(--space-6);
}

.pokerestek-themes__link a {
  font-weight: 700;
  text-decoration-color: var(--color-terracotta);
  text-decoration-thickness: 2px;
}

.pokerestek-timeline__heading {
  width: 50%;
  max-width: 37.5rem;
}

.pokerestek-timeline__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}

.pokerestek-timeline__item {
  position: relative;
  min-width: 0;
  padding-top: var(--space-5);
  border-top: var(--border-subtle);
}

.pokerestek-timeline__item::before {
  position: absolute;
  top: -0.25rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-terracotta);
  content: "";
}

.pokerestek-timeline__note {
  width: 83.333%;
  min-width: 0;
  margin: var(--space-7) auto 0;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-card);
  background: var(--color-oak);
}

.pokerestek-image-story {
  padding-block: var(--space-8);
}

.pokerestek-image-story__media {
  position: relative;
  min-width: 0;
}

.pokerestek-image-story__image {
  width: 100%;
  height: max(37.5rem, 46vw);
  border-radius: 0;
}

.pokerestek-image-story__overlay-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
  pointer-events: none;
}

.pokerestek-image-story__overlay {
  grid-column: 1;
  min-width: 0;
  max-width: 31.25rem;
  margin-bottom: var(--space-7);
  padding: var(--space-6);
  border: 1px solid rgba(255, 248, 233, 0.65);
  border-radius: var(--radius-feature);
  background: rgba(255, 248, 233, 0.88);
  color: var(--color-stone);
  backdrop-filter: blur(12px);
}

.pokerestek-image-story__overlay h2 {
  color: var(--color-sage-deep);
}

.pokerestek-image-story__caption {
  margin: var(--space-3) 0 0;
  padding-top: var(--space-2);
  border-top: var(--border-subtle);
  color: var(--color-muted);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pokerestek-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 6fr);
  align-items: start;
}

.pokerestek-faq__intro {
  grid-column: 1;
  min-width: 0;
  max-width: 25rem;
}

.pokerestek-accordion {
  grid-column: 3;
  min-width: 0;
}

.pokerestek-accordion__item {
  min-width: 0;
  border-top: var(--border-subtle);
}

.pokerestek-accordion__item:last-child {
  border-bottom: var(--border-subtle);
}

.pokerestek-accordion__item h3 {
  margin: 0;
}

.pokerestek-accordion__button {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border: 0;
  background: transparent;
  color: var(--color-sage-deep);
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.12;
  text-align: left;
}

.pokerestek-accordion__icon {
  display: grid;
  width: 1.5rem;
  min-width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  color: var(--color-terracotta);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.pokerestek-accordion__button[aria-expanded="true"] .pokerestek-accordion__icon {
  font-size: 0;
}

.pokerestek-accordion__button[aria-expanded="true"] .pokerestek-accordion__icon::after {
  font-size: 1.5rem;
  content: "−";
}

.pokerestek-accordion__panel {
  overflow: hidden;
  max-height: 20rem;
  padding: 0 var(--space-6) var(--space-5) 0;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.pokerestek-accordion__panel[hidden] {
  display: block;
  max-height: 0;
  padding-bottom: 0;
}

.pokerestek-accordion__panel > :last-child {
  margin-bottom: 0;
}

.pokerestek-closing {
  padding-top: var(--space-7);
}

.pokerestek-closing__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  padding: var(--space-9) var(--space-6);
  border-radius: var(--radius-feature);
  background: var(--color-terracotta);
  color: var(--color-ivory);
}

.pokerestek-closing__content {
  display: flex;
  width: 50%;
  min-width: 0;
  max-width: 35rem;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  margin-inline: auto;
  text-align: center;
}

.pokerestek-closing__content h2,
.pokerestek-closing__content p {
  margin: 0;
  color: var(--color-ivory);
}

.pokerestek-closing__button {
  border-color: var(--color-ivory);
  background: var(--color-ivory);
  box-shadow: inset 0 0 0 1px var(--color-terracotta);
  color: var(--color-terracotta-deep);
}

.pokerestek-closing__button:hover {
  border-color: var(--color-cream);
  background: var(--color-cream);
  color: var(--color-terracotta-deep);
}

.pokerestek-reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 360ms ease-out, transform 360ms ease-out;
}

.pokerestek-is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 899px) {
  .pokerestek-page .section--landmark {
    padding-block: var(--space-9) var(--space-8);
  }

  .pokerestek-hero__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: var(--space-6) var(--space-5);
  }

  .pokerestek-hero__copy,
  .pokerestek-hero__figure {
    grid-column: 1 / -1;
    width: 100%;
  }

  .pokerestek-hero__copy {
    max-width: 32.5rem;
  }

  .pokerestek-live__heading {
    width: 100%;
    max-width: 42.5rem;
  }

  .pokerestek-live__items,
  .pokerestek-principles,
  .pokerestek-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pokerestek-live__items > :nth-child(3),
  .pokerestek-principles > :nth-child(3),
  .pokerestek-theme-grid > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .pokerestek-beginner-note {
    width: 100%;
  }

  .pokerestek-dinner__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: var(--space-6) var(--space-5);
  }

  .pokerestek-dinner__figure {
    grid-column: 1 / 5;
  }

  .pokerestek-dinner__copy {
    grid-column: 5 / -1;
    width: 100%;
  }

  .pokerestek-friends__intro,
  .pokerestek-friends__link {
    width: 100%;
  }

  .pokerestek-themes__heading {
    width: 75%;
    max-width: 38.75rem;
  }

  .pokerestek-theme-panel--offset {
    margin-top: 0;
  }

  .pokerestek-timeline__heading {
    width: 75%;
  }

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

  .pokerestek-timeline__note {
    width: 100%;
  }

  .pokerestek-image-story__image {
    height: 30rem;
  }

  .pokerestek-image-story__overlay-wrap {
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  }

  .pokerestek-faq__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .pokerestek-faq__intro,
  .pokerestek-accordion {
    grid-column: 1 / -1;
    width: 100%;
  }

  .pokerestek-faq__intro {
    max-width: 42.5rem;
  }

  .pokerestek-closing__content {
    width: 75%;
  }
}

@media (max-width: 679px) {
  .pokerestek-page .section--landmark {
    padding-block: var(--space-8) var(--space-7);
  }

  .pokerestek-hero__grid,
  .pokerestek-dinner__grid,
  .pokerestek-faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pokerestek-hero__copy,
  .pokerestek-hero__figure,
  .pokerestek-dinner__figure,
  .pokerestek-dinner__copy,
  .pokerestek-faq__intro,
  .pokerestek-accordion {
    grid-column: 1;
  }

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

  .pokerestek-hero__actions .button {
    width: 100%;
  }

  .pokerestek-hero__actions .pokerestek-text-link {
    text-align: left;
  }

  .pokerestek-hero__image {
    aspect-ratio: 4 / 3;
  }

  .pokerestek-live__items,
  .pokerestek-principles,
  .pokerestek-theme-grid,
  .pokerestek-timeline__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .pokerestek-live__items > :nth-child(3),
  .pokerestek-principles > :nth-child(3),
  .pokerestek-theme-grid > :nth-child(3) {
    grid-column: 1;
  }

  .pokerestek-live__items,
  .pokerestek-principles,
  .pokerestek-theme-grid {
    gap: var(--space-6);
  }

  .pokerestek-beginner-note,
  .pokerestek-timeline__note {
    padding: var(--space-5);
  }

  .pokerestek-dinner__grid {
    gap: var(--space-6);
  }

  .pokerestek-dinner__copy {
    display: contents;
  }

  .pokerestek-dinner__copy > :is(.eyebrow, h2, .intro, p:not(.intro)) {
    grid-column: 1;
  }

  .pokerestek-dinner__figure {
    grid-row: 2;
  }

  .pokerestek-dinner__mini-blocks {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0;
  }

  .pokerestek-dinner__copy .eyebrow {
    grid-row: 1;
  }

  .pokerestek-dinner__copy h2 {
    grid-row: 1;
    margin-top: calc(var(--space-4) + 1.1em);
  }

  .pokerestek-dinner__copy .intro {
    grid-row: 1;
    margin-top: calc(var(--space-4) + 4.5em);
  }

  .pokerestek-dinner__copy p:not(.intro) {
    grid-row: 1;
    margin-top: calc(var(--space-4) + 12.5em);
  }

  .pokerestek-dinner__figure {
    margin-top: var(--space-7);
  }

  .pokerestek-dinner__image {
    aspect-ratio: 4 / 5;
  }

  .pokerestek-themes__heading,
  .pokerestek-timeline__heading,
  .pokerestek-friends__intro,
  .pokerestek-friends__link,
  .pokerestek-closing__content {
    width: 100%;
  }

  .pokerestek-theme-panel {
    min-height: 0;
  }

  .pokerestek-timeline__list {
    gap: 0;
  }

  .pokerestek-timeline__item {
    padding: 0 0 var(--space-6) var(--space-6);
    border-top: 0;
    border-left: var(--border-subtle);
  }

  .pokerestek-timeline__item::before {
    top: 0;
    left: -0.3rem;
  }

  .pokerestek-image-story {
    padding-block: var(--space-7);
  }

  .pokerestek-image-story__image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .pokerestek-image-story__overlay-wrap {
    position: static;
    display: block;
    width: 100%;
  }

  .pokerestek-image-story__overlay {
    width: min(100% - (var(--gutter) * 2), var(--container-max));
    max-width: none;
    margin: var(--space-5) auto 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .pokerestek-image-story__caption {
    margin-top: var(--space-5);
  }

  .pokerestek-accordion__button {
    min-height: 3.75rem;
    font-size: var(--text-h4);
  }

  .pokerestek-accordion__panel {
    padding-right: 0;
  }

  .pokerestek-closing__panel {
    padding: var(--space-7) var(--space-5);
  }

  .pokerestek-closing__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pokerestek-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
