.public-offer-page {
    padding: 118px 20px 84px;
}

.public-offer-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 6px;
}

.public-offer-title {
    margin: 0 0 12px;
    color: #f8fafc;
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.public-offer-subtitle {
    margin: 0 0 28px;
    color: #d6deea;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
}

.public-offer-section {
    margin: 34px 0 16px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}

.public-offer-meta,
.public-offer-label,
.public-offer-point,
.public-offer-paragraph {
    margin: 0 0 13px;
    color: #d3ddea;
    font-size: 16px;
    line-height: 1.8;
}

.public-offer-meta {
    color: #9fb0c6;
}

.public-offer-label {
    margin-top: 18px;
    color: #f3f7fd;
    font-weight: 700;
}

.public-offer-point {
    color: #e1e8f2;
}

.public-offer-paragraph a,
.public-offer-point a,
.public-offer-label a {
    color: #7eb4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.public-offer-spacer {
    height: 14px;
}

@media (max-width: 768px) {
    .public-offer-page {
        padding: 96px 16px 64px;
    }

    .public-offer-subtitle {
        font-size: 16px;
    }

    .public-offer-section {
        font-size: 19px;
    }

    .public-offer-meta,
    .public-offer-label,
    .public-offer-point,
    .public-offer-paragraph {
        font-size: 15px;
    }
}


/* =========================
   Документы — светлая тема
   ========================= */

body[data-site-theme="white"] .public-offer-page {
    background:
        radial-gradient(
            circle at top,
            rgba(37, 99, 235, 0.05),
            transparent 42%
        ),
        #F5F7FA;
    color: #111827;
}

body[data-site-theme="white"] .public-offer-container {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}


/* Заголовок документа */
body[data-site-theme="white"] .public-offer-title {
    color: #111827;
}


/* Подзаголовок */
body[data-site-theme="white"] .public-offer-subtitle {
    color: #4B5563;
}


/* Заголовки разделов */
body[data-site-theme="white"] .public-offer-section {
    color: #111827;
    border-bottom-color: #E5E7EB;
}


/* Основной текст */
body[data-site-theme="white"] .public-offer-paragraph,
body[data-site-theme="white"] .public-offer-point {
    color: #374151;
}


/* Выделенные подписи */
body[data-site-theme="white"] .public-offer-label {
    color: #1F2937;
}


/* Дополнительная информация: дата, редакция и т. п. */
body[data-site-theme="white"] .public-offer-meta {
    color: #6B7280;
}


/* Ссылки внутри документа */
body[data-site-theme="white"] .public-offer-container a {
    color: #2563EB;
    text-decoration-color: rgba(37, 99, 235, 0.35);
}

body[data-site-theme="white"] .public-offer-container a:hover {
    color: #1D4ED8;
    text-decoration-color: #1D4ED8;
}


/* Выделение текста */
body[data-site-theme="white"] .public-offer-container strong,
body[data-site-theme="white"] .public-offer-container b {
    color: #111827;
}


/* Разделительные линии, если они используются */
body[data-site-theme="white"] .public-offer-container hr {
    border-color: #E5E7EB;
}


/* Выделение текста мышкой */
body[data-site-theme="white"] .public-offer-container ::selection {
    background: rgba(37, 99, 235, 0.18);
    color: #111827;
}

body[data-site-theme="white"] .public-offer-container {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: clamp(28px, 4vw, 52px) 6px;
}