/* Page-owned styles for stoly-pokerowe */

.poker-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-petrol-900);
  overflow: hidden;
}

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

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

.poker-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: var(--color-petrol-900);
  opacity: 0.7;
}

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

.poker-hero__copy {
  max-width: 720px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-hero__copy h1 {
  color: var(--color-ivory-50);
  margin-block-end: 0;
}

.poker-hero__lead {
  color: var(--color-ivory-50);
  font-size: var(--text-body-lg-size);
  line-height: var(--text-body-lg-leading);
  margin-block-end: 0;
}

.poker-hero__facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-end: 0;
}

.poker-hero__facts li {
  color: var(--color-ivory-50);
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
  padding-inline-start: var(--space-lg);
  position: relative;
}

.poker-hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background-color: var(--color-amber-500);
}

.poker-hero__cta {
  align-self: flex-start;
  min-width: 160px;
}

.poker-section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-end: var(--space-xl);
}

.poker-section-heading--center {
  align-items: center;
  text-align: center;
}

.poker-caption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-leading);
  letter-spacing: var(--text-caption-tracking);
  text-transform: uppercase;
  font-weight: var(--text-caption-weight);
  color: var(--color-amber-500);
  margin-block-end: 0;
}

.poker-section-heading h2 {
  margin-block-end: 0;
}

.poker-section-rule {
  display: block;
  width: 48px;
  height: 2px;
  background-color: var(--color-amber-500);
}

.poker-section-heading--center .poker-section-rule {
  margin-inline: auto;
}

.poker-offline {
  background-color: var(--color-ivory-50);
}

.poker-offline__intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-block-end: var(--space-2xl);
}

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

.poker-offline__item {
  min-width: 0;
  padding: var(--space-lg);
  border: var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--color-ivory-50);
}

.poker-offline__item h3 {
  margin-block-end: var(--space-sm);
}

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

.poker-spec {
  background-color: var(--color-petrol-900);
}

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

.poker-spec__copy {
  min-width: 0;
  max-width: 480px;
}

.poker-spec__copy h2,
.poker-spec__copy h3,
.poker-spec__copy p {
  color: var(--color-ivory-50);
}

.poker-spec__copy h3 {
  margin-block-start: var(--space-xl);
}

.poker-spec__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block: var(--space-lg) var(--space-xl);
}

.poker-spec__list li {
  color: var(--color-ivory-50);
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
  padding-block-end: var(--space-xs);
  border-block-end: var(--border-dark);
}

.poker-spec__list li:last-child {
  border-block-end: none;
}

.poker-spec__list strong {
  color: var(--color-amber-300);
  font-weight: 600;
}

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

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

.poker-formats {
  background-color: var(--color-ivory-50);
}

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

.poker-format-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--color-ivory-50);
}

.poker-format-card h3 {
  margin-block-end: 0;
}

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

.poker-format-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-block-end: 0;
}

.poker-format-card ul li {
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
  padding-inline-start: var(--space-lg);
  position: relative;
}

.poker-format-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-felt-600);
}

.poker-format-card__note {
  font-size: var(--text-small-size);
  color: var(--color-ink-600);
  border-block-start: var(--border-light);
  padding-block-start: var(--space-sm);
}

.poker-realizations {
  background-color: var(--color-petrol-800);
}

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

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

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

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

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

.poker-realization__body h3 {
  color: var(--color-ivory-50);
  margin-block-end: 0;
}

.poker-realization__body p {
  color: var(--color-ivory-50);
  margin-block-end: 0;
}

.poker-realization__body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-block-end: 0;
}

.poker-realization__body ul li {
  color: var(--color-ivory-50);
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
}

.poker-realization__body ul strong {
  color: var(--color-amber-300);
  font-weight: 600;
}

.poker-production {
  background-color: var(--color-ivory-50);
}

.poker-production__intro {
  max-width: 720px;
  margin-block-end: var(--space-xl);
}

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

.poker-production__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-end: 0;
}

.poker-production__list li {
  padding-block-end: var(--space-xs);
  border-block-end: var(--border-light);
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
}

.poker-production__list li:last-child {
  border-block-end: none;
}

.poker-production__list strong {
  color: var(--color-felt-600);
  font-weight: 600;
}

.poker-catering {
  background-color: var(--color-petrol-900);
}

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

.poker-catering__copy {
  min-width: 0;
  max-width: 480px;
}

.poker-catering__copy h2,
.poker-catering__copy p {
  color: var(--color-ivory-50);
}

.poker-catering__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-end: 0;
}

.poker-catering__list li {
  color: var(--color-ivory-50);
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
  padding-inline-start: var(--space-lg);
  position: relative;
}

.poker-catering__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-amber-500);
}

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

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

.poker-packages {
  background-color: var(--color-ivory-50);
}

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

.poker-package {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--color-ivory-50);
}

.poker-package--featured {
  border-color: var(--color-amber-500);
}

.poker-package h3 {
  margin-block-end: 0;
}

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

.poker-package ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-block-end: 0;
}

.poker-package ul li {
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
  padding-inline-start: var(--space-lg);
  position: relative;
}

.poker-package ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-felt-600);
}

.poker-package__price {
  font-family: var(--font-heading);
  font-size: var(--text-h4-size);
  font-weight: 600;
  color: var(--color-ink-900);
}

.poker-package__note {
  font-size: var(--text-small-size);
  color: var(--color-ink-600);
  border-block-start: var(--border-light);
  padding-block-start: var(--space-sm);
}

.poker-contact {
  background-color: var(--color-petrol-900);
}

.poker-contact__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--space-3xl);
  align-items: start;
}

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

.poker-contact__info h2,
.poker-contact__info p {
  color: var(--color-ivory-50);
}

.poker-contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-end: 0;
}

.poker-contact__details li {
  color: var(--color-ivory-50);
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
}

.poker-contact__details strong {
  color: var(--color-amber-300);
  font-weight: 600;
}

.poker-contact__details a {
  color: var(--color-ivory-50);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.poker-contact__details a:hover {
  color: var(--color-amber-300);
}

.poker-contact__form-wrap {
  min-width: 0;
  max-width: 680px;
}

.poker-contact-form {
  background-color: var(--color-ivory-50);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

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

.poker-form-field label {
  color: var(--color-ink-900);
}

.poker-form-field input,
.poker-form-field textarea {
  background-color: var(--color-ivory-100);
  border: var(--border-light);
  color: var(--color-ink-900);
}

.poker-form-field input:focus,
.poker-form-field textarea:focus {
  outline: var(--focus-ring-light);
  outline-offset: var(--focus-offset);
  border-color: var(--color-felt-600);
}

.poker-form-error {
  color: var(--color-error-600);
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
  margin-block-end: 0;
}

.poker-form-success {
  color: var(--color-felt-600);
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
  margin-block-end: 0;
}

.poker-contact-form__submit {
  align-self: flex-start;
}

.poker-legal {
  background-color: var(--color-ivory-50);
}

.poker-legal__box {
  max-width: 680px;
  margin-inline: auto;
  padding: var(--space-xl);
  border: var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--color-ivory-50);
}

.poker-legal__box h2,
.poker-legal__box p {
  color: var(--color-ink-900);
}

.poker-legal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-block-end: 0;
}

.poker-legal__list li {
  font-size: var(--text-small-size);
  line-height: var(--text-small-leading);
  padding-inline-start: var(--space-lg);
  position: relative;
}

.poker-legal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-felt-600);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .poker-offline__grid,
  .poker-formats__grid,
  .poker-packages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-offline__item:last-child,
  .poker-format-card:last-child,
  .poker-package:last-child {
    grid-column: 1 / -1;
  }

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

  .poker-contact__form-wrap {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .poker-hero {
    min-height: auto;
  }

  .poker-hero__content {
    padding-block: var(--space-3xl) var(--space-2xl);
  }

  .poker-hero__copy {
    max-width: none;
  }

  .poker-hero__cta {
    width: 100%;
  }

  .poker-offline__grid,
  .poker-formats__grid,
  .poker-realizations__grid,
  .poker-production__grid,
  .poker-catering__grid,
  .poker-packages__grid,
  .poker-contact__grid {
    grid-template-columns: 1fr;
  }

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

  .poker-spec__copy {
    max-width: none;
  }

  .poker-spec__media {
    order: -1;
  }

  .poker-catering__copy {
    max-width: none;
  }

  .poker-catering__media {
    order: -1;
  }

  .poker-contact__form-wrap {
    max-width: none;
  }

  .poker-contact-form {
    padding: var(--space-lg);
  }

  .poker-contact-form__submit {
    width: 100%;
  }

  .poker-legal__box {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .poker-hero__copy h1 {
    font-size: var(--text-h1-size);
  }

  .poker-hero__lead {
    font-size: var(--text-body-size);
  }

  .poker-section-heading h2 {
    font-size: var(--text-h3-size);
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-hero__cta,
  .poker-contact-form__submit {
    transition: none;
  }
}
