/* Page-owned styles for Felhasználási Feltételek */
.terms-page {
    width: 100%;
    padding-block: var(--space-2xl) var(--space-3xl);
}

.terms-page__container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.terms-section {
    width: 100%;
}

.terms-section__content {
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.terms-section__content--centered {
    text-align: center;
    align-items: center;
    max-width: 600px;
}

.terms-section__content--centered .terms-section__lead,
.terms-section__content--centered p {
    text-align: center;
}

.terms-section__lead {
    font-size: var(--text-h3);
    line-height: var(--leading-h3);
    color: var(--color-parchment-soft);
    margin-block-end: var(--space-sm);
}

.terms-section h1 {
    font-size: var(--text-h1);
    line-height: var(--leading-h1);
    margin-block-end: var(--space-lg);
    text-align: center;
}

.terms-section h2 {
    font-size: var(--text-h2);
    line-height: var(--leading-h2);
    margin-block-end: var(--space-md);
    padding-block-end: var(--space-sm);
    border-block-end: 1px solid var(--color-border-lavender);
}

.terms-section h3 {
    font-size: var(--text-h3);
    line-height: var(--leading-h3);
    margin-block-end: var(--space-sm);
    color: var(--color-teal-glow);
}

.terms-section p {
    margin-block-end: 0;
}

.terms-list,
.terms-contact-list {
    list-style-position: inside;
    padding-inline-start: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.terms-list li,
.terms-contact-list li {
    line-height: var(--leading-body);
    color: var(--color-parchment);
}

.terms-contact-list a {
    color: var(--color-teal-glow);
    text-decoration: none;
    transition: color var(--transition-base), text-decoration-color var(--transition-base);
}

.terms-contact-list a:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-teal-glow);
    text-underline-offset: 0.2em;
}

.terms-cta-button {
    margin-block-start: var(--space-lg);
    min-width: 280px;
}

@media (max-width: 768px) {
    .terms-page {
        padding-block: var(--space-xl) var(--space-2xl);
    }

    .terms-page__container {
        gap: var(--space-xl);
    }

    .terms-section__content {
        max-width: 100%;
    }

    .terms-section__content--centered {
        max-width: 100%;
    }

    .terms-section h1 {
        font-size: var(--text-h1);
    }

    .terms-section h2 {
        font-size: var(--text-h2);
    }

    .terms-section h3 {
        font-size: var(--text-h3);
    }

    .terms-cta-button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .terms-page {
        padding-block: var(--space-lg) var(--space-xl);
    }

    .terms-page__container {
        gap: var(--space-lg);
    }

    .terms-section__content {
        gap: var(--space-sm);
    }

    .terms-section h1 {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
        line-height: 1.2;
    }

    .terms-section h2 {
        font-size: clamp(1.5rem, 7vw, 1.75rem);
        line-height: 1.25;
    }

    .terms-section h3 {
        font-size: clamp(1.25rem, 6vw, 1.5rem);
        line-height: 1.3;
    }

    .terms-section__lead {
        font-size: var(--text-body);
        line-height: var(--leading-body);
    }

    .terms-list,
    .terms-contact-list {
        padding-inline-start: var(--space-sm);
    }
}