.texas-holdem-page {
  overflow: clip;
}

.texas-holdem-page a:focus-visible,
.texas-holdem-page button:focus-visible {
  outline: 3px solid var(--colour-queensland-sky);
  outline-offset: 2px;
}

.th-hero {
  padding: var(--space-8) 0 var(--space-10);
  background: var(--colour-sun-washed-sand);
}

.th-hero__frame {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}

.th-hero__media {
  grid-column: 1 / -1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--colour-deep-eucalyptus);
}

.th-hero__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgb(33 66 57 / 84%) 0%, rgb(33 66 57 / 56%) 39%, transparent 68%);
  content: "";
  pointer-events: none;
}

.th-hero__media {
  position: relative;
  min-height: 43rem;
}

.th-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 59% center;
  transition: transform var(--transition-standard);
}

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

.th-hero__caption {
  position: absolute;
  z-index: 2;
  right: var(--space-5);
  bottom: var(--space-4);
  max-width: 20rem;
  color: var(--colour-soft-white);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
  text-align: right;
}

.th-hero__content {
  z-index: 3;
  grid-column: 1 / span 6;
  grid-row: 1;
  min-width: 0;
  max-width: 37.5rem;
  padding: var(--space-8);
  color: var(--colour-soft-white);
}

.th-hero__content .eyebrow {
  color: var(--colour-queensland-sky);
}

.th-hero__content h1 {
  margin-bottom: var(--space-5);
  color: var(--colour-soft-white);
}

.th-hero__declaration,
.th-hero__invitation,
.th-hero__meta {
  margin: 0;
}

.th-hero__declaration {
  max-width: 36rem;
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
}

.th-hero__invitation {
  max-width: 34rem;
}

.th-hero__actions {
  margin-top: var(--space-5);
}

.th-hero__meta {
  max-width: 32.5rem;
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgb(255 249 240 / 40%);
  color: var(--colour-soft-white);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.th-difference__intro {
  width: min(100%, 40rem);
  margin-left: 8.333%;
}

.th-difference__intro .lead,
.th-spaces__intro .lead,
.th-nights__intro .lead,
.th-faq__intro .lead,
.th-people__text .lead {
  margin-bottom: 0;
}

.th-difference__grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.th-difference__unit {
  min-width: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--colour-dark-iron);
}

.th-difference__unit > :last-child {
  margin-bottom: 0;
}

.th-difference__number {
  display: block;
  margin-bottom: var(--space-5);
  color: var(--colour-burnt-terracotta);
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.th-difference__number--green {
  color: var(--colour-eucalyptus-green);
}

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

.th-table-study__media {
  grid-column: 1 / span 7;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--colour-warm-limestone);
}

.th-table-study__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-standard);
}

.th-table-study__media:hover img,
.th-gallery-feature__figure:hover > img {
  transform: scale(1.02);
}

.th-table-study__rail {
  display: flex;
  grid-column: 8 / span 5;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
  align-items: stretch;
}

.th-table-study__rail h2 {
  margin-bottom: 0;
}

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

.th-table-study__copy p {
  margin: 0 0 var(--space-2);
}

.th-table-study__label,
.th-spaces__label,
.th-dining__overline {
  display: block;
  color: var(--colour-eucalyptus-green);
  font-size: var(--text-utility);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: var(--leading-utility);
  text-transform: uppercase;
}

.th-table-study__aside {
  max-width: 26.25rem;
  padding: var(--space-5);
  border: 1px solid var(--colour-dark-iron);
}

.th-table-study__aside h3,
.th-table-study__aside p {
  margin: 0;
}

.th-table-study__aside p {
  margin-top: var(--space-3);
}

.th-spaces__intro {
  width: min(100%, 37.5rem);
  margin-left: 8.333%;
}

.th-spaces__narratives {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.th-spaces__story {
  min-width: 0;
  max-width: 27.5rem;
}

.th-spaces__story:first-child {
  grid-column: 2 / span 5;
}

.th-spaces__story:last-child {
  grid-column: 8 / span 5;
}

.th-spaces__label {
  margin-bottom: var(--space-3);
  color: var(--colour-queensland-sky);
}

.th-spaces__story > :last-child {
  margin-bottom: 0;
}

.th-spaces__trail {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  margin-top: var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid rgb(255 249 240 / 28%);
  font-size: var(--text-meta);
  font-weight: 700;
}

.th-spaces__trail span {
  min-width: 0;
}

.th-spaces__trail a {
  min-height: 2.75rem;
  min-width: 0;
  display: inline-flex;
  align-items: center;
}

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

.th-people__text {
  grid-column: 1 / span 5;
  min-width: 0;
  max-width: 38.75rem;
}

.th-people__media {
  grid-column: 6 / span 7;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--colour-warm-limestone);
}

.th-people__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 55% center;
}

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

.th-people__observation {
  min-width: 0;
  max-width: 28.125rem;
}

.th-people__observation h3,
.th-people__observation p,
.th-people__inset h3,
.th-people__inset p {
  margin: 0;
}

.th-people__observation p,
.th-people__inset p {
  margin-top: var(--space-3);
}

.th-people__observation--offset {
  align-self: end;
  padding-top: var(--space-4);
  border-top: 3px solid var(--colour-eucalyptus-green);
}

.th-people__inset {
  max-width: 28.125rem;
  padding: var(--space-5);
  background: var(--colour-warm-limestone);
}

.th-nights__intro {
  width: min(100%, 37.5rem);
  margin-left: 8.333%;
}

.th-nights__sequence {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
  border-top: 1px solid var(--colour-border);
}

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

.th-nights__item > :last-child {
  margin-bottom: 0;
}

.th-nights__marker {
  display: block;
  margin-bottom: var(--space-5);
  color: var(--colour-burnt-terracotta);
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.th-nights__action {
  margin-top: var(--space-6);
  border-color: var(--colour-burnt-terracotta);
}

.th-nights__action:hover {
  background: var(--colour-burnt-terracotta);
  color: var(--colour-soft-white);
}

.th-faq__intro {
  width: min(100%, 38.75rem);
  margin-inline: auto;
}

.th-faq__list {
  display: flex;
  width: min(100%, 57.5rem);
  min-width: 0;
  margin: var(--space-8) auto 0;
  flex-direction: column;
  border-top: 1px solid var(--colour-border);
}

.th-faq__item {
  min-width: 0;
  border-bottom: 1px solid var(--colour-border);
}

.th-faq__item h3 {
  margin: 0;
}

.th-faq__button {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 4.25rem;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4) 0;
  border: 0;
  background: transparent;
  color: var(--colour-dark-iron);
  font-family: var(--font-heading);
  font-size: var(--text-heading-small);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: var(--leading-heading-small);
  text-align: left;
}

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

.th-faq__icon {
  display: grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--colour-dark-iron);
  color: var(--colour-eucalyptus-green);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.th-faq__answer {
  max-width: 42.5rem;
  padding-bottom: var(--space-5);
}

.th-faq__answer p {
  margin: 0;
}

.th-dining__layout {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.th-dining__content {
  display: flex;
  grid-column: 2 / span 6;
  min-width: 0;
  max-width: 37.5rem;
  flex-direction: column;
  gap: var(--space-5);
}

.th-dining__content h2,
.th-dining__content p {
  margin: 0;
}

.th-dining__content p:nth-of-type(2) {
  max-width: 32.5rem;
}

.th-dining__overline {
  color: var(--colour-burnt-terracotta);
}

.th-dining__motif {
  grid-column: 9 / span 4;
  min-width: 0;
  min-height: 13rem;
  margin-left: var(--space-7);
  border-top: 1px solid rgb(255 249 240 / 48%);
  border-right: 1px solid rgb(255 249 240 / 48%);
  transform: skewY(-18deg);
}

.th-gallery-feature > .container > h2 {
  margin-bottom: var(--space-6);
}

.th-gallery-feature__figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--colour-deep-eucalyptus);
}

.th-gallery-feature__figure > img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-standard);
}

.th-gallery-feature__caption {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  display: flex;
  width: min(100% - var(--space-10), 32.5rem);
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--colour-deep-eucalyptus);
  color: var(--colour-soft-white);
}

.th-gallery-feature__caption h3,
.th-gallery-feature__caption p {
  margin: 0;
}

.th-gallery-feature__caption a {
  align-self: flex-start;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--colour-soft-white);
  font-size: var(--text-meta);
  font-weight: 700;
}

.th-gallery-feature__caption a:hover {
  color: var(--colour-queensland-sky);
}

.th-closing > .container {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-8);
  align-items: stretch;
}

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

.th-closing__group h2,
.th-closing__group p {
  margin: 0;
}

.th-closing__actions {
  justify-content: center;
}

.th-closing__routes {
  display: flex;
  width: min(100%, 56.25rem);
  min-width: 0;
  margin-inline: auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-5);
  padding-top: var(--space-6);
  border-top: 1px solid var(--colour-border);
  font-size: var(--text-meta);
  font-weight: 700;
}

.th-closing__routes span,
.th-closing__routes a {
  min-width: 0;
}

.th-closing__routes a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.th-closing__routes a:last-child {
  color: var(--colour-pale-steel);
}

@media (max-width: 68.75rem) {
  .th-hero__content {
    grid-column: 1 / span 7;
  }

  .th-hero__media {
    min-height: 40rem;
  }
}

@media (max-width: 62.5rem) {
  .th-table-study__layout,
  .th-people__layout {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .th-table-study__media,
  .th-table-study__rail,
  .th-people__text,
  .th-people__media {
    grid-column: 1;
    width: 100%;
    max-width: none;
  }

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

  .th-table-study__rail > .eyebrow,
  .th-table-study__rail > h2 {
    grid-column: 1 / -1;
  }

  .th-table-study__copy,
  .th-table-study__aside {
    width: 100%;
    max-width: none;
  }

  .th-people__media {
    grid-row: 1;
  }

  .th-people__text {
    grid-row: 2;
  }

  .th-people__media img {
    aspect-ratio: 16 / 9;
    object-position: center 45%;
  }
}

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

  .th-difference__unit:nth-child(3),
  .th-nights__item:nth-child(3) {
    grid-column: 1 / -1;
    width: calc((100% - var(--space-6)) / 2);
  }
}

@media (max-width: 60rem) {
  .th-gallery-feature__caption {
    position: static;
    width: 100%;
  }

  .th-gallery-feature__figure > img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 56.25rem) {
  .th-spaces__narratives {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .th-spaces__story:first-child,
  .th-spaces__story:last-child {
    grid-column: 1;
    width: 100%;
    max-width: none;
  }

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

  .th-dining__content {
    grid-column: 1;
    width: 100%;
  }

  .th-dining__motif {
    display: none;
  }
}

@media (max-width: 51.25rem) {
  .th-closing__actions {
    width: 100%;
  }

  .th-closing__actions .button {
    width: 100%;
  }
}

@media (max-width: 47.5rem) {
  .th-hero {
    padding: 0 0 var(--space-7);
  }

  .th-hero__frame {
    display: flex;
    width: 100%;
    flex-direction: column;
  }

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

  .th-hero__media::after {
    display: none;
  }

  .th-hero__media img {
    aspect-ratio: 16 / 11;
    object-position: 61% center;
  }

  .th-hero__caption {
    display: none;
  }

  .th-hero__content {
    width: min(100% - 2.5rem, var(--container-max));
    max-width: none;
    margin: 0 auto;
    padding: var(--space-6) 0 0;
    color: var(--colour-dark-iron);
  }

  .th-hero__content .eyebrow {
    color: var(--colour-eucalyptus-green);
  }

  .th-hero__content h1 {
    color: var(--colour-dark-iron);
    font-size: 2.625rem;
    line-height: 1.05;
  }

  .th-hero__declaration,
  .th-hero__invitation {
    max-width: none;
  }

  .th-hero__meta {
    max-width: none;
    border-color: var(--colour-border);
    color: var(--colour-dark-iron);
  }

  .th-difference__intro,
  .th-spaces__intro,
  .th-nights__intro {
    width: 100%;
    margin-left: 0;
  }

  .th-difference__grid,
  .th-nights__sequence {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-top: var(--space-6);
  }

  .th-difference__unit,
  .th-nights__item,
  .th-difference__unit:nth-child(3),
  .th-nights__item:nth-child(3) {
    grid-column: 1;
    width: 100%;
  }

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

  .th-difference__number {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 2.75rem;
  }

  .th-difference__unit h3,
  .th-difference__unit p {
    grid-column: 2;
  }

  .th-table-study__layout,
  .th-people__layout {
    gap: var(--space-6);
  }

  .th-table-study__rail {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .th-table-study__media img {
    aspect-ratio: 4 / 3;
  }

  .th-table-study__aside,
  .th-people__inset {
    padding: var(--space-4);
  }

  .th-spaces__narratives {
    gap: var(--space-6);
    margin-top: var(--space-6);
  }

  .th-spaces__trail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: var(--space-6);
  }

  .th-spaces__trail span,
  .th-spaces__trail a {
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgb(255 249 240 / 28%);
  }

  .th-spaces__trail a {
    width: 100%;
  }

  .th-people__observation,
  .th-people__inset {
    max-width: none;
  }

  .th-people__observation--offset {
    align-self: stretch;
  }

  .th-people__media img {
    aspect-ratio: 4 / 5;
  }

  .th-nights__sequence {
    gap: 0;
  }

  .th-nights__item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0 var(--space-3);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--colour-border);
  }

  .th-nights__marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 2.75rem;
  }

  .th-nights__item h3,
  .th-nights__item p {
    grid-column: 2;
  }

  .th-nights__action {
    width: 100%;
  }

  .th-faq__intro,
  .th-faq__list {
    width: 100%;
  }

  .th-faq__list {
    margin-top: var(--space-6);
  }

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

  .th-gallery-feature__figure > img {
    aspect-ratio: 4 / 5;
    object-position: 58% center;
  }

  .th-gallery-feature__caption {
    padding: var(--space-4);
  }

  .th-closing > .container {
    gap: var(--space-6);
  }

  .th-closing__group {
    width: 100%;
  }

  .th-closing__routes {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 0;
    text-align: left;
  }

  .th-closing__routes span,
  .th-closing__routes a {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--colour-border);
  }

  .th-closing__routes a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-hero__media img,
  .th-table-study__media img,
  .th-gallery-feature__figure > img {
    transition: none;
  }

  .th-hero__media:hover img,
  .th-table-study__media:hover img,
  .th-gallery-feature__figure:hover > img {
    transform: none;
  }
}
