/* Poker page styles */
#poker-page {
  --poker-hero-height: 80vh;
  --poker-hero-mobile-ratio: 4 / 5;
  --poker-text-max: 45rem;
  --poker-gap-sm: var(--space-md);
  --poker-gap-md: var(--space-lg);
  --poker-gap-lg: var(--space-2xl);
}

/* Hero */
.poker-hero {
  position: relative;
  min-height: var(--poker-hero-height);
  display: flex;
  align-items: flex-end;
  background-color: var(--color-ink);
  overflow: hidden;
}

.poker-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11, 15, 14, 0.95) 0%, rgba(11, 15, 14, 0.72) 40%, rgba(11, 15, 14, 0.25) 75%, rgba(11, 15, 14, 0.08) 100%);
  pointer-events: none;
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--space-4xl) var(--space-3xl);
}

.poker-hero__text {
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
  text-align: left;
  color: var(--color-cream);
}

.poker-hero__title {
  font-size: clamp(2.5rem, 5vw + 0.5rem, 4rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 10ch;
  color: var(--color-cream);
}

.poker-hero__lead {
  font-size: var(--text-lead-size);
  line-height: var(--text-lead-line-height);
  margin: 0;
  max-width: 32rem;
  color: var(--color-cream);
}

.poker-hero__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  color: var(--color-cream);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
}

.poker-hero__list li {
  margin: 0;
  padding-left: var(--space-lg);
  position: relative;
}

.poker-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.75rem;
  height: 1px;
  background-color: var(--color-champagne);
}

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

/* Why section */
.poker-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: var(--space-2xl);
  align-items: start;
}

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

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

.poker-why__unit h3 {
  margin-bottom: var(--space-md);
}

.poker-why__unit p {
  max-width: 45rem;
}

.poker-why__unit ul {
  margin-top: var(--space-md);
}

.poker-why__media {
  min-width: 0;
  align-self: start;
}

.poker-why__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* Formats section */
.poker-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.poker-card {
  border-top: 1px solid var(--color-line);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  transition: border-color var(--transition-fast);
}

.poker-card:hover {
  border-top-color: var(--color-champagne);
}

.poker-card h3 {
  margin: 0;
  color: var(--color-cream);
}

.poker-card p {
  margin: 0;
  color: var(--color-cream);
}

.poker-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  color: var(--color-cream);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
}

.poker-card ul li {
  margin: 0;
  padding-left: var(--space-lg);
  position: relative;
}

.poker-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.75rem;
  height: 1px;
  background-color: var(--color-champagne);
}

/* Service section */
.poker-service__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.poker-service__media {
  min-width: 0;
  align-self: start;
}

.poker-service__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

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

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

.poker-service__unit h3 {
  margin-bottom: var(--space-md);
}

.poker-service__unit p {
  max-width: 45rem;
}

.poker-service__unit ul {
  margin-top: var(--space-md);
}

/* Process section */
.poker-process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: var(--space-2xl);
  align-items: start;
}

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

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

.poker-process__number {
  font-size: var(--text-caption-size);
  font-weight: var(--text-caption-weight);
  line-height: var(--text-caption-line-height);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  color: var(--color-champagne);
}

.poker-process__step h3 {
  margin: 0;
  color: var(--color-cream);
}

.poker-process__step p {
  margin: 0;
  color: var(--color-cream);
  max-width: 45rem;
}

.poker-process__step ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  color: var(--color-cream);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
}

.poker-process__step ul li {
  margin: 0;
  padding-left: var(--space-lg);
  position: relative;
}

.poker-process__step ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.75rem;
  height: 1px;
  background-color: var(--color-champagne);
}

.poker-process__aside {
  min-width: 0;
  align-self: stretch;
  border-left: 1px solid var(--color-line);
  min-height: 10rem;
}

/* Testimonials section */
.poker-testimonials__inner {
  max-width: 45rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.poker-testimonials__quote-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-testimonials__line {
  display: block;
  width: 4rem;
  height: 1px;
  background-color: var(--color-champagne);
}

.poker-testimonials__quote {
  font-family: var(--font-heading);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  letter-spacing: var(--text-h3-tracking);
  margin: 0;
  padding: 0;
  border: none;
  color: var(--color-ink);
}

.poker-testimonials__quote p {
  margin: 0;
}

.poker-testimonials__meta {
  font-size: var(--text-caption-size);
  font-weight: var(--text-caption-weight);
  line-height: var(--text-caption-line-height);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0;
}

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

.poker-testimonials__details p {
  max-width: 45rem;
}

.poker-testimonials__details ul {
  margin-top: var(--space-md);
}

/* FAQ section */
.poker-faq__inner {
  max-width: 45rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.poker-faq__list {
  display: flex;
  flex-direction: column;
}

.poker-faq__item {
  border-top: 1px solid var(--color-line);
  padding: var(--space-lg) 0;
}

.poker-faq__item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.poker-faq__item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: var(--text-h4-size);
  font-weight: 600;
  line-height: var(--text-h4-line-height);
  color: var(--color-champagne);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xs) 0;
}

.poker-faq__item summary::-webkit-details-marker {
  display: none;
}

.poker-faq__item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-champagne);
  transition: transform var(--transition-fast);
}

.poker-faq__item[open] summary::after {
  transform: rotate(45deg);
}

.poker-faq__answer {
  margin-top: var(--space-md);
  color: var(--color-cream);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.poker-faq__answer p {
  margin: 0;
}

.poker-faq__answer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
}

.poker-faq__answer ul li {
  margin: 0;
  padding-left: var(--space-lg);
  position: relative;
}

.poker-faq__answer ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.75rem;
  height: 1px;
  background-color: var(--color-champagne);
}

/* CTA section */
.poker-cta__inner {
  max-width: 45rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.poker-cta__inner h2 {
  color: var(--color-cream);
  margin: 0;
}

.poker-cta__inner > p {
  color: var(--color-cream);
  max-width: 40rem;
  margin: 0;
}

.poker-cta__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  color: var(--color-cream);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
}

.poker-cta__contacts p {
  margin: 0;
}

.poker-cta__contacts a {
  color: var(--color-champagne-soft);
}

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

/* Tablet */
@media (min-width: 48rem) and (max-width: 74.9375rem) {
  .poker-hero__text {
    max-width: 32rem;
  }

  .poker-why__grid,
  .poker-service__grid,
  .poker-process__grid {
    gap: var(--space-xl);
  }

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

  .poker-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 47.9375rem) {
  .poker-hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .poker-hero__image {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: var(--poker-hero-mobile-ratio);
    height: auto;
  }

  .poker-hero__overlay {
    display: none;
  }

  .poker-hero__content {
    padding: var(--space-2xl) var(--container-padding-mobile);
    background-color: var(--color-ink);
  }

  .poker-hero__text {
    max-width: 100%;
    gap: var(--space-md);
  }

  .poker-hero__title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    max-width: 100%;
  }

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

  .poker-hero__cta {
    width: 100%;
  }

  .poker-why__grid,
  .poker-service__grid,
  .poker-process__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .poker-why__media {
    order: -1;
  }

  .poker-why__image {
    aspect-ratio: 4 / 5;
  }

  .poker-service__image {
    aspect-ratio: 1 / 1;
  }

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

  .poker-process__aside {
    display: none;
  }

  .poker-testimonials__inner,
  .poker-faq__inner,
  .poker-cta__inner {
    max-width: 100%;
  }

  .poker-cta__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-hero__text,
  .poker-card,
  .poker-faq__item summary::after {
    animation: none !important;
    transition: none !important;
  }
}
