/* Page-owned styles for najlepsze-doswiadczenia-pokerowe-na-morzu */

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

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

.poker-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.poker-hero:hover .poker-hero__media img {
  transform: scale(1.03);
}

.poker-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: var(--color-ivory-50);
}

.poker-hero__eyebrow {
  font-size: var(--text-small-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--text-uppercase-letter-spacing);
  color: var(--color-brass-500);
  margin-bottom: var(--space-sm);
}

.poker-hero__title {
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  font-weight: var(--text-display-weight);
  color: var(--color-ivory-50);
  margin-bottom: var(--space-lg);
}

.poker-hero__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  color: var(--color-ivory-50);
}

.poker-hero__cta {
  display: inline-flex;
}

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

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

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

.poker-intro__column p {
  margin-bottom: 0;
}

/* Tournaments section */
.poker-tournaments__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

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

.poker-tournaments__card-rule {
  width: 32px;
  height: 3px;
  background-color: var(--color-brass-500);
}

.poker-tournaments__card h3 {
  margin-bottom: 0;
}

.poker-tournaments__card p {
  margin-bottom: 0;
}

/* Cash games section */
.poker-cash__container {
  max-width: 800px;
  margin-inline: auto;
}

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

.poker-cash__content h3 {
  margin-bottom: 0;
}

.poker-cash__content p {
  margin-bottom: 0;
}

.poker-cash__list {
  margin-bottom: 0;
}

/* Poker rooms section */
.poker-rooms__grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-xl);
  align-items: start;
}

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

.poker-rooms__text h3 {
  margin-bottom: 0;
}

.poker-rooms__text p {
  margin-bottom: 0;
}

.poker-rooms__figure {
  min-width: 0;
  margin: 0;
}

.poker-rooms__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-medium);
  transition: transform var(--transition-fast);
}

.poker-rooms__figure:hover img {
  transform: scale(1.02);
}

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

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

.poker-quotes__quote {
  min-width: 0;
  margin: 0;
  padding: var(--space-lg);
  border-left: 3px solid var(--color-brass-500);
  background-color: var(--color-white);
  border-radius: var(--radius-small);
  box-shadow: var(--color-shadow-card);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--color-navy-900);
}

.poker-quotes__quote p {
  margin-bottom: var(--space-sm);
  max-width: 50ch;
}

.poker-quotes__quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small-size);
  font-style: normal;
  color: var(--color-navy-700);
}

.poker-quotes__note {
  margin-top: var(--space-md);
  font-size: var(--text-small-size);
  color: var(--color-navy-700);
  margin-bottom: 0;
}

/* Cruise lines section */
.poker-lines__container {
  max-width: 800px;
  margin-inline: auto;
}

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

.poker-lines__content h3 {
  margin-bottom: 0;
}

.poker-lines__content p {
  margin-bottom: 0;
}

.poker-lines__list {
  margin-bottom: 0;
}

/* Tips section */
.poker-tips__container {
  max-width: 800px;
  margin-inline: auto;
}

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

.poker-tips__content h3 {
  margin-bottom: 0;
}

.poker-tips__content p {
  margin-bottom: 0;
}

.poker-tips__list {
  margin-bottom: 0;
  padding-left: var(--space-lg);
  list-style: none;
  counter-reset: tip-counter;
}

.poker-tips__list li {
  counter-increment: tip-counter;
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.poker-tips__list li::before {
  content: counter(tip-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background-color: var(--color-brass-500);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-small-size);
}

.poker-tips__list li:last-child {
  margin-bottom: 0;
}

/* Summary section */
.poker-summary__container {
  max-width: 800px;
  margin-inline: auto;
}

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

.poker-summary__content h3 {
  margin-bottom: 0;
  color: var(--color-ivory-50);
}

.poker-summary__content p {
  margin-bottom: 0;
  color: var(--color-ivory-50);
}

/* CTA section */
.poker-cta__container {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.poker-cta__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.poker-cta__header .section-header__rule {
  margin-inline: auto;
}

.poker-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.poker-cta__content h3 {
  margin-bottom: 0;
}

.poker-cta__content p {
  margin-bottom: 0;
  max-width: 50ch;
}

.poker-cta__content .btn {
  margin-top: var(--space-sm);
}

/* Tablet breakpoint */
@media (max-width: 992px) {
  .poker-tournaments__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .poker-rooms__figure {
    order: 2;
  }
}

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

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

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

  .poker-hero__lead {
    font-size: 1rem;
    max-width: 100%;
  }

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

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

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

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

  .poker-quotes__quote p {
    max-width: 100%;
  }
}

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

  .poker-hero__content {
    padding: var(--space-md) var(--space-sm);
  }

  .poker-hero__title {
    font-size: 2rem;
  }

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

  .poker-hero__cta {
    width: 100%;
    justify-content: center;
  }

  .poker-tips__list li {
    padding-left: var(--space-lg);
  }

  .poker-tips__list li::before {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}
