/* ===== Felhasználási feltételek page styles ===== */

.terms-page {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.terms-hero {
  padding-block: 64px 32px;
}

.terms-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.terms-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0;
  color: #D1C7BD;
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
}

.terms-hero__lead {
  max-width: 75ch;
  margin-inline: auto;
  text-align: center;
  color: rgba(209, 199, 189, 0.85);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.terms-hero .divider {
  width: 100%;
  max-width: 800px;
  margin-block: 0;
}

.terms-section {
  padding-block: 32px;
}

.terms-section__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.terms-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #FF5500;
  margin-bottom: 0;
  letter-spacing: 0.02em;
  width: 100%;
  text-align: left;
}

.terms-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.terms-block__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #D1C7BD;
  margin-bottom: 0;
  letter-spacing: 0.02em;
  text-align: left;
}

.terms-block__text {
  max-width: 75ch;
  color: #D1C7BD;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
}

.terms-list {
  max-width: 75ch;
  margin-bottom: 0;
  text-align: left;
}

.terms-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

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

.terms-block a {
  color: #FF5500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease-in-out;
}

.terms-block a:hover {
  color: #FF8C42;
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .terms-hero {
    padding-block: 48px 24px;
  }

  .terms-section {
    padding-block: 24px;
  }

  .terms-section__inner {
    gap: 24px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .terms-hero {
    padding-block: 32px 16px;
  }

  .terms-hero__inner {
    gap: 16px;
  }

  .terms-hero__lead {
    font-size: 1rem;
  }

  .terms-section {
    padding-block: 16px;
  }

  .terms-section__inner {
    gap: 20px;
  }

  .terms-block {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .terms-hero__title {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .terms-section__title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .terms-block__title {
    font-size: clamp(1.125rem, 5vw, 1.5rem);
  }

  .terms-block__text,
  .terms-list {
    font-size: 0.95rem;
  }
}
