/* legal.css – общие стили для legal-страниц SportMore */

:root {
  --black: #1e1e1e;
  --white: #ffffff;
  --dark-blue: #05273c;
  --light-sweet-grey: #a3bac3;
}

/* HERO для legal страниц */

.hero-wrapper.legal-hero {
  background-image: linear-gradient(140deg, #000000b3, #00000040),
    url("image/bg.jpg");
  background-position: 50%;
  background-size: cover;
  justify-content: flex-end;
  align-items: flex-end;
  height: 70vh;
  padding-bottom: 88px;
}

.hero-wrapper.legal-hero.terms-hero {
  background-image: linear-gradient(140deg, #000000b3, #00000040),
    url("image/program-bg.jpg");
}

.hero-wrapper.legal-hero.thanks-hero {
  background-image: linear-gradient(140deg, #000000b3, #00000040)
}

.legal-hero-subtitle {
  max-width: 640px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.5em;
}

/* Основной текст */

.legal-section {
  margin-top: 88px;
  margin-bottom: 88px;
}

.legal-content {
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-heading {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 32px;
  margin-bottom: 8px;
}

.legal-list {
  margin: 0 0 8px 0;
  padding-left: 1.3em;
  font-size: 18px;
  line-height: 1.5em;
}

.legal-list li {
  margin-bottom: 4px;
}

.legal-updated {
  margin-top: 16px;
  font-size: 14px;
  color: var(--light-sweet-grey);
}

/* Thanks page */

.thanks-content {
  gap: 28px;
}

.thanks-contact-box {
  padding: 24px 24px 20px;
  border: 1px solid var(--light-sweet-grey);
  border-radius: 8px;
  background: #f7f7f7;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

/* Адаптив */

@media screen and (min-width: 1440px) {
  .hero-wrapper.legal-hero {
    height: 75vh;
  }

  .legal-hero-subtitle {
    font-size: 20px;
  }

  .legal-heading {
    font-size: 32px;
  }

  .legal-section {
    margin-top: 128px;
    margin-bottom: 128px;
  }

  .legal-content {
    gap: 28px;
  }
}

@media screen and (min-width: 1920px) {
  .hero-wrapper.legal-hero {
    height: 80vh;
  }

  .legal-hero-subtitle {
    max-width: 780px;
    font-size: 22px;
  }

  .legal-heading {
    font-size: 36px;
  }

  .legal-list {
    font-size: 20px;
  }

  .legal-section {
    margin-top: 148px;
    margin-bottom: 148px;
  }
}

@media screen and (max-width: 991px) {
  .hero-wrapper.legal-hero {
    height: 60vh;
    padding-bottom: 64px;
  }

  .legal-section {
    margin-top: 64px;
    margin-bottom: 64px;
  }

  .legal-content {
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .hero-wrapper.legal-hero {
    height: 55vh;
    padding-bottom: 48px;
  }

  .legal-hero-subtitle {
    font-size: 16px;
  }

  .legal-heading {
    font-size: 22px;
  }

  .legal-section {
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .thanks-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 479px) {
  .hero-wrapper.legal-hero {
    height: 50vh;
  }

  .legal-hero-subtitle {
    font-size: 15px;
  }
}