/* Poker Event page styles */
.poker-event {
  width: 100%;
  overflow-x: hidden;
}

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

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

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

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51, 51, 51, 0.75) 0%, rgba(51, 51, 51, 0.35) 100%);
}

.poker-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
  padding: var(--space-lg) var(--container-gutter-desktop);
  text-align: center;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.poker-hero__eyebrow {
  font-size: var(--text-caption-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin: 0;
}

.poker-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.poker-hero__subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 640px;
}

.poker-hero__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xs);
  margin: 0;
  padding: 0;
}

.poker-hero__facts li {
  font-size: var(--text-caption-size);
  color: var(--color-silver);
  background-color: rgba(255, 255, 255, 0.08);
  padding: var(--space-3xs) var(--space-2xs);
  border-radius: var(--radius-sm);
}

.poker-hero__cta {
  margin-top: var(--space-2xs);
}

/* Intro */
.poker-intro__heading {
  text-align: left;
  margin-block-end: var(--space-md);
}

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

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

.poker-intro__card-title {
  margin: 0;
  color: var(--color-cobalt);
}

.poker-intro__card-text {
  margin: 0;
  color: var(--color-graphite);
}

/* Formats */
.poker-formats__heading {
  text-align: left;
  margin-block-end: var(--space-md);
}

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

.poker-format-card {
  min-width: 0;
  background-color: var(--color-ivory);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.poker-format-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.poker-format-card__title {
  margin: 0;
  color: var(--color-cobalt);
}

.poker-format-card__text {
  margin: 0;
}

.poker-format-card__list {
  list-style: disc;
  padding-inline-start: var(--space-xs);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
}

.poker-format-card__list li {
  margin: 0;
}

/* Physical */
.poker-physical__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

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

.poker-physical__heading {
  margin: 0;
}

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

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

.poker-physical__item-title {
  margin: 0 0 var(--space-3xs);
  color: var(--color-cobalt);
}

.poker-physical__item-text {
  margin: 0;
}

.poker-physical__media {
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.poker-physical__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.poker-physical__media:hover .poker-physical__image {
  transform: scale(1.02);
}

/* Timeline */
.poker-timeline__heading {
  text-align: left;
  margin-block-end: var(--space-md);
}

.poker-timeline__grid {
  display: grid;
  grid-template-columns: 20% 80%;
  gap: var(--space-xs);
  align-items: start;
}

.poker-timeline__axis {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 300px;
}

.poker-timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--color-cobalt);
  transform: translateX(-50%);
}

.poker-timeline__dot {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  background-color: var(--color-coral);
  border-radius: 50%;
  transform: translateX(-50%);
}

.poker-timeline__dot--1 {
  top: 0;
}

.poker-timeline__dot--2 {
  top: 33.33%;
}

.poker-timeline__dot--3 {
  top: 66.66%;
}

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

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

.poker-timeline__step-title {
  margin: 0 0 var(--space-3xs);
  color: var(--color-cobalt);
}

.poker-timeline__step-text {
  margin: 0;
}

/* Case study */
.poker-case {
  background-color: var(--color-graphite);
  color: var(--color-ivory);
}

.poker-case__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-md);
  align-items: start;
}

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

.poker-case__heading {
  color: var(--color-ivory);
  margin: 0;
}

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

.poker-case__block-title {
  color: var(--color-coral);
  margin: 0 0 var(--space-3xs);
}

.poker-case__block-text {
  color: var(--color-ivory);
  margin: 0;
}

.poker-case__media {
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.poker-case__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* Benefits */
.poker-benefits__heading {
  text-align: left;
  margin-block-end: var(--space-md);
}

.poker-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xs);
}

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

.poker-benefit__icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-cobalt);
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
}

.poker-benefit__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background-color: var(--color-coral);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.poker-benefit__title {
  margin: 0;
  color: var(--color-cobalt);
}

.poker-benefit__text {
  margin: 0;
}

/* FAQ */
.poker-faq__heading {
  text-align: left;
  margin-block-end: var(--space-md);
}

.poker-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  max-width: 70%;
}

.poker-faq__item {
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-ivory);
}

.poker-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xs);
  padding: var(--space-2xs) var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: 600;
  color: var(--color-cobalt);
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color var(--transition-fast);
}

.poker-faq__question:hover {
  background-color: rgba(0, 71, 171, 0.05);
}

.poker-faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.poker-faq__icon::before,
.poker-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: var(--color-cobalt);
  transform: translate(-50%, -50%);
  transition: transform var(--transition-base);
}

.poker-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.poker-faq__item.is-open .poker-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.poker-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.poker-faq__answer p {
  padding: 0 var(--space-xs) var(--space-xs);
  margin: 0;
  color: var(--color-graphite);
}

/* CTA */
.poker-cta {
  background-color: var(--color-cobalt);
  color: var(--color-white);
}

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

.poker-cta__title {
  color: var(--color-white);
  margin: 0;
}

.poker-cta__text {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.poker-cta__button {
  margin-top: var(--space-2xs);
}

/* Responsive */
@media (max-width: 1024px) {
  .poker-formats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

  .poker-hero__content {
    padding: var(--space-md) var(--container-gutter-mobile);
    gap: var(--space-2xs);
  }

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

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

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

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

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

  .poker-timeline__axis {
    display: none;
  }

  .poker-timeline__steps {
    gap: var(--space-xs);
  }

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

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

@media (max-width: 480px) {
  .poker-hero__facts {
    flex-direction: column;
    align-items: center;
  }

  .poker-cta__content {
    gap: var(--space-2xs);
  }
}
