/* Regulamin — wyłącznie .page-regulamin / .section-regulamin-page */

.page-regulamin .regulamin-editorial,
.section-regulamin-page .regulamin-editorial {
  align-items: stretch;
}

.page-regulamin .regulamin-editorial .content-editorial-copy,
.section-regulamin-page .regulamin-editorial .content-editorial-copy {
  display: flex;
  min-height: 100%;
}

.page-regulamin .regulamin-card,
.section-regulamin-page .regulamin-card {
  display: flex;
  flex: 1;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.35rem, 3vw, 1.85rem);
}

.page-regulamin .regulamin-content,
.section-regulamin-page .regulamin-content {
  width: 100%;
  max-width: 52ch;
}

.page-regulamin .regulamin-content__title,
.section-regulamin-page .regulamin-content__title {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2.5vw, 1.38rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-regulamin .regulamin-content__title::after,
.section-regulamin-page .regulamin-content__title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.55rem;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  border-radius: 1px;
}

.page-regulamin .regulamin-content__text,
.section-regulamin-page .regulamin-content__text {
  margin: 0 0 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(230, 238, 250, 0.9);
}

.page-regulamin .regulamin-content__text:last-of-type,
.section-regulamin-page .regulamin-content__text:last-of-type {
  margin-bottom: 0;
}

.page-regulamin .regulamin-content__cta,
.section-regulamin-page .regulamin-content__cta {
  margin: 1.35rem 0 0;
  padding-top: 0.25rem;
}

.page-regulamin .regulamin-download-btn,
.section-regulamin-page .regulamin-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.22) 0%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(212, 175, 55, 0.14) 100%
  );
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(212, 175, 55, 0.1);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    background 0.2s ease;
}

.page-regulamin .regulamin-download-btn:hover,
.section-regulamin-page .regulamin-download-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.8);
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.32) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(212, 175, 55, 0.2) 100%
  );
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.32),
    0 0 40px rgba(212, 175, 55, 0.25);
  color: #fff;
  text-decoration: none;
}

.page-regulamin .regulamin-download-btn__icon,
.section-regulamin-page .regulamin-download-btn__icon {
  display: flex;
  color: var(--gold-bright);
  font-size: 1.2rem;
  line-height: 1;
}

.page-regulamin .regulamin-download-btn__icon .bi,
.section-regulamin-page .regulamin-download-btn__icon .bi {
  display: block;
}

@media (max-width: 899px) {
  .page-regulamin .regulamin-card,
  .section-regulamin-page .regulamin-card {
    align-items: flex-start;
  }
}
