
/* Базовый текстовый стиль (из policy) */
.policy-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
    max-width: 100% !important;
}

.policy-content {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 32px 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.policy-content h1 {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 18px;
    color: #1a302a;
    line-height: 36px;
}
.policy-content h2 {
    font-weight: 600;
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 12px;
    color: #1a302a;
}
.policy-content h3 {
    font-weight: 600;
    font-size: 18px;
    margin-top: 22px;
    margin-bottom: 8px;
    color: #1a302a;
}
.policy-content p {
    font-size: 18px;
    color: #302a23;
    margin-bottom: 14px;
    line-height: 25px;
}
.policy-content ul {
    margin: 8px 0 14px;
    padding-left: 20px;
}
.policy-content ul li {
    font-size: 18px;
    color: #302a23;
    margin-bottom: 6px;
}

/* Навигация по статье (левое меню) */
.policy-sidebar {
    background: #f7f5f2;
    padding: 20px 24px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.policy-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.policy-menu__title {
    font: 13px/1.4 Inter, system-ui;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a746a;
    margin-bottom: 10px;
}
.policy-link {
    font: 15px/1.4 Inter, system-ui;
    color: #1a302a;
    text-decoration: none;
    transition: color .2s;
}
.policy-link:hover { color: #c4a600; }
.policy-link.active {
    font-weight: 600;
    color: #c4a600;
}

/* Врезки и CTA */
.article-note {
    margin: 20px 0 24px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f7f5f2;
    border-left: 4px solid #fde910;
    font: 14px/1.5 Inter, system-ui;
    color: #4a433b;
}
.article-example {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f9f7ef;
    border-left: 4px solid #1a302a;
    font: 14px/1.5 Inter, system-ui;
    color: #302a23;
}
.article-cta {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #1a302a;
    color: #fff;
}
.article-cta p {
    color: #fff;
    margin-bottom: 10px;
}

/* Мета-блок в начале статьи */
.article-header-meta {
    margin-bottom: 28px;
}
.article-header-meta__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 18px;
}
.article-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: #edf0f7;
    font: 13px/1.3 Inter, system-ui;
    color: #1a302a;
}
.article-header-meta__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font: 14px/1.4 Inter, system-ui;
    color: #7a746a;
}
.article-meta-dot {
    color: #c0b8ad;
}

/* Карточка автора в начале (если используешь) */
.expert-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f7f5f2;
}
.expert-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
.expert-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.expert-name {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    color: #1a302a;
}
.expert-position,
.expert-exp {
    margin: 0;
    font: 14px/1.5 Inter, system-ui;
    color: #5c5247;
}

/* Трёхколоночная вёрстка статьи */
.article-section {
    padding-left: 0;
    padding-right: 0;
    overflow: visible !important; /* чтобы sticky не ломался родительским overflow */
}

.article-3col-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 260px;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

/* Центральная колонка */
.article-main-content {
    max-width: 900px;
}

/* Правая колонка (автор) */
.article-right-author {
    align-self: flex-start;
}
.article-toc-mobile{
    display: none;
}

/* Блок автора справа */
.expert-info-side {
    background: #f7f5f2;
    padding: 22px 24px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.expert-photo-side {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}
.expert-name-side {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1a302a;
}
.expert-position-side,
.expert-exp-side {
    font: 14px/1.5 Inter, system-ui;
    color: #5c5247;
    margin: 0 0 4px;
}

/* Десктоп: фиксируем левое меню и правый блок автора */
@media (min-width: 1100px) {
    .article-left-nav {
        position: sticky;
        top: 96px;              /* подгони под высоту шапки */
        align-self: flex-start;
    }

    .article-right-author {
        position: sticky;
        top: 96px;
    }
}

/* Планшет и мобилка: одна колонка, без sticky */
@media (max-width: 1099px) {
    .article-3col-layout {
        grid-template-columns: 1fr;
    }
    .article-left-nav,
    .article-right-author {
        position: static;
    }
    .article-right-author {
        order: -1;
        margin-bottom: 20px;
    }
}

/* Мобильные мелкие правки */
@media (max-width: 900px){
    .policy-layout { flex-direction: column; }
    .policy-content{
        background: none;
        border-radius: 0;
        padding: 0px;
        box-shadow: none;
    }
    .article-3col-layout {
        margin-top: 20px;
    }
    .article-toc-mobile{
        display: block;
    }
}

@media (max-width: 600px) {
    .article-header-meta__top {
        align-items: flex-start;
    }
    .expert-info {
        padding: 12px 12px;
    }
    .expert-photo {
        width: 56px;
        height: 56px;
    }
}
/* Мобильная вёрстка: автор -> внизу после статьи */
@media (max-width: 1099px) {
    .article-right-author {
        position: static !important;
        order: 10 !important;       /* ставим в самый конец */
        margin-top: 32px;
    }

    .article-main-content {
        order: 1 !important;        /* текст статьи — первым */
    }

    .article-3col-layout {
        display: flex;
        flex-direction: column;
    }
    .article-right-author{
        display: none;
    }

}
/* ===== Мобильная вёрстка: навигация после H1 ===== */
@media (max-width: 1099px) {

    /* Вся статья — одна колонка */
    .article-3col-layout {
        display: flex;
        flex-direction: column;
    }

    /* Навигация — становится обычным блоком и идёт сразу под заголовком */
    .article-left-nav {
        position: static !important;
        order: 2 !important;     /* БЛОК ИДЁТ СРАЗУ ПОСЛЕ H1 */
        margin: 20px 0;
        display: block;
    }

    /* Текст статьи — должен идти первым */
    .article-main-content {
        order: 1 !important;
    }

    /* Автор — в самом конце */
    .article-right-author {
        position: static !important;
        order: 10 !important;
        margin-top: 32px;
    }

    /* Увеличим читаемость навигации в мобильном виде */
    .policy-sidebar {
        display: block !important;
        background: #f7f5f2;
        padding: 16px 20px;
        border-radius: 12px;
        box-shadow: 0 1px 6px rgba(0,0,0,0.05);
        margin-top: 12px;
    }
}
/* Мобильная навигация — показываем */
@media (max-width: 1099px) {
    .article-nav-mobile {
        display: block;
        margin: 20px 0 24px;
    }

    /* Десктопное меню — прячем */
    .article-left-nav {
        display: none !important;
    }

    .policy-sidebar {
        background: #f7f5f2;
        padding: 16px 20px;
        border-radius: 14px;
        box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    }
}

/* На десктопе мобильная навигация скрыта */
@media (min-width: 1100px) {
    .article-nav-mobile {
        display: none;
    }
}



/* ===== Базовый блок комментариев (в стиле Дзена) ===== */

.dz-comments {
    margin-top: 40px;
    padding: 0 20px 40px;
    border-top: 1px solid #e8e3d9;
    font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: #302a23;
}

.dz-comments__title {
    font-family: "Lora", serif;
    font-size: 22px;
    font-weight: 600;
    margin: 16px 0 4px;
    color: #1a302a;
}

.dz-comments__subtitle {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #867d70;
}

/* ===== Поле ввода ===== */

.dz-input {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    border-radius: 20px;
    /* background: #eff0f2; */
    margin-bottom: 20px;
}

.dz-input__avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #e0dacd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #1a302a;
    flex-shrink: 0;
}

.dz-input__field-wrap {
    flex: 1;
    min-width: 0;
}

.dz-input__field {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    padding: 4px 0 2px;
}

.dz-input__field::placeholder {
    color: #b0a79a;
}

.dz-input__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.dz-input__icon,
.dz-input__send {
    border: none;
    background: none;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
}

.dz-input__send {
    border-radius: 999px;
    background: #1a302a;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Список и ветки ===== */

.dz-comments-list {
    display: flex;
    flex-direction: column;
}

.dz-thread {
    padding: 10px 0 4px;
    margin-bottom: 10px;
}

.dz-thread:last-child {
    border-bottom: none;
}

/* ===== Комментарий ===== */

.dz-comment {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.dz-comment--root {
    padding: 4px 0 0;
}

.dz-comment--reply {
    padding: 8px 0;
}

.dz-comment__avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #f0ece6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #1a302a;
    flex-shrink: 0;
}

.dz-comment__avatar--expert {
    background: #1a302a;
    color: #fff;
}

.dz-comment--reply .dz-comment__avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
}

.dz-comment__content {
    flex: 1;
    min-width: 0;
}

.dz-comment__header {
    margin-bottom: 2px;
}

.dz-comment__author-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
}

.dz-comment__author {
    font-size: 15px;
    font-weight: 600;
    color: #1a302a;
}

.dz-comment__date {
    font-size: 12px;
    color: #a19788;
}

.dz-comment__badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fde910;
    color: #1a302a;
    font-weight: 600;
}

.dz-comment__text {
    font-size: 15px;
    line-height: 1.5;
    margin: 4px 0 6px;
}

.dz-comment__footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.dz-comment__reply {
    border: none;
    background: none;
    padding: 0;
    font-size: 14px;
    color: #807769;
    cursor: pointer;
}

.dz-comment__reply:hover {
    color: #1a302a;
}

.dz-comment__reactions {
    margin-left: auto;
    display: inline-flex;
    gap: 6px;
}

/* ===== Пилюли реакций ===== */

.dz-reaction {
    border: none;
    background: #f5f3ed;
    border-radius: 999px;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #7c7366;
}

.dz-reaction--plus {
    padding-inline: 8px;
}

.dz-reaction__icon {
    font-size: 16px;
}

.dz-reaction__count {
    min-width: 10px;
    text-align: center;
}

.dz-reaction:hover {
    background: #ebe5da;
    color: #1a302a;
}

/* ===== Ответы (второй уровень) ===== */

.dz-thread-toggle-row {
}

.dz-thread-toggle {
    border: none;
    background: none;
    padding: 0;
    font-size: 14px;
    color: #1a302a;
    font-weight: 800;
    cursor: pointer;
}

.dz-thread-replies {
    margin: 4px 0 0 0px;
    padding-left: 12px;
    border-left: 1.5px solid #e4ded4;
    flex-direction: column;
}

/* Мобильные правки */

@media (min-width: 900px) {
    .dz-comments {
        padding-inline: 0;
    }
}

/* корневой контейнер */
.dz-comment {
    display: flex;
    gap: 12px;               /* расстояние между аватаром и текстом */
    align-items: flex-start;
    margin-bottom: 14px;     /* расстояние между комментариями */
}

/* аватар */
.dz-comment__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0ece6;
    color: #1a302a;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* контейнер справа — теперь НЕТ внутреннего отступа */
.dz-comment__content {
    flex: 1;
    padding: 0;
}

/* имя + дата — в одну строку */
.dz-comment__header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

/* имя автора */
.dz-comment__author {
    font-weight: 600;
    font-size: 15px;
    color: #1a302a;
}

/* дата */
.dz-comment__date {
    font-size: 14px;
    color: #8f8f8f;
}

/* текст комментария */
.dz-comment__text {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #1a302a;
}

/* футер */
.dz-comment__footer {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Контейнер */
.dz-input {
    margin-top: 16px;
}

/* Белая «капсула» */
.dz-input__field-wrap {
    display: flex;
    align-items: center;
    padding: 8px 10px 8px 16px;
}

/* Текстовое поле */
.dz-input__field {
    flex: 1;
    border: none;
    outline: none;
    resize: none;              /* не даём растягивать мышкой */
    background: transparent;
    font: 15px/1.5 Inter, system-ui;
    color: #302a23;
    max-height: 120px;         /* чтобы совсем не разъезжалось */
    overflow-y: auto;
}

/* Плейсхолдер в нашем стиле */
.dz-input__field::placeholder {
    color: #9a9186;
}

/* Блок с кнопкой справа */
.dz-input__actions {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

/* Кнопка отправки — круглая тёмная */
.dz-input__send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #1a302a;
    color: #ffffff;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dz-input__send:hover {
    background: #14231f;
}

.dz-input {
    margin: 0 0 20px;
}

.dz-write-btn {
    padding: 14px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font: 16px/1 Inter, system-ui;
    text-align: center;
    cursor: pointer;
    transition: background .2s;
}

.dz-write-btn:hover {
    background: #1a1a1a;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.article-table th {
    background: #f5f2ec;
    padding: 10px;
    text-align: left;
    font-weight: 600;
}

.article-table td {
    padding: 10px;
    border-bottom: 1px solid #e7e3dd;
}

.article-table tr:last-child td {
    border-bottom: none;
}

.article-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}

/* Таблица не растягивает страницу */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;              /* отступ даёт обёртка */
    font-size: 15px;
    table-layout: fixed;    /* колонки делим поровну */
}

.article-table th {
    background: #f5f2ec;
    padding: 10px;
    text-align: left;
    font-weight: 600;
}

.article-table td {
    padding: 10px;
    border-bottom: 1px solid #e7e3dd;
}

.article-table tr:last-child td {
    border-bottom: none;
}

/* Чтобы текст не выталкивал ширину */
.article-table th,
.article-table td {
    word-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 600px) {
    .article-table-wrap {
        width: calc(100vw - 40px);                 /* экран минус 2×20px */
        margin-left: calc(50% - 50vw + 20px);      /* сдвигаем с учётом отступов */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .article-table {
        font-size: 14px;         /* ширина самой таблицы */
        min-width: 600px;
    }
    .article-table td{
        font-size: 14px;
        min-width: 200px;                              /* ширина самой таблицы */
    }
}


/* ===== Калькулятор алиментов (упрощённый) ===== */

.alimony-calc {
    margin: 32px 0 40px;
    padding: 20px 24px;
    border-radius: 18px;
    background: #f7f5f2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.alimony-calc__header {
    margin-bottom: 18px;
}

.alimony-calc__title {
    margin: 0 0 8px;
    font-family: "Lora", serif;
    font-weight: 600;
    font-size: 22px;
    color: #1a302a;
}

.alimony-calc__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #5c5247;
}

.alimony-calc__form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 18px;
}

.alimony-calc__step {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alimony-calc__step-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #a19788;
}

.alimony-calc__subgroup .alimony-calc__step-label {
    margin-top: 10px;
}

.alimony-calc__step-label span {
    font-weight: bold;
}

.alimony-calc__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alimony-calc__label {
    font-size: 14px;
    font-weight: 500;
    color: #1a302a;
}

.alimony-calc__select,
.alimony-calc__input {
    border-radius: 999px;
    border: 1px solid #ded6c9;
    padding: 9px 14px;
    font-size: 14px;
    line-height: 1.3;
    background: #fff;
    color: #302a23;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    max-width: 200px;
}

.alimony-calc__input::placeholder {
    color: #b0a79a;
}

.alimony-calc__select:focus,
.alimony-calc__input:focus {
    border-color: #c4a600;
    box-shadow: 0 0 0 1px rgba(196,166,0,0.25);
    background: #fffef5;
}

.alimony-calc__hint {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #8b8175;
}

/* Переключатель типа */

.alimony-calc__type-switch {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    background: #f0ece6;
}

.alimony-calc__type-btn {
    border: none;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.3;
    background: transparent;
    color: #5c5247;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s, box-shadow .15s;
}

.alimony-calc__type-btn.is-active {
    background: #1a302a;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.alimony-calc__type-btn:hover:not(.is-active) {
    background: rgba(26,48,42,0.06);
}

/* Подгруппы формы */

.alimony-calc__subgroup {
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alimony-calc__field--inline {
    display: flex;
    gap: 12px;
}

.alimony-calc__field-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Кнопка "Посчитать" */

.alimony-calc__actions {
    margin-top: 4px;
}

.alimony-calc__calc-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 500;
    background: #1a302a;
    color: #fff;
    cursor: pointer;
    transition: background .15s, box-shadow .15s, transform .05s;
}

.alimony-calc__calc-btn:hover {
    background: #14231f;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

.alimony-calc__calc-btn:active {
    transform: translateY(1px);
}

/* Результат */

.alimony-calc__result {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e7dfd4;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alimony-calc__result-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.alimony-calc__result-label {
    font-size: 14px;
    color: #7a746a;
}

.alimony-calc__result-value {
    font-family: "Lora", serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a302a;
}

.alimony-calc__result-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #5c5247;
}

/* Низ */

.alimony-calc__note {
    margin-top: 14px;
}

.alimony-calc__cta {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e4ded4;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.alimony-calc__cta-text {
    margin: 0;
    font-size: 14px;
    color: #302a23;
}

.alimony-calc__cta-btn {
    border: none;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    background: #1a302a;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, box-shadow .15s, transform .05s;
}

.alimony-calc__cta-btn:hover {
    background: #14231f;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

.alimony-calc__cta-btn:active {
    transform: translateY(1px);
}

/* Техническое */

.is-hidden {
    display: none !important;
}

/* Адаптив */

@media (max-width: 600px) {
    .alimony-calc {
        padding: 18px 18px;
        margin-inline: -2px;
    }

    .alimony-calc__field--inline {
        flex-direction: column;
    }

    .alimony-calc__result-main {
        flex-direction: column;
        align-items: flex-start;
    }
}
.alimony-calc__warning {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #a05a00;
    background: #fff8e6;
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid #f1d7a6;
}

.alimony-calc__radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alimony-calc__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 15px/1.4 Inter, system-ui;
    color: #1a302a;
    cursor: pointer;
}

.alimony-calc__radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #1a302a;  /* красивый тёмно-зелёный круг */
}

/* инпуты и селекты калькулятора */
.alimony-calc__input,
.alimony-calc__select {
    border-radius: 10px;
}

/* на всякий случай, если базовые инпуты где-то ещё переопределены */
.alimony-calc__input {
    border: 1px solid #e3ded4;
    padding: 10px 14px;
    background: #fff;
}

/* маленькие пояснения под полем */
.alimony-calc__hint {
    margin-top: 4px;
    font: 13px/1.5 Inter, system-ui;
    color: #8c8579;
}
.alimony-calc__step-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #b5aea2;
}

/* Убираем любые рамки/фоны/тени */
.alimony-calc__result {
    margin-top: 28px;
    padding: 0;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Сумма — ОЧЕНЬ крупно */
.alimony-calc__result-value {
    font-family: "Lora", serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a302a;
    margin: 0 0 8px 0;
}

/* Подпись "Ориентировочная сумма" — мелким серым */
.alimony-calc__result-label {
    display: none; /* скрываем, чтобы не захламлять */
}

/* Пояснение — обычный текст, как в статье */
.alimony-calc__result-text {
    font-size: 16px;
    line-height: 1.6;
    color: #3a3630;
    margin: 0;
    margin-top: 4px;
}

/* Скрытие блока */
.is-hidden {
    display: none !important;
}

/* Мобильная адаптация */
@media (max-width: 600px) {
    .alimony-calc__result-value {
        font-size: 34px;
    }
}

.article-main-content a{
    color: #FF36AF;
}

/* ===========================
   Улучшение читабельности статьи
   =========================== */

/* Базовая типографика статьи */
.policy-content {
    font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* Заголовок H1 — чуть крупнее, но компактнее по высоте */
.policy-content h1 {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a302a;
}

/* H2 — сделать явной «секцией» */
.policy-content h2 {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.35;
    margin-top: 32px;
    margin-bottom: 14px;
    color: #1a302a;
}

/* H3 — подзаголовок внутри блока */
.policy-content h3 {
    font-weight: 600;
    font-size: 19px;
    line-height: 1.4;
    margin-top: 22px;
    margin-bottom: 10px;
    color: #1a302a;
}

/* Абзацы — поменьше, но с хорошей «воздушностью» */
.policy-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #3a3630;
    margin-bottom: 14px;
}

/* Расстояние между подряд идущими абзацами чуть больше */
.policy-content p + p {
    margin-top: 4px;
}

/* Списки: нормальные маркеры и отступы */
.policy-content ul {
    margin: 10px 0 18px;
    padding-left: 24px;
    list-style-type: disc;
    list-style-position: outside;
}

.policy-content ul li {
    position: relative;
    font-size: 17px;
    line-height: 1.7;
    color: #3a3630;
    margin-bottom: 6px;
}

/* Цвет маркера — чуть «брендовый», но не ядовитый */
.policy-content ul li::marker {
    color: #c4a600;
}

/* Таблицы в статье — тот же размер, что и текст */
.article-table {
    font-size: 16px;
}

/* Основная колонка статьи — поуже, чтобы глаза не уставали */
.article-main-content {
    max-width: 760px;
}

/* На мобильных — не даём тексту прилипать к краям */
@media (max-width: 900px) {
    .policy-content {
        padding: 0 4px;
    }

    .article-main-content {
        max-width: 100%;
    }

    .policy-content p,
    .policy-content ul li {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* ===========================
   Замена всех жёлтых акцентов на розовый (#FF36AF)
   =========================== */

/* Маркеры списка */
.policy-content ul li::marker {
    color: #FF36AF;
}

/* Врезка (article-note) — левая полоса */
.article-note {
    border-left-color: #FF36AF !important;
}

/* Акцент в подписях / бейджах / подсветках */
.article-tag {
    background: #ffe4f3 !important;
    color: #1a302a !important;
}

/* Тонкие декоративные точки в мета-блоках */
.article-meta-dot {
    color: #FF36AF !important;
}

/* Подсветка активного пункта меню */
.policy-link.active {
    color: #FF36AF !important;
}

/* Наведение на пункт меню */
.policy-link:hover {
    color: #FF36AF !important;
}

/* Реакции в комментариях — при наведении */
.dz-reaction:hover {
    color: #FF36AF !important;
}

/* Кнопка "Ответить" при наведении */
.dz-comment__reply:hover {
    color: #FF36AF !important;
}

/* Бейдж «Эксперт» (если нужно оставить фирменным) */
.dz-comment__badge {
    background: #FF36AF !important;
    color: #fff !important;
}

/* Розовая обводка у форм (если где-то остались жёлтые состояния) */
.alimony-calc__select:focus,
.alimony-calc__input:focus {
    border-color: #FF36AF !important;
    box-shadow: 0 0 0 1px rgba(255,54,175,0.25) !important;
}

/* Акцентные линии / разделители */
.alimony-calc__cta {
    border-top-color: #FF36AF !important;
}

/* Подсветка активного переключателя */
.alimony-calc__type-btn.is-active {
    background: #FF36AF !important;
    color: #fff !important;
}

/* Радио-кнопки (accent-color) */
.alimony-calc__radio input[type="radio"] {
    accent-color: #FF36AF !important;
}

/* Навигация мобильная */
.policy-sidebar {
    border-left-color: #FF36AF;
}

/* ===== Опросник про хобби ===== */

.article-poll {
    margin: 40px 0 32px;
    padding: 24px 24px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,54,175,0.06), #f7f5f2);
    border: 1px solid rgba(255,54,175,0.15);
    box-shadow: 0 8px 26px rgba(0,0,0,0.04);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.article-poll__title {
    margin: 0 0 10px;
    font-family: "Lora", serif;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    color: #1a302a;
}

.article-poll__subtitle {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #5c5247;
}

.article-poll__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.article-poll__option {
    border: none;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, box-shadow .15s ease, transform .05s ease;
    font: 15px/1.4 Inter, system-ui;
    color: #302a23;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.article-poll__option:hover {
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.article-poll__option:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.article-poll__emoji {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,54,175,0.08);
    flex-shrink: 0;
}

.article-poll__text {
    flex: 1;
}

/* Активный вариант */
.article-poll__option.is-selected {
    background: #FF36AF;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.article-poll__option.is-selected .article-poll__emoji {
    background: #ffffff;
}

/* Низ опроса */

.article-poll__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 2px;
}

.article-poll__submit {
    border: none;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    background: #FF36AF;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, box-shadow .15s, transform .05s;
}

.article-poll__submit:hover {
    background: #e72f9e;
    box-shadow: 0 4px 12px rgba(255,54,175,0.35);
}

.article-poll__submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(255,54,175,0.3);
}

.article-poll__hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #8c8579;
}

.article-poll__thanks {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #302a23;
    padding-top: 10px;
    border-top: 1px dashed rgba(255,54,175,0.3);
}

/* Мобилка */

@media (max-width: 600px) {
    .article-poll {
        padding: 20px 16px 18px;
        border-radius: 18px;
    }

    .article-poll__title {
        font-size: 20px;
    }

    .article-poll__option {
        padding: 9px 12px;
        font-size: 14px;
    }

    .article-poll__hint {
        font-size: 12px;
    }
}

.ideas-strip {
    margin-bottom: 20px;
}

/* Контейнер со скроллом */
.ideas-strip__scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

/* Карточка */
.ideas-card {
    flex: 0 0 280px; /* фиксированная ширина, как в твоём дизайне */
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
    color: #0f2d23;
    overflow: hidden;
}

/* Блок изображения */
.ideas-card__img-wrap {
    width: 100%;
    height: 200px; /* оптимально для твоего дизайна */
    overflow: hidden;
    border-bottom: 0;
    position: relative;
}

.ideas-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* чтобы картинка красиво вписывалась */
    display: block;
}

/* Цена в углу картинки */
.ideas-card__price {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff36b5;
    color: #fff;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 12px;
}

/* Контент карточки */
.ideas-card__body {

}

.ideas-card__name {
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
    font-weight: 600;
    color: #0f2d23;
}

.ideas-card .ideas-card__name {
    margin-top: 12px;
    padding-left: 10px;
}

.article-main-content strong{
    font-style: italic;
    font-weight: 400;
}

.article-link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
    margin-top: 10px;
}

.article-link-more__icon {
    font-size: 14px;
    transition: transform 0.2s ease;
}

.article-link-more:hover {
    border-color: currentColor;
}

.article-link-more:hover .article-link-more__icon {
    transform: translateX(3px);
}

.article-price-number {
    color: #ff4b93; /* твой розовый */
    font-weight: 600;
}






/* ===== FAQ в стиле BeeLaw ===== */

.article-faq {
    margin-top: 48px;
    padding: 32px 32px 28px;
    background: #f6f3ee;              /* мягкий бежевый как в карточках */
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(16, 35, 28, 0.06);
}

.article-faq__title {
    margin: 0 0 20px;
    font-family: "Lora", "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.3;
    color: #1a302a;
}

.article-faq__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Одна карточка вопроса */

.article-faq__item {
    border-radius: 16px;
    background-color: #fbfaf8;
    border: 1px solid #e0d7cb;
    margin-bottom: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.article-faq__item:last-child {
    margin-bottom: 0;
}

.article-faq__item.is-open {
    background-color: #ffffff;
    border-color: #c5b79f;
    box-shadow: 0 6px 18px rgba(16, 35, 28, 0.07);
}

/* Кнопка-вопрос (по виду — как твои «плашки-вопросы») */

.article-faq__question {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 12px 18px 12px 18px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font: 500 15px/1.4 "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a302a;
}

.article-faq__question-text {
    flex: 1;
    padding-right: 32px;
}

.article-faq__question:hover {
    background-color: #f2eee7;
}

/* Иконка + / – справа */

.article-faq__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.article-faq__icon::before,
.article-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: #1a302a;
    border-radius: 1px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* вертикальная палка (для плюса) */
.article-faq__icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* в открытом состоянии превращаем плюс в минус */
.article-faq__item.is-open .article-faq__icon::before {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
    opacity: 0;
}

/* Ответ */

.article-faq__answer {
    display: none;
    padding: 0 18px 14px 18px;
    font: 400 14px/1.6 "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #30443d;
    border-top: 1px solid #ebe2d4;
}

.article-faq__answer p {
    margin: 10px 0 0;
}

.article-faq__answer ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

/* показываем ответ, когда .is-open */

.article-faq__item.is-open .article-faq__answer {
    display: block;
}

/* Мобилка */

@media (max-width: 768px) {
    .article-faq {
        margin-top: 32px;
        padding: 20px 16px 18px;
        border-radius: 18px;
    }

    .article-faq__title {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .article-faq__question {
        padding: 10px 14px 10px 14px;
        font-size: 14px;
    }

    .article-faq__answer {
        padding: 0 14px 12px 14px;
        font-size: 13px;
    }
}

