

/* Start:/bitrix/templates/new/components/bitrix/news.list/politics-iv/style.css?17667429893241*/
body { overflow-x: hidden; }

.news-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    min-height: 100vh;
}

/* Sticky для всей колонки */
.news-toc {
    width: 260px;
    flex: 0 0 260px;
    position: sticky;
    top: 20px;
    align-self: start;
}

/* Заголовок всегда на экране */
.news-toc-title {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Список оглавления, скроллится при необходимости */
.news-toc-inner {
    max-height: calc(100vh - 20px - 40px); /* top + примерная высота заголовка */
    overflow-y: auto;
    padding: 16px 0 0 0;
    border-right: 2px solid #e5e5e5;
    box-sizing: border-box;
}

.news-toc ul { list-style: none; padding: 0; margin: 0; }
.news-toc li { margin-bottom: 8px; }

.news-toc a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    display: block;
    padding: 2px 0;
    transition: color 0.2s;
}

.news-toc a:hover { text-decoration: underline; }

.news-content { flex: 1; min-width: 0; padding-bottom: 60px; }
.news-item { margin-bottom: 60px; }
.news-item:last-child { margin-bottom: 0; }

.news-item h2 {
    scroll-margin-top: 100px;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 28px;
    line-height: 1.3;
}

.news-text { line-height: 1.6; color: #fff; text-align: justify; }
.news-text p { margin: 0 0 20px 0; }
.news-text p:last-child { margin-bottom: 0; }
.news-text ul, .news-text ol { margin-bottom: 20px; padding-left: 20px; color: #fff; }
.news-text li { margin-bottom: 8px; }
.news-text strong, .news-text b { color: #fff; font-weight: 600; }
.news-text em, .news-text i { color: #fff; }
.news-text h3, .news-text h4, .news-text h5, .news-text h6 { color: #fff; margin: 25px 0 15px 0; }
.news-text img { max-width: 100%; height: auto; margin: 20px 0; }
.news-text a { color: #a02492; text-decoration: underline; transition: color 0.2s; }
.news-text a:hover { color: #8c217f; }

/* Мобильная версия */
@media (max-width: 991px) {
    .news-layout { flex-direction: column; gap: 0; }

    .news-toc {
        width: 100%;
        flex: 0 0 auto;
        top: 72px;
 background: #212121;
    }


    .news-toc-inner {
        width: 100%;
        border-right: none;
        padding: 10px 16px 0 16px;

        max-height: calc(100vh - 20px - 40px); /* top + заголовок */
        overflow-y: auto;
    }


.news-toc-title

		{padding-left: 16px;}


    .news-toc a { color: #d957c9; }
    .news-toc a:hover { color: #ff7af0; }

    .news-content { width: 100%; }
    .news-item { margin-bottom: 40px; }
    .news-item h2 {
        font-size: 24px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    .news-text p { margin-bottom: 16px; }
    .news-text { text-align: left; }

    /* Anchor смещение для мобильного */
    .news-item .anchor {
        position: relative;
        top: -160px;
    }
}

@media (max-height: 600px) { .news-toc-inner { max-height: 400px; } }
/* End */
/* /bitrix/templates/new/components/bitrix/news.list/politics-iv/style.css?17667429893241 */
