

/* 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-templates/style.css?178247400816554*/

@media (max-width:560px){
    .b-tpl-cat__title{font-size:16px;}
    .b-tpl-doc{flex-wrap:wrap; gap:8px 12px;}
    .b-tpl-doc__name{flex:1 1 100%; order:1;}
    .b-tpl-doc__ext{order:2; min-width:0; text-align:left;}
    .b-tpl-doc__size{order:3; min-width:0;}
    .b-tpl-doc__download{order:4; margin-left:auto;}
}

:root {
    --blue:        #1A4FD6;
    --blue-dark:   #1340B8;
    --blue-light:  #E8EFFE;
    --text:        #1A1A2E;
    --muted:       #6B7280;
    --border:      #E2E8F0;
    --bg:          #F7F8FA;
    --white:       #FFFFFF;
    --radius:      8px;
    --radius-lg:   8px;
    --max-w:       1200px;
}
/* ─────────── header статей ─────────── */
.b-blog-hero {
    display: grid; grid-template-columns: 1fr; gap: 24px;
    background: #fff; border-radius: var(--radius-lg);
    padding: 36px 0px; ;
    align-items: center;
}
.b-blog-hero__title { font-size: 44px; line-height:45px; font-weight: 800; color: var(--text); margin: 0px; }
.b-blog-hero__lead  { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 460px; margin-top: 0px; }
.b-blog-hero__image { display: flex; justify-content: flex-end; }
.b-blog-hero__image img { max-width: 100%; height: auto; }

/* ─────────── двухколоночная сетка ─────────── */
.b-blog-layout {
    display: grid; grid-template-columns: 280px 1fr; gap: 24px;
    align-items: start;
}

/* ─────────── сайдбар ─────────── */


.b-aside-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
    display: flex; flex-direction: column; 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 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.b-article {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 210px;
  transition: border-color .15s, box-shadow .15s;
}
.b-article:hover {
  border-color: #c3d3f7;
  box-shadow: 0 4px 14px rgba(26, 79, 214, .06);
}

/* Карточка без картинки — одна колонка во всю ширину */
.b-article--no-media {
  grid-template-columns: 1fr;
  min-height: 0;
}

/* Картинка */
.b-article__media {
  display: block;
  background: #f3f4f6;
  height: 100%;
  overflow: hidden;
}
.b-article__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.b-article:hover .b-article__media img {
  transform: scale(1.03);
}

/* Текстовая часть */
.b-article__body {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.b-article--no-media .b-article__body {
  padding: 24px 28px;
}

/* Верхний ряд: раздел + дата слева, закладка справа */
.b-article__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.b-article__head-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Бейдж раздела — «pill» */
.b-article__section {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #2563eb;
 /* background: #eef2ff;
  padding: 5px 12px;*/
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}


.b-article__date {
  font-size: 13px;
  color: #8c98a9;
  white-space: nowrap;
}

.b-article__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  text-decoration: none;
}
.b-article__title:hover {
  color: #1f6fd6;
}

/* Лид */
.b-article__lead {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Подвал карточки */
.b-article__foot {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
}
.b-article--no-media .b-article__foot {
  margin-top: 4px;
}
.b-article__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9ca3af;
}
.b-article__dot {
  color: #d1d5db;
}

/* Иконка избранного — теперь в верхнем ряду */
.b-article__bookmark {
  flex-shrink: 0;
  color: #9ca3af;
  display: inline-flex;
  transition: color .15s;
}
.b-article__bookmark:hover {
  color: #1f6fd6;
}

/* Адаптив */
@media (max-width: 768px) {
  .b-article {
    grid-template-columns: 1fr;
  }
  .b-article__media {
    height: 200px;
  }
  .b-article__body {
    padding: 20px;
  }
  .b-article__title {
    font-size: 18px;
  }
}


@media (max-width: 1200px) {
    .b-blog-toolbar__label {
        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;
    }
 
  
    .b-blog-toolbar__sort {
        display: none;
    }


    .b-blog-right {
        display: none; /* можно скрыть правый сайдбар на мобиле */
    }
}

.help-cta { padding: 24px 0 0; }

.help-cta__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px;
  background-color: var(--color-background-secondary);
  border: 1px solid var(--color-border);
  border-radius: 24px; /* Немного уменьшено с 30px для соответствия масштабу */
}
.help-cta__main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.help-cta__icon {
  width: 48px; height: 48px; /* Было 56px */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-background-primary);
  border: 1px solid var(--color-border);
  border-radius: 50%;
}
.help-cta__icon svg {
  width: 20px; height: 20px; /* Было 24px */
  color: var(--color-text-primary);
}
.help-cta__text { min-width: 0; }
.help-cta__title {
  line-height: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.help-cta__description {
  font-size: 14px; /* Было 16px */
  line-height: 18px;
  color: var(--color-text-primary-50);
}
.help-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: end;
}
.help-cta__qr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background-color: var(--color-background-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.help-cta__qr-text { display: flex; flex-direction: column; }
.help-cta__qr-title {
  font-size: 12px; /* Было 13px */
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}
.help-cta__qr-hint {
  font-size: 11px; /* Оставлено 11px для читаемости */
  line-height: 14px;
  color: var(--color-text-primary-50);
  max-width: 100px;
}
.help-cta__qr-image {
  width: 48px; height: 48px; /* Было 56px */
  flex-shrink: 0;
  color: var(--color-primary-dark);
}

.b-tpl-wrapper {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
  .help-cta__card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 24px; /* Было 28px */
  }
  .help-cta__actions { flex-direction: row; align-items: center; }
}
@media (min-width: 1024px) {
  .help-cta__card {
    grid-template-columns: auto 1fr;
    gap: 20px; /* Было 24px */
  }
}
.b-blog-search {
    min-width: 100%;
    width:100%;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Изменено на center для кнопки */
  gap: 8px;
  height: 44px; /* Было 52px */
  padding: 0 16px; /* Было 22px */
  font-family: inherit;
  font-size: 14px; /* Было 15px */
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
  border-radius: 10px; /* Было 12px */
  transition:
    background-color var(--transition-primary),
    color var(--transition-primary),
    border-color var(--transition-primary);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 3px;
}

.btn__arrow {
  width: 16px; height: 16px; flex-shrink: 0;
  transition: transform var(--transition-primary);
}
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn__icon { width: 16px; height: 16px; flex-shrink: 0; } /* Было 18px */
.btn__icon--whatsapp { color: #25D366; }

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-background-secondary);
}
.b-tpl-wrapper {
    --tpl-accent: #2f6fed;
    --tpl-accent-soft: #f4f7ff;
    --tpl-accent-bg: #eaf1ff;
    --tpl-text: #111827;
    --tpl-text-sub: #374151;
    --tpl-muted: #8c98a9;
    --tpl-line: #f3f4f6;
    --tpl-line-dark: #e5e7eb;
    --tpl-bg: #ffffff;
    --tpl-radius: 32px;
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--tpl-text);

}
.b-tpl-wrapper * { box-sizing: border-box; }

/* Основной контейнер аккордеона */
.b-tpl-list {
    background: var(--tpl-bg);
    border: 1px solid var(--tpl-line-dark);
    border-radius: var(--tpl-radius);
    overflow: hidden;
}

/* --- Корневая категория --- */
.b-tpl-cat {
    border-bottom: 1px solid var(--tpl-line-dark);
}
.b-tpl-cat:last-child {
    border-bottom: none;
}

.b-tpl-cat__head {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: var(--tpl-text);
    transition: background 0.2s;
}
.b-tpl-cat__head:hover { background: #fafbfc; }

.b-tpl-cat__ico {
    display: inline-flex;
    color: var(--tpl-text-sub);
    flex: 0 0 auto;
}
.b-tpl-cat__ico svg,
.b-tpl-cat__ico img { width: 22px; height: 22px; display: block; }
.b-tpl-cat__title {
    font-size: 16px;
    font-weight: 700;
    flex: 1 1 auto;
}
.b-tpl-cat__count {
    color: var(--tpl-accent);
    background: var(--tpl-accent-bg);
    font-weight: 600;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 12px;
    margin-right: 4px;
}
.b-tpl-cat__chev {
    display: inline-flex;
    color: var(--tpl-muted);
    transition: transform .3s ease;
}
.b-tpl-cat.is-open > .b-tpl-cat__head .b-tpl-cat__chev { transform: rotate(180deg); }

/* Анимация схлопывания для категорий */
.b-tpl-cat__body, .b-tpl-sub__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}
.b-tpl-cat.is-open > .b-tpl-cat__body,
.b-tpl-sub.is-open > .b-tpl-sub__body { grid-template-rows: 1fr; }

.b-tpl-cat__body-inner, .b-tpl-sub__body .b-tpl-cat__docs {
    min-height: 0; 
    overflow: hidden;
}

/* --- Подкатегория --- */
.b-tpl-sub {
    background: #f2f4f7;
    border-top: 1px solid var(--tpl-line);
}
.b-tpl-sub__head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    color: var(--tpl-text);
    transition: background 0.2s;
}
.b-tpl-sub__head:hover { background: #fafbfc; }

.b-tpl-sub__chev {
    display: inline-flex;
    color: var(--tpl-muted);
    transition: transform .3s ease;
    transform: rotate(-90deg); /* Закрыто — смотрит вправо */
}
.b-tpl-sub.is-open > .b-tpl-sub__head .b-tpl-sub__chev { transform: rotate(0deg); /* Открыто — смотрит вниз */ }

.b-tpl-sub__title {
    font-weight: 600;
    font-size: 15px;
    flex: 1 1 auto;
}
.b-tpl-sub__count {
    color: var(--tpl-accent);
    font-weight: 600;
    font-size: 14px;
}

/* --- Список документов --- */
.b-tpl-cat__docs {
    display: flex;
    flex-direction: column;
    background: white;
}


.b-tpl-doc {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px 14px 48px; /* Отступ слева для имитации вложенности */
    transition: background 0.2s;
}
.b-tpl-doc:hover { background: var(--tpl-accent-soft); }

/* Файлы в корневой категории без отступа */
.b-tpl-cat__body-inner > .b-tpl-cat__docs > .b-tpl-doc { padding-left: 24px; }

.b-tpl-doc + .b-tpl-doc {
    border-top: 1px dashed var(--tpl-line-dark);
}
.b-tpl-doc__download--auth { color: var(--tpl-muted); width: auto; white-space: nowrap; }
.b-tpl-doc__download--auth:hover { color: var(--tpl-accent); }
.b-tpl-doc__icon { display: inline-flex; flex: 0 0 auto; }
.b-tpl-doc__name {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--tpl-text-sub);
}
.b-tpl-doc__ext, .b-tpl-doc__size {
    color: var(--tpl-muted);
    font-size: 13px;
    font-weight: 500;
    width: 60px;
    text-align: left;
}
.b-tpl-doc__download {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: var(--tpl-accent);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    width: 100px;
    transition: color 0.2s;
}
.b-tpl-doc__download:hover { color: #1a4fd6; }
.b-tpl-doc__download svg { flex-shrink: 0; }
.b-tpl-doc__download--off { color: var(--tpl-muted); cursor: default; }

/* --- Блок Запроса шаблона --- */
.b-tpl-request {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--color-background-secondary);
    border: 1px solid var(--tpl-line-dark);
    border-radius: var(--tpl-radius);
    margin-top: 24px;
}
.b-tpl-request__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--tpl-accent-soft);
    border-radius: 8px;
    flex-shrink: 0;
}
.b-tpl-request__text { flex: 1 1 auto; }
.b-tpl-request__title {
    font-weight: 700;
    font-size: 16px;
    color: var(--tpl-text);
    margin-bottom: 4px;
}
.b-tpl-request__desc {
    font-size: 14px;
    color: var(--tpl-text-sub);
}
.b-tpl-request__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1.5px solid var(--tpl-accent);
    border-radius: 8px;
    background: transparent;
    color: var(--tpl-accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.b-tpl-request__btn:hover {
    background: var(--tpl-accent);
    color: #fff;
}

/* Адаптив */
@media (max-width: 768px) {
    .b-tpl-cat__head, .b-tpl-sub__head, .b-tpl-request { padding: 16px; }
    .b-tpl-doc {
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 8px;
    }
    .b-tpl-cat__body-inner > .b-tpl-cat__docs > .b-tpl-doc { padding-left: 16px; }
    .b-tpl-doc__name { flex: 1 1 100%; order: 1; margin-left: 32px; margin-top: -30px; }
    .b-tpl-doc__ext { order: 2; width: auto; margin-left: 32px; }
    .b-tpl-doc__size { order: 3; width: auto; margin-right: auto; }
    .b-tpl-doc__download { order: 4; width: auto; }
    .b-tpl-request { flex-direction: column; text-align: center; }
    .b-tpl-request__btn { width: 100%; }
}
.b-tpl-doc__download--auth {
    color: var(--tpl-muted);
    font-weight: 600;
    white-space: nowrap;
    width: auto;
}
.b-tpl-doc__download--auth:hover { color: var(--tpl-accent); }
/* 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-templates/style.css?178247400816554 */
