/* =============================================================
   SECTION: TERMS & CONDITIONS CONTENT
   ============================================================= */
.main-content--terms {
  padding-top: 0;
}

/* Dark Header wrapper */
.terms__header-bg {
  background-color: #0D0C0C;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  box-sizing: border-box;
}

@media (min-width: 1220px) {
  .terms__header-bg {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

@media (min-width: 1220px) {
  .breadcrumbs {
    margin-bottom: 60px;
  }
}

.breadcrumbs__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  color: #FFFFFF6B;
  transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
  color: var(--color-white);
}

.breadcrumbs__icon {
  width: 14px;
  height: 14px;
  display: block;
}

.breadcrumbs__separator {
  font-size: 14px;
  color: #FFFFFF6B;
  user-select: none;
}

.breadcrumbs__current {
  font-size: 14px;
  color: #FFFFFF6B;
  transition: color 0.3s ease;
  cursor: default;
}

.breadcrumbs__current:hover {
  color: var(--color-white);
}

/* H1 Title */
.terms__title {
  font-family: inherit;
  font-weight: 800;
  font-size: 28px;
  line-height: 120%;
  color: var(--color-white);
  margin: 0;
}

@media (min-width: 768px) {
  .terms__title {
    font-size: 40px;
  }
}

@media (min-width: 1220px) {
  .terms__title {
    font-size: 48px;
  }
}

/* Content Container below header */
.terms {
  /* margin-top: 40px; */
  /* margin-bottom: 60px; */
  padding-top: 60px;
}

@media (min-width: 768px) {
  .terms {
    /* margin-top: 60px; */
    /* margin-bottom: 80px; */
  }
}

/* Section-to-Section margin: 90px on desktop, smaller on mobile/tablet */
.terms__section {
  margin-bottom: 0;
}

.terms__section+.terms__section {
  margin-top: 40px;
}

@media (min-width: 768px) {
  .terms__section+.terms__section {
    margin-top: 60px;
  }
}

@media (min-width: 1220px) {
  .terms__section+.terms__section {
    margin-top: 90px;
    /* 90px отступ до последующих H2 на десктопе */
  }
}

/* H2 Subtitle */
.terms__subtitle {
  font-size: 24px;
  font-weight: 800;
  line-height: 120%;
  color: var(--color-white);
  margin-top: 0;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .terms__subtitle {
    font-size: 28px;
  }
}

@media (min-width: 1220px) {
  .terms__subtitle {
    font-size: 32px;
  }
}

/* H3 Sub-subtitle */
.terms__sub-subtitle {
  font-size: 20px;
  font-weight: 800;
  line-height: 120%;
  color: var(--color-white);
  margin-top: 30px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .terms__sub-subtitle {
    font-size: 22px;
    margin-top: 40px;
  }
}

@media (min-width: 1220px) {
  .terms__sub-subtitle {
    font-size: 24px;
    margin-top: 60px;
    /* Отделяем H3 от предыдущих абзацев H2 */
  }
}

.terms__section p {
  font-size: 15px;
  line-height: 160%;
  color: var(--color-text);
  margin-bottom: 20px;
}

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

/* Lists formatting */
.terms__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.terms__list li {
  font-size: 15px;
  line-height: 160%;
  color: var(--color-text);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.terms__list li::before {
  content: "•";
  color: var(--color-white);
  position: absolute;
  left: 5px;
  top: 0;
  font-size: 16px;
  line-height: 100%;
}

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

/* Text links (specifically excluding buttons) */
.terms a:not(.btn) {
  color: var(--color-accent);
  /* #ffb805 */
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.terms a:not(.btn):hover {
  text-decoration: none;
}

/* Inline action button container */
.terms__action-box {
  margin-top: 24px;
  margin-bottom: 24px;
}

.terms__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

/* Make phone icon inside yellow primary button black */
.btn__icon--black {
  filter: brightness(0);
}