/* Poker Room page styles */
#poker-room-main {
  display: block;
}

/* Hero */
.poker-hero {
  position: relative;
  background-color: var(--color-midnight);
  overflow: hidden;
}

.poker-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.poker-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poker-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-midnight);
  opacity: 0.2;
  pointer-events: none;
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-4xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

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

.poker-hero__title {
  max-width: 12ch;
  margin-block-end: 0;
  font-size: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 300;
}

.poker-hero__caption {
  max-width: 70ch;
  margin-block-end: 0;
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
}

.poker-hero__cta {
  margin-block-start: var(--space-md);
}

/* Authorized section */
.poker-authorized__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-2xl);
  align-items: start;
}

.poker-authorized__text {
  grid-column: span 5;
  min-width: 0;
}

.poker-authorized__text p {
  max-width: 75ch;
}

.poker-authorized__panel {
  grid-column: span 7;
  min-width: 0;
  background-color: var(--color-felt);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.poker-authorized__panel h3 {
  margin-block-end: var(--space-md);
}

.poker-authorized__list {
  margin-block-end: 0;
  padding-inline-start: var(--space-xl);
  list-style: disc;
}

.poker-authorized__list li {
  margin-block-end: var(--space-sm);
}

.poker-authorized__list li:last-child {
  margin-block-end: 0;
}

/* Atmosphere section */
.poker-atmosphere__header {
  margin-block-end: var(--space-2xl);
}

.poker-atmosphere__header h2 {
  margin-block-end: 0;
}

.poker-atmosphere__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.poker-atmosphere__card {
  min-width: 0;
  background-color: var(--color-navy);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border-block-start: 2px solid var(--color-champagne);
}

.poker-atmosphere__card h3 {
  margin-block-end: var(--space-md);
}

.poker-atmosphere__card p {
  max-width: 65ch;
  margin-block-end: 0;
}

/* Tables section */
.poker-tables__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-3xl);
  align-items: center;
}

.poker-tables__text {
  grid-column: span 5;
  min-width: 0;
}

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

.poker-tables__list {
  margin-block-end: 0;
  padding-inline-start: var(--space-xl);
  list-style: disc;
}

.poker-tables__list li {
  margin-block-end: var(--space-sm);
}

.poker-tables__list li:last-child {
  margin-block-end: 0;
}

.poker-tables__media {
  grid-column: span 7;
  min-width: 0;
}

.poker-tables__image-frame {
  aspect-ratio: 3 / 2;
}

.poker-tables__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Formats section */
.poker-formats__header {
  margin-block-end: var(--space-2xl);
}

.poker-formats__header h2 {
  margin-block-end: 0;
}

.poker-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}

.poker-formats__card {
  min-width: 0;
  background-color: var(--color-ivory-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border-inline-start: 2px solid var(--color-champagne);
}

.poker-formats__card h3 {
  color: var(--color-ink);
  margin-block-end: var(--space-md);
}

.poker-formats__card p {
  color: var(--color-ink);
  max-width: 65ch;
  margin-block-end: 0;
}

/* Etiquette section */
.poker-etiquette__panel {
  max-width: 800px;
  margin-inline: auto;
  background-color: var(--color-felt);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
}

.poker-etiquette__panel h2 {
  margin-block-end: var(--space-lg);
}

.poker-etiquette__list {
  margin-block-end: 0;
  padding-inline-start: var(--space-xl);
  list-style: decimal;
  color: var(--color-ivory);
}

.poker-etiquette__list li {
  margin-block-end: var(--space-lg);
  padding-inline-start: var(--space-sm);
}

.poker-etiquette__list li:last-child {
  margin-block-end: 0;
}

.poker-etiquette__list li::marker {
  color: var(--color-champagne);
  font-weight: 600;
}

/* Nights section */
.poker-nights__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3xl);
}

.poker-nights__column {
  min-width: 0;
  border-inline-end: 1px solid var(--color-border-dark);
  padding-inline-end: var(--space-xl);
}

.poker-nights__column:last-child {
  border-inline-end: none;
  padding-inline-end: 0;
}

.poker-nights__column h2 {
  margin-block-end: var(--space-md);
}

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

.poker-nights__link {
  display: inline-block;
  margin-block-start: var(--space-md);
  color: var(--color-champagne);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

.poker-nights__link:hover {
  color: var(--color-brass);
}

/* Restaurant section */
.poker-restaurant__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-2xl);
  align-items: center;
}

.poker-restaurant__text {
  grid-column: span 4;
  min-width: 0;
}

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

.poker-restaurant__media {
  grid-column: span 8;
  min-width: 0;
  max-width: 600px;
  justify-self: end;
}

.poker-restaurant__image-frame {
  aspect-ratio: 16 / 9;
}

.poker-restaurant__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Location section */
.poker-location__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-2xl);
  align-items: start;
}

.poker-location__text {
  grid-column: span 5;
  min-width: 0;
}

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

.poker-location__map {
  grid-column: span 7;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
}

.poker-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Visit section */
.poker-visit__block {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.poker-visit__block::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background-color: var(--color-champagne);
  margin-block-end: var(--space-sm);
}

.poker-visit__block h2 {
  margin-block-end: 0;
}

.poker-visit__block p {
  max-width: 60ch;
  margin-block-end: 0;
}

.poker-visit__cta {
  margin-block-start: var(--space-md);
}

/* Responsive */
@media (min-width: 768px) and (max-width: 1023px) {
  .poker-hero__content {
    padding-block: var(--space-3xl);
  }

  .poker-authorized__grid,
  .poker-tables__grid,
  .poker-restaurant__grid,
  .poker-location__grid {
    gap: var(--space-xl);
  }

  .poker-authorized__text,
  .poker-tables__text,
  .poker-restaurant__text,
  .poker-location__text {
    grid-column: span 6;
  }

  .poker-authorized__panel,
  .poker-tables__media,
  .poker-restaurant__media,
  .poker-location__map {
    grid-column: span 6;
  }

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

  .poker-atmosphere__card:last-child,
  .poker-formats__card:last-child {
    grid-column: span 2;
  }

  .poker-nights__grid {
    gap: var(--space-xl);
  }
}

@media (max-width: 767px) {
  .poker-hero__media {
    aspect-ratio: 4 / 5;
  }

  .poker-hero__content {
    padding-block: var(--space-2xl);
    padding-inline: var(--page-padding-mobile);
    gap: var(--space-md);
  }

  .poker-hero__title {
    font-size: clamp(2rem, 1.5rem + 2vw, 2.5rem);
    max-width: 100%;
  }

  .poker-hero__caption {
    font-size: var(--text-body-size);
    max-width: 100%;
  }

  .poker-authorized__grid,
  .poker-tables__grid,
  .poker-restaurant__grid,
  .poker-location__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .poker-authorized__text,
  .poker-authorized__panel,
  .poker-tables__text,
  .poker-tables__media,
  .poker-restaurant__text,
  .poker-restaurant__media,
  .poker-location__text,
  .poker-location__map {
    grid-column: auto;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

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

  .poker-atmosphere__grid,
  .poker-formats__grid,
  .poker-nights__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .poker-atmosphere__card:last-child,
  .poker-formats__card:last-child {
    grid-column: auto;
  }

  .poker-nights__column {
    border-inline-end: none;
    padding-inline-end: 0;
  }

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

  .poker-tables__image-frame {
    aspect-ratio: 16 / 9;
  }

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