/* Page-owned styles for Pòquer Presencial */

.poker-presencial-page {
  overflow-x: hidden;
}

/* Hero */
.hero-poker-presencial {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-deep-navy);
}

.hero-poker-presencial__media {
  position: absolute;
  inset: 0;
}

.hero-poker-presencial__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-none);
}

.hero-poker-presencial__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  width: 100%;
  max-width: var(--container-main);
  margin-inline: auto;
}

.hero-poker-presencial__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 27, 51, 0.7) 0%, rgba(14, 27, 51, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-poker-presencial__text {
  max-width: 600px;
  width: 100%;
}

.hero-poker-presencial__title {
  color: var(--color-white);
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  margin-block-end: var(--space-md);
  max-width: 55ch;
}

.hero-poker-presencial__lead {
  color: var(--color-white);
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  max-width: 55ch;
  margin-block-end: 0;
}

.hero-poker-presencial__cta {
  min-width: 200px;
}

/* What is Face-to-Face Poker */
.what-is-poker {
  background-color: var(--color-warm-white);
  border-block-start: 1px solid var(--color-wood-ash);
}

.what-is-poker__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-2xl);
}

.what-is-poker__intro {
  grid-column: 1 / span 5;
  min-width: 0;
}

.what-is-poker__secondary {
  grid-column: 7 / span 5;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.what-is-poker__heading {
  margin-block-end: var(--space-lg);
}

.what-is-poker__unit {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.what-is-poker__unit p {
  max-width: 55ch;
  margin-block-end: 0;
}

.what-is-poker__unit--primary {
  margin-block-start: var(--space-md);
}

/* Live Poker Experience */
.live-poker-experience {
  background-color: var(--color-light-grey);
}

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

.live-poker-experience__content {
  grid-column: 1 / span 5;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.live-poker-experience__heading {
  margin-block-end: var(--space-md);
}

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

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

.live-poker-experience__unit p {
  max-width: 55ch;
  margin-block-end: 0;
}

.live-poker-experience__media {
  grid-column: 7 / span 6;
  min-width: 0;
}

.live-poker-experience__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Games and Formats */
.games-formats {
  background-color: var(--color-warm-white);
}

.games-formats__heading {
  margin-block-end: var(--space-2xl);
}

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

.game-card {
  background-color: var(--color-white);
  border: var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  min-width: 0;
  transition: border-color var(--transition-fast);
}

.game-card:hover {
  border-color: var(--color-cobalt-blue);
}

.game-card__label {
  align-self: flex-start;
}

.game-card h3 {
  margin-block-end: 0;
}

.game-card p {
  max-width: 45ch;
  margin-block-end: 0;
}

/* Stakes and Buy-ins */
.stakes-buyins {
  background-color: var(--color-warm-white);
  border-block-start: 1px solid var(--color-wood-ash);
}

.stakes-buyins__heading {
  margin-block-end: var(--space-lg);
}

.stakes-buyins__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 60ch;
}

.stakes-buyins__unit {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stakes-buyins__unit h3 {
  margin-block-end: var(--space-2xs);
}

.stakes-buyins__unit p {
  margin-block-end: 0;
}

/* Social Side */
.social-side {
  background-color: var(--color-light-grey);
}

.social-side__heading {
  margin-block-end: var(--space-2xl);
}

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

.social-side__unit {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
}

.social-side__unit p {
  max-width: 40ch;
  margin-block-end: 0;
}

/* A Night at Maple Veranda */
.night-at-maple {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-block: 0;
}

.night-at-maple__media {
  position: absolute;
  inset: 0;
}

.night-at-maple__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-none);
}

.night-at-maple__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-3xl);
  width: 100%;
  max-width: var(--container-main);
  margin-inline: auto;
}

.night-at-maple__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 27, 51, 0.7) 0%, rgba(14, 27, 51, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.night-at-maple__text {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.night-at-maple__heading {
  color: var(--color-white);
  margin-block-end: var(--space-md);
}

.night-at-maple__unit {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.night-at-maple__unit h3 {
  color: var(--color-white);
  margin-block-end: var(--space-2xs);
}

.night-at-maple__unit p {
  color: var(--color-white);
  max-width: 55ch;
  margin-block-end: 0;
}

/* Practical Details */
.practical-details {
  background-color: var(--color-warm-white);
  border-block-start: 1px solid var(--color-wood-ash);
}

.practical-details__heading {
  margin-block-end: var(--space-lg);
}

.practical-details__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 60ch;
}

.practical-details__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-block-end: var(--space-lg);
  border-block-end: var(--border-light);
}

.practical-details__item:last-child {
  border-block-end: none;
  padding-block-end: 0;
}

.practical-details__item p {
  margin-block-end: 0;
}

.practical-details__item a {
  color: var(--color-electric-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.practical-details__item a:hover {
  color: var(--color-cobalt-blue);
  text-decoration: underline;
}

/* Call to Action */
.cta-poker {
  background-color: var(--color-light-grey);
  border-block-start: 1px solid var(--color-wood-ash);
}

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

.cta-poker__heading {
  margin-block-end: 0;
}

.cta-poker__text {
  max-width: 50ch;
  margin-inline: auto;
  margin-block-end: 0;
}

.cta-poker__button {
  min-width: 200px;
}

/* Responsive */
@media (max-width: 1024px) {
  .what-is-poker__grid,
  .live-poker-experience__grid {
    gap: var(--space-xl);
  }

  .what-is-poker__intro {
    grid-column: 1 / span 6;
  }

  .what-is-poker__secondary {
    grid-column: 7 / span 6;
  }

  .live-poker-experience__content {
    grid-column: 1 / span 6;
  }

  .live-poker-experience__media {
    grid-column: 7 / span 6;
  }
}

@media (max-width: 767px) {
  .hero-poker-presencial {
    min-height: 60vh;
  }

  .hero-poker-presencial__content {
    padding-block: var(--space-2xl);
    padding-inline: var(--container-padding-mobile);
  }

  .hero-poker-presencial__cta {
    width: 100%;
  }

  .what-is-poker__grid,
  .live-poker-experience__grid,
  .games-formats__grid,
  .social-side__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .what-is-poker__intro,
  .what-is-poker__secondary,
  .live-poker-experience__content,
  .live-poker-experience__media {
    grid-column: auto;
  }

  .live-poker-experience__media {
    order: -1;
  }

  .live-poker-experience__image {
    aspect-ratio: 3 / 2;
  }

  .night-at-maple {
    min-height: 60vh;
  }

  .night-at-maple__content {
    padding-block: var(--space-2xl);
    padding-inline: var(--container-padding-mobile);
  }

  .cta-poker__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-poker-presencial__title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-poker-presencial__lead {
    font-size: 1rem;
  }

  .night-at-maple__heading {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
}
