/* Global safeguards for fluid layouts and narrow screens. */
html,
body,
.page {
  max-width: 100%;
  overflow-x: clip;
}

main,
section,
header,
footer,
.container,
.page-inner,
.grid,
.hero,
.hero > *,
.grid > * {
  min-width: 0;
}

img,
picture,
video,
iframe {
  max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
.btn,
.hero-badge,
.tag,
.pill {
  overflow-wrap: anywhere;
}

/* Keep paired calls to action visually balanced. */
.intro-cta-row .btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.testimonials-cta-row .btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.private-cta-row .btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

/* Center the home hero photo and content card as one composition. */
.hero {
  display: block;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 1700px;
  margin-inline: auto;
}

.hero .hero-panel {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 960px) {
  .hero-inner {
    display: flex;
    align-items: stretch;
  }

  .hero .hero-media {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero .hero-panel-wrapper {
    flex: 0 1 clamp(480px, 40vw, 720px);
    width: clamp(480px, 40vw, 720px);
    margin-top: 0;
    margin-left: -80px;
    align-self: center;
  }
}

.events-cta-row .btn,
.dining-cta-row .btn,
.poker-cta-row .btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

@media (max-width: 767px) {
  .intro-cta-row,
  .private-cta-row,
  .events-cta-row,
  .dining-cta-row,
  .poker-cta-row,
  .testimonials-cta-row {
    width: 100%;
  }

  .intro-cta-row .btn,
  .private-cta-row .btn,
  .events-cta-row .btn,
  .dining-cta-row .btn,
  .poker-cta-row .btn,
  .testimonials-cta-row .btn {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 599px) {
  .page-inner,
  .container {
    padding-inline: var(--space-4);
  }

  .hero {
    min-height: auto;
    padding: var(--space-5) var(--space-4) var(--space-8);
  }

  .hero-panel {
    width: 100%;
    max-width: 100%;
    padding: var(--space-5) var(--space-4);
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.4rem);
  }

  .hero-overlay-tag {
    max-width: calc(100% - 32px);
    letter-spacing: 0.12em;
  }

  .hero-actions,
  .hero-badge-row,
  .intro-cta-row,
  .testimonials-cta-row,
  .final-cta-actions,
  .section-final-cta-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .intro-cta-row .btn,
  .testimonials-cta-row .btn,
  .final-cta-actions .btn,
  .section-final-cta-actions .btn {
    flex-basis: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .testimonials-cta-row .btn {
    width: 100%;
    flex: 0 0 auto;
  }
}
