/* Poker Nights page styles */
.poker-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.poker-container--narrow {
  max-width: 800px;
}

.poker-container--panel {
  max-width: 900px;
}

.poker-container--cta {
  max-width: 600px;
  text-align: center;
}

.poker-section {
  padding-block: var(--space-xl);
}

/* Hero */
.poker-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.poker-hero__media {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 800px;
}

.poker-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--color-stone);
  transition: transform 0.8s ease;
}

.poker-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: var(--space-xl);
  pointer-events: none;
}

.poker-hero__overlay {
  max-width: 600px;
  background-color: rgba(26, 26, 26, 0.82);
  color: var(--surface-primary);
  padding: var(--space-lg);
  border: 1px solid var(--color-stone);
  pointer-events: auto;
}

.poker-hero__title {
  color: var(--surface-primary);
  font-size: clamp(28px, 5vw, 48px);
  line-height: var(--leading-display);
  margin-block-end: var(--space-md);
}

.poker-hero__lead {
  color: var(--surface-primary);
  font-size: clamp(16px, 2vw, 18px);
  line-height: var(--leading-body);
  max-width: 60ch;
  margin-block-end: var(--space-md);
}

.poker-hero__note {
  color: var(--surface-primary);
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  max-width: 60ch;
  margin-block-end: 0;
}

/* Concept */
.poker-concept__grid {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: var(--space-xl);
  align-items: start;
}

.poker-concept__text {
  min-width: 0;
}

.poker-concept__text p {
  max-width: 55ch;
}

.poker-concept__aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-concept__quote {
  max-width: 40ch;
  margin-block-end: 0;
}

.poker-concept__figure {
  margin-block-end: 0;
}

.poker-concept__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--color-stone);
  transition: filter 0.3s ease;
}

.poker-concept__image:hover {
  filter: grayscale(100%);
}

/* Format */
.poker-format__intro {
  max-width: 70ch;
  margin-block-end: var(--space-lg);
}

.poker-format__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-format__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding-block-end: var(--space-lg);
  border-block-end: 1px solid var(--color-stone);
  min-width: 0;
}

.poker-format__item:last-child {
  border-block-end: none;
  padding-block-end: 0;
}

.poker-format__number {
  flex: 0 0 48px;
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1;
  color: var(--color-wine);
}

.poker-format__body {
  min-width: 0;
  flex: 1;
}

.poker-format__body h3 {
  margin-block-end: var(--space-xs);
}

.poker-format__body p {
  max-width: 70ch;
  margin-block-end: 0;
}

/* Atmosphere */
.poker-atmosphere__grid {
  display: grid;
  grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  gap: var(--space-xl);
  align-items: start;
}

.poker-atmosphere__main {
  min-width: 0;
}

.poker-atmosphere__main p {
  max-width: 65ch;
}

.poker-atmosphere__secondary {
  min-width: 0;
  padding-block-start: var(--space-xl);
}

.poker-atmosphere__secondary p {
  max-width: 50ch;
}

.poker-atmosphere__figure {
  margin-block-end: 0;
}

.poker-atmosphere__image {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--color-stone);
  transition: filter 0.3s ease;
}

.poker-atmosphere__image:hover {
  filter: grayscale(100%);
}

.poker-atmosphere__main .poker-atmosphere__image {
  aspect-ratio: 16 / 9;
}

.poker-atmosphere__secondary .poker-atmosphere__image {
  aspect-ratio: 4 / 3;
}

/* Cuisine */
.poker-cuisine__intro {
  max-width: 65ch;
  margin-block-end: var(--space-lg);
}

.poker-cuisine__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-block-end: var(--space-xl);
}

.poker-cuisine__column {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
}

.poker-cuisine__column li {
  max-width: 45ch;
}

.poker-cuisine__drink {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: var(--space-xl);
  align-items: start;
}

.poker-cuisine__drink-text {
  min-width: 0;
}

.poker-cuisine__drink-text p {
  max-width: 55ch;
}

.poker-cuisine__figure {
  margin-block-end: 0;
  min-width: 0;
}

.poker-cuisine__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--color-stone);
  transition: filter 0.3s ease;
}

.poker-cuisine__image:hover {
  filter: grayscale(100%);
}

/* Rules */
.poker-rules__panel {
  background-color: var(--surface-secondary);
  border: 1px solid var(--color-stone);
  padding: var(--space-xl);
}

.poker-rules__panel p {
  max-width: 70ch;
}

.poker-rules__list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-rules__list li {
  max-width: 70ch;
  padding-inline-start: var(--space-lg);
  position: relative;
}

.poker-rules__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--color-wine);
}

/* Reserve */
.poker-reserve__accent {
  margin-inline: auto;
}

.poker-reserve p {
  max-width: 60ch;
  margin-inline: auto;
  margin-block-end: var(--space-lg);
}

.poker-reserve__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.poker-reserve__button {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-stone);
  text-underline-offset: 3px;
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid var(--color-ink);
  background-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.poker-reserve__button:hover,
.poker-reserve__button:focus-visible {
  color: var(--color-wine);
  text-decoration-color: var(--color-wine);
  border-color: var(--color-wine);
  background-color: var(--surface-secondary);
}

/* FAQ */
.poker-faq__intro {
  max-width: 70ch;
  margin-block-end: var(--space-lg);
}

.poker-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.poker-faq__item {
  border-block-end: 1px solid var(--color-stone);
}

.poker-faq__item:first-child {
  border-block-start: 1px solid var(--color-stone);
}

.poker-faq__item h3 {
  margin-block-end: 0;
}

.poker-faq__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--space-md) 0;
  background-color: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  color: var(--color-ink);
  text-align: start;
  cursor: pointer;
  transition: color 0.2s ease;
}

.poker-faq__toggle:hover,
.poker-faq__toggle:focus-visible {
  color: var(--color-wine);
}

.poker-faq__icon {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.poker-faq__icon::before,
.poker-faq__icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

.poker-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.poker-faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.poker-faq__toggle[aria-expanded="true"] .poker-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.poker-faq__answer {
  padding-block-end: var(--space-md);
}

.poker-faq__answer p {
  max-width: 70ch;
  margin-block-end: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .poker-hero__media {
    height: 60vh;
  }

  .poker-concept__grid,
  .poker-atmosphere__grid,
  .poker-cuisine__drink {
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .poker-container {
    padding-inline: var(--space-md);
  }

  .poker-section {
    padding-block: var(--space-lg);
  }

  .poker-hero__media {
    height: 50vh;
    min-height: 360px;
  }

  .poker-hero__content {
    position: static;
    padding: 0;
  }

  .poker-hero__overlay {
    max-width: none;
    background-color: var(--surface-primary);
    color: var(--color-ink);
    border: none;
    padding: var(--space-lg) 0 0;
  }

  .poker-hero__title,
  .poker-hero__lead,
  .poker-hero__note {
    color: var(--color-ink);
  }

  .poker-concept__grid,
  .poker-atmosphere__grid,
  .poker-cuisine__drink {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .poker-concept__aside {
    order: 3;
  }

  .poker-concept__quote {
    max-width: 100%;
  }

  .poker-atmosphere__secondary {
    padding-block-start: 0;
  }

  .poker-cuisine__list {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .poker-cuisine__column li {
    max-width: 100%;
  }

  .poker-format__number {
    flex-basis: 36px;
    font-size: 28px;
  }

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

  .poker-reserve__button {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .poker-container {
    padding-inline: var(--space-sm);
  }

  .poker-hero__media {
    height: 40vh;
    min-height: 280px;
  }

  .poker-hero__overlay {
    padding-block-start: var(--space-md);
  }

  .poker-rules__panel {
    padding: var(--space-md);
  }

  .poker-format__item {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .poker-format__number {
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-hero__image {
    transition: none;
  }

  .poker-concept__image,
  .poker-atmosphere__image,
  .poker-cuisine__image {
    transition: none;
  }

  .poker-faq__icon::before,
  .poker-faq__icon::after {
    transition: none;
  }
}
