/* Page-owned styles for poker-tables */

#poker-tables {
  overflow: hidden;
}

#poker-tables .pt-section {
  padding-block: var(--space-3xl);
}

#poker-tables .pt-section .container {
  width: 100%;
  max-width: var(--container-standard);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

/* Hero */
#poker-tables .pt-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--space-3xl);
}

#poker-tables .pt-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#poker-tables .pt-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#poker-tables .pt-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(14, 21, 18, 0.6);
}

#poker-tables .pt-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-standard);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

#poker-tables .pt-hero__content h1 {
  margin-block-end: var(--space-lg);
  color: var(--text-primary);
}

#poker-tables .pt-hero__lead {
  max-width: 720px;
  margin-inline: auto;
  margin-block-end: var(--space-lg);
  font-size: var(--text-lg);
  line-height: var(--leading-lg);
  color: var(--text-primary);
}

#poker-tables .pt-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 720px;
  margin-inline: auto;
}

#poker-tables .pt-hero__facts li {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-sm);
}

/* Felt section */
#poker-tables .pt-felt__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

#poker-tables .pt-felt__text {
  min-width: 0;
}

#poker-tables .pt-felt__text h2 {
  margin-block-end: var(--space-md);
}

#poker-tables .pt-felt__text p {
  max-width: 65ch;
  margin-block-end: var(--space-md);
}

#poker-tables .pt-felt__media {
  margin: 0;
  min-width: 0;
}

#poker-tables .pt-felt__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Layout section */
#poker-tables .pt-layout h2 {
  margin-block-end: var(--space-md);
}

#poker-tables .pt-layout p {
  max-width: 65ch;
  margin-block-end: var(--space-md);
}

/* Chips section */
#poker-tables .pt-chips__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

#poker-tables .pt-chips__text {
  min-width: 0;
}

#poker-tables .pt-chips__text h2 {
  margin-block-end: var(--space-md);
}

#poker-tables .pt-chips__text p {
  max-width: 65ch;
  margin-block-end: var(--space-md);
}

#poker-tables .pt-chips__media {
  margin: 0;
  min-width: 0;
}

#poker-tables .pt-chips__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Lighting section */
#poker-tables .pt-lighting h2 {
  margin-block-end: var(--space-md);
}

#poker-tables .pt-lighting p {
  max-width: 65ch;
  margin-block-end: var(--space-md);
}

#poker-tables .pt-lighting__media {
  margin: var(--space-lg) 0 0;
}

#poker-tables .pt-lighting__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Seating section */
#poker-tables .pt-seating h2 {
  margin-block-end: var(--space-md);
}

#poker-tables .pt-seating p {
  max-width: 65ch;
  margin-block-end: var(--space-md);
}

/* Atmosphere section */
#poker-tables .pt-atmosphere__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

#poker-tables .pt-atmosphere__text {
  min-width: 0;
}

#poker-tables .pt-atmosphere__text h2 {
  margin-block-end: var(--space-md);
}

#poker-tables .pt-atmosphere__text p {
  max-width: 65ch;
  margin-block-end: var(--space-md);
}

#poker-tables .pt-atmosphere__media {
  margin: 0;
  min-width: 0;
}

#poker-tables .pt-atmosphere__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* Location section */
#poker-tables .pt-location h2 {
  margin-block-end: var(--space-md);
}

#poker-tables .pt-location p {
  max-width: 65ch;
  margin-block-end: var(--space-md);
}

/* CTA section */
#poker-tables .pt-cta {
  background-color: var(--bg-elevated);
  border-block: 1px solid var(--border-default);
}

#poker-tables .pt-cta__inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-block: var(--space-3xl);
}

#poker-tables .pt-cta__inner h2 {
  margin: 0;
}

#poker-tables .pt-cta__inner p {
  margin: 0;
  color: var(--text-secondary);
}

#poker-tables .pt-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

#poker-tables .pt-cta__actions .btn {
  min-width: 0;
}

/* Shared list style */
#poker-tables .pt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 65ch;
}

#poker-tables .pt-list li {
  position: relative;
  padding-inline-start: var(--space-lg);
  color: var(--text-secondary);
  line-height: var(--leading-base);
}

#poker-tables .pt-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-primary);
}

/* Tablet */
@media (min-width: 768px) {
  #poker-tables .pt-section .container {
    padding-inline: var(--gutter-tablet);
  }

  #poker-tables .pt-hero__content {
    padding-inline: var(--gutter-tablet);
  }

  #poker-tables .pt-felt__grid,
  #poker-tables .pt-chips__grid,
  #poker-tables .pt-atmosphere__grid {
    grid-template-columns: 7fr 5fr;
    gap: var(--space-2xl);
  }

  #poker-tables .pt-felt__text,
  #poker-tables .pt-chips__text,
  #poker-tables .pt-atmosphere__text {
    grid-column: 1;
    grid-row: 1;
  }

  #poker-tables .pt-felt__media,
  #poker-tables .pt-chips__media,
  #poker-tables .pt-atmosphere__media {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  #poker-tables .pt-section .container {
    padding-inline: var(--gutter-desktop);
  }

  #poker-tables .pt-hero__content {
    padding-inline: var(--gutter-desktop);
  }

  #poker-tables .pt-hero__lead {
    max-width: 720px;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  #poker-tables .pt-hero {
    min-height: 70vh;
    padding-block: var(--space-2xl);
  }

  #poker-tables .pt-hero__lead {
    font-size: var(--text-base);
    line-height: var(--leading-base);
  }

  #poker-tables .pt-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  #poker-tables .pt-cta__actions .btn {
    width: 100%;
  }
}

@media (max-width: 479px) {
  #poker-tables .pt-hero {
    min-height: 80vh;
  }

  #poker-tables .pt-hero__content h1 {
    font-size: var(--text-2xl);
    line-height: var(--leading-2xl);
  }
}
