/* Page-owned styles for Felhasználási Feltételek */

.terms-main {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-lg);
    padding-block: var(--space-section);
}

.terms-hero {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    margin-block-end: var(--space-section);
    text-align: center;
}

.terms-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.terms-hero__title {
    font-size: var(--text-h1);
    line-height: var(--leading-h1);
    font-weight: var(--weight-h1);
    color: var(--color-deep-teal);
    margin-block-end: 0;
}

.terms-hero__lead {
    font-size: var(--text-body);
    line-height: var(--leading-body);
    color: var(--color-ink-dark);
    max-width: 60ch;
    margin-block-end: 0;
}

.terms-content {
    width: 100%;
    max-width: var(--content-max);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-section);
}

.terms-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.terms-section__title {
    font-size: var(--text-h2);
    line-height: var(--leading-h2);
    font-weight: var(--weight-h2);
    color: var(--color-deep-teal);
    margin-block-end: 0;
}

.terms-section__divider {
    width: 80px;
    height: 3px;
    background-color: var(--color-ruby-red);
    border-radius: var(--radius-sm);
    margin-block-end: var(--space-sm);
}

.terms-section__subtitle {
    font-size: var(--text-h3);
    line-height: var(--leading-h3);
    font-weight: var(--weight-h3);
    color: var(--color-deep-teal);
    margin-block-end: 0;
}

.terms-section__text {
    font-size: var(--text-body);
    line-height: var(--leading-body);
    color: var(--color-ink-dark);
    margin-block-end: 0;
    max-width: 75ch;
}

.terms-section__text--highlight {
    background-color: var(--color-parchment-light);
    border-inline-start: 4px solid var(--color-ruby-red);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
}

.terms-callout {
    background-color: var(--color-parchment-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.terms-list {
    list-style: none;
    padding-inline-start: 0;
    margin-block-end: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.terms-list--ordered {
    list-style: decimal;
    padding-inline-start: var(--space-lg);
}

.terms-list__item {
    font-size: var(--text-body);
    line-height: var(--leading-body);
    color: var(--color-ink-dark);
}

.terms-contact-list {
    gap: var(--space-xs);
}

.terms-link {
    color: var(--color-deep-teal);
    text-decoration: underline;
    text-decoration-color: var(--color-deep-teal);
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.terms-link:hover {
    color: var(--color-ruby-red);
    text-decoration-color: var(--color-ruby-red);
}

@media (max-width: 768px) {
    .terms-main {
        padding-inline: var(--space-md);
        padding-block: var(--space-section-mobile);
    }

    .terms-hero {
        margin-block-end: var(--space-section-mobile);
    }

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

    .terms-content {
        gap: var(--space-section-mobile);
    }

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

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

    .terms-callout {
        padding: var(--space-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .terms-link {
        transition: none;
    }
}
