/* Page-owned styles for Poker Tournaments & Nights */

.poker-tournaments-nights-page {
  background-color: var(--felt-950);
  color: var(--bone-100);
  font-family: var(--font-body);
  line-height: var(--leading-body);
}

/* Tournament Hero */
.tournament-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--felt-950);
  overflow: hidden;
}

.tournament-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tournament-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-transform);
}

.tournament-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  padding-block: var(--space-64) var(--space-96);
}

.tournament-hero__container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-32);
}

.tournament-hero__text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.tournament-hero__title {
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-heading);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
  max-width: 600px;
}

.tournament-hero__lead {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--bone-100);
  margin: 0;
  max-width: 600px;
}

.tournament-hero__support {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-300);
  margin: 0;
  max-width: 600px;
}

.tournament-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  align-items: center;
  margin: 0;
}

.tournament-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: var(--space-12) var(--space-24);
  background-color: var(--brass-500);
  color: var(--felt-950);
  border: var(--border-width) var(--border-style) transparent;
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: var(--text-button);
  line-height: var(--leading-button);
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--transition-color), color var(--transition-color);
}

.tournament-hero__cta:hover {
  background-color: #B89522;
  color: var(--felt-950);
}

.tournament-hero__cta:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

/* Tournament Formats */
.tournament-formats {
  padding-block: var(--space-96);
}

.tournament-formats__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-block-end: var(--space-48);
  max-width: 800px;
}

.tournament-formats__title {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-heading-tight);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
}

.tournament-formats__intro {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--bone-300);
  margin: 0;
  max-width: 68ch;
}

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

.tournament-format-card {
  background-color: var(--felt-900);
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  min-width: 0;
  transition: border-color var(--transition-color);
}

.tournament-format-card:hover {
  border-color: var(--brass-500);
}

.tournament-format-card__title {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  letter-spacing: var(--tracking-heading-tight);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
}

.tournament-format-card__body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-300);
  margin: 0;
  max-width: 30ch;
}

.tournament-format-card__list {
  list-style: none;
  padding-inline-start: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.tournament-format-card__list li {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--bone-100);
  margin: 0;
}

.tournament-format-card .tag {
  align-self: flex-start;
}

/* Weekly Schedule */
.weekly-schedule {
  padding-block: var(--space-96);
  background-color: var(--felt-950);
}

.weekly-schedule__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-block-end: var(--space-48);
  max-width: 800px;
}

.weekly-schedule__title {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-heading-tight);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
}

.weekly-schedule__intro {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--bone-300);
  margin: 0;
  max-width: 68ch;
}

.weekly-schedule__table-wrapper {
  background-color: var(--felt-900);
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-24);
  max-width: 800px;
  margin-inline: auto;
  overflow-x: auto;
}

.weekly-schedule__table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
  margin: 0;
}

.weekly-schedule__table th,
.weekly-schedule__table td {
  padding: var(--space-12);
  border-block-end: var(--border-width) var(--border-style) var(--border-color);
  text-align: start;
  vertical-align: top;
}

.weekly-schedule__table thead th {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--bone-300);
  font-weight: 500;
  border-block-end: var(--border-width) var(--border-style) var(--border-color);
}

.weekly-schedule__table tbody th {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-100);
  font-weight: 600;
}

.weekly-schedule__table tbody td {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-100);
}

.weekly-schedule__table tbody tr:last-child th,
.weekly-schedule__table tbody tr:last-child td {
  border-block-end: none;
}

.weekly-schedule__table tbody tr:hover {
  background-color: var(--felt-800);
}

/* Corporate Events */
.corporate-events {
  padding-block: var(--space-96);
  background-color: var(--felt-950);
}

.corporate-events__container {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-48);
  align-items: center;
  min-width: 0;
}

.corporate-events__media {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-none);
}

.corporate-events__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-transform);
}

.corporate-events__media:hover .corporate-events__image {
  transform: scale(1.03);
}

.corporate-events__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  min-width: 0;
}

.corporate-events__title {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-heading-tight);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
}

.corporate-events__subtitle {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  letter-spacing: var(--tracking-heading-tight);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
}

.corporate-events__body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-300);
  margin: 0;
  max-width: 68ch;
}

.corporate-events__link {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-100);
  text-decoration: underline;
  text-decoration-color: var(--brass-500);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition-color), text-decoration-color var(--transition-color);
  align-self: flex-start;
}

.corporate-events__link:hover {
  color: var(--brass-300);
  text-decoration-color: var(--brass-300);
}

.corporate-events__link:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-control);
}

.corporate-events__private {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  border-block-start: var(--border-width) var(--border-style) var(--border-color);
  padding-block-start: var(--space-24);
}

/* Weekend Series */
.weekend-series {
  padding-block: var(--space-96);
  background-color: var(--felt-950);
}

.weekend-series__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-block-end: var(--space-48);
  max-width: 800px;
}

.weekend-series__title {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-heading-tight);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
}

.weekend-series__intro {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--bone-300);
  margin: 0;
  max-width: 68ch;
}

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

.weekend-series-card {
  background-color: var(--felt-900);
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: var(--radius-card);
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  min-width: 0;
  transition: border-color var(--transition-color);
}

.weekend-series-card:hover {
  border-color: var(--brass-500);
}

.weekend-series-card__title {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  letter-spacing: var(--tracking-heading-tight);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
}

.weekend-series-card__body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-300);
  margin: 0;
  max-width: 30ch;
}

.weekend-series-card .tag {
  align-self: flex-start;
}

.weekend-series__note {
  margin-block-start: var(--space-48);
  max-width: 800px;
}

.weekend-series__note-text {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-300);
  margin: 0;
  max-width: 68ch;
}

/* Tournament Rules */
.tournament-rules {
  padding-block: var(--space-96);
  background-color: var(--felt-950);
}

.tournament-rules__content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  border-inline-start: 2px solid var(--brass-500);
  padding-inline-start: var(--space-24);
}

.tournament-rules__title {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-heading-tight);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
}

.tournament-rules__intro {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-300);
  margin: 0;
  max-width: 68ch;
}

.tournament-rules__list {
  list-style: none;
  padding-inline-start: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.tournament-rules__list li {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-100);
  margin: 0;
}

.tournament-rules__link {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-100);
  text-decoration: underline;
  text-decoration-color: var(--brass-500);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition-color), text-decoration-color var(--transition-color);
  align-self: flex-start;
}

.tournament-rules__link:hover {
  color: var(--brass-300);
  text-decoration-color: var(--brass-300);
}

.tournament-rules__link:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-control);
}

/* Reservation CTA */
.reservation-cta {
  padding-block: var(--space-128);
  background-color: var(--felt-950);
  border-block-start: 2px solid var(--brass-500);
}

.reservation-cta__container {
  display: flex;
  justify-content: center;
}

.reservation-cta__content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-24);
  margin-inline: auto;
}

.reservation-cta__title {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-heading-tight);
  color: var(--bone-100);
  text-transform: uppercase;
  margin: 0;
}

.reservation-cta__body {
  font-size: var(--text-body-large);
  line-height: var(--leading-body-large);
  color: var(--bone-100);
  margin: 0;
  max-width: 68ch;
}

.reservation-cta__support {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-300);
  margin: 0;
  max-width: 68ch;
}

.reservation-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  justify-content: center;
  align-items: center;
  margin: 0;
}

.reservation-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: var(--space-12) var(--space-24);
  background-color: var(--brass-500);
  color: var(--felt-950);
  border: var(--border-width) var(--border-style) transparent;
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: var(--text-button);
  line-height: var(--leading-button);
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--transition-color), color var(--transition-color);
}

.reservation-cta__button:hover {
  background-color: #B89522;
  color: var(--felt-950);
}

.reservation-cta__button:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

.reservation-cta__phone {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--bone-100);
  text-decoration: underline;
  text-decoration-color: var(--brass-500);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition-color), text-decoration-color var(--transition-color);
}

.reservation-cta__phone:hover {
  color: var(--brass-300);
  text-decoration-color: var(--brass-300);
}

.reservation-cta__phone:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-control);
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .tournament-formats__grid,
  .weekend-series__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .corporate-events__container {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }

  .corporate-events__media {
    order: 1;
  }

  .corporate-events__content {
    order: 2;
  }

  .tournament-hero__content {
    padding-block: var(--space-64) var(--space-64);
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .tournament-hero {
    min-height: auto;
  }

  .tournament-hero__media {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    height: auto;
  }

  .tournament-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .tournament-hero__content {
    position: relative;
    min-height: auto;
    padding-block: var(--space-48) var(--space-64);
    align-items: flex-start;
  }

  .tournament-hero__container {
    padding-inline: var(--container-padding-mobile);
    gap: var(--space-24);
  }

  .tournament-hero__text {
    max-width: 100%;
  }

  .tournament-hero__title {
    font-size: var(--text-h1);
    line-height: var(--leading-h1);
    max-width: 100%;
  }

  .tournament-hero__lead,
  .tournament-hero__support {
    max-width: 100%;
  }

  .tournament-hero__cta {
    width: 100%;
  }

  .tournament-formats,
  .weekly-schedule,
  .corporate-events,
  .weekend-series,
  .tournament-rules {
    padding-block: var(--space-64);
  }

  .tournament-formats__grid,
  .weekend-series__grid {
    grid-template-columns: 1fr;
  }

  .tournament-format-card,
  .weekend-series-card {
    padding: var(--space-16);
  }

  .weekly-schedule__table-wrapper {
    padding: var(--space-16);
  }

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

  .weekly-schedule__table thead {
    display: none;
  }

  .weekly-schedule__table tbody tr {
    border-block-end: var(--border-width) var(--border-style) var(--border-color);
    padding-block: var(--space-12);
  }

  .weekly-schedule__table tbody tr:last-child {
    border-block-end: none;
  }

  .weekly-schedule__table tbody th {
    font-size: var(--text-caption);
    line-height: var(--leading-caption);
    letter-spacing: var(--tracking-caption);
    text-transform: uppercase;
    color: var(--bone-300);
    font-weight: 500;
    padding-block-end: var(--space-4);
  }

  .weekly-schedule__table tbody td {
    font-size: var(--text-body);
    line-height: var(--leading-body);
    color: var(--bone-100);
    padding-block: var(--space-4);
  }

  .corporate-events__container {
    gap: var(--space-24);
  }

  .corporate-events__media {
    aspect-ratio: 4 / 5;
  }

  .corporate-events__image {
    aspect-ratio: 4 / 5;
  }

  .tournament-rules__content {
    max-width: 100%;
    padding-inline-start: var(--space-16);
  }

  .reservation-cta {
    padding-block: var(--space-64);
  }

  .reservation-cta__content {
    max-width: 100%;
    padding-inline: var(--container-padding-mobile);
  }

  .reservation-cta__button {
    width: 100%;
  }

  .reservation-cta__actions {
    width: 100%;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .tournament-hero__title {
    font-size: 2.25rem;
    line-height: 1.0;
  }

  .tournament-formats__header,
  .weekly-schedule__header,
  .weekend-series__header {
    gap: var(--space-12);
  }

  .tournament-formats__title,
  .weekly-schedule__title,
  .corporate-events__title,
  .weekend-series__title,
  .tournament-rules__title,
  .reservation-cta__title {
    font-size: 1.75rem;
    line-height: 1.05;
  }

  .tournament-format-card__title,
  .corporate-events__subtitle,
  .weekend-series-card__title {
    font-size: 1.375rem;
    line-height: 1.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tournament-hero__image,
  .corporate-events__image {
    transition: none;
  }

  .tournament-hero__media:hover .tournament-hero__image,
  .corporate-events__media:hover .corporate-events__image {
    transform: none;
  }
}
