/* Texas Hold’em page styles */

#texas-holdem-page {
  --th-section-pad: var(--space-8);
  --th-section-pad-mobile: var(--space-6);
  --th-gap: var(--space-5);
  --th-gap-lg: var(--space-7);
  --th-gap-sm: var(--space-4);
  --th-text-max: 37.5rem;
  --th-text-max-narrow: 31.25rem;
  --th-text-max-wide: 43.75rem;
  --th-radius: var(--radius-medium);
  --th-border: var(--border-oak);
  --th-transition: var(--transition-fast);
}

#texas-holdem-page .th-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad-desktop);
}

#texas-holdem-page .th-section {
  padding-block: var(--th-section-pad);
}

#texas-holdem-page .th-section--intro,
#texas-holdem-page .th-section--rules,
#texas-holdem-page .th-section--salon,
#texas-holdem-page .th-section--chips,
#texas-holdem-page .th-section--audience,
#texas-holdem-page .th-section--faq {
  background-color: var(--color-navy);
}

/* Hero */
#texas-holdem-page .th-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--th-gap-lg);
  align-items: center;
  padding-block: var(--space-8);
  background: linear-gradient(135deg, var(--color-navy) 0%, #141b26 100%);
  padding-inline: var(--container-pad-desktop);
  max-width: var(--container-max);
  margin-inline: auto;
}

#texas-holdem-page .th-hero__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--th-gap-sm);
}

#texas-holdem-page .th-hero__content .section-label {
  margin-block-end: 0;
}

#texas-holdem-page .th-hero__content h1 {
  max-width: var(--th-text-max);
  margin-block-end: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: var(--leading-display);
}

#texas-holdem-page .th-hero__lead {
  max-width: var(--th-text-max);
  margin-block-end: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-ivory);
}

#texas-holdem-page .th-hero__media {
  min-width: 0;
  margin-block-end: 0;
  border-radius: var(--radius-large);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

#texas-holdem-page .th-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-large);
  transition: transform var(--th-transition);
}

#texas-holdem-page .th-hero__media:hover img {
  transform: scale(1.03);
}

/* Buttons */
#texas-holdem-page .th-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-small);
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--th-transition), border-color var(--th-transition), color var(--th-transition), transform var(--th-transition);
  min-width: 10rem;
  text-align: center;
}

#texas-holdem-page .th-btn--primary {
  background-color: var(--color-burgundy);
  color: var(--color-ivory);
  border: 2px solid var(--color-burgundy);
}

#texas-holdem-page .th-btn--primary:hover {
  background-color: #7d2530;
  border-color: #7d2530;
  color: var(--color-ivory);
}

#texas-holdem-page .th-btn--primary:active {
  transform: scale(0.98);
}

#texas-holdem-page .th-btn--secondary {
  background-color: transparent;
  color: var(--color-ivory);
  border: 2px solid var(--color-ivory);
}

#texas-holdem-page .th-btn--secondary:hover {
  background-color: var(--color-ivory);
  color: var(--color-navy);
}

#texas-holdem-page .th-btn--secondary:active {
  transform: scale(0.98);
}

/* Intro */
#texas-holdem-page .th-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--th-gap-lg);
  align-items: start;
}

#texas-holdem-page .th-intro__text {
  min-width: 0;
}

#texas-holdem-page .th-intro__text h2 {
  max-width: var(--th-text-max-wide);
  margin-block-end: var(--space-4);
}

#texas-holdem-page .th-intro__text p {
  max-width: var(--th-text-max-wide);
  margin-block-end: var(--space-4);
}

#texas-holdem-page .th-intro__text p:last-child {
  margin-block-end: 0;
}

#texas-holdem-page .th-pull-quote {
  min-width: 0;
  margin-block-end: 0;
  padding: var(--space-5);
  background-color: var(--color-navy-soft);
  border-inline-start: 3px solid var(--color-burgundy);
  border-radius: var(--radius-medium);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: var(--leading-h3);
  color: var(--color-burgundy);
}

#texas-holdem-page .th-pull-quote p {
  margin-block-end: 0;
  color: inherit;
}

/* Rules */
#texas-holdem-page .th-rules__header {
  max-width: var(--th-text-max-wide);
  margin-block-end: var(--space-6);
}

#texas-holdem-page .th-rules__header h2 {
  margin-block-end: var(--space-3);
}

#texas-holdem-page .th-rules__intro {
  margin-block-end: 0;
  color: var(--color-ivory-muted);
}

#texas-holdem-page .th-rules__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--th-gap);
}

#texas-holdem-page .th-rule-card {
  min-width: 0;
  background-color: var(--color-navy-soft);
  border: var(--th-border);
  border-radius: var(--th-radius);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

#texas-holdem-page .th-rule-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--color-burgundy);
  line-height: 1;
}

#texas-holdem-page .th-rule-card h3 {
  margin-block-end: 0;
  font-size: var(--text-h3);
}

#texas-holdem-page .th-rule-card p {
  margin-block-end: 0;
  max-width: var(--th-text-max-narrow);
}

/* Salon */
#texas-holdem-page .th-salon__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--th-gap-lg);
  align-items: start;
}

#texas-holdem-page .th-salon__text {
  min-width: 0;
}

#texas-holdem-page .th-salon__text h2 {
  max-width: var(--th-text-max);
  margin-block-end: var(--space-4);
}

#texas-holdem-page .th-salon__text p {
  max-width: var(--th-text-max);
  margin-block-end: var(--space-4);
}

#texas-holdem-page .th-salon__text p:last-child {
  margin-block-end: 0;
}

#texas-holdem-page .th-salon__media {
  min-width: 0;
  margin-block-end: 0;
  border-radius: var(--radius-large);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

#texas-holdem-page .th-salon__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-large);
}

/* Chips */
#texas-holdem-page .th-chips__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12.5rem;
  gap: var(--th-gap-lg);
  align-items: start;
}

#texas-holdem-page .th-chips__text {
  min-width: 0;
}

#texas-holdem-page .th-chips__text h2 {
  max-width: var(--th-text-max-wide);
  margin-block-end: var(--space-4);
}

#texas-holdem-page .th-chips__text p {
  max-width: var(--th-text-max-wide);
  margin-block-end: var(--space-4);
}

#texas-holdem-page .th-chips__list {
  max-width: var(--th-text-max-wide);
  margin-block-end: 0;
}

#texas-holdem-page .th-chips__media {
  min-width: 0;
  margin-block-end: 0;
  border-radius: var(--radius-medium);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 12.5rem;
  justify-self: end;
}

#texas-holdem-page .th-chips__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-medium);
}

/* Audience */
#texas-holdem-page .th-audience__header {
  max-width: var(--th-text-max-wide);
  margin-block-end: var(--space-6);
}

#texas-holdem-page .th-audience__header h2 {
  margin-block-end: 0;
}

#texas-holdem-page .th-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--th-gap);
}

#texas-holdem-page .th-audience-card {
  min-width: 0;
  background-color: var(--color-navy-soft);
  border: var(--th-border);
  border-radius: var(--th-radius);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

#texas-holdem-page .th-audience-card h3 {
  margin-block-end: 0;
  font-size: var(--text-h3);
}

#texas-holdem-page .th-audience-card p {
  margin-block-end: 0;
  max-width: 18.75rem;
}

/* FAQ */
#texas-holdem-page .th-faq__wrapper {
  max-width: 50rem;
}

#texas-holdem-page .th-faq__wrapper h2 {
  margin-block-end: var(--space-5);
}

#texas-holdem-page .th-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--th-border);
  border-radius: var(--radius-medium);
  overflow: hidden;
  background-color: var(--color-navy-soft);
}

#texas-holdem-page .th-faq__item {
  border-block-end: var(--th-border);
}

#texas-holdem-page .th-faq__item:last-child {
  border-block-end: none;
}

#texas-holdem-page .th-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background-color: transparent;
  border: none;
  border-radius: 0;
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--th-transition), color var(--th-transition);
}

#texas-holdem-page .th-faq__question:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-ivory);
}

#texas-holdem-page .th-faq__question:focus-visible {
  outline: 2px solid var(--color-burgundy);
  outline-offset: -2px;
}

#texas-holdem-page .th-faq__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  transition: transform var(--th-transition);
}

#texas-holdem-page .th-faq__icon::before,
#texas-holdem-page .th-faq__icon::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  background-color: var(--color-burgundy);
  transform: translate(-50%, -50%);
  transition: transform var(--th-transition);
}

#texas-holdem-page .th-faq__icon::before {
  width: 1rem;
  height: 2px;
}

#texas-holdem-page .th-faq__icon::after {
  width: 2px;
  height: 1rem;
}

#texas-holdem-page .th-faq__question[aria-expanded="true"] .th-faq__icon {
  transform: rotate(45deg);
}

#texas-holdem-page .th-faq__answer {
  padding: 0 var(--space-5) var(--space-4);
}

#texas-holdem-page .th-faq__answer p {
  max-width: var(--th-text-max-wide);
  margin-block-end: 0;
}

#texas-holdem-page .th-faq__answer[hidden] {
  display: none;
}

/* CTA */
#texas-holdem-page .th-cta {
  background-color: var(--color-burgundy);
  padding-block: var(--space-8);
}

#texas-holdem-page .th-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--th-gap-sm);
  max-width: 37.5rem;
  margin-inline: auto;
}

#texas-holdem-page .th-cta__label {
  color: var(--color-ivory);
  margin-block-end: 0;
}

#texas-holdem-page .th-cta__inner h2 {
  color: var(--color-ivory);
  margin-block-end: 0;
}

#texas-holdem-page .th-cta__text {
  max-width: var(--th-text-max);
  margin-block-end: 0;
  color: var(--color-ivory);
}

#texas-holdem-page .th-cta__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-block-end: 0;
}

#texas-holdem-page .th-cta__contacts p {
  margin-block-end: 0;
  color: var(--color-ivory);
}

#texas-holdem-page .th-cta__contacts a {
  color: var(--color-ivory);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#texas-holdem-page .th-cta__contacts a:hover {
  color: var(--color-navy);
}

#texas-holdem-page .th-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-block-start: var(--space-2);
}

#texas-holdem-page .th-cta__actions .th-btn {
  min-width: 12rem;
}

/* Tablet */
@media (max-width: 64rem) {
  #texas-holdem-page .th-hero,
  #texas-holdem-page .th-intro__grid,
  #texas-holdem-page .th-salon__grid {
    grid-template-columns: 1fr;
    gap: var(--th-gap);
  }

  #texas-holdem-page .th-hero {
    padding-block: var(--space-6);
  }

  #texas-holdem-page .th-hero__media {
    aspect-ratio: 16 / 9;
  }

  #texas-holdem-page .th-chips__grid {
    grid-template-columns: 1fr;
    gap: var(--th-gap);
  }

  #texas-holdem-page .th-chips__media {
    width: 100%;
    max-width: 18.75rem;
    justify-self: start;
  }

  #texas-holdem-page .th-audience__grid {
    grid-template-columns: 1fr;
  }

  #texas-holdem-page .th-rules__grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 48rem) {
  #texas-holdem-page .th-container {
    padding-inline: var(--container-pad-mobile);
  }

  #texas-holdem-page .th-section {
    padding-block: var(--th-section-pad-mobile);
  }

  #texas-holdem-page .th-hero {
    padding-inline: var(--container-pad-mobile);
    padding-block: var(--space-5);
  }

  #texas-holdem-page .th-hero__content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  #texas-holdem-page .th-hero__lead {
    font-size: 1rem;
  }

  #texas-holdem-page .th-btn {
    width: 100%;
    min-width: 0;
  }

  #texas-holdem-page .th-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  #texas-holdem-page .th-cta__actions .th-btn {
    width: 100%;
  }

  #texas-holdem-page .th-faq__question {
    padding: var(--space-3) var(--space-4);
    font-size: 1.125rem;
  }

  #texas-holdem-page .th-faq__answer {
    padding: 0 var(--space-4) var(--space-3);
  }
}

@media (max-width: 30rem) {
  #texas-holdem-page .th-hero__content h1 {
    font-size: 2rem;
  }

  #texas-holdem-page .th-pull-quote {
    padding: var(--space-4);
  }

  #texas-holdem-page .th-rule-card,
  #texas-holdem-page .th-audience-card {
    padding: var(--space-4);
  }
}
