/* ── Text Page ──────────────────────────────────────────────────────────── */

.text-page {
  padding: 20px 0 64px;
}

.text-page__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.text-page__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 120%;
  text-transform: uppercase;
  color: var(--color-red);
}

/* ── Content typography ── */

.text-page__content {
  font-size: 15px;
  line-height: 170%;
  color: var(--color-text);
}

.text-page__content h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  margin: 28px 0 12px;
}

.text-page__content h3 {
  font-weight: 700;
  font-size: 15px;
  line-height: 140%;
  margin: 20px 0 8px;
}

.text-page__content p {
  margin-bottom: 14px;
}

.text-page__content p:last-child {
  margin-bottom: 0;
}

.text-page__content ul,
.text-page__content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.text-page__content ul { list-style: disc; }
.text-page__content ol { list-style: decimal; }

.text-page__content li {
  margin-bottom: 6px;
  line-height: 160%;
}

.text-page__content strong,
.text-page__content b {
  font-weight: 700;
}

.text-page__content a {
  color: var(--color-red);
  text-decoration: underline;
}

.text-page__content a:hover {
  opacity: 0.8;
}

.text-page__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
}

/* ── Tablet ≤ 1080px ── */
@media (max-width: 1080px) {
  .text-page__title {
    font-size: 32px;
  }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .text-page {
    padding: 16px 0 40px;
  }

  .text-page__title {
    font-size: 24px;
  }
}
