/* 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-danube-navy);
}

.th-hero__media {
  position: absolute;
  inset: 0;
}

.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(11, 29, 42, 0.55) 0%, rgba(11, 29, 42, 0.75) 55%, rgba(11, 29, 42, 0.92) 100%);
}

.th-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
  padding: var(--space-6) var(--space-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

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

.th-hero__title {
  font-size: var(--text-display-size);
  line-height: var(--text-display-leading);
  margin-block-end: 0;
  text-wrap: balance;
}

.th-hero__lead {
  max-width: 620px;
  margin-block-end: 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

.th-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
}

.th-hero__cta {
  min-width: 180px;
}

.th-hero__link {
  color: var(--color-warm-parchment);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  transition: color var(--transition-fast);
}

.th-hero__link:hover {
  color: var(--color-paprika-copper);
}

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

.th-section-heading--center {
  text-align: center;
}

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

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

.th-basics__card {
  min-width: 0;
}

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

.th-basics__card p {
  max-width: 550px;
}

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

.th-basics__list li {
  position: relative;
  padding-inline-start: var(--space-4);
}

.th-basics__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-paprika-copper);
}

.th-basics__quote {
  margin-block-start: var(--space-4);
  margin-block-end: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-warm-parchment);
  border-inline-start-color: var(--color-paprika-copper);
}

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

.th-event-card {
  min-width: 0;
  background-color: var(--color-surface);
  border: 0.0625rem solid var(--color-olive-smoke);
  border-radius: var(--radius-medium);
  padding: var(--surface-padding-card);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.th-event-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-deep);
}

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

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

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

.th-event-card__list li {
  position: relative;
  padding-inline-start: var(--space-4);
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
}

.th-event-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--color-olive-smoke);
}

.th-spaces__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: center;
  margin-block-end: var(--space-8);
}

.th-spaces__row:last-child {
  margin-block-end: 0;
}

.th-spaces__row--reverse .th-spaces__media {
  order: 2;
}

.th-spaces__row--reverse .th-spaces__text {
  order: 1;
}

.th-spaces__media {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-large);
}

.th-spaces__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.th-spaces__media:hover img {
  transform: scale(1.02);
}

.th-spaces__text {
  min-width: 0;
}

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

.th-spaces__text p {
  max-width: 500px;
  margin-block-end: 0;
}

.th-experience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  position: relative;
}

.th-experience__grid::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 16.66%;
  right: 16.66%;
  height: 0.0625rem;
  background-color: var(--color-olive-smoke);
  opacity: 0.6;
}

.th-experience__step {
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.th-experience__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-paprika-copper);
  color: var(--color-warm-parchment);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

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

.th-experience__step p {
  max-width: 300px;
  margin-block-end: 0;
}

.th-faq__list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.th-faq__item {
  background-color: var(--color-warm-parchment);
  border: 0.0625rem solid var(--color-olive-smoke);
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.th-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  background: none;
  border: none;
  color: var(--color-danube-navy);
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.th-faq__question:hover {
  background-color: rgba(11, 29, 42, 0.05);
}

.th-faq__icon {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  position: relative;
}

.th-faq__icon::before,
.th-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-paprika-copper);
  transition: transform var(--transition-fast);
}

.th-faq__icon::before {
  width: 1rem;
  height: 0.125rem;
}

.th-faq__icon::after {
  width: 0.125rem;
  height: 1rem;
}

.th-faq__item.is-open .th-faq__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.th-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-in-out;
}

.th-faq__answer p {
  padding: 0 var(--space-4) var(--space-4);
  color: var(--color-danube-navy);
  margin-block-end: 0;
}

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

.th-testimonial-card {
  min-width: 0;
  background-color: var(--color-surface);
  border: 0.0625rem solid var(--color-olive-smoke);
  border-radius: var(--radius-medium);
  padding: var(--surface-padding-card);
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.th-testimonial-card blockquote {
  margin-block-end: 0;
  padding-inline-start: 0;
  border-inline-start: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-warm-parchment);
}

.th-testimonial-card__author {
  margin-block-end: 0;
  font-weight: 600;
  color: var(--color-paprika-copper);
}

.th-testimonial-card__context {
  margin-block-end: 0;
  font-size: var(--text-small-size);
  color: var(--color-warm-parchment);
  opacity: 0.8;
}

.th-booking {
  background-color: var(--color-wine-plum);
}

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

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

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

.th-booking__cta {
  min-width: 220px;
}

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

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

.th-booking__contacts a {
  color: var(--color-warm-parchment);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.th-booking__contacts a:hover {
  color: var(--color-paprika-copper);
}

@media (max-width: 63.9375rem) {
  .th-events__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-events__grid .th-event-card:last-child {
    grid-column: 1 / -1;
  }

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

  .th-experience__grid::before {
    display: none;
  }

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

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

  .th-hero__content {
    text-align: left;
    align-items: flex-start;
    padding: var(--space-5) var(--space-4);
  }

  .th-hero__title {
    font-size: clamp(2.5rem, 10vw, 3rem);
  }

  .th-hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .th-hero__cta,
  .th-hero__link {
    width: 100%;
    text-align: center;
  }

  .th-basics__grid,
  .th-events__grid,
  .th-spaces__row,
  .th-experience__grid,
  .th-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .th-spaces__row--reverse .th-spaces__media {
    order: 0;
  }

  .th-spaces__row--reverse .th-spaces__text {
    order: 0;
  }

  .th-spaces__row {
    gap: var(--space-4);
    margin-block-end: var(--space-6);
  }

  .th-events__grid .th-event-card:last-child,
  .th-experience__step:last-child {
    grid-column: auto;
  }

  .th-experience__step p {
    max-width: 100%;
  }

  .th-booking__contacts {
    flex-direction: column;
    gap: var(--space-2);
  }
}
