/* Poker Event page styles */
.poker-event {
  --poker-gap-sm: var(--space-sm);
  --poker-gap-md: var(--space-md);
  --poker-gap-lg: var(--space-lg);
  --poker-gap-xl: var(--space-xl);
  --poker-gap-2xl: var(--space-2xl);
}

.section-pad {
  padding-block: var(--space-3xl);
}

/* Hero */
.poker-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('/public/media/poker-hero.webp');
  background-size: cover;
  background-position: center;
  color: var(--color-warm-ivory);
  overflow: hidden;
}

.poker-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 42, 74, 0.85) 0%, rgba(27, 42, 74, 0.45) 50%, rgba(27, 42, 74, 0.15) 100%);
  z-index: 1;
}

.poker-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.poker-hero__content {
  max-width: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--poker-gap-lg);
}

.poker-hero__title {
  font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem);
  line-height: 1.1;
  color: var(--color-warm-ivory);
  margin-block-end: 0;
}

.poker-hero__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(245, 239, 230, 0.9);
  margin-block-end: 0;
  max-width: 52ch;
}

.poker-hero__cta {
  min-width: 200px;
}

/* Why section */
.poker-why__heading {
  margin-block-end: var(--poker-gap-xl);
}

.poker-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--poker-gap-xl);
}

.poker-why__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-md);
  padding: var(--poker-gap-lg);
  border-inline-start: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.poker-why__icon {
  font-size: 2rem;
  color: var(--color-muted-orange);
  line-height: 1;
}

.poker-why__item-title {
  margin-block-end: 0;
}

.poker-why__text {
  margin-block-end: 0;
}

/* Elements section */
.poker-elements {
  background-color: var(--color-ink-blue);
  color: var(--color-warm-ivory);
}

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

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

.poker-elements__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.poker-elements__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-lg);
}

.poker-elements__heading {
  color: var(--color-warm-ivory);
  margin-block-end: 0;
}

.poker-elements__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-lg);
}

.poker-elements__list-item {
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-sm);
  border-bottom: 1px solid rgba(245, 239, 230, 0.2);
  padding-block-end: var(--poker-gap-md);
}

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

.poker-elements__item-title {
  color: var(--color-warm-ivory);
  margin-block-end: 0;
}

.poker-elements__text {
  color: rgba(245, 239, 230, 0.85);
  margin-block-end: 0;
}

/* Formats section */
.poker-formats {
  background-color: var(--color-surface);
}

.poker-formats__heading {
  margin-block-end: var(--poker-gap-xl);
}

.poker-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--poker-gap-lg);
}

.poker-formats__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-md);
  padding: var(--poker-gap-lg);
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.poker-formats__card:hover {
  transform: translateY(-4px);
  border-color: var(--color-dusty-red);
  box-shadow: var(--shadow-warm);
}

.poker-formats__card-title {
  margin-block-end: 0;
}

.poker-formats__text {
  margin-block-end: 0;
}

/* Process section */
.poker-process {
  background-color: var(--color-ink-blue);
  color: var(--color-warm-ivory);
}

.poker-process__heading {
  color: var(--color-warm-ivory);
  margin-block-end: var(--poker-gap-xl);
}

.poker-process__timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-xl);
  max-width: 70%;
}

.poker-process__step {
  display: flex;
  align-items: flex-start;
  gap: var(--poker-gap-lg);
  min-width: 0;
}

.poker-process__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-muted-orange);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
}

.poker-process__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-sm);
}

.poker-process__step-title {
  color: var(--color-warm-ivory);
  margin-block-end: 0;
}

.poker-process__text {
  color: rgba(245, 239, 230, 0.85);
  margin-block-end: 0;
}

/* Gallery section */
.poker-gallery__heading {
  margin-block-end: var(--poker-gap-xl);
}

.poker-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--poker-gap-xl);
}

.poker-gallery__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-md);
}

.poker-gallery__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.poker-gallery__item:hover .poker-gallery__img {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.poker-gallery__caption {
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-sm);
  max-width: 50%;
}

.poker-gallery__caption-title {
  margin-block-end: 0;
}

.poker-gallery__text {
  margin-block-end: 0;
  font-style: italic;
  color: var(--color-soft-graphite);
}

/* Testimonials section */
.poker-testimonials__heading {
  margin-block-end: var(--poker-gap-xl);
}

.poker-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--poker-gap-xl);
}

.poker-testimonials__quote {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-md);
  padding: var(--poker-gap-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-block-end: 0;
}

.poker-testimonials__quote p {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-ink-blue);
  margin-block-end: 0;
}

.poker-testimonials__author {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-soft-graphite);
  margin-block-start: auto;
}

/* FAQ section */
.poker-faq__heading {
  margin-block-end: var(--poker-gap-xl);
}

.poker-faq__accordion {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: var(--poker-gap-md);
}

.poker-faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  overflow: hidden;
}

.poker-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--poker-gap-md);
  padding: var(--poker-gap-md) var(--poker-gap-lg);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-ink-blue);
  text-align: start;
  min-height: 44px;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.poker-faq__question:hover {
  color: var(--color-muted-orange);
  background-color: rgba(217, 122, 62, 0.05);
}

.poker-faq__icon {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.poker-faq__answer {
  padding: 0 var(--poker-gap-lg) var(--poker-gap-lg);
  color: var(--color-soft-graphite);
}

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

/* CTA section */
.poker-cta {
  background-color: var(--color-ink-blue);
  color: var(--color-warm-ivory);
  text-align: center;
}

.poker-cta__content {
  max-width: 60%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--poker-gap-lg);
}

.poker-cta__heading {
  color: var(--color-warm-ivory);
  margin-block-end: 0;
}

.poker-cta__text {
  color: rgba(245, 239, 230, 0.9);
  margin-block-end: 0;
}

.poker-cta__text a {
  color: var(--color-muted-orange);
  text-decoration-color: var(--color-muted-orange);
}

.poker-cta__text a:hover {
  color: var(--color-warm-ivory);
  text-decoration-color: var(--color-warm-ivory);
}

.poker-cta__btn {
  min-width: 220px;
}

/* Responsive */
@media (max-width: 1024px) {
  .poker-hero__content {
    max-width: 75%;
  }

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

  .poker-why__item:last-child {
    grid-column: span 2;
  }

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

  .poker-formats__card:last-child {
    grid-column: span 2;
  }

  .poker-process__timeline {
    max-width: 85%;
  }

  .poker-faq__accordion {
    max-width: 90%;
  }

  .poker-cta__content {
    max-width: 75%;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding-block: var(--space-2xl);
  }

  .poker-hero {
    min-height: 80vh;
  }

  .poker-hero::before {
    background: linear-gradient(180deg, rgba(27, 42, 74, 0.85) 0%, rgba(27, 42, 74, 0.6) 100%);
  }

  .poker-hero__content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .poker-hero__lead {
    max-width: 100%;
  }

  .poker-hero__cta {
    width: 100%;
  }

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

  .poker-why__item:last-child {
    grid-column: auto;
  }

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

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

  .poker-formats__card:last-child {
    grid-column: auto;
  }

  .poker-process__timeline {
    max-width: 100%;
  }

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

  .poker-gallery__caption {
    max-width: 100%;
  }

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

  .poker-faq__accordion {
    max-width: 100%;
  }

  .poker-cta__content {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .poker-hero {
    min-height: 70vh;
  }

  .poker-hero__title {
    font-size: clamp(2rem, 8vw + 0.5rem, 2.75rem);
  }

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

  .poker-process__step {
    flex-direction: column;
    gap: var(--poker-gap-sm);
  }

  .poker-process__number {
    width: auto;
  }
}
