/* Poker Parlour Page Styles */

/* Hero */
.poker-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-lake-blue);
}

.poker-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.poker-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-overlay);
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
  padding-block: var(--space-8);
}

.poker-hero__text {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

.poker-hero__text h1 {
  font-size: var(--font-size-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--letter-spacing-display);
  margin-block-end: 0;
  color: var(--color-ivory);
}

.poker-hero__deck {
  font-size: var(--font-size-body-large);
  line-height: var(--line-height-body-large);
  letter-spacing: var(--letter-spacing-body);
  max-width: 55ch;
  margin-block-end: 0;
  color: var(--color-ivory);
}

.poker-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.poker-hero__actions .btn {
  flex: 0 1 auto;
  min-width: 0;
}

/* The Parlour Table */
.poker-parlour-table {
  background-color: var(--color-background);
}

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

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

.poker-parlour-table__deck {
  max-width: 75ch;
  margin-block-end: var(--space-5);
}

.poker-parlour-table__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-block-start: var(--space-4);
}

.poker-feature {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.poker-feature__rule {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-copper);
  margin-block-end: var(--space-2);
}

.poker-feature h3 {
  margin-block-end: var(--space-2);
}

.poker-feature p {
  max-width: 55ch;
  margin-block-end: 0;
}

.poker-parlour-table__image {
  grid-column: 8 / span 5;
  min-width: 0;
  margin-block-end: 0;
}

.poker-parlour-table__image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-fast);
}

.poker-parlour-table__image img:hover {
  transform: scale(1.02);
}

.poker-parlour-table__image figcaption {
  margin-block-start: var(--space-2);
}

/* Live Poker Nights */
.poker-live-nights {
  background-color: var(--color-lake-blue);
}

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

.poker-live-nights__schedule {
  grid-column: 1 / span 8;
  min-width: 0;
}

.poker-live-nights__deck {
  max-width: 80ch;
  margin-block-end: var(--space-5);
}

.poker-schedule {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-block-end: var(--space-4);
}

.poker-schedule__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  transition: border-left var(--transition-fast);
  border-left: 2px solid transparent;
  padding-inline-start: var(--space-3);
}

.poker-schedule__row:hover {
  border-left: 2px solid var(--color-copper);
}

.poker-schedule__time {
  font-size: var(--font-size-body-small);
  line-height: var(--line-height-body-small);
  letter-spacing: var(--letter-spacing-nav);
  text-transform: uppercase;
  color: var(--color-text-muted);
  min-width: 0;
}

.poker-schedule__description {
  min-width: 0;
}

.poker-schedule__description h3 {
  margin-block-end: var(--space-1);
}

.poker-schedule__description p {
  max-width: 65ch;
  margin-block-end: 0;
}

.poker-live-nights__note {
  font-size: var(--font-size-body-small);
  line-height: var(--line-height-body-small);
  color: var(--color-text-muted);
  margin-block-end: 0;
}

.poker-live-nights__sidebar {
  grid-column: 9 / span 4;
  min-width: 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-live-nights__sidebar h3 {
  margin-block-end: var(--space-2);
}

.poker-live-nights__sidebar p {
  margin-block-end: 0;
}

.poker-live-nights__seat-note {
  font-size: var(--font-size-body-small);
  color: var(--color-text-muted);
}

/* Tournament Events */
.poker-tournaments {
  background-color: var(--color-walnut);
}

.poker-tournaments__deck {
  max-width: 80ch;
  margin-block-end: var(--space-5);
}

.poker-tournaments__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-block-end: var(--space-5);
}

.poker-tournaments__column {
  min-width: 0;
  padding-block-start: var(--space-4);
  border-block-start: 2px solid var(--color-copper);
}

.poker-tournaments__column h3 {
  margin-block-end: var(--space-3);
}

.poker-tournaments__column p {
  max-width: 60ch;
  margin-block-end: 0;
}

.poker-tournaments__list {
  margin-block-end: 0;
  padding-inline-start: var(--space-4);
}

.poker-tournaments__list li {
  margin-block-end: var(--space-2);
}

.poker-tournaments__list li:last-child {
  margin-block-end: 0;
}

.poker-tournaments__dates {
  max-width: 70ch;
  margin-block-end: 0;
}

.poker-tournaments__dates a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.poker-tournaments__dates a:hover {
  color: var(--color-accent-hover);
}

/* Dealer-led Tables */
.poker-dealer-led {
  background-color: var(--color-background);
}

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

.poker-dealer-led__image {
  grid-column: 1 / span 5;
  min-width: 0;
  margin-block-end: 0;
}

.poker-dealer-led__image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-fast);
}

.poker-dealer-led__image img:hover {
  transform: scale(1.02);
}

.poker-dealer-led__image figcaption {
  margin-block-start: var(--space-2);
}

.poker-dealer-led__text {
  grid-column: 6 / span 7;
  min-width: 0;
}

.poker-dealer-led__deck {
  max-width: 75ch;
  margin-block-end: var(--space-4);
}

.poker-dealer-led__text p:last-child {
  max-width: 75ch;
  margin-block-end: 0;
}

/* Beginner Nights */
.poker-beginner-nights {
  background-color: var(--color-mist);
  color: var(--color-lake-blue);
}

.poker-beginner-nights h2,
.poker-beginner-nights h3 {
  color: var(--color-lake-blue);
}

.poker-beginner-nights__deck {
  max-width: 80ch;
  margin-block-end: var(--space-5);
  color: var(--color-lake-blue);
}

.poker-beginner-nights__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.poker-beginner-step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  min-width: 0;
}

.poker-beginner-step__numeral {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  line-height: 1;
  font-weight: 700;
  color: var(--color-copper);
}

.poker-beginner-step__content {
  min-width: 0;
}

.poker-beginner-step__content h3 {
  margin-block-end: var(--space-2);
}

.poker-beginner-step__content p {
  max-width: 70ch;
  margin-block-end: var(--space-3);
}

.poker-beginner-nights__list {
  margin-block-end: 0;
  padding-inline-start: var(--space-4);
  color: var(--color-lake-blue);
}

.poker-beginner-nights__list li {
  margin-block-end: var(--space-2);
}

.poker-beginner-nights__list li:last-child {
  margin-block-end: 0;
}

/* House Rules */
.poker-house-rules {
  background-color: var(--color-lake-blue);
}

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

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

.poker-house-rules__deck {
  max-width: 70ch;
  margin-block-end: var(--space-4);
}

.poker-house-rules__items {
  margin-block-end: 0;
  padding-inline-start: 0;
  list-style: none;
}

.poker-house-rules__items li {
  margin-block-end: var(--space-3);
  padding-inline-start: var(--space-4);
  position: relative;
  max-width: 50ch;
}

.poker-house-rules__items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--color-copper);
}

.poker-house-rules__items li:last-child {
  margin-block-end: 0;
}

.poker-house-rules__responsible {
  grid-column: 9 / span 4;
  min-width: 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.poker-house-rules__responsible h3 {
  margin-block-end: var(--space-2);
}

.poker-house-rules__responsible p {
  margin-block-end: 0;
}

.poker-house-rules__responsible a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.poker-house-rules__responsible a:hover {
  color: var(--color-accent-hover);
}

/* Your First Night */
.poker-first-night {
  background-color: var(--color-ivory);
  color: var(--color-lake-blue);
}

.poker-first-night h2,
.poker-first-night h3 {
  color: var(--color-lake-blue);
}

.poker-first-night__deck {
  max-width: 80ch;
  margin-block-end: var(--space-5);
  color: var(--color-lake-blue);
}

.poker-first-night__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.poker-first-step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  min-width: 0;
  padding-block-end: var(--space-4);
  border-bottom: 1px solid var(--color-border-strong);
}

.poker-first-step:last-child {
  border-bottom: none;
  padding-block-end: 0;
}

.poker-first-step__numeral {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  line-height: 1;
  font-weight: 700;
  color: var(--color-copper);
}

.poker-first-step__content {
  min-width: 0;
}

.poker-first-step__content h3 {
  margin-block-end: var(--space-2);
}

.poker-first-step__content p {
  max-width: 65ch;
  margin-block-end: 0;
}

/* Dining and Cocktails */
.poker-dining {
  background-color: var(--color-background);
}

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

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

.poker-dining__deck {
  max-width: 75ch;
  margin-block-end: var(--space-4);
}

.poker-dining__text p:last-child {
  max-width: 75ch;
  margin-block-end: 0;
}

.poker-dining__image {
  grid-column: 8 / span 5;
  min-width: 0;
  margin-block-end: 0;
}

.poker-dining__image img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-fast);
}

.poker-dining__image img:hover {
  transform: scale(1.02);
}

.poker-dining__image figcaption {
  margin-block-start: var(--space-2);
}

/* Request a Seat */
.poker-request-seat {
  background-color: var(--color-walnut);
}

.poker-request-seat__block {
  max-width: 50%;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

.poker-request-seat__block h2 {
  margin-block-end: 0;
}

.poker-request-seat__deck {
  max-width: 70ch;
  margin-block-end: 0;
}

.poker-request-seat__block p {
  max-width: 70ch;
  margin-block-end: 0;
}

.poker-request-seat__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

.poker-request-seat__actions .btn {
  flex: 0 1 auto;
  min-width: 0;
}

.poker-request-seat__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
}

.poker-request-seat__contact p {
  margin-block-end: 0;
}

.poker-request-seat__contact a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.poker-request-seat__contact a:hover {
  color: var(--color-accent-hover);
}

/* Tablet breakpoint */
@media (max-width: 1023px) {
  .poker-hero__text {
    max-width: 70%;
  }

  .poker-parlour-table__text {
    grid-column: 1 / span 7;
  }

  .poker-parlour-table__image {
    grid-column: 8 / span 5;
  }

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

  .poker-live-nights__schedule {
    grid-column: 1 / span 8;
  }

  .poker-live-nights__sidebar {
    grid-column: 9 / span 4;
  }

  .poker-schedule__row {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .poker-dealer-led__image {
    grid-column: 1 / span 5;
  }

  .poker-dealer-led__text {
    grid-column: 6 / span 7;
  }

  .poker-dining__text {
    grid-column: 1 / span 7;
  }

  .poker-dining__image {
    grid-column: 8 / span 5;
  }

  .poker-house-rules__list {
    grid-column: 1 / span 7;
  }

  .poker-house-rules__responsible {
    grid-column: 9 / span 4;
  }

  .poker-request-seat__block {
    max-width: 70%;
  }
}

/* Mobile breakpoint */
@media (max-width: 767px) {
  .poker-hero {
    min-height: 60vh;
  }

  .poker-hero__content {
    padding-block: var(--space-6);
  }

  .poker-hero__text {
    max-width: 100%;
    align-items: flex-start;
  }

  .poker-hero__text h1 {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  .poker-hero__deck {
    font-size: 1rem;
    line-height: 1.6;
  }

  .poker-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .poker-hero__actions .btn {
    width: 100%;
  }

  .poker-parlour-table__grid,
  .poker-live-nights__grid,
  .poker-tournaments__columns,
  .poker-dealer-led__grid,
  .poker-house-rules__grid,
  .poker-dining__grid {
    grid-template-columns: 1fr;
  }

  .poker-parlour-table__text,
  .poker-parlour-table__image,
  .poker-live-nights__schedule,
  .poker-live-nights__sidebar,
  .poker-dealer-led__image,
  .poker-dealer-led__text,
  .poker-house-rules__list,
  .poker-house-rules__responsible,
  .poker-dining__text,
  .poker-dining__image {
    grid-column: 1;
  }

  .poker-parlour-table__features {
    grid-template-columns: 1fr;
  }

  .poker-schedule__row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .poker-schedule__time {
    text-align: left;
  }

  .poker-beginner-step,
  .poker-first-step {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .poker-beginner-step__numeral,
  .poker-first-step__numeral {
    font-size: var(--font-size-h4);
  }

  .poker-request-seat__block {
    max-width: 100%;
  }

  .poker-request-seat__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .poker-request-seat__actions .btn {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .poker-hero__text h1 {
    font-size: 2rem;
  }

  .poker-hero__deck {
    font-size: 1rem;
  }
}
