/* Texas Hold’em page styles — scoped to <main> via page-owned classes */

.th-hero {
  background-color: var(--color-deep-green);
  color: var(--color-ivory-text);
  padding-block: var(--space-8);
}

.th-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
}

.th-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  max-width: 60ch;
}

.th-hero__eyebrow {
  font-size: var(--text-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-light-wood);
  margin-block-end: 0;
}

.th-hero__content h1 {
  color: var(--color-ivory-text);
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  margin-block-end: 0;
}

.th-hero__lead {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  color: var(--color-ivory-text);
  margin-block-end: 0;
  max-width: 60ch;
}

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

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

.th-hero__facts li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-light-wood);
}

.th-hero__media {
  margin-block-end: 0;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.th-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.th-what {
  background-color: var(--color-ivory);
}

.th-what__intro {
  max-width: 80ch;
  margin-block-end: var(--space-5);
}

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

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

.th-info-card {
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.th-info-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.th-info-card__icon {
  font-size: 2rem;
  color: var(--color-deep-green);
  line-height: 1;
}

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

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

.th-what__why {
  max-width: 80ch;
}

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

.th-formats {
  background-color: var(--color-light-wood);
}

.th-formats__intro {
  max-width: 70ch;
  margin-block-end: var(--space-5);
}

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

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

.th-format-card {
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.th-format-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-color: var(--color-brick-red);
  transform: translateY(-2px);
}

.th-format-card__icon {
  font-size: 2rem;
  line-height: 1;
}

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

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

.th-evening {
  background-color: var(--color-deep-green);
  color: var(--color-ivory-text);
}

.th-evening__intro {
  max-width: 80ch;
  margin-block-end: var(--space-5);
}

.th-evening__intro h2 {
  color: var(--color-ivory-text);
}

.th-evening__intro p {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

.th-evening__steps {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.th-step {
  background-color: var(--color-green-muted);
  border: 1px solid rgba(245, 240, 230, 0.15);
  border-radius: var(--radius-medium);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.th-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--color-light-wood);
  color: var(--color-deep-green);
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1;
}

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

.th-step__content h3 {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

.th-step__content p {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

.th-atmosphere {
  background-color: var(--color-ivory);
}

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

.th-atmosphere__media {
  margin-block-end: 0;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

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

.th-atmosphere__media:hover img {
  transform: scale(1.03);
}

.th-atmosphere__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 70ch;
}

.th-atmosphere__content h2,
.th-atmosphere__content h3 {
  margin-block-end: 0;
}

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

.th-audience {
  background-color: var(--color-light-wood);
}

.th-audience__intro {
  max-width: 70ch;
  margin-block-end: var(--space-5);
}

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

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

.th-audience-card {
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.th-audience-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.th-audience-card__icon {
  font-size: 2rem;
  line-height: 1;
}

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

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

.th-tournaments {
  background-color: var(--color-deep-green);
  color: var(--color-ivory-text);
}

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

.th-tournaments__structure,
.th-tournaments__why {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.th-tournaments__structure h2,
.th-tournaments__structure h3,
.th-tournaments__why h3 {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

.th-tournaments__why p {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

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

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

.th-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-light-wood);
}

.th-fair {
  background-color: var(--color-ivory);
}

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

.th-fair__list,
.th-fair__comfort {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.th-fair__list h2,
.th-fair__list h3,
.th-fair__comfort h3 {
  margin-block-end: 0;
}

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

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

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

.th-shield-list li::before {
  content: "🛡";
  position: absolute;
  left: 0;
  color: var(--color-brick-red);
}

.th-faq {
  background-color: var(--color-light-wood);
}

.th-faq__container {
  max-width: 80%;
}

.th-faq__intro {
  max-width: 80ch;
  margin-block-end: var(--space-5);
}

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

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

.th-faq-item {
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

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

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

.th-faq-item__trigger::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-brick-red);
  transition: transform var(--transition-fast);
}

.th-faq-item__trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.th-faq-item__trigger:hover,
.th-faq-item__trigger:focus-visible {
  color: var(--color-brick-red-dark);
}

.th-faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-fast);
}

.th-faq-item__panel p {
  padding: 0 var(--space-4) var(--space-4);
  margin-block-end: 0;
}

.th-reservation {
  background-color: var(--color-deep-green);
  color: var(--color-ivory-text);
}

.th-reservation__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.th-reservation__form-wrapper {
  background-color: var(--color-ivory);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-5);
  color: var(--color-dark-green-text);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

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

.th-reservation__form-wrapper > p {
  margin-block-end: 0;
}

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

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

.th-form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.th-form-field label {
  margin-block-end: 0;
}

.th-form-field input,
.th-form-field select {
  width: 100%;
}

.th-form-field--consent {
  gap: var(--space-2);
}

.th-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.th-checkbox-wrap input {
  flex-shrink: 0;
  margin-block-start: 0.2rem;
}

.th-checkbox-wrap label {
  margin-block-end: 0;
}

.th-form-error {
  font-size: var(--text-small);
  color: var(--color-brick-red);
  margin-block-end: 0;
  min-height: 1.2em;
}

.th-form-success {
  font-size: var(--text-body);
  color: var(--color-deep-green);
  margin-block-end: 0;
  min-height: 1.5em;
}

.th-reservation__contact {
  background-color: var(--color-green-muted);
  border-radius: var(--radius-medium);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.th-reservation__contact h3 {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

.th-reservation__contact p {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

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

.th-contact-list a {
  color: var(--color-light-wood);
}

.th-contact-list a:hover,
.th-contact-list a:focus-visible {
  color: var(--color-ivory-text);
}

.th-contact-list address {
  color: var(--color-ivory-text);
  margin-block-end: 0;
}

.th-discover {
  background-color: var(--color-ivory);
}

.th-discover__intro {
  max-width: 70ch;
  margin-block-end: var(--space-5);
}

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

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

.th-discover-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background-color: var(--color-light-wood);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-subtle);
  padding: var(--space-4);
  color: var(--color-dark-green-text);
  text-decoration: none;
  min-width: 0;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.th-discover-card:hover,
.th-discover-card:focus-visible {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: var(--color-brick-red);
  color: var(--color-dark-green-text);
  text-decoration: none;
}

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

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

.th-discover-card__link {
  font-weight: 600;
  color: var(--color-brick-red);
}

.th-discover-card:hover .th-discover-card__link,
.th-discover-card:focus-visible .th-discover-card__link {
  color: var(--color-brick-red-dark);
}

/* Tablet breakpoint */
@media (max-width: 900px) {
  .th-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .th-hero__content {
    max-width: 100%;
  }

  .th-hero__media {
    order: 2;
  }

  .th-what__grid,
  .th-formats__grid,
  .th-audience__grid,
  .th-discover__grid {
    grid-template-columns: 1fr;
  }

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

  .th-atmosphere__grid,
  .th-tournaments__grid,
  .th-fair__grid,
  .th-reservation__grid {
    grid-template-columns: 1fr;
  }

  .th-faq__container {
    max-width: 100%;
  }
}

/* Mobile breakpoint */
@media (max-width: 600px) {
  .th-hero {
    padding-block: var(--space-6);
  }

  .th-hero__content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

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

  .th-hero__media img {
    aspect-ratio: 16 / 9;
  }

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

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

  .th-reservation__form-wrapper,
  .th-reservation__contact {
    padding: var(--space-4);
  }

  .th-faq-item__trigger {
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }

  .th-atmosphere__media img {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-info-card,
  .th-format-card,
  .th-audience-card,
  .th-discover-card,
  .th-atmosphere__media img {
    transition: none;
  }

  .th-faq-item__panel {
    transition: none;
  }
}
