/* Offline Poker page styles */

#offline-poker-page {
  background-color: var(--surface-charcoal);
  color: var(--color-bone);
  overflow-x: hidden;
}

/* Hero */
.op-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--surface-charcoal);
}

.op-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.op-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 240ms ease-out;
}

.op-hero__image.is-loaded {
  opacity: 1;
}

.op-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 26, 26, 0.15) 0%, rgba(23, 26, 26, 0.65) 100%);
  pointer-events: none;
}

.op-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: var(--space-64);
}

.op-hero__text {
  max-width: 50%;
  min-width: 0;
}

.op-hero__text .overline {
  margin-bottom: var(--space-16);
}

.op-hero__text h1 {
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  font-weight: var(--text-display-weight);
  letter-spacing: var(--text-display-tracking);
  color: var(--color-bone);
  margin-bottom: var(--space-24);
  max-width: 16ch;
}

.op-hero__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  font-weight: var(--text-body-large-weight);
  letter-spacing: var(--text-body-large-tracking);
  color: var(--color-bone);
  margin-bottom: var(--space-16);
  max-width: 40ch;
}

.op-hero__support {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-bone-muted);
  margin-bottom: 0;
  max-width: 45ch;
}

/* Section base */
.op-section {
  padding-block: var(--space-96);
}

/* What Is Offline Poker? */
.op-definition {
  background-color: var(--surface-charcoal);
}

.op-definition__inner {
  max-width: var(--editorial-max);
  margin-inline: auto;
}

.op-definition__inner .overline {
  margin-bottom: var(--space-16);
}

.op-definition__inner h2 {
  margin-bottom: var(--space-32);
}

.op-definition__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.op-definition__copy p {
  max-width: 65ch;
  margin-bottom: 0;
}

/* Card Room Experience */
.op-card-room {
  background-color: var(--surface-charcoal);
}

.op-card-room__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-48);
  align-items: center;
}

.op-card-room__text {
  min-width: 0;
}

.op-card-room__text .overline {
  margin-bottom: var(--space-16);
}

.op-card-room__text h2 {
  margin-bottom: var(--space-24);
}

.op-card-room__text p {
  max-width: 65ch;
  margin-bottom: var(--space-16);
}

.op-card-room__text p:last-child {
  margin-bottom: 0;
}

.op-card-room__figure {
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: var(--radius-image);
  overflow: hidden;
}

.op-card-room__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-image);
}

.op-card-room__figure figcaption {
  padding: var(--space-8) var(--space-12);
  margin: 0;
  font-size: var(--text-body-small-size);
  color: var(--color-bone-muted);
  background-color: var(--surface-raised);
}

/* Poker Nights */
.op-poker-nights {
  background-color: var(--surface-charcoal);
}

.op-poker-nights .container > .overline {
  margin-bottom: var(--space-16);
}

.op-poker-nights .container > h2 {
  margin-bottom: var(--space-48);
}

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

.op-poker-nights__step {
  min-width: 0;
  padding-right: var(--space-32);
  border-right: 1px solid rgba(198, 161, 91, 0.18);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.op-poker-nights__step:last-child {
  border-right: none;
  padding-right: 0;
}

.op-poker-nights__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--color-brass);
  font-weight: 500;
}

.op-poker-nights__step h3 {
  margin-bottom: 0;
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  letter-spacing: var(--text-h3-tracking);
}

.op-poker-nights__step p {
  max-width: 55ch;
  margin-bottom: 0;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

/* Restaurant Connection */
.op-restaurant {
  background-color: var(--surface-charcoal);
}

.op-restaurant__grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: var(--space-48);
  align-items: center;
}

.op-restaurant__figure {
  margin: 0;
  min-width: 0;
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: var(--radius-image);
  overflow: hidden;
}

.op-restaurant__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-image);
}

.op-restaurant__figure figcaption {
  padding: var(--space-8) var(--space-12);
  margin: 0;
  font-size: var(--text-body-small-size);
  color: var(--color-bone-muted);
  background-color: var(--surface-raised);
}

.op-restaurant__text {
  min-width: 0;
}

.op-restaurant__text .overline {
  margin-bottom: var(--space-16);
}

.op-restaurant__text h2 {
  margin-bottom: var(--space-24);
}

.op-restaurant__text p {
  max-width: 65ch;
  margin-bottom: var(--space-16);
}

.op-restaurant__text p:last-child {
  margin-bottom: 0;
}

/* Why Choose */
.op-why {
  background-color: var(--surface-charcoal);
}

.op-why__grid {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: var(--space-48);
  align-items: start;
}

.op-why__accent {
  background-color: var(--surface-emphasis);
  border-radius: var(--radius-card);
  padding: var(--space-32);
  min-width: 0;
}

.op-why__overline {
  color: var(--color-brass);
  margin-bottom: var(--space-16);
}

.op-why__accent-copy {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--color-bone);
  margin-bottom: 0;
}

.op-why__content {
  min-width: 0;
}

.op-why__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.op-why__list li {
  margin: 0;
  padding-left: var(--space-24);
  position: relative;
  border-left: 2px solid var(--color-brass);
  min-width: 0;
}

.op-why__list li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-circle);
  background-color: var(--color-brass);
}

.op-why__list h3 {
  margin-bottom: var(--space-8);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  letter-spacing: var(--text-h3-tracking);
}

.op-why__list p {
  max-width: 60ch;
  margin-bottom: 0;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

/* Planning Your Visit */
.op-visit {
  background-color: var(--surface-charcoal);
}

.op-visit__grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: var(--space-48);
  align-items: start;
}

.op-visit__text {
  min-width: 0;
}

.op-visit__text .overline {
  margin-bottom: var(--space-16);
}

.op-visit__text h2 {
  margin-bottom: var(--space-24);
}

.op-visit__text p {
  max-width: 65ch;
  margin-bottom: var(--space-16);
}

.op-visit__text p:last-child {
  margin-bottom: 0;
}

.op-visit__map {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 3;
}

.op-visit__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Join a Poker Night CTA */
.op-cta {
  background-color: var(--surface-emphasis);
  padding-block: var(--space-96);
}

.op-cta__inner {
  max-width: var(--editorial-max);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
}

.op-cta__inner .overline {
  margin-bottom: 0;
}

.op-cta__inner h2 {
  margin-bottom: 0;
  color: var(--color-bone);
}

.op-cta__inner p {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--color-bone);
}

.op-cta__button {
  margin-top: var(--space-8);
}

.op-cta__contact {
  font-size: var(--text-body-small-size);
  color: var(--color-bone-muted);
  margin-top: var(--space-8);
}

.op-cta__contact a {
  color: var(--color-brass);
  text-decoration: none;
  transition: color var(--transition-color);
}

.op-cta__contact a:hover {
  color: var(--color-deep-green-bright);
}

/* Tablet */
@media (min-width: 640px) and (max-width: 1023px) {
  .op-section {
    padding-block: var(--space-64);
  }

  .op-hero {
    min-height: 70vh;
  }

  .op-hero__text {
    max-width: 65%;
  }

  .op-card-room__grid,
  .op-restaurant__grid,
  .op-visit__grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .op-card-room__figure,
  .op-restaurant__figure {
    order: -1;
  }

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

  .op-poker-nights__step {
    padding-right: var(--space-24);
  }

  .op-why__grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .op-why__accent {
    padding: var(--space-24);
  }

  .op-visit__map {
    aspect-ratio: 16 / 9;
  }
}

/* Mobile */
@media (max-width: 639px) {
  .op-section {
    padding-block: var(--space-48);
  }

  .op-hero {
    min-height: 70vh;
  }

  .op-hero__content {
    padding-bottom: var(--space-48);
  }

  .op-hero__text {
    max-width: 100%;
  }

  .op-hero__text h1 {
    font-size: clamp(2.125rem, 8vw, 2.5rem);
    line-height: 1.1;
    max-width: 100%;
  }

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

  .op-hero__support {
    max-width: 100%;
  }

  .op-definition__copy p {
    max-width: 100%;
  }

  .op-card-room__grid,
  .op-restaurant__grid,
  .op-visit__grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .op-card-room__figure,
  .op-restaurant__figure {
    order: -1;
  }

  .op-card-room__text p,
  .op-restaurant__text p,
  .op-visit__text p {
    max-width: 100%;
  }

  .op-poker-nights__grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .op-poker-nights__step {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(198, 161, 91, 0.18);
    padding-bottom: var(--space-24);
  }

  .op-poker-nights__step:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .op-poker-nights__step p {
    max-width: 100%;
  }

  .op-why__grid {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .op-why__accent {
    padding: var(--space-24);
  }

  .op-why__list {
    gap: var(--space-24);
  }

  .op-why__list p {
    max-width: 100%;
  }

  .op-visit__map {
    aspect-ratio: 16 / 9;
  }

  .op-cta {
    padding-block: var(--space-64);
  }

  .op-cta__inner {
    gap: var(--space-16);
  }

  .op-cta__button {
    width: 100%;
  }
}

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