/* Poker Nights page styles */

.poker-nights-hero {
  position: relative;
}

.poker-nights-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: center;
}

.poker-nights-hero__text {
  grid-column: 1 / span 7;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.poker-nights-hero__text h1 {
  max-width: 22ch;
  color: var(--off-white);
  margin-block-end: 0;
}

.poker-nights-hero__deck {
  max-width: 26ch;
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--off-white);
  margin-block-end: 0;
}

.poker-nights-hero__supporting {
  max-width: 48ch;
  color: var(--off-white);
  margin-block-end: 0;
}

.poker-nights-hero__media {
  grid-column: 8 / span 5;
  min-width: 0;
}

.poker-nights-hero__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-none);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.poker-nights-section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-end: var(--space-2xl);
  max-width: 48rem;
}

.poker-nights-section-heading h2 {
  margin-block-end: 0;
}

.poker-nights-section-heading__lead {
  margin-block-end: 0;
  color: var(--blue-grey);
  max-width: 48rem;
}

.poker-nights-section-heading--dark .poker-nights-section-heading__lead {
  color: var(--aluminium);
}

.poker-nights-section-heading--dark h2 {
  color: var(--off-white);
}

.poker-nights-schedule__table-wrap {
  overflow-x: auto;
  border: var(--border-light);
  border-radius: var(--radius-sm);
}

.poker-nights-schedule__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body-small);
  line-height: var(--leading-body-small);
  min-width: 40rem;
}

.poker-nights-schedule__table th {
  background-color: var(--limestone);
  color: var(--graphite);
  font-size: var(--text-overline);
  line-height: var(--leading-overline);
  letter-spacing: var(--tracking-overline);
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 2px solid var(--cobalt);
  white-space: nowrap;
}

.poker-nights-schedule__table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--aluminium);
  vertical-align: middle;
  min-height: 3.5rem;
  font-variant-numeric: tabular-nums;
}

.poker-nights-schedule__table tbody tr:nth-child(odd) {
  background-color: var(--limestone);
}

.poker-nights-schedule__table tbody tr:nth-child(even) {
  background-color: var(--off-white);
}

.poker-nights-schedule__table tbody tr:hover {
  background-color: var(--limestone-light);
}

.poker-nights-experience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-block-end: var(--space-2xl);
}

.poker-nights-experience__card {
  background-color: var(--felt-navy);
  border: var(--border-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  color: var(--off-white);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-nights-experience__card h3 {
  color: var(--off-white);
  margin-block-end: 0;
}

.poker-nights-experience__card p {
  color: var(--off-white);
  margin-block-end: 0;
  max-width: 28ch;
}

.poker-nights-experience__card:hover {
  border-color: rgba(247, 245, 241, 0.4);
}

.poker-nights-experience__image-wrap {
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
}

.poker-nights-experience__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-none);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.poker-nights-venues__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: center;
  margin-block-end: var(--space-2xl);
}

.poker-nights-venues__row:last-child {
  margin-block-end: 0;
}

.poker-nights-venues__text {
  grid-column: 1 / span 7;
  min-width: 0;
}

.poker-nights-venues__text h3 {
  margin-block-end: var(--space-md);
}

.poker-nights-venues__text p {
  max-width: 48ch;
  margin-block-end: 0;
}

.poker-nights-venues__media {
  grid-column: 8 / span 5;
  min-width: 0;
}

.poker-nights-venues__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-none);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.poker-nights-tournament__container,
.poker-nights-private__container,
.poker-nights-faq__container,
.poker-nights-final__container {
  max-width: 50rem;
  margin-inline: auto;
}

.poker-nights-tournament__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: flex-start;
}

.poker-nights-tournament__body p {
  max-width: 48ch;
  margin-block-end: 0;
  color: var(--off-white);
}

.poker-nights-tournament__link {
  color: var(--cobalt);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--cobalt);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.poker-nights-tournament__link:hover {
  color: var(--off-white);
}

.poker-nights-policy__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: start;
  margin-block-end: var(--space-2xl);
}

.poker-nights-policy__grid:last-child {
  margin-block-end: 0;
}

.poker-nights-policy__text {
  grid-column: 1 / span 7;
  min-width: 0;
}

.poker-nights-policy__text h3 {
  margin-block-end: var(--space-md);
}

.poker-nights-policy__text p {
  max-width: 48ch;
  margin-block-end: 0;
}

.poker-nights-policy__box {
  grid-column: 8 / span 5;
  min-width: 0;
  background-color: var(--off-white);
  border: var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
}

.poker-nights-policy__box h4 {
  margin-block-end: var(--space-sm);
}

.poker-nights-policy__box p {
  margin-block-end: 0;
}

.poker-nights-policy__box--walnut {
  background-color: var(--walnut);
  color: var(--off-white);
  border: 1px solid rgba(247, 245, 241, 0.18);
}

.poker-nights-policy__box--walnut h4 {
  color: var(--off-white);
}

.poker-nights-policy__box--walnut p {
  color: var(--off-white);
}

.poker-nights-policy__list {
  list-style: decimal;
  padding-inline-start: var(--space-lg);
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.poker-nights-policy__list li {
  margin-block-end: 0;
}

.poker-nights-request__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.poker-nights-request__form {
  grid-column: 1 / span 7;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-nights-request__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.poker-nights-request__field label {
  margin-block-end: 0;
}

.poker-nights-request__submit {
  align-self: flex-start;
}

.poker-nights-request__message {
  margin-block-end: 0;
  min-height: 1.5rem;
}

.poker-nights-request__message--success {
  color: var(--success);
}

.poker-nights-request__message--warning {
  color: var(--warning);
}

.poker-nights-request__info {
  grid-column: 8 / span 5;
  min-width: 0;
  background-color: var(--off-white);
  border: var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.poker-nights-request__info h3 {
  margin-block-end: 0;
}

.poker-nights-request__info p {
  margin-block-end: 0;
}

.poker-nights-request__policy {
  font-size: var(--text-body-small);
  line-height: var(--leading-body-small);
  color: var(--blue-grey);
}

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

.poker-nights-faq__item {
  border: var(--border-dark);
  border-radius: var(--radius-sm);
  background-color: var(--felt-navy);
  overflow: hidden;
}

.poker-nights-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  color: var(--off-white);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 600;
  text-align: left;
  min-height: 44px;
}

.poker-nights-faq__question:hover {
  color: var(--off-white);
}

.poker-nights-faq__icon {
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-right: 2px solid var(--cobalt);
  border-bottom: 2px solid var(--cobalt);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.poker-nights-faq__item.is-open .poker-nights-faq__icon {
  transform: rotate(225deg);
}

.poker-nights-faq__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--off-white);
}

.poker-nights-faq__answer p {
  margin-block-end: 0;
  max-width: 48ch;
  color: var(--off-white);
}

.poker-nights-final__heading {
  text-align: center;
  align-items: center;
  margin-inline: auto;
}

.poker-nights-final__heading h2 {
  margin-inline: auto;
}

.poker-nights-final__heading .poker-nights-section-heading__lead {
  margin-inline: auto;
}

.poker-nights-final__cta {
  display: flex;
  justify-content: center;
  margin-inline: auto;
}

@media (min-width: 48rem) and (max-width: 63.9375rem) {
  .poker-nights-hero__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .poker-nights-hero__text {
    grid-column: 1 / span 5;
  }

  .poker-nights-hero__media {
    grid-column: 6 / span 3;
  }

  .poker-nights-experience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-nights-venues__row,
  .poker-nights-policy__grid,
  .poker-nights-request__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .poker-nights-venues__text,
  .poker-nights-policy__text,
  .poker-nights-request__form {
    grid-column: 1 / span 5;
  }

  .poker-nights-venues__media,
  .poker-nights-policy__box,
  .poker-nights-request__info {
    grid-column: 6 / span 3;
  }
}

@media (max-width: 47.9375rem) {
  .poker-nights-hero__grid,
  .poker-nights-experience__grid,
  .poker-nights-venues__row,
  .poker-nights-policy__grid,
  .poker-nights-request__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .poker-nights-hero__text,
  .poker-nights-hero__media,
  .poker-nights-venues__text,
  .poker-nights-venues__media,
  .poker-nights-policy__text,
  .poker-nights-policy__box,
  .poker-nights-request__form,
  .poker-nights-request__info {
    grid-column: 1;
  }

  .poker-nights-hero__text {
    align-items: center;
    text-align: center;
  }

  .poker-nights-hero__text h1,
  .poker-nights-hero__deck,
  .poker-nights-hero__supporting {
    margin-inline: auto;
  }

  .poker-nights-hero__media {
    order: 2;
  }

  .poker-nights-hero__image {
    aspect-ratio: 4 / 3;
  }

  .poker-nights-schedule__table-wrap {
    border: none;
    border-radius: 0;
  }

  .poker-nights-schedule__table,
  .poker-nights-schedule__table tbody,
  .poker-nights-schedule__table tr,
  .poker-nights-schedule__table td {
    display: block;
    width: 100%;
  }

  .poker-nights-schedule__table thead {
    display: none;
  }

  .poker-nights-schedule__table tr {
    margin-block-end: var(--space-md);
    border: var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .poker-nights-schedule__table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--aluminium);
    min-height: 2.75rem;
  }

  .poker-nights-schedule__table td:last-child {
    border-bottom: none;
  }

  .poker-nights-schedule__table td::before {
    content: attr(data-label);
    font-size: var(--text-overline);
    line-height: var(--leading-overline);
    letter-spacing: var(--tracking-overline);
    text-transform: uppercase;
    font-weight: 600;
    color: var(--blue-grey);
    flex-shrink: 0;
  }

  .poker-nights-schedule__table tbody tr:nth-child(odd),
  .poker-nights-schedule__table tbody tr:nth-child(even) {
    background-color: var(--off-white);
  }

  .poker-nights-schedule__table tbody tr:hover {
    background-color: var(--limestone-light);
  }

  .poker-nights-experience__image-wrap {
    max-width: 100%;
  }

  .poker-nights-experience__image {
    aspect-ratio: 1 / 1;
  }

  .poker-nights-final__heading,
  .poker-nights-final__heading h2,
  .poker-nights-final__heading .poker-nights-section-heading__lead {
    text-align: center;
    margin-inline: auto;
  }

  .poker-nights-final__cta {
    width: 100%;
    justify-content: center;
  }
}
