/* Cookie policy page — matches theme terms page layout */
.terms-page {
    padding: 40px 0 80px;
}

.terms-page__hero {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9eced;
}

.terms-page__title {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 16px;
    color: #070441;
}

.terms-page__content {
    max-width: 860px;
}

.ustaim-cp-meta {
    margin: 0;
}

.ustaim-cp-meta p {
    margin: 0 0 8px;
    color: #070441;
}

.ustaim-cp-meta ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ustaim-cp-meta li {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 4px;
}

.ustaim-cp-meta a {
    color: #1f67d1;
    text-decoration: underline;
}

.terms-section {
    scroll-margin-top: 100px;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #eee;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2 {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: #070441;
    line-height: 1.35;
    margin: 0 0 20px;
}

.terms-section__subtitle {
    font-size: 17px;
    font-weight: 700;
    color: #070441;
    margin: 24px 0 12px;
}

.terms-section__num {
    flex-shrink: 0;
    color: #ff5532;
}

.terms-section p {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    margin: 0 0 16px;
}

.terms-section ul {
    margin: 0 0 16px;
    padding-left: 0;
    list-style: none;
}

.terms-section ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.65;
    color: #333;
}

.terms-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3f6eed;
}

.terms-section a {
    color: #1f67d1;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.terms-section a:hover {
    color: #ff5532;
}

.terms-contact-card {
    margin-top: 20px;
    padding: 28px 32px;
    background: #f7f8fc;
    border: 1px solid #e9eced;
    border-radius: 12px;
}

.terms-contact-card__company {
    font-size: 18px;
    margin: 0 0 20px;
    color: #070441;
}

.terms-contact-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.terms-contact-card__list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e9eced;
    margin: 0;
}

.terms-contact-card__list li::before {
    display: none;
}

.terms-contact-card__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.terms-contact-card__label {
    min-width: 80px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #676d73;
}

.terms-contact-card a {
    font-size: 16px;
    font-weight: 600;
    color: #1f67d1;
    text-decoration: none;
}

.terms-contact-card a:hover {
    color: #ff5532;
}

.ustaim-cp-open-preferences {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #3f6eed;
    border-radius: 8px;
    background: #fff;
    color: #3f6eed;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.ustaim-cp-open-preferences:hover {
    background: #3f6eed;
    color: #fff;
}

@media (max-width: 575px) {
    .terms-page {
        padding: 24px 0 60px;
    }

    .terms-section h2 {
        font-size: 19px;
    }

    .terms-contact-card {
        padding: 20px 18px;
    }
}
