/* Texas Hold’em page styles */

.th-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-dark-mahogany);
}

.th-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.th-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.th-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 42, 34, 0.6) 0%, rgba(58, 42, 34, 0.2) 100%);
}

.th-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 43.75rem;
  margin-inline: auto;
  padding-block: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.th-hero__overline {
  color: var(--color-pearl-white);
}

.th-hero__title {
  color: var(--color-pearl-white);
  margin-block-end: 0;
  max-width: 100%;
}

.th-hero__lead {
  color: var(--color-pearl-white);
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  margin-block-end: 0;
  max-width: 43.75rem;
}

.th-hero__cta {
  margin-block-start: var(--space-2);
}

.th-section-heading {
  text-align: center;
  max-width: 43.75rem;
  margin-inline: auto;
  margin-block-end: var(--space-6);
}

.th-section-heading .overline {
  margin-block-end: var(--space-2);
}

.th-section-heading h2 {
  margin-block-end: 0;
}

.th-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.th-why__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.th-why__card .card__body {
  flex: 1;
}

.th-why__card h3 {
  margin-block-end: var(--space-3);
}

.th-why__card p {
  margin-block-end: var(--space-3);
}

.th-why__card .content-list {
  margin-block-start: auto;
}

.th-offline__container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-6);
  align-items: center;
}

.th-offline__text {
  min-width: 0;
  max-width: 37.5rem;
}

.th-offline__text h2 {
  margin-block-end: var(--space-3);
}

.th-offline__text h3 {
  margin-block-start: var(--space-5);
  margin-block-end: var(--space-3);
}

.th-offline__text p {
  margin-block-end: var(--space-3);
}

.th-offline__text .content-list {
  margin-block-end: var(--space-3);
}

.th-offline__media {
  min-width: 0;
  margin-block-end: 0;
}

.th-offline__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-2);
}

.th-lounge {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-dark-mahogany);
}

.th-lounge__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.th-lounge__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.th-lounge__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 42, 34, 0.55) 0%, rgba(58, 42, 34, 0.25) 100%);
}

.th-lounge__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 37.5rem;
  margin-inline: auto;
  padding-block: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.th-lounge__overline {
  color: var(--color-pearl-white);
}

.th-lounge__content h2 {
  color: var(--color-pearl-white);
  margin-block-end: 0;
}

.th-lounge__content p {
  color: var(--color-pearl-white);
  margin-block-end: 0;
  max-width: 37.5rem;
}

.th-lounge__list {
  color: var(--color-pearl-white);
  margin-block-start: var(--space-2);
  text-align: left;
}

.th-lounge__list li::before {
  color: var(--color-coral-orange);
}

.th-session__container {
  max-width: 50rem;
}

.th-session__steps {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.th-session__step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding-block-end: var(--space-5);
  border-block-end: 1px solid var(--color-eucalyptus-green-20);
}

.th-session__step:last-child {
  border-block-end: none;
  padding-block-end: 0;
}

.th-session__number {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-coral-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  border-radius: 50%;
}

.th-session__body {
  min-width: 0;
  flex: 1;
}

.th-session__body h3 {
  margin-block-end: var(--space-2);
}

.th-session__body p {
  margin-block-end: var(--space-2);
}

.th-session__body .content-list {
  margin-block-end: 0;
}

.th-nights__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}

.th-nights__column {
  min-width: 0;
  background-color: var(--color-off-white);
  border: 1px solid var(--color-eucalyptus-green-20);
  border-radius: var(--radius-2);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.th-nights__column h3 {
  margin-block-end: 0;
}

.th-nights__column p {
  margin-block-end: 0;
}

.th-nights__column .content-list {
  margin-block-end: 0;
}

.th-nights__column .btn {
  align-self: flex-start;
  margin-block-start: var(--space-2);
}

.th-dining__container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-6);
  align-items: center;
}

.th-dining__media {
  min-width: 0;
  margin-block-end: 0;
}

.th-dining__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-2);
}

.th-dining__text {
  min-width: 0;
  max-width: 37.5rem;
}

.th-dining__text h2 {
  margin-block-end: var(--space-3);
}

.th-dining__text p {
  margin-block-end: var(--space-3);
}

.th-dining__text .content-list {
  margin-block-end: var(--space-3);
}

.th-faq__container {
  max-width: 50rem;
}

.th-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.th-faq__item {
  border: 1px solid var(--color-eucalyptus-green-20);
  border-radius: var(--radius-2);
  background-color: var(--color-off-white);
  overflow: hidden;
}

.th-faq__question {
  margin-block-end: 0;
}

.th-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--color-pacific-blue);
  text-align: left;
  transition: color var(--transition-fast);
}

.th-faq__trigger:hover {
  color: var(--color-coral-orange);
}

.th-faq__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
}

.th-faq__icon::before,
.th-faq__icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform var(--transition-fast);
}

.th-faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.th-faq__icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.th-faq__item[data-accordion-item][data-open="true"] .th-faq__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.th-faq__answer {
  padding: 0 var(--space-4) var(--space-4);
}

.th-faq__answer p {
  margin-block-end: 0;
}

.th-visit {
  padding-block: var(--space-8);
  text-align: center;
}

.th-visit__container {
  max-width: 37.5rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.th-visit__overline {
  color: var(--color-coral-orange);
}

.th-visit__title {
  color: var(--color-pearl-white);
  margin-block-end: 0;
}

.th-visit__lead {
  color: var(--color-pearl-white);
  margin-block-end: 0;
  max-width: 37.5rem;
}

.th-visit__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: var(--color-pearl-white);
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
}

.th-visit__contact a {
  color: var(--color-pearl-white);
}

.th-visit__contact a:hover {
  color: var(--color-coral-orange);
}

.th-visit__contact address {
  color: var(--color-pearl-white);
}

.th-visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-block-start: var(--space-2);
}

@media (max-width: 64rem) {
  .th-hero {
    min-height: 70vh;
  }

  .th-lounge {
    min-height: 60vh;
  }

  .th-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-why__card:last-child {
    grid-column: 1 / -1;
  }

  .th-offline__container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }

  .th-dining__container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 48rem) {
  .th-hero {
    min-height: 60vh;
  }

  .th-hero__content {
    padding-block: var(--space-5);
    gap: var(--space-3);
  }

  .th-hero__title {
    font-size: var(--text-h1);
  }

  .th-hero__lead {
    font-size: var(--text-body);
  }

  .th-lounge {
    min-height: 50vh;
  }

  .th-lounge__content {
    padding-block: var(--space-5);
    gap: var(--space-2);
  }

  .th-why__grid {
    grid-template-columns: 1fr;
  }

  .th-why__card:last-child {
    grid-column: auto;
  }

  .th-offline__container {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .th-offline__media {
    order: -1;
  }

  .th-dining__container {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .th-dining__media {
    order: -1;
  }

  .th-nights__grid {
    grid-template-columns: 1fr;
  }

  .th-session__step {
    flex-direction: column;
    gap: var(--space-3);
  }

  .th-session__number {
    width: 2.25rem;
    height: 2.25rem;
    font-size: var(--text-h4);
  }

  .th-faq__trigger {
    padding: var(--space-3);
    font-size: var(--text-h4);
  }

  .th-faq__answer {
    padding: 0 var(--space-3) var(--space-3);
  }

  .th-visit {
    padding-block: var(--space-5);
  }

  .th-visit__actions {
    flex-direction: column;
    width: 100%;
  }

  .th-visit__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-faq__icon::before,
  .th-faq__icon::after {
    transition-duration: 0.01ms;
  }
}
