.texas-holdem-page {
  background: var(--color-cream);
}

.texas-holdem-page a:not(.button) {
  color: var(--color-jade-deep);
  font-weight: 700;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-decoration-thickness: 1px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.texas-holdem-page a:not(.button):hover {
  color: var(--color-blue);
  text-decoration-color: currentColor;
}

.th-hero {
  overflow: hidden;
}

.th-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "copy media" "ribbon ribbon";
  min-width: 0;
}

.th-hero__copy {
  grid-area: copy;
  min-width: 0;
  padding: var(--space-11) max(var(--gutter), calc((100vw - var(--container-max)) / 2)) var(--space-9);
  padding-right: var(--space-8);
}

.th-hero__copy > :last-child,
.th-hero__media > :last-child,
.th-table-story__copy > :last-child,
.th-lounge__intro > :last-child,
.th-lounge__callouts > :last-child,
.th-closing__inner > :last-child {
  margin-bottom: 0;
}

.th-hero h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 5.9vw, 5.5rem);
}

.th-hero__lead {
  max-width: 60ch;
  margin-bottom: var(--space-6);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.th-hero__actions {
  width: 100%;
}

.th-hero__media {
  grid-area: media;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-top-left-radius: 9rem;
  background: var(--color-jade-deep);
}

.th-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 38rem;
  object-fit: cover;
  object-position: 50% 50%;
}

.th-terminology {
  grid-area: ribbon;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: var(--space-3);
  padding: var(--space-4) var(--gutter);
  background: var(--color-jade);
  color: var(--color-cream);
  font-size: var(--text-utility);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: var(--leading-utility);
  text-align: center;
  text-transform: uppercase;
}

.th-terminology span,
.th-terminology i {
  min-width: 0;
}

.th-terminology i {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 0.45rem;
  background: var(--color-blue);
}

.th-journey__intro {
  width: min(100%, var(--container-statement));
  min-width: 0;
  margin-bottom: var(--space-8);
}

.th-journey__intro p {
  max-width: 62ch;
}

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

.th-journey__panel {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-6);
}

.th-journey__panel--dining {
  background: var(--color-limestone);
}

.th-journey__panel--courtyard {
  margin-top: var(--space-6);
  border-top: 3px solid var(--color-blue);
  background: var(--color-cream);
}

.th-journey__panel--lounge {
  margin-top: var(--space-8);
  background: var(--color-jade);
  color: var(--color-cream);
}

.th-panel__number {
  width: 100%;
  min-width: 0;
  color: var(--color-papaya);
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 0.9;
}

.th-panel__content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--space-4);
}

.th-panel__content > * {
  min-width: 0;
  margin: 0;
}

.th-panel__content h3 {
  max-width: 16ch;
}

.th-panel__content p:not(.th-panel__links) {
  max-width: 46ch;
}

.th-panel__links,
.th-route__links {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: auto !important;
}

.th-journey__panel--lounge a,
.surface-dark .th-callout--open a {
  color: var(--color-cream);
}

.th-table-story {
  overflow: hidden;
}

.th-table-story__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "media copy";
  min-width: 0;
}

.th-table-story__media {
  grid-area: media;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.th-table-story__media img {
  width: 100%;
  height: 100%;
  min-height: 46rem;
  object-fit: cover;
  object-position: 50% 50%;
}

.th-table-story__media figcaption {
  padding: var(--space-3) var(--gutter);
}

.th-table-story__copy {
  grid-area: copy;
  min-width: 0;
  padding: var(--space-9) max(var(--gutter), calc((100vw - var(--container-max)) / 2));
  padding-left: var(--space-8);
}

.th-table-story__copy > h2 {
  max-width: 16ch;
}

.th-evidence {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 35rem;
}

.th-evidence__item {
  min-width: 0;
  padding-top: var(--space-5);
  border-top: var(--border-subtle);
}

.th-evidence__item--initial {
  padding-top: 0;
  border-top: 0;
}

.th-evidence__item h3 {
  max-width: 24ch;
}

.th-evidence__item p {
  max-width: 62ch;
}

.th-evidence__item--initial p::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--color-papaya);
  font-family: var(--font-heading);
  font-size: 3.7rem;
  line-height: 0.8;
}

.th-inline-links {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.th-inline-links span {
  color: var(--color-blue);
}

.th-lounge {
  position: relative;
  overflow: hidden;
}

.th-lounge__top {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  min-width: 0;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}

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

.th-lounge__intro h2 {
  max-width: 16ch;
}

.th-lounge__lead {
  max-width: 58ch;
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.th-lounge__motif {
  min-width: 0;
  min-height: 16rem;
  align-self: stretch;
  border: 1px solid color-mix(in srgb, var(--color-cream) 44%, transparent);
  border-bottom: 0;
  border-radius: 12rem 12rem 0 0;
  background: repeating-linear-gradient(90deg, var(--color-blue) 0 1rem, color-mix(in srgb, var(--color-blue) 70%, var(--color-jade)) 1rem 2rem);
}

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

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

.th-callout h3 {
  max-width: 18ch;
}

.th-callout p {
  max-width: 46ch;
}

.th-callout--inset {
  padding: var(--space-6);
  border-radius: var(--radius-card);
  background: var(--color-cream);
  color: var(--color-jade-deep);
}

.th-callout--rule {
  padding-left: var(--space-5);
  border-left: 3px solid var(--color-blue);
}

.th-callout--rule a {
  color: var(--color-cream);
}

.th-callout--open .eyebrow {
  color: var(--color-papaya);
}

.th-etiquette__intro {
  width: min(100%, var(--container-editorial));
  min-width: 0;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.th-etiquette__intro p {
  max-width: 64ch;
}

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

.th-note {
  display: grid;
  grid-template-columns: minmax(0, 5rem) minmax(0, 1fr);
  min-width: 0;
  gap: var(--space-4);
  padding: var(--space-6);
}

.th-note--limestone {
  background: var(--color-limestone);
}

.th-note--cream {
  border: var(--border-subtle);
  background: var(--color-cream);
}

.th-note__number {
  min-width: 0;
  color: var(--color-papaya);
  font-family: var(--font-heading);
  font-size: 3.7rem;
  line-height: 0.9;
}

.th-note > div {
  min-width: 0;
}

.th-note h3 {
  max-width: 18ch;
}

.th-note p {
  max-width: 44ch;
}

.th-gallery__intro {
  width: min(100%, 33.33%);
  min-width: 0;
  margin-bottom: var(--space-7);
}

.th-gallery__intro p {
  max-width: 62ch;
}

.th-gallery__link {
  display: inline-block;
  color: var(--color-jade-deep);
  font-size: var(--text-utility);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.th-gallery__track {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr);
  align-items: end;
  min-width: 0;
  gap: var(--space-5);
}

.th-gallery__item {
  min-width: 0;
  margin: 0;
}

.th-gallery__item img {
  width: 100%;
  object-fit: cover;
}

.th-gallery__item--dining img {
  aspect-ratio: 4 / 5;
  object-position: 50% 42%;
}

.th-gallery__item--courtyard img {
  aspect-ratio: 1 / 1;
  object-position: 50% 35%;
}

.th-gallery__item--lounge img {
  aspect-ratio: 16 / 9;
  object-position: 50% 50%;
}

.th-gallery__item figcaption {
  max-width: 100%;
}

.th-routes__intro {
  width: min(100%, 37.5rem);
  min-width: 0;
  margin-bottom: var(--space-7);
}

.th-routes__intro p {
  max-width: 64ch;
}

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

.th-route {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
}

.th-route > * {
  min-width: 0;
  margin: 0;
}

.th-route h3 {
  max-width: 17ch;
}

.th-route p:not(.th-route__links) {
  max-width: 45ch;
}

.th-route--dining {
  background: var(--color-limestone);
}

.th-route--dining .eyebrow {
  color: var(--color-papaya-hover);
}

.th-route--offline {
  border: var(--border-subtle);
  background: var(--color-cream);
}

.th-route--lounge {
  background: var(--color-jade);
  color: var(--color-cream);
}

.th-route--lounge .eyebrow,
.th-route--lounge a {
  color: var(--color-cream);
}

.th-route--lounge::before {
  width: 3rem;
  height: 3px;
  content: "";
  background: var(--color-blue);
}

.th-faq {
  padding-top: 0;
}

.th-faq__container {
  width: min(100% - (var(--gutter) * 2), 60rem);
  min-width: 0;
  margin-inline: auto;
}

.th-faq__intro {
  min-width: 0;
  margin-bottom: var(--space-6);
}

.th-faq__intro p {
  max-width: 64ch;
}

.th-faq__list {
  min-width: 0;
  border-top: var(--border-subtle);
}

.th-faq__item {
  min-width: 0;
  border-bottom: var(--border-subtle);
}

.th-faq__item h3 {
  margin: 0;
}

.th-faq__button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.75rem;
  width: 100%;
  min-width: 0;
  min-height: 4.5rem;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-ink);
  font-size: var(--text-lead);
  font-weight: 500;
  letter-spacing: 0;
  line-height: var(--leading-lead);
  text-align: left;
  text-transform: none;
}

.th-faq__button > span {
  min-width: 0;
}

.th-faq__icon {
  display: grid;
  width: 1.75rem;
  min-width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-limestone);
  color: var(--color-jade-deep);
  font-family: var(--font-body);
  font-size: 1.3rem;
  line-height: 1;
}

.th-faq__answer {
  width: min(100%, 42rem);
  min-width: 0;
  padding: 0 0 var(--space-5);
}

.th-faq__answer p {
  max-width: 66ch;
}

.th-faq__contact-link {
  color: var(--color-papaya-hover) !important;
  font-size: var(--text-meta);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.th-closing {
  border-top: 3px solid var(--color-blue);
  padding: var(--space-9) var(--gutter);
}

.th-closing__inner {
  display: flex;
  width: min(100%, 47.5rem);
  min-width: 0;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.th-closing__inner > * {
  min-width: 0;
  margin: 0;
}

.th-closing h2 {
  max-width: 18ch;
}

.th-closing p {
  max-width: 60ch;
}

.th-closing__actions {
  justify-content: center;
  width: 100%;
  margin-top: var(--space-2);
}

@media (max-width: 980px) {
  .th-hero__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-hero__copy {
    padding-top: var(--space-9);
    padding-right: var(--space-6);
  }

  .th-hero h1 {
    font-size: clamp(3.25rem, 6vw, 4.5rem);
  }

  .th-hero__media {
    border-top-left-radius: 6rem;
  }

  .th-hero__media img {
    min-height: 34rem;
  }
}

@media (max-width: 920px) {
  .th-lounge__top {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .th-lounge__motif {
    min-height: 3px;
    border: 0;
    border-radius: 0;
    background: var(--color-blue);
  }

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

  .th-callout--open {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .th-journey__panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-journey__panel--courtyard {
    margin-top: 0;
  }

  .th-journey__panel--lounge {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .th-gallery__intro {
    width: min(100%, 37.5rem);
  }

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

  .th-gallery__item--lounge {
    grid-column: 1 / -1;
  }

  .th-gallery__item--lounge img {
    aspect-ratio: 16 / 8;
  }

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

  .th-route--lounge {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .th-table-story__layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-table-story__media img {
    min-height: 36rem;
    aspect-ratio: 4 / 5;
  }

  .th-table-story__copy {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
    padding-left: var(--space-6);
  }
}

@media (max-width: 800px) {
  .th-etiquette__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .th-faq__container {
    width: min(100% - (var(--gutter) * 2), 60rem);
  }
}

@media (max-width: 640px) {
  .th-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "media" "ribbon";
  }

  .th-hero__copy {
    padding: var(--space-8) var(--gutter) var(--space-7);
  }

  .th-hero h1 {
    max-width: 12ch;
    font-size: 2.5rem;
    line-height: 1;
  }

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

  .th-hero__media {
    border-radius: 0;
  }

  .th-hero__media img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .th-terminology {
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-3);
    padding-inline: var(--gutter);
  }

  .th-terminology i:nth-of-type(3) {
    display: none;
  }

  .th-journey__intro {
    margin-bottom: var(--space-6);
  }

  .th-journey__panels,
  .th-lounge__callouts,
  .th-routes__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .th-journey__panel,
  .th-journey__panel--lounge,
  .th-callout--open,
  .th-route--lounge {
    grid-column: auto;
  }

  .th-journey__panel,
  .th-callout--inset,
  .th-route,
  .th-note {
    padding: var(--space-5);
  }

  .th-table-story__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "copy";
  }

  .th-table-story__media img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .th-table-story__copy {
    padding: var(--space-6) var(--gutter) var(--space-8);
  }

  .th-lounge__top {
    margin-bottom: var(--space-6);
  }

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

  .th-callout--rule {
    padding-left: var(--space-5);
  }

  .th-etiquette__intro {
    margin-bottom: var(--space-6);
  }

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

  .th-note__number {
    font-size: 2.75rem;
  }

  .th-gallery__intro {
    width: 100%;
    margin-bottom: var(--space-6);
  }

  .th-gallery__track {
    width: calc(100% + var(--gutter));
    margin-right: calc(var(--gutter) * -1);
    display: flex;
    overflow-x: auto;
    padding-right: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .th-gallery__item,
  .th-gallery__item--lounge {
    width: 84vw;
    min-width: 84vw;
    scroll-snap-align: start;
  }

  .th-gallery__item--dining img,
  .th-gallery__item--lounge img {
    aspect-ratio: 4 / 5;
  }

  .th-gallery__item--courtyard img {
    aspect-ratio: 1 / 1;
  }

  .th-faq__button {
    min-height: 4rem;
    padding-block: var(--space-4);
    font-size: var(--text-lead);
  }

  .th-faq__answer {
    width: 100%;
  }

  .th-closing {
    padding-block: var(--space-7);
  }

  .th-closing h2 {
    font-size: 2.5rem;
    line-height: 1;
  }
}

@media (max-width: 560px) {
  .th-closing__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .th-closing__actions .button {
    width: 100%;
    min-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .texas-holdem-page a:not(.button) {
    transition: none;
  }
}
