/* Texas Hold’em page styles */
.texas-holdem-page {
  --th-paper-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  --th-paper-shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.12);
  --th-border: 1px solid rgba(114, 47, 55, 0.2);
}

/* Hero */
.th-hero {
  background-color: var(--color-background);
  padding-block: 0;
}

.th-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: center;
  padding-block: var(--section-spacing-mobile);
}

.th-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  min-width: 0;
}

.th-hero__title {
  max-width: 60ch;
  margin-block-end: 0;
}

.th-hero__lead {
  max-width: 60ch;
  margin-block-end: 0;
}

.th-hero__cta {
  white-space: normal;
  text-align: center;
}

.th-hero__media {
  width: 100%;
  min-width: 0;
}

.th-hero__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-medium);
  box-shadow: var(--th-paper-shadow);
  clip-path: polygon(0 0, 100% 0, 98% 4%, 100% 100%, 0 100%, 2% 96%);
}

@media (min-width: 768px) {
  .th-hero__container {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: var(--space-2xl);
    padding-block: var(--section-spacing-desktop);
  }

  .th-hero__image {
    height: 100%;
    min-height: 360px;
  }
}

@media (min-width: 1024px) {
  .th-hero__container {
    gap: var(--space-3xl);
  }

  .th-hero__image {
    min-height: 420px;
  }
}

/* About */
.th-about__title {
  max-width: 70ch;
  margin-block-end: var(--space-xl);
}

.th-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
}

.th-about__card {
  background-color: var(--color-surface);
  border: var(--th-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--th-paper-shadow);
  padding: var(--card-padding);
  min-width: 0;
}

.th-about__card h3 {
  margin-block-end: var(--space-md);
}

.th-about__card p {
  max-width: 70ch;
  margin-block-end: 0;
}

@media (min-width: 768px) {
  .th-about__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }
}

/* Flow */
.th-flow__title {
  max-width: 70ch;
  margin-block-end: var(--space-xl);
}

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

.th-flow__step {
  position: relative;
  background-color: var(--color-surface);
  border: var(--th-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--th-paper-shadow);
  padding: var(--card-padding);
  min-width: 0;
}

.th-flow__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-circular);
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  font-weight: 700;
  margin-block-end: var(--space-md);
}

.th-flow__step h3 {
  margin-block-end: var(--space-sm);
}

.th-flow__step p {
  max-width: 60ch;
  margin-block-end: 0;
}

@media (min-width: 768px) {
  .th-flow__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-md);
  }
}

@media (min-width: 1024px) {
  .th-flow__steps {
    gap: var(--space-xl);
  }
}

/* Atmosphere */
.th-atmosphere__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

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

.th-atmosphere__title {
  max-width: 65ch;
  margin-block-end: var(--space-lg);
}

.th-atmosphere__text h3 {
  margin-block-end: var(--space-sm);
}

.th-atmosphere__text p {
  max-width: 65ch;
  margin-block-end: var(--space-lg);
}

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

.th-atmosphere__media {
  width: 100%;
  min-width: 0;
}

.th-atmosphere__image {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-medium);
  box-shadow: var(--th-paper-shadow);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 97% 100%, 0 100%);
}

@media (min-width: 768px) {
  .th-atmosphere__container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-2xl);
    align-items: center;
  }

  .th-atmosphere__image {
    max-height: none;
    height: 100%;
    min-height: 360px;
  }
}

/* Gastronomy */
.th-gastronomy__title {
  max-width: 70ch;
  margin-block-end: var(--space-xl);
}

.th-gastronomy__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
}

.th-gastronomy__block {
  background-color: var(--color-surface);
  border: var(--th-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--th-paper-shadow);
  padding: var(--card-padding);
  min-width: 0;
}

.th-gastronomy__block h3 {
  margin-block-end: var(--space-md);
}

.th-gastronomy__block p {
  max-width: 70ch;
  margin-block-end: 0;
}

@media (min-width: 768px) {
  .th-gastronomy__content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
  }
}

/* Reservation */
.th-reservation {
  background-color: var(--color-surface);
  border-block: var(--th-border);
}

.th-reservation__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

.th-reservation__title {
  max-width: 60ch;
  margin-block-end: 0;
}

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

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

.th-reservation__notice {
  font-weight: 600;
  color: var(--color-danger);
}

.th-reservation__cta {
  white-space: normal;
  text-align: center;
}

/* Form */
.th-form-section__container {
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

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

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

.th-form {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
  background-color: var(--color-surface);
  border: var(--th-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--th-paper-shadow);
  padding: var(--card-padding-large);
  text-align: left;
}

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

.th-form__field--full {
  grid-column: 1 / -1;
}

.th-form__consent {
  grid-column: 1 / -1;
  font-size: var(--text-small-size);
  color: var(--color-text-secondary);
  margin-block-end: 0;
}

.th-form__submit {
  grid-column: 1 / -1;
  justify-self: center;
  white-space: normal;
}

@media (min-width: 600px) {
  .th-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* FAQ */
.th-faq__container {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.th-faq__title {
  max-width: 70ch;
  margin-block-end: 0;
}

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

.th-faq__item {
  background-color: var(--color-surface);
  border: var(--th-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--th-paper-shadow);
  padding: var(--space-md) var(--space-lg);
}

.th-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text-primary);
  padding-block: var(--space-sm);
  list-style: none;
}

.th-faq__item summary::-webkit-details-marker {
  display: none;
}

.th-faq__item summary::before {
  content: "+";
  display: inline-block;
  margin-inline-end: var(--space-sm);
  font-weight: 700;
  color: var(--color-accent);
}

.th-faq__item[open] summary::before {
  content: "–";
}

.th-faq__item p {
  max-width: 70ch;
  margin-block-start: var(--space-sm);
  margin-block-end: 0;
}

/* Final CTA */
.th-final {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
}

.th-final__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.th-final__title {
  max-width: 60ch;
  margin-block-end: 0;
  color: var(--color-text-primary);
}

.th-final__text {
  max-width: 60ch;
  margin-block-end: 0;
}

.th-final__cta {
  white-space: normal;
  text-align: center;
}

@media (max-width: 767px) {
  .th-hero__cta,
  .th-reservation__cta,
  .th-final__cta {
    width: 100%;
  }
}
