/* Page-owned styles for poker-room page */
#poker-room-page {
  --pr-hero-height: 80vh;
  --pr-hero-height-mobile: 70vh;
  --pr-overlay-width: 50%;
  --pr-overlay-width-mobile: 100%;
  --pr-gutter-mobile: 1.5rem;
  --pr-gutter-tablet: 2.5rem;
  --pr-gutter-desktop: 4rem;
  --pr-section-pad-mobile: 4rem;
  --pr-section-pad-tablet: 6rem;
  --pr-section-pad-desktop: 8rem;
}

/* Hero */
.poker-hero {
  position: relative;
  min-height: var(--pr-hero-height-mobile);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-burgundy);
}

.poker-hero__media,
.poker-hero__scrim {
  position: absolute;
  inset: 0;
}

.poker-hero__media {
  z-index: 0;
}

.poker-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poker-hero__scrim {
  z-index: 1;
  background: linear-gradient(90deg, rgba(74, 18, 32, 0.85) 0%, rgba(74, 18, 32, 0.55) 45%, rgba(74, 18, 32, 0.15) 100%);
}

.poker-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-editorial);
  margin-inline: auto;
  padding-inline: var(--pr-gutter-mobile);
}

.poker-hero__content {
  max-width: var(--pr-overlay-width-mobile);
  color: var(--color-sand);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

.poker-hero__label {
  color: var(--color-gold-soft);
}

.poker-hero__title {
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--color-sand);
  margin: 0;
  max-width: 600px;
}

.poker-hero__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-leading);
  color: var(--color-dark-body);
  margin: 0;
  max-width: 500px;
}

.poker-hero__button {
  margin-top: var(--space-sm);
}

/* Introduction */
.poker-intro {
  background-color: var(--color-sand);
}

.poker-intro__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.poker-intro__text h2 {
  margin-bottom: var(--space-md);
}

.poker-intro__text p {
  max-width: 62ch;
  margin-bottom: var(--space-md);
}

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

.poker-intro__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-leading);
  color: var(--color-ink);
}

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

.poker-intro__image {
  width: 100%;
  height: 60vw;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-none);
}

/* Tables */
.poker-tables {
  background-color: var(--color-sand-light);
}

.poker-tables__heading {
  max-width: 800px;
  margin-bottom: var(--space-2xl);
}

.poker-tables__heading h2 {
  margin-bottom: var(--space-md);
}

.poker-tables__intro {
  max-width: 62ch;
  margin-bottom: 0;
}

.poker-tables__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.poker-table-card {
  background-color: var(--color-sand-light);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-table-card__icon {
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.poker-table-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-leading);
  font-weight: 500;
}

.poker-table-card p {
  margin: 0;
  max-width: 60ch;
}

/* Experience */
.poker-experience {
  background-color: var(--color-sand);
}

.poker-experience__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

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

.poker-experience__text h2 {
  margin-bottom: var(--space-md);
}

.poker-experience__text p {
  max-width: 62ch;
  margin-bottom: 0;
}

.poker-experience__quote {
  border-inline-start: 2px solid var(--color-gold);
  padding-inline-start: var(--space-lg);
  margin: 0;
  max-width: 50ch;
  font-style: italic;
}

.poker-experience__quote p {
  font-family: var(--font-heading);
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-leading);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.poker-experience__cite {
  font-family: var(--font-body);
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-leading);
  letter-spacing: var(--text-caption-tracking);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-muted);
  font-style: normal;
}

/* Atmosphere */
.poker-atmosphere {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-burgundy);
}

.poker-atmosphere__media,
.poker-atmosphere__scrim {
  position: absolute;
  inset: 0;
}

.poker-atmosphere__media {
  z-index: 0;
}

.poker-atmosphere__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poker-atmosphere__scrim {
  z-index: 1;
  background: linear-gradient(90deg, rgba(74, 18, 32, 0.8) 0%, rgba(74, 18, 32, 0.5) 50%, rgba(74, 18, 32, 0.2) 100%);
}

.poker-atmosphere__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-editorial);
  margin-inline: auto;
  padding-inline: var(--pr-gutter-mobile);
}

.poker-atmosphere__content {
  max-width: var(--pr-overlay-width-mobile);
  color: var(--color-sand);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-atmosphere__content h2 {
  color: var(--color-sand);
  margin: 0;
}

.poker-atmosphere__content p {
  color: var(--color-dark-body);
  margin: 0;
  max-width: 60ch;
}

/* Events */
.poker-events {
  background-color: var(--color-sand-light);
}

.poker-events__container {
  max-width: 800px;
  margin-inline: auto;
}

.poker-events__container h2 {
  margin-bottom: var(--space-xl);
}

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

.poker-event-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--color-line);
}

.poker-event-row:first-child {
  border-top: 1px solid var(--color-line);
}

.poker-event-row__date {
  min-width: 0;
}

.poker-event-row__label {
  font-size: var(--text-label-size);
  line-height: var(--text-label-leading);
  letter-spacing: var(--text-label-tracking);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-gold);
}

.poker-event-row__body {
  min-width: 0;
}

.poker-event-row__body h3 {
  margin-bottom: var(--space-sm);
}

.poker-event-row__body p {
  margin-bottom: var(--space-sm);
  max-width: 70ch;
}

.poker-event-row__link {
  display: inline-block;
  margin-top: var(--space-xs);
}

/* Connection */
.poker-connection {
  background-color: var(--color-sand);
}

.poker-connection__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.poker-connection__text h2 {
  margin-bottom: var(--space-md);
}

.poker-connection__text p {
  max-width: 62ch;
  margin-bottom: 0;
}

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

.poker-connection__image {
  width: 100%;
  height: 60vw;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-none);
}

/* Location */
.poker-location {
  background-color: var(--color-sand-light);
}

.poker-location__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
}

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

.poker-location__details h2 {
  margin-bottom: var(--space-md);
}

.poker-location__details p {
  max-width: 50ch;
  margin-bottom: var(--space-md);
}

.poker-location__address {
  font-style: normal;
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.poker-location__contact {
  margin-bottom: 0;
}

.poker-location__map {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--color-line);
  border-radius: var(--radius-md);
}

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

/* Closing */
.poker-closing {
  background-color: var(--color-burgundy);
  color: var(--color-sand);
}

.poker-closing__container {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.poker-closing__container h2 {
  color: var(--color-sand);
  margin: 0;
}

.poker-closing__text {
  color: var(--color-dark-body);
  margin: 0;
  max-width: 60ch;
}

.poker-closing__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.poker-closing__actions .btn {
  width: 100%;
}

/* Tablet */
@media (min-width: 40rem) {
  #poker-room-page {
    --pr-hero-height: 80vh;
  }

  .poker-hero__container,
  .poker-atmosphere__container {
    padding-inline: var(--pr-gutter-tablet);
  }

  .poker-hero__content {
    max-width: 70%;
  }

  .poker-atmosphere__content {
    max-width: 70%;
  }

  .poker-intro__container,
  .poker-connection__container {
    grid-template-columns: 7fr 5fr;
    gap: var(--space-2xl);
  }

  .poker-intro__image,
  .poker-connection__image {
    height: 100%;
    max-height: 560px;
  }

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

  .poker-experience__container {
    grid-template-columns: 7fr 4fr;
    gap: var(--space-2xl);
  }

  .poker-event-row {
    grid-template-columns: 140px 1fr;
    gap: var(--space-xl);
  }

  .poker-location__container {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-2xl);
  }

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

  .poker-closing__actions {
    flex-direction: row;
    justify-content: center;
    max-width: none;
    width: auto;
  }

  .poker-closing__actions .btn {
    width: auto;
  }
}

/* Desktop */
@media (min-width: 64rem) {
  #poker-room-page {
    --pr-hero-height: 80vh;
  }

  .poker-hero__container,
  .poker-atmosphere__container {
    padding-inline: var(--pr-gutter-desktop);
  }

  .poker-hero__content {
    max-width: var(--pr-overlay-width);
  }

  .poker-atmosphere__content {
    max-width: var(--pr-overlay-width);
  }

  .poker-intro__image,
  .poker-connection__image {
    height: 100%;
    max-height: 600px;
  }

  .poker-location__map {
    aspect-ratio: 16 / 10;
  }
}

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