

/* Start:/local/templates/sov-obr/components/bitrix/news/blog-posts/style.css?17857534285514*/
.b-blog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
    margin-bottom: 20px;
}

/* ── Поиск (всегда раскрыт) ── */
.b-blog-search {
    position: relative;
    display: flex;
    align-items: center;
    height: 54px;
    background: #f5f5f8;
    border-radius: 999px;
    padding: 4px 10px 4px 10px;
    width: 100%;
    max-width: 100%;
}

.b-blog-search__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #7a7a7c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.b-blog-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 36px;
    font-weight: 500;
    padding: 0 0px;
    font-size: 15px;
    color: #7a7a7c;
    background: transparent;
    border: none;
    outline: none;
}

.b-blog-search__input::placeholder { color: #98a2b3; }

.b-blog-search__input::-webkit-search-decoration,
.b-blog-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.b-blog-search__reset {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    background: transparent;
    border: none;
    border-radius: 50%;
    margin-right: 4px;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.b-blog-search__reset:hover { background: #e4e7ec; color: #101828; }

/* ── Сортировка справа ── */
.b-blog-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.b-blog-toolbar__label { font-size: 14px; color: #475467; white-space: nowrap; }

.b-blog-toolbar__select {
    height: 40px;
    padding: 0 36px 0 14px;
    font-size: 14px;
    color: #101828;
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5 6 6.5l5-5' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 14px center;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s, box-shadow .15s;
}

.b-blog-toolbar__select:hover { border-color: #98a2b3; }
.b-blog-toolbar__select:focus {
    outline: none;
    border-color: #2e6bff;
    box-shadow: 0 0 0 3px rgba(46, 107, 255, .15);
}

/* ── Контейнер списка + индикатор загрузки ── */
.b-blog-list-wrap {
    position: relative;
    transition: opacity .15s;
}

.b-blog-list-wrap.is-loading {
    opacity: .5;
    pointer-events: none;
}

.b-blog-list-wrap.is-loading::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border: 3px solid #d0d5dd;
    border-top-color: #2e6bff;
    border-radius: 50%;
    animation: blog-spin .8s linear infinite;
}
@media (max-width: 768px) {
    .b-blog-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    .b-select#b-blog-sort {
        width: 100%;
    }
    .b-blog-toolbar__sort {
        width: 100%;
    }
    .b-select__trigger {
        text-align:center;
        justify-content: start!important;
        width: 100%;
    }
    .b-blog-aside-max {
        order: 3!important;
    }
}
@media (min-width: 769px) {
    .b-select__trigger {
        min-width: 175px;
    }
    
}

@keyframes blog-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {

    .b-blog-search { width: 100%; }
}

.b-blog-cards.view-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.b-blog-cards.view-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.b-blog-cards.view-list .b-article {
    flex-direction: row;
}
.b-blog-cards.view-list .b-article__media {
    flex: 0 0 280px;
    max-width: max-content;
}

.b-blog-cards.view-grid .b-article__media {
    display: block;
    background: #f3f4f6;
    height:auto;
    height: fit-content;
    overflow: hidden;
}
.b-blog-cards.view-grid > .b-article   {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    min-height: 210px;
    transition: border-color .15s, box-shadow .15s;
    flex-direction: column;
}
.b-blog-cards.view-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1400px) {
    .b-blog-cards.view-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Десктоп поменьше / ноутбук */
@media (max-width: 1200px) {
    .b-blog-cards.view-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Планшет */
@media (max-width: 992px) {
    .b-blog-cards.view-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Мобильный */
@media (max-width: 576px) {
    .b-blog-cards.view-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
/* */

/* End */


/* Start:/local/templates/sov-obr/components/bitrix/catalog.section.list/blog-sidebar-icons/style.css?17823877927046*/
/* Sidebar */
.b-blog-sidebar {
    position: sticky;
    top: 155px;
    display: grid;
    gap: 16px;
}

/* Categories */
.b-blog-cats {
    background: var(--color-background-secondary);
    border-radius: 32px;
    padding: 8px;
}

.b-blog-cats__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 5px;
}

.b-blog-cats__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 55px;
    padding: 13px 16px;
    border-radius: 24px;
    text-decoration: none;
    color: #7a7a7c;
    font-size: 15px;
    font-weight: 500;
    transition: .2s;
}

.b-blog-cats__icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* иконка наследует цвет ссылки */
.b-blog-cats__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    color: inherit;
}

.b-blog-cats__item:hover,
.b-blog-cats__item--active {
    background: #fff;
    color: #1a59f6;
}

.b-blog-cats__icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.b-blog-cats__icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.7;
    fill: none;        /* для обводочных иконок lucide */
}

.b-blog-cats__label {
    flex: 1;
    line-height: 1.3;
}

/* Cards */
.b-aside-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: 32px;
    background: var(--color-background-secondary);
}

.b-aside-card__title {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--color-text-primary);
}

.b-aside-card__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
    color: var(--muted);
}

.b-aside-card__hint {
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
    font-weight: 600;
    color: var(--muted);
}

/* Button */
.b-aside-card__btn {
    width: 100%;
    height: 45px;
    border-radius: 24px;
    background: var(--color-text-alternate);
    color: #fff;
    text-align: center;
}

/* QR */
.b-aside-qr {
    display: flex;
    justify-content: center;
}

.b-aside-qr img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Mobile */
@media (max-width: 900px) {
    .b-blog-sidebar {
        position: static;
    }

    .b-blog-cats {
        overflow-x: auto;
    }

    .b-blog-cats__list {
        display: flex;
        gap: 8px;
    }

    .b-blog-cats__li {
        flex-shrink: 0;
    }

    .b-blog-cats__item {
        white-space: nowrap;
    }
}

@media (max-width: 1200px) {
    .b-blog-sidebar {
        position: static;
        width: 100%;
        order: -1;
    }
    
    /*.b-blog-cats {*/
    /*    display: flex;*/
    /*    flex-wrap: nowrap;*/
    /*    overflow-x: auto;*/
    /*    overflow-y: hidden;*/
    /*    border-radius: 32px;*/
    /*    scrollbar-width: none;*/
    /*    -ms-overflow-style: none;*/
    /*}*/

    .b-blog-cats::-webkit-scrollbar {
        display: none;
    }
    
    .b-blog-cats__item {
        flex: 0 0 auto;
        width: auto;
        min-width: max-content;
        height: 55px;
        padding: 0 16px;
        border-right: 1px solid var(--border);
    }
 
    .b-blog-cats__item {
        border-bottom: 1px;
    }
}
@media (max-width: 1200px) {
    .b-blog-cats {
        position: relative;
        overflow: visible !important;
        min-height: 54px;
    }

    
    .b-blog-cats__trigger-left {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }
    .b-blog-cats__trigger-left span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .b-blog-cats__trigger svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
    .b-blog-cats__arrow {
        transition: transform .2s;
        color: #7a7a7c;
    }
    .b-blog-cats.is-open .b-blog-cats__arrow {
        transform: rotate(180deg);
    }

    /* Сам список — принудительно вертикальный, перекрывает .b-blog-cats__list { display:flex; gap:8px } из 900px-блока */
    .b-blog-cats__list {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999999 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        margin: 0;
        padding: 8px;
        list-style: none;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
        max-height: 60vh;
        overflow-y: auto;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-4px) !important;
        transition: opacity .15s, transform .15s, visibility .15s;
    }
    .b-blog-cats.is-open .b-blog-cats__list {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    /* Перекрываем стили "чипсов" из 900px/1200px-блоков на пунктах списка */
    .b-blog-cats__li {
        flex-shrink: 0 !important;
        width: 100% !important;
    }
    .b-blog-cats__item {
        white-space: normal !important;
        flex: unset !important;
        min-width: 0 !important;
        width: 100% !important;
        height: auto !important;
        border-right: none !important;
        border-bottom: none !important;
        border-radius: 12px;
    }
}
@media (max-width: 1200px) {
    .b-blog-sidebar {
        display: contents !important;
    }
    .b-blog-cats {
        order: 1 !important;
        width:100%;
        padding:0;
        color:#7a7a7c;
    }
    .b-blog-main {
        order: 2 !important;
    }
    .newsletter {
        order: 3 !important;
        margin-top: 24px;
    }
}
/* Триггер дропдауна — рендерится JS-ом всегда, но виден только на мобильном */
.b-blog-cats__trigger {
    display: none;
}

@media (max-width: 1200px) {
    .b-blog-cats__trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        height: 54px;
        box-sizing: border-box;
        padding: 0 20px;
        background: #f5f5f8;
        border: none;
        border-radius: 32px;
        font-size: 15px;
        font-weight: 500;
        color: var(--color-text-primary, #111);
        cursor: pointer;
    }
}
/* End */


/* Start:/local/templates/sov-obr/components/bitrix/news.list/blog-list/style.css?178273090110805*/
:root {
    --blue: #1A4FD6;
    --blue-dark: #1340B8;
    --blue-light: #E8EFFE;
    --text: #1A1A2E;
    --muted: #6B7280;
    --border: #E2E8F0;
    --radius: 8px;
    --radius-lg: 14px;
    --bg: #F7F8FA;
    --white: #FFFFFF;
    --max-w: 1200px;
}

/* ============================================================
   HERO
   ============================================================ */
.b-blog-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 0;
    align-items: center;
}
.b-blog-hero__title {
    font-size: 44px;
    line-height: 45px;
    font-weight: 800;
    color: var(--text);
    margin: 0;
}
.b-blog-hero__lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 460px;
    margin-top: 0;
}
.b-blog-hero__image {
    display: flex;
    justify-content: flex-end;
}
.b-blog-hero__image img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   LAYOUT (сайдбар + основная колонка)
   ============================================================ */
.b-blog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

/* ============================================================
   САЙДБАР — карточки и QR
   ============================================================ */
.b-articles,
.b-aside-card {
    display: flex;
    flex-direction: column;
}
.b-aside-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    gap: 10px;
}
.b-aside-card__icon {
    width: 40px;
    height: 40px;
    color: var(--blue);
    background: var(--blue-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.b-aside-card__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}
.b-aside-card__text {
    font-size: 12px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}
.b-aside-card__btn {
    margin-top: 8px;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
}
.b-aside-card__hint {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    line-height: 1.45;
}
.b-aside-qr {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    margin: 8px auto;
    width: 160px;
    height: 160px;
}
.b-aside-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.b-articles {
    gap: 20px;
}

.b-blog-cards {
    display: grid;
    gap: 24px;
}
.b-blog-cards.view-grid {
    grid-template-columns: repeat(3, 1fr);
}
.b-blog-cards.view-list {
    grid-template-columns: 1fr;
}

.b-article {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.b-article:hover {
    border-color: #c3d3f7;
    box-shadow: 0 6px 20px rgba(26, 79, 214, .08);
    transform: translateY(-2px);
}

/* ---------- Лист-вид: карточка горизонтальная ---------- */
.view-list .b-article {
    flex-direction: row;
    min-height: 170px;
}
.view-list .b-article__media {
    flex: 0 0 260px;
    max-width: 260px;
    aspect-ratio: auto;
}

/* ---------- Медиа ---------- */
.b-article__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    overflow: hidden;
}
.b-article__media-link {
    display: block;
    width: 100%;
    height: 100%;
}
.b-article__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity .4s, transform .35s;
}
.b-article__img.is-loaded,
.b-article__img[loading="eager"] {
    opacity: 1;
}
.b-article:hover .b-article__img {
    transform: scale(1.04);
}
.b-article--no-media .b-article__media {
    display: none;
}

/* ---------- Бейдж секции (на баннере) ---------- */
.b-article__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--color-text-alternate);
    background: #f5f5f5c4;
    padding: 4px 11px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
    transition: background .15s;
}
.b-article__badge:hover {
    background: #fff;
}

/* ---------- Закладка ----------
   Грид-вид: в правом верхнем углу баннера.
   Лист-вид: в правом верхнем углу тела (картинка слева). */
.b-article__bookmark {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
    transition: background .15s, color .15s;
}
.b-article__bookmark svg {
    width: 16px;
    height: 16px;
}
.b-article__bookmark:hover {
    background: #fff;
    color: var(--blue);
}

/* В лист-виде закладка крепится к телу, без фон-плашки баннера */
.view-list .b-article__bookmark {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: none;
    color: #9ca3af;
}
.view-list .b-article__bookmark:hover {
    color: var(--blue);
    border-color: #c3d3f7;
}

/* ---------- Тело ---------- */
.b-article__body {
    position: relative;
    padding: 14px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1 1 auto;
    min-width: 0;
}
.view-list .b-article__body {
    padding: 18px 22px;
}

/* ---------- Шапка (только для карточек без картинки) ---------- */
.b-article__head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.b-article__section {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-light);
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
}

/* ---------- Дата над заголовком ---------- */
.b-article__date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: #9ca3af;
}
.b-article__date svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ---------- Заголовок и лид ---------- */
.b-article__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.32;
    color: #111827;
    text-decoration: none;
    transition: color .15s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.b-article__title:hover {
    color: var(--blue);
}
/* В лист-виде заголовок крупнее и не залезает под закладку */
.view-list .b-article__title {
    font-size: 18px;
    padding-right: 40px;
}

.b-article__lead {
    font-size: 13.5px;
    line-height: 1.55;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.view-list .b-article__lead {
    font-size: 14px;
}

/* ---------- Подвал ---------- */
.b-article__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f3f5;
}

.b-article__author {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.b-article__author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--blue-light);
    flex-shrink: 0;
}
.b-article__author-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.b-article__author-name {
    font-size: 13px;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.b-article__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #9ca3af;
    flex-shrink: 0;
}
.b-article__read,
.b-article__views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.b-article__meta svg {
    width: 14px;
    height: 14px;
}
.b-article__dot {
    color: #d1d5db;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1200px) {
    .b-blog-right,
    .b-blog-toolbar__label,
    .b-blog-toolbar__mode {
        display: none;
    }
    .b-blog-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .breadcrumbs__scroll {
        display: block;
        overflow: hidden;
    }
    .b-blog-hero__text {
        display: grid;
        gap: 20px;
    }
    .b-blog-toolbar__select {
        font-size: 15px;
    }
}

@media (max-width: 1100px) {
    .b-blog-cards.view-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 680px) {
    .b-blog-cards.view-grid,
    .b-blog-cards.view-list {
        grid-template-columns: 1fr;
    }
    /* Лист-вид на телефоне схлопывается в вертикаль, как грид */
    .view-list .b-article {
        flex-direction: column;
        min-height: 0;
    }
    .view-list .b-article__media {
        flex: none;
        max-width: none;
        aspect-ratio: 16 / 9;
    }
    /* На телефоне закладка возвращается на баннер */
    .view-list .b-article__bookmark {
        background: rgba(255, 255, 255, 0.94);
        border: none;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
    }
    .view-list .b-article__title {
        padding-right: 0;
    }
}
/* End */
/* /local/templates/sov-obr/components/bitrix/news/blog-posts/style.css?17857534285514 */
/* /local/templates/sov-obr/components/bitrix/catalog.section.list/blog-sidebar-icons/style.css?17823877927046 */
/* /local/templates/sov-obr/components/bitrix/news.list/blog-list/style.css?178273090110805 */
