/* -----------------------------------------------------------------
   Privacy Policy Styles
----------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #fafafa;
}

body:not(.home) main {
    background-image: none;
}

.privacy-container {
    padding-top: 140px;
    padding-bottom: 60px;
    /* Отступ сверху для фиксированной шапки */
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #9CAAC2;
}

/* Хлебные крошки */
.breadcrumbs {
    font-size: 16px;
    color: #9CAAC2;
    margin-bottom: 2rem;
}

/* Основной текст */
.policy-content {
    background: transparent;
    border: none;
    padding: 0;
}

.policy-content h1 {
    margin: 0 0 60px 0;
    font-size: 82px;
    color: #152237;
    font-weight: 800;
    line-height: 98.4px;
    text-align: left;
}

.policy-content section {
    margin-bottom: 60px;
}

.policy-content h2 {
    margin: 0 0 24px 0;
    font-size: 40px;
    color: #152237;
    font-weight: 700;
    line-height: 48px;
    border-bottom: none;
    /* В макете подчеркивания нет */
    padding-bottom: 0;
}

.policy-content p,
.policy-content ul {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--Text-Secondary, #9CAAC2);
    line-height: 28px;
    word-wrap: break-word;
    align-self: stretch;
}

/* Специфические выделения в тексте (например, термины) */
.policy-content p strong {
    font-weight: 700;
    color: #9CAAC2;
}

.policy-content ul {
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 12px;
}

.policy-content a {
    color: #9CAAC2 !important;
    /* В макете ссылки не выделяются синим, оставляем в тон */
    text-decoration: underline;
}

.policy-content .table a {
    color: #152237 !important;
}

.policy-content a:hover {
    color: #152237;
}

/* Таблица с реквизитами оператора */
.operator-info-grid {
    display: flex;
    flex-direction: column;
    margin: 32px 0;
    gap: 16px;
    width: fit-content;
    max-width: 100%;
}

.info-row {
    display: flex;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 2px solid #F4F5F7;

}

.info-label {
    flex: 0 0 340px;
    /* Подстраиваем под ширину колонки с ярлыками */
    color: #9CAAC2;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.info-value {
    flex: 1;
    color: #152237;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
}

.info-value a {
    color: #152237;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

/* Нижний колонтитул */
.policy-footer {
    margin-top: 60px;
    text-align: left;
    font-size: 16px;
    color: #9CAAC2;
}

/* -----------------------------------------------------------------
   Адаптивность
----------------------------------------------------------------- */
@media (max-width: 992px) {
    .policy-content h1 {
        font-size: 56px;
        line-height: 1.1;
    }

    .policy-content h2 {
        font-size: 32px;
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    .privacy-container {
        padding-top: 100px;
    }

    .policy-content h1 {
        font-size: 40px;
    }

    .policy-content h2 {
        font-size: 28px;
    }

    .policy-content p,
    .policy-content ul,
    .info-label,
    .info-value {
        font-size: 16px;
        line-height: 1.5;
    }

    .info-row {
        flex-direction: column;
        margin-bottom: 16px;
    }

    .info-label {
        flex: none;
        margin-bottom: 4px;
        width: 100%;
    }
}