.legal-hero {
  position: relative;
  margin-top: -90px;
  padding-top: 90px;
  min-height: 360px;
  background-color: var(--color-5);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.legal-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.legal-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px 10px;
}

.legal-hero__title {
  margin: 0;
  color: var(--color-1);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(28px, 4vw, 52px);
  font-family: "Posterama 2001 W04 Bold", var(--font-family-1), sans-serif;
  line-height: 1.1;
}

.legal-page-content {
  background-color: #f4f4f4;
  padding: 44px 0 56px;
}

.legal-content-text {
  color: #2f2f2f;
  font-size: 16px;
  line-height: 1.75;
}

.legal-content-text h2,
.legal-content-text h3,
.legal-content-text h4 {
  color: var(--color-5);
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.2;
  font-family: "Posterama 2001 W04 Bold", var(--font-family-1), sans-serif;
}

.legal-content-text h2 {
  font-size: clamp(24px, 2.2vw, 34px);
}

.legal-content-text h3 {
  font-size: clamp(20px, 1.8vw, 28px);
}

.legal-content-text p {
  margin-bottom: 14px;
}

.legal-content-text ul,
.legal-content-text ol {
  margin: 0 0 16px 18px;
}

.legal-content-text li {
  list-style: initial;
  margin-bottom: 6px;
}

@media (max-width: 992px) {
  .legal-hero {
    min-height: 300px;
  }

  .legal-page-content {
    padding: 34px 0 46px;
  }
}

@media (max-width: 768px) {
  .legal-hero {
    margin-top: 0;
    padding-top: 0;
    min-height: 240px;
  }

  .legal-hero__title {
    letter-spacing: 0.04em;
  }

  .legal-page-content {
    padding: 28px 0 38px;
  }
}
