

/* Start:/local/templates/vrtorg/components/bitrix/news/blog-posts/style.css?179119053634359*/
/* ==========================================================
   Блог ВРТ: список статей — 3 колонки
   Токены сняты с макета «ВРТ v1.2» (Figma)
   ========================================================== */
:root { --blog-header-h: 199px !important; }
.b-blog-layout {
    
    /* Цвета бренда */
    --vrt-blue: #0066FF;             /* основной синий: ссылки, активные элементы */
    --vrt-blue-hover: #0052CC;
    --vrt-violet: #27048F;           /* начало фирменного градиента */
    --vrt-gradient: linear-gradient(45deg, #27048F 0%, #0066FF 100%);
    --vrt-yellow: #F8C41A;           /* кнопки-действия («В корзину», «Каталог») */
    --vrt-yellow-hover: #F8A91A;     /* оранжевый из логотипа */
    --vrt-telegram: #28AAE0;

    /* Нейтральные */
    --vrt-page: #F7F7F7;             /* фон страницы */
    --vrt-white: #FFFFFF;
    --vrt-text: #000000;
    --vrt-ink: #030303;              /* текст на жёлтых кнопках */
    --vrt-muted: #666666;            /* вторичный текст (в макете чёрный 50%, чуть темнее для читаемости) */
    --vrt-line: #D5D5D5;             /* обводка полей и чипов */
    --vrt-line-soft: #EBEBEB;

    /* Тонированные подложки из шапки сайта */
    --vrt-tint-blue: #D1E5F1;
    --vrt-tint-yellow: #FEE2AD;
    --vrt-tint-gray: #DFE6F0;

    /* Скругления */
    --vrt-r-card: 10px;
    --vrt-r-control: 8px;
    --vrt-r-pill: 32px;

    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "nav   main right"
        "extra main right";
    gap: 20px;
    align-items: start;
    font-family: "Gilroy", Arial, sans-serif;
    font-weight: 500;
    color: var(--vrt-text);
    margin-bottom: 20px;
}

@media (prefers-reduced-motion: no-preference) {
    html:has(.b-post) { scroll-behavior: smooth; }
}

.b-blog-nav   { grid-area: nav; }
.b-blog-extra { grid-area: extra; display: flex; flex-direction: column; gap: 20px; }
.b-blog-main  { grid-area: main; min-width: 0; container-type: inline-size; }
.b-blog-aside { grid-area: right; position: sticky; top: calc(var(--blog-header-h, 0px) + 20px); }

.b-blog-layout a { color: inherit; text-decoration: none; }
.b-blog-layout a:focus-visible,
.b-blog-layout button:focus-visible {
    outline: 2px solid var(--vrt-blue);
    outline-offset: 2px;
}

/* Белые карточки на сером фоне — как на главной */
.b-cats,
.b-consult,
.b-promo,
.b-popular,
.b-card {
    background: var(--vrt-white);
    border-radius: var(--vrt-r-card);
}

/* ── Категории (слева) ── */
.b-cats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px;
    list-style: none;
}
.b-cats__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: var(--vrt-r-control);
    font-size: 15px;
    font-weight: 600;
    transition: background-color .15s, color .15s;
}
.b-cats__item:hover { background: var(--vrt-page); }
.b-blog-layout .b-cats__item.is-active {
    background: var(--vrt-tint-blue);
    color: var(--vrt-blue);
}
.b-cats__icon { flex: 0 0 20px; display: inline-flex; color: var(--vrt-text); }
.b-cats__item.is-active .b-cats__icon,
.b-cats__item:hover .b-cats__icon { color: var(--vrt-blue); }
.b-cats__icon img { width: 20px; height: 20px; object-fit: contain; }
.b-cats__name { flex: 1; min-width: 0; }
.b-cats__count {
    flex: 0 0 auto;
    min-width: 34px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    color: var(--vrt-muted);
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-pill);
}
.b-cats__item.is-active .b-cats__count { border-color: transparent; color: var(--vrt-blue); }

/* ── Консультация ── */
.b-consult { padding: 20px 18px; }
.b-consult__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    color: var(--vrt-blue);
    background: var(--vrt-tint-blue);
    border-radius: var(--vrt-r-control);
}
.b-consult__title { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.b-consult__text  { margin: 0 0 14px; font-size: 14px; line-height: 1.4; color: var(--vrt-muted); }
.b-consult__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}
.b-blog-layout .b-consult__link { color: var(--vrt-blue); }
.b-consult__link:hover { text-decoration: underline; }

/* ── Промо-картинка ── */
.b-promo { overflow: hidden; }
.b-promo img { display: block; width: 100%; height: auto; }

/* ── Тулбар ── */
.b-blog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.b-blog-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--vrt-white);
    border-radius: var(--vrt-r-card);
    overflow-x: auto;
    scrollbar-width: none;
}
.b-blog-tabs::-webkit-scrollbar { display: none; }
.b-blog-tabs__item {
    padding: 9px 20px;
    border-radius: var(--vrt-r-control);
    font-size: 15px;
    font-weight: 600;
    line-height: 19px;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}
.b-blog-tabs__item:hover { background: var(--vrt-page); }
.b-blog-layout .b-blog-tabs__item.is-active {
    background: var(--vrt-blue);
    color: var(--vrt-white);
}

.b-blog-search {
    flex: 0 1 260px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 45px;
    padding: 0 10px 0 16px;
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-control);
    transition: border-color .15s, box-shadow .15s;
}
.b-blog-search:focus-within {
    border-color: var(--vrt-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .15);
}
.b-blog-search__icon { flex: 0 0 auto; color: var(--vrt-muted); }
.b-blog-search__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0;
    font: inherit;
    font-size: 15px;
    color: var(--vrt-text);
    background: transparent;
    border: 0;
    outline: none;
}
.b-blog-search__input::placeholder { color: rgba(0, 0, 0, .5); }
.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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--vrt-muted);
}
.b-blog-search__reset:hover { background: var(--vrt-page); color: var(--vrt-text); }

/* ── Бейдж категории ── */
.b-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: var(--vrt-text);
    background: var(--vrt-white);
    border-radius: var(--vrt-r-pill);
    white-space: nowrap;
}

/* ── Главная статья + Telegram ── */
.b-hero-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.b-hero-row--single { grid-template-columns: minmax(0, 1fr); }

.b-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--vrt-r-card);
    background: #1b1b1b;
    isolation: isolate;
}
.b-blog-layout .b-hero { color: var(--vrt-white); }

.b-hero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.b-hero:hover .b-hero__img { transform: scale(1.02); }
/* Затемнение как у баннера на главной: чёрный → прозрачный */
.b-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, .8) 0%,
        rgba(0, 0, 0, .6) 38%,
        rgba(0, 0, 0, 0) 75%);
}
.b-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-width: 540px;
    padding: 28px 32px;
}
.b-hero__title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.15;
    color: inherit;
}
.b-hero__lead { margin: 0; font-size: 15px; line-height: 1.45; }
.b-hero__meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.b-hero__meta-item { display: inline-flex; align-items: center; gap: 7px; }

/* Жёлтая кнопка — как «В корзину» */
.b-hero__btn,
.b-tg__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 45px;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 500;
    color: var(--vrt-ink);
    background: var(--vrt-yellow);
    border-radius: var(--vrt-r-control);
    transition: background-color .15s;
}
.b-hero__btn { margin-top: 4px; }
.b-hero:hover .b-hero__btn,
.b-tg__btn:hover { background: var(--vrt-yellow-hover); }
.b-blog-layout .b-tg__btn { color: var(--vrt-ink); }

/* Telegram: фирменный сине-фиолетовый градиент */
.b-tg {
    display: flex;
    flex-direction: column;
    padding: 22px 18px 18px;
    color: var(--vrt-white);
    background: var(--vrt-gradient);
    border-radius: var(--vrt-r-card);
    gap: 13px;
}
.b-tg__title { margin: 0 0px; font-size: 18px; font-weight: 600; line-height: 1.22; }
.b-tg__text  { margin: 0; font-size: 14px; line-height: 1.4; opacity: .85; }
.b-tg__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 16px 0;
    color: var(--vrt-white);
    background: var(--vrt-telegram);
    border-radius: 50%;
}
.b-tg__logo svg { width: 24px; height: 24px; margin-left: -2px; }
.b-tg__btn { margin-top: auto; padding: 0 16px; }
.b-tg__subs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.3;
    opacity: .9;
}
.b-tg__subs b { font-size: 15px; font-weight: 700; }
.b-tg__subs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, .15);
    border-radius: var(--vrt-r-control);
}

/* ── Сетка карточек ── */
.b-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
@container (max-width: 640px) {
    .b-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .b-hero-row { grid-template-columns: minmax(0, 1fr); }
    .b-tg {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "logo title btn"
            "logo text  btn";
        align-items: center;
        column-gap: 16px;
    }
    .b-tg__logo  { grid-area: logo; margin: 0; }
    .b-tg__title { grid-area: title; margin: 0; }
    .b-tg__text  { grid-area: text; }
    .b-tg__btn   { grid-area: btn; margin: 0; }
    .b-tg__subs  { display: none; }
}
@container (max-width: 440px) {
    .b-cards { grid-template-columns: 1fr; }
    .b-tg {
        grid-template-columns: auto 1fr;
        grid-template-areas: "logo title" "text text" "btn btn";
        row-gap: 10px;
    }
}

.b-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .15s;
}
.b-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.b-card__media {
    position: relative;
    aspect-ratio: 16 / 7;
    background: var(--vrt-page);
}
.b-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-card__cat {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: calc(50% - 14px);
    overflow: hidden;
    text-overflow: ellipsis;
}
.b-card__date {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    font-size: 12px;
    line-height: 16px;
    color: var(--vrt-text);
    background: rgba(255, 255, 255, .7);
    border-radius: var(--vrt-r-pill);
    white-space: nowrap;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.b-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 16px 18px 14px;
}
.b-card__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.b-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.b-card:hover .b-card__link { color: var(--vrt-blue); }
.b-card__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--vrt-muted);
}
.b-card__foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 6px;
}
.b-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--vrt-muted);
    white-space: nowrap;
}
.b-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    color: var(--vrt-text);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-control);
    transition: background-color .15s, border-color .15s;
}
.b-card:hover .b-card__more {
    background: var(--vrt-yellow);
    border-color: var(--vrt-yellow);
    color: var(--vrt-ink);
}

/* ── Популярные (справа) ── */
.b-popular { padding: 20px 18px 8px; }
.b-aside-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.25; }
.b-popular__list { margin: 12px 0 0; padding: 0; list-style: none; }
.b-popular__item {
    position: relative;
    display: grid;
    grid-template-columns: 26px 60px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}
.b-popular__item + .b-popular__item { border-top: 1px solid var(--vrt-line-soft); }
.b-popular__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 13px;
    font-weight: 700;
    color: var(--vrt-text);
    background: var(--vrt-page);
    border-radius: var(--vrt-r-control);
}
.b-popular__item:nth-child(1) .b-popular__num { background: var(--vrt-tint-blue); color: var(--vrt-blue); }
.b-popular__item:nth-child(2) .b-popular__num { background: var(--vrt-tint-yellow); color: #9A6A00; }
.b-popular__item:nth-child(3) .b-popular__num { background: var(--vrt-tint-gray); }
.b-popular__img {
    display: block;
    width: 60px;
    height: 52px;
    overflow: hidden;
    background: var(--vrt-page);
    border-radius: var(--vrt-r-control);
}
.b-popular__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-popular__info { display: flex; flex-direction: column; gap: 6px; }
.b-popular__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.b-popular__title::after { content: ""; position: absolute; inset: 0; }
.b-popular__item:hover .b-popular__title { color: var(--vrt-blue); }
.b-popular__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.b-popular__meta .b-stat { gap: 4px; font-size: 12px; }

/* ── Пусто / пагинация ── */
.b-blog-empty {
    padding: 48px 24px;
    text-align: center;
    background: var(--vrt-white);
    border-radius: var(--vrt-r-card);
}
.b-blog-empty__title { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.b-blog-empty__text  { margin: 0; font-size: 15px; color: var(--vrt-muted); }
.b-blog-pager { margin-top: 28px; }

/* ── AJAX-загрузка ── */
.b-blog-list-wrap { display: grid; gap: 20px; 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 var(--vrt-line);
    border-top-color: var(--vrt-blue);
    border-radius: 50%;
    animation: blog-spin .8s linear infinite;
}
@keyframes blog-spin { to { transform: rotate(360deg); } }


@media (max-width: 900px) {
    .b-blog-layout {
        grid-template-columns: minmax(0, 1fr)!important;
        grid-template-rows: none;
        grid-template-areas: "nav" "main" "right" "extra";
        gap: 16px;
    }
    .b-cats {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 6px;
    }
    .b-cats::-webkit-scrollbar { display: none; }
    .b-cats__item { padding: 9px 12px; white-space: nowrap; gap: 8px; }
    .b-blog-extra { display: none; grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* --- 901–1200px: ноутбуки / большие планшеты, 2 колонки ---------------- */
@media (width > 900px) and (width <= 1200px) {
    .b-blog-layout {
        grid-template-columns: minmax(0, 1fr)!important;
        grid-template-rows: none;
        grid-template-areas: "nav" "main" "right" "extra";

        gap: 20px;
    }

    /* Категории — горизонтальная лента, как на планшете */
    .b-cats {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        padding: 6px;
    }
    .b-cats::-webkit-scrollbar { display: none; }
    .b-cats__item {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .b-blog-extra {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
 
}

@media (max-width: 640px) {
    .b-blog-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
    .b-blog-search { flex: 0 0 45px; }
    .b-blog-tabs__item { padding: 9px 14px; font-size: 14px; }
    .b-blog-extra { grid-template-columns: 1fr; }

    .b-hero { align-items: flex-end; min-height: 380px; }
    .b-hero::before {
        background: linear-gradient(0deg,
            rgba(0, 0, 0, .85) 0%,
            rgba(0, 0, 0, .6) 55%,
            rgba(0, 0, 0, .05) 100%);
    }
    .b-hero__content { padding: 20px; }
    .b-hero__title { font-size: 24px; }
    .b-hero__lead { font-size: 14px; }
    .b-blog-extra { display: none; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 1220px) {
        .b-blog-extra { display: none; grid-template-columns: 1fr 1fr; gap: 16px; }

}

@media (prefers-reduced-motion: reduce) {
    .b-blog-layout *,
    .b-blog-list-wrap.is-loading::after { transition: none !important; animation-duration: 2s; }
}

/* ==========================================================
   Страница категории и детальная
   ========================================================== */

.b-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Шапка категории */
.b-blog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding: 28px 32px;
    background: var(--vrt-white);
    border-radius: var(--vrt-r-card);
}
.b-blog-head__title { margin: 0; font-size: 36px; font-weight: 600; line-height: 1.15; }
.b-blog-head__lead {
    max-width: 640px;
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--vrt-muted);
}
.b-blog-head__count {
    flex: 0 0 auto;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--vrt-blue);
    background: var(--vrt-tint-blue);
    border-radius: var(--vrt-r-pill);
    white-space: nowrap;
}

/* Заголовок блока карточек («Читайте также») */
.b-cards-title {
    margin: 40px 0 20px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

/* Детальная: правая колонка тянется на всю высоту, внутри — липкий блок */
.b-blog-layout--detail .b-blog-aside {
    position: static;
    align-self: stretch;
}
.b-blog-layout--detail {
    grid-template-columns: 260px minmax(0, 1fr) 280px;

}


.b-blog-aside__sticky {
    position: sticky;
    top: calc(var(--blog-header-h, 0px) + 20px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 1360px) {
    /* Оглавление переезжает в статью, в правой колонке остаётся Telegram */
    .b-blog-layout--detail .b-blog-aside .b-toc { display: block; }
    .b-blog-aside__sticky { position: static; }
}

@media (max-width: 640px) {
    .b-blog-head { flex-direction: column; gap: 12px; padding: 20px; }
    .b-blog-head__title { font-size: 28px; }
    .b-cards-title { font-size: 24px; margin-top: 32px; }
}

/* */
/* ==========================================================
   Страница автора
   ========================================================== */
/* ==========================================================
   Страница автора блога
   ========================================================== */

.b-blog-layout--author {
    /* Запасные токены: на случай, если общий style.css блога не подключён */
    --vrt-blue: #0066FF;
    --vrt-page: #F7F7F7;
    --vrt-white: #FFFFFF;
    --vrt-text: #000000;
    --vrt-muted: #666666;
    --vrt-line: #D5D5D5;
    --vrt-line-soft: #EBEBEB;
    --vrt-tint-blue: #D1E5F1;
    --vrt-r-card: 10px;
    --vrt-r-control: 8px;
    --vrt-r-pill: 32px;

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "main";
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto 40px;
    font-family: "Gilroy", Arial, sans-serif;
    font-weight: 500;
    color: var(--vrt-text);
}

.b-blog-layout--author .b-blog-main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    container-type: inline-size;
}

/* ── Кнопка возврата ── */
.b-blog-layout--author .b-author-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: var(--vrt-muted);
    text-decoration: none;
    transition: color .15s;
}
.b-blog-layout--author .b-author-page__back:hover { color: var(--vrt-blue); }

/* ── Шапка автора ── */
.b-author-page {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    width: 100%;
    padding: 28px 32px;
    background: var(--vrt-white);
    border-radius: var(--vrt-r-card);
}
.b-author-page__photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}
.b-author-page__photo--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 600;
    color: var(--vrt-blue);
    background: var(--vrt-tint-blue);
}
.b-author-page__info { min-width: 0; }
.b-author-page__label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--vrt-muted);
}
.b-author-page__name {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.15;
}
.b-author-page__role {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.4;
    color: var(--vrt-muted);
}
.b-author-page__bio {
    max-width: none;      /* было 620px */
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.55;
    color: #333;
}

/* ── Статистика строкой ── */
.b-author-page__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--vrt-muted);
}
.b-author-page__meta li {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}
.b-author-page__meta li + li::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 14px;
    background: var(--vrt-line);
    border-radius: 50%;
}
.b-author-page__meta b { font-size: 15px; font-weight: 700; color: var(--vrt-text); }

/* ── Темы автора ── */
.b-author-page__topics-label {
    margin: 20px 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--vrt-muted);
}
.b-author-page__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.b-blog-layout--author .b-author-page__topics a {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vrt-blue);
    text-decoration: none;
    background: var(--vrt-tint-blue);
    border-radius: var(--vrt-r-pill);
    transition: color .15s, background-color .15s;
}
.b-blog-layout--author .b-author-page__topics a:hover {
    color: var(--vrt-white);
    background: var(--vrt-blue);
}

/* ── Профили автора ── */
.b-author-page__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}
.b-blog-layout--author .b-author-page__links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vrt-text);
    text-decoration: none;
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-pill);
    transition: color .15s, border-color .15s;
}
.b-blog-layout--author .b-author-page__links a:hover {
    color: var(--vrt-blue);
    border-color: var(--vrt-blue);
}
.b-author-page__links svg { flex: 0 0 16px; color: var(--vrt-muted); }

/* ── Заголовок списка статей ── */
.b-blog-layout--author .b-cards-title {
    margin: 12px 0 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

/* ── Пустой список ── */
.b-blog-layout--author .b-blog-empty {
    padding: 40px 24px;
    text-align: center;
    background: var(--vrt-white);
    border-radius: var(--vrt-r-card);
}

/* ── Адаптив ── */
@media (max-width: 640px) {
    .b-author-page {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 20px;
        text-align: center;
    }
    .b-author-page__photo { width: 96px; height: 96px; margin: 0 auto; }
    .b-author-page__photo--empty { font-size: 32px; }
    .b-author-page__name { font-size: 24px; }
    .b-author-page__bio { font-size: 14px; }
    .b-author-page__meta { justify-content: center; }
    .b-author-page__meta li + li::before { margin-right: 10px; }
    .b-author-page__topics,
    .b-author-page__links { justify-content: center; }
    .b-blog-layout--author .b-cards-title { font-size: 22px; }
}

/* ==========================================================
   Комментарии к статье
   ========================================================== */

.b-comments {
    margin-top: 40px;
    padding: 28px 32px;
    background: var(--vrt-white);
    border-radius: var(--vrt-r-card);
}
.b-comments__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}
.b-comments__count {
    padding: 2px 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--vrt-blue);
    background: var(--vrt-tint-blue);
    border-radius: var(--vrt-r-pill);
}
.b-comments__empty {
    margin: 0 0 24px;
    font-size: 15px;
    color: var(--vrt-muted);
}

.b-comments__list { margin: 0 0 28px; padding: 0; list-style: none; }
.b-comment {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
}
.b-comment + .b-comment { border-top: 1px solid var(--vrt-line-soft); }
.b-comment__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 18px;
    font-weight: 700;
    color: var(--vrt-blue);
    background: var(--vrt-tint-blue);
    border-radius: 50%;
}
.b-comment__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin: 0 0 6px;
}
.b-comment__name { font-size: 15px; font-weight: 600; }
.b-comment__date { font-size: 13px; color: var(--vrt-muted); }
.b-comment__text { margin: 0; font-size: 15px; line-height: 1.55; }
.b-comment--new { animation: b-comment-in .3s ease-out; }
@keyframes b-comment-in { from { opacity: 0; transform: translateY(-6px); } }

/* ── Форма ── */
.b-comment-form {
    padding: 22px 24px;
    background: var(--vrt-page);
    border-radius: var(--vrt-r-card);
}
.b-comment-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.b-comment-form__title { margin: 0 0 16px; font-size: 17px; font-weight: 600; }
.b-comment-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.b-field { display: block; }
.b-field__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vrt-muted);
}
.b-field__hint { font-weight: 500; }
.b-field__input {
    width: 100%;
    box-sizing: border-box;
    height: 45px;
    padding: 0 14px;
    font: inherit;
    font-size: 15px;
    color: var(--vrt-text);
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-control);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.b-field__input--area { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.b-field__input:focus {
    border-color: var(--vrt-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .15);
}

.b-comment-form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 16px;
}
.b-comment-form__btn {
    flex: 0 0 auto;
    height: 45px;
    padding: 0 26px;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    color: var(--vrt-ink);
    background: var(--vrt-yellow);
    border: 0;
    border-radius: var(--vrt-r-control);
    cursor: pointer;
    transition: background-color .15s;
}
.b-comment-form__btn:hover { background: var(--vrt-yellow-hover); }
.b-comment-form__btn[disabled] { opacity: .6; cursor: default; }
.b-comment-form__note {
    flex: 1 1 260px;
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--vrt-muted);
}
.b-blog-layout .b-comment-form__note a { color: var(--vrt-blue); }
.b-blog-layout .b-comment-form__note a:hover { text-decoration: underline; }

.b-comment-form__result {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.45;
}
.b-comment-form__result:empty { display: none; }
.b-comment-form__result.is-ok { color: #1E7B3C; }
.b-comment-form__result.is-error { color: #C53B31; }

@media (max-width: 640px) {
    .b-comments { padding: 20px; }
    .b-comments__title { font-size: 20px; }
    .b-comment-form { padding: 18px 16px; }
    .b-comment-form__row { grid-template-columns: minmax(0, 1fr); }
    .b-comment-form__btn { width: 100%; }
}
.b-card__foot { flex-wrap: wrap; gap: 8px 14px; }
.b-stat--rate svg { color: var(--vrt-yellow); }
.b-hero__meta-item--rate svg { color: var(--vrt-yellow); }

.b-card__chips {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}
.b-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    color: var(--vrt-white);
    background: rgba(0, 0, 0, .55);
    border-radius: var(--vrt-r-pill);
    white-space: nowrap;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.b-card__chip svg { width: 14px; height: 14px; }
.b-card__chip--rate svg { color: var(--vrt-yellow); }

/* Затемнение шире и плотнее: текст читается на любом кадре */
.b-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, .85) 0%,
        rgba(0, 0, 0, .75) 42%,
        rgba(0, 0, 0, .35) 68%,
        rgba(0, 0, 0, 0) 88%);
}

/* Лид не длиннее трёх строк */
.b-hero__lead {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

/* Страховка на светлых фото */
.b-hero__title { text-shadow: 0 1px 14px rgba(0, 0, 0, .4); }
.b-hero__lead,
.b-hero__meta { text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.b-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    height: 45px;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 500;
    color: var(--vrt-ink);
    background: var(--vrt-yellow);
    border-radius: var(--vrt-r-control);
    transition: background-color .15s;
}
.b-hero:hover .b-hero__btn { background: var(--vrt-yellow-hover); }

.b-blog-layout--author {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "main";
    gap: 16px;
    margin: 0 0 40px;
    font-family: "Gilroy", Arial, sans-serif;
    font-weight: 500;
    color: var(--vrt-text);
        max-width: -webkit-fill-available;
}

/* End */


/* Start:/local/templates/vrtorg/components/bitrix/news.detail/blog-detail/style.css?179023736830970*/
* ==========================================================
   Статья блога ВРТ
   Токены --vrt-* заданы в style.css шаблона news/blog
   ========================================================== */
 
@media (prefers-reduced-motion: no-preference) {
    html:has(.b-post) { scroll-behavior: smooth; }
}
.b-files { scroll-margin-top: calc(var(--blog-header-h, 0px) + 24px); }
a.b-doc__copy {
    text-decoration: auto!important;
 }
.b-post {
    padding: 40px 48px 36px;
    background: var(--vrt-white, #fff);
    border-radius: var(--vrt-r-card, 10px);
}
 
/* ── Шапка: обложка на всю ширину карточки, заголовок поверх ── */
.b-post-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 440px;
    margin: -40px -48px 0;
    overflow: hidden;
    color: var(--vrt-white);
    background: #1b1b1b;
    border-radius: var(--vrt-r-card) var(--vrt-r-card) 0 0;
    isolation: isolate;
}
/* Без обложки — фирменный градиент */
.b-post-hero--no-cover {
    min-height: 300px;
    background: var(--vrt-gradient);
}
 
.b-post-hero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.b-post-hero:not(.b-post-hero--no-cover)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg,
        rgba(0, 0, 0, .85) 0%,
        rgba(0, 0, 0, .55) 45%,
        rgba(0, 0, 0, 0) 80%);
}
 
.b-post-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 820px;
    padding: 40px 48px 36px;
}
 
.b-blog-layout .b-post-hero__section {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 16px;
    color: var(--vrt-text);
    background: var(--vrt-white);
    border-radius: var(--vrt-r-pill);
    transition: background-color .15s;
}
.b-blog-layout .b-post-hero__section:hover { background: var(--vrt-yellow); }
 
.b-post-hero__title {
    margin: 0;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.12;
    color: inherit;
    text-wrap: balance;
    /* Страховка для светлых фото: заголовок читается даже на светлом низе кадра */
    text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}
 
.b-post-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.b-post-hero__meta li { display: inline-flex; align-items: center; gap: 7px; }
.b-post-hero__meta svg { opacity: .85; }

.b-post-hero__author { font-weight: 600; }
.b-post-hero__author img,
.b-post-hero__author span {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
}
.b-post-hero__author span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--vrt-ink);
    background: var(--vrt-yellow);
}
 
/* Лид под обложкой */
.b-post__lead {
    margin: 32px 0 32px;
    padding-bottom: 28px;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.55;
    color: #222;
    border-bottom: 1px solid var(--vrt-line-soft);
}
.b-post-hero + .b-toc-inline,
.b-post-hero + .b-post__body { margin-top: 32px; }

/* ── Текст ── */
.b-post__body {
   
    font-size: 17px;
    line-height: 1.7;
    color: #1a1a1a;
    overflow-wrap: break-word;
}
.b-post__body > :first-child { margin-top: 0; }
.b-post__body > :last-child  { margin-bottom: 0; }

.b-post__body h2,
.b-post__body h3 {
    font-weight: 600;
    color: var(--vrt-text);
    scroll-margin-top: calc(var(--blog-header-h, 0px) + 24px);
}
.b-post__body h2 { margin: 44px 0 16px; font-size: 28px; line-height: 1.25; }
.b-post__body h3 { margin: 32px 0 12px; font-size: 22px; line-height: 1.3; }
.b-post__body p  { margin: 0 0 18px; }
.b-post__body strong, .b-post__body b { font-weight: 700; }

.b-blog-layout .b-post__body a {
    color: var(--vrt-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.b-blog-layout .b-post__body a:hover { text-decoration-thickness: 2px; }

.b-post__body ul,
.b-post__body ol { margin: 0 0 20px; padding: 0; list-style: none; }
.b-post__body li { position: relative; margin-bottom: 8px; padding-left: 28px; }
.b-post__body ul > li::before {
    content: "";
    position: absolute;
    top: .7em;
    left: 8px;
    width: 8px;
    height: 8px;
    background: var(--vrt-yellow);
    border-radius: 50%;
}
.b-post__body ol { counter-reset: post-ol; }
.b-post__body ol > li { counter-increment: post-ol; }
.b-post__body ol > li::before {
    content: counter(post-ol) ".";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--vrt-blue);
}

.b-post__body blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    font-size: 18px;
    line-height: 1.55;
    background: var(--vrt-page);
    border-left: 4px solid var(--vrt-yellow);
    border-radius: 0 var(--vrt-r-card) var(--vrt-r-card) 0;
}
.b-post__body blockquote p:last-child { margin-bottom: 0; }

.b-post__body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--vrt-r-card);
}
.b-post__body figure { margin: 28px 0; }
.b-post__body figcaption { margin-top: 8px; font-size: 14px; color: var(--vrt-muted); }

.b-post__body table {
    display: block;
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    font-size: 15px;
    border-collapse: collapse;
}
.b-post__body th,
.b-post__body td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--vrt-line-soft);
}
.b-post__body th { font-weight: 600; background: var(--vrt-page); }

.b-post__body hr {
    height: 1px;
    margin: 36px 0;
    background: var(--vrt-line-soft);
    border: 0;
}
.b-post__body code {
    padding: 2px 6px;
    font-size: .9em;
    background: var(--vrt-page);
    border-radius: 4px;
}

/* ── Контекстная врезка внутри текста ── */
.b-post__body .b-cta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin: 36px 0;
    padding: 20px 24px;
    background: var(--vrt-tint-blue);
    border-radius: var(--vrt-r-card);
}
.b-cta-inline__text { flex: 1 1 320px; min-width: 0; }
.b-cta-inline__title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.b-cta-inline__lead { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: #40506b; }

.b-blog-layout .b-post__body .b-cta-inline__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--vrt-ink);
    text-decoration: none;
    background: var(--vrt-yellow);
    border-radius: var(--vrt-r-control);
    transition: background-color .15s;
}
.b-blog-layout .b-post__body .b-cta-inline__btn:hover { background: var(--vrt-yellow-hover); }

/* ── Подвал: автор + поделиться ── */
.b-post__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--vrt-line-soft);
}

.b-author { display: flex; align-items: center; gap: 14px; }
.b-author__photo {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
}
.b-post img,
.b-gallery img {
    max-width: 100%;
    height: auto;
}

.b-author__photo--logo {
    box-sizing: border-box;
    padding: 10px;
    object-fit: contain;
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
}

.b-post-hero__author img { object-fit: cover; }
.b-post-hero__author img[src*="publisher-logo"] { object-fit: contain; }

.b-author__photo--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--vrt-blue);
    background: var(--vrt-tint-blue);
}
.b-author__name { margin: 0 0 2px; font-size: 16px; font-weight: 600; }
.b-author__role { margin: 0; font-size: 14px; color: var(--vrt-muted); }
.b-blog-layout .b-author__name a { color: inherit; text-decoration: none; }
.b-blog-layout .b-author__name a:hover { color: var(--vrt-blue); }
.b-share { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.b-share__label { margin-right: 4px; font-size: 14px; color: var(--vrt-muted); }
.b-share__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font: inherit;
    color: var(--vrt-text);
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-control);
    cursor: pointer;
    transition: color .15s, border-color .15s, background-color .15s;
}
.b-blog-layout .b-share__btn:hover { color: var(--vrt-blue); border-color: var(--vrt-blue); }
.b-share__btn.is-copied { color: var(--vrt-white); background: var(--vrt-blue); border-color: var(--vrt-blue); }
.b-share__text { font-size: 13px; font-weight: 700; }
.b-share__toast {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
    color: var(--vrt-white);
    background: var(--vrt-text);
    border-radius: 6px;
    pointer-events: none;
}
.b-share__toast:empty { display: none; }

/* ── Оглавление ── */
.b-toc {
    padding: 20px 18px;
    background: var(--vrt-white, #fff);
    border-radius: var(--vrt-r-card, 10px);
}
.b-toc__title { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.b-toc__list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* Полоса слева: серая дорожка и синяя заливка по мере чтения */
.b-toc__list::before,
.b-toc__list::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    border-radius: 2px;
}
.b-toc__list::before { height: 100%; background: var(--vrt-line-soft); }
.b-toc__list::after {
    height: calc(var(--toc-progress, 0) * 100%);
    background: var(--vrt-blue);
    transition: height .35s cubic-bezier(.22, .61, .36, 1);
}

.b-toc__item { margin: 0; }
.b-toc__item a {
    display: block;
    padding: 7px 0 7px 14px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--vrt-muted);
    transition: color .15s;
}
.b-blog-layout .b-toc__item a:hover { color: var(--vrt-text); }
.b-blog-layout .b-toc__item a.is-active { font-weight: 600; color: var(--vrt-blue); }
.b-toc__item--h3 a { padding-left: 26px; font-size: 13px; }

/* Свёрнутое оглавление: видна часть пунктов */
.b-toc--collapsed .b-toc__item.is-hidden { display: none; }

.b-toc__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 0 0 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--vrt-blue);
    background: none;
    border: 0;
    cursor: pointer;
}
.b-toc__more:hover { text-decoration: underline; }
.b-toc__more:focus-visible { outline: 2px solid var(--vrt-blue); outline-offset: 2px; }
.b-toc__more::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .15s;
}
.b-toc:not(.b-toc--collapsed) .b-toc__more::after { transform: rotate(-135deg); }

.b-doc__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--vrt-line);
}
.b-doc__label { font-size: 14px; font-weight: 600; color: var(--vrt-muted); }
.b-doc__copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--vrt-text);
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-control);
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s, border-color .15s, background-color .15s;
}
.b-doc__copy:hover { color: var(--vrt-blue); border-color: var(--vrt-blue); }
.b-doc__copy.is-copied { color: var(--vrt-white); background: var(--vrt-blue); border-color: var(--vrt-blue); }
.b-doc__copy:focus-visible { outline: 2px solid var(--vrt-blue); outline-offset: 2px; }

.b-post__body .b-cta-inline__text { flex: 1 1 320px; min-width: 0; }
.b-post__body .b-cta-inline__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}
.b-post__body .b-cta-inline__lead {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.45;
    color: #40506b;
}

@media (max-width: 640px) {
        .b-post__body .b-cta-inline { padding: 18px 20px; }
    .b-blog-layout .b-post__body .b-cta-inline__btn { width: 100%; }
    .b-doc__bar { flex-wrap: wrap; }
}

/* ==========================================================
   Блок призыва к действию в статье
   ========================================================== */

.b-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    margin-top: 40px;
    padding: 28px;
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-left: 4px solid var(--vrt-blue);
    border-radius: var(--vrt-r-card);
}

/* Команда: лица и роли показывают, кто стоит за ответом */
.b-cta__team {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--vrt-line-soft);
}
/* Без фото строка про менеджера не должна висеть отдельной полосой */
.b-cta__team:not(:has(.b-cta__faces)) {
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: 0;
}
.b-cta__faces { display: flex; flex: 0 0 auto; }
.b-cta__faces img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    object-position: top center;
    background: var(--vrt-page);
    border: 2px solid var(--vrt-white);
    border-radius: 50%;
}
.b-cta__faces img + img { margin-left: -14px; }

.b-cta__team-title { margin: 0; font-size: 15px; font-weight: 600; }
.b-cta__team-roles { margin: 2px 0 0; font-size: 13px; line-height: 1.4; color: var(--vrt-muted); }

.b-cta__title {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
}
.b-cta__lead {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--vrt-muted);
}

.b-cta__facts {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.b-cta__facts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
}
.b-cta__facts svg { flex: 0 0 18px; margin-top: 1px; color: var(--vrt-blue); }

/* Правая колонка — отдельная светлая карточка, чтобы кнопка не висела в пустоте */
.b-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: start;
    gap: 10px;
    padding: 20px;
    background: var(--vrt-page);
    border-radius: var(--vrt-r-card);
}

.b-blog-layout .b-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px;
    font-size: 16px;
    font-weight: 500;
    color: var(--vrt-ink);
    background: var(--vrt-yellow);
    border-radius: var(--vrt-r-control);
    transition: background-color .15s;
}
.b-blog-layout .b-cta__btn:hover { background: var(--vrt-yellow-hover); }

.b-blog-layout .b-cta__phone {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: var(--vrt-text);
}
.b-blog-layout .b-cta__phone:hover { color: var(--vrt-blue); }

.b-blog-layout .b-cta__email {
    font-size: 14px;
    text-align: center;
    color: var(--vrt-blue);
}
.b-blog-layout .b-cta__email:hover { text-decoration: underline; }

.b-cta__messengers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.b-blog-layout .b-cta__msg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vrt-text);
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-control);
    transition: color .15s, border-color .15s;
}
.b-blog-layout .b-cta__msg:hover { color: var(--vrt-blue); border-color: var(--vrt-blue); }

.b-cta__note {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--vrt-muted);
}

/* Копия блока внутри текста статьи: сбрасываем типографику ссылок */
.b-post__body .b-cta { margin: 36px 0; }
.b-blog-layout .b-post__body .b-cta a { text-decoration: none; }
.b-blog-layout .b-post__body .b-cta__btn { color: var(--vrt-ink); }
.b-blog-layout .b-post__body .b-cta__phone { color: var(--vrt-text); }
.b-blog-layout .b-post__body .b-cta__msg { color: var(--vrt-text); }
.b-post__body .b-cta__facts li { margin: 0; padding: 0; }
.b-post__body .b-cta__facts li::before { display: none; }

@media (max-width: 900px) {
    .b-cta { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .b-cta__title { font-size: 19px; }
    .b-cta__note { text-align: center; }
}

@media (max-width: 640px) {
    .b-cta { padding: 20px; border-left-width: 3px; }
    .b-cta__actions { padding: 16px; }
    .b-cta__faces img { width: 42px; height: 42px; }
    .b-cta__faces img + img { margin-left: -12px; }
    .b-cta__team { gap: 12px; }
}

/* Оглавление внутри статьи (когда правая колонка ниже контента) */
.b-toc-inline {
    display: none;
    margin: 0 0 28px;
    padding: 14px 18px;
    background: var(--vrt-page);
    border-radius: var(--vrt-r-card);
}
.b-toc-inline summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.b-toc-inline summary::-webkit-details-marker { display: none; }
.b-toc-inline summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .15s;
}
.b-toc-inline[open] summary::after { transform: rotate(-135deg); }
.b-toc-inline .b-toc__list { margin-top: 12px; }

@media (max-width: 1360px) {
    .b-toc-inline { display: block; }
}

@media (max-width: 640px) {
    .b-post { padding: 24px 18px; }
    .b-post__title { font-size: 28px; }
    .b-post__lead { font-size: 16px; }
    .b-post__body { font-size: 16px; }
    .b-post__body h2 { font-size: 24px; margin-top: 36px; }
    .b-post__body h3 { font-size: 20px; }
    .b-post__cover { margin: 20px -18px 24px; }
    .b-post__cover img { border-radius: 0; }
    .b-share { margin-left: 0; }
    .b-author { gap: 14px; padding: 20px; }
}

@media (max-width: 640px) {
    .b-post { padding: 24px 18px; }
    .b-post-hero { min-height: 380px; margin: -24px -18px 0; }
    .b-post-hero--no-cover { min-height: 260px; }
    .b-post-hero__content { gap: 12px; padding: 24px 18px 22px; }
    .b-post-hero__title { font-size: 27px; }
    .b-post-hero__meta { gap: 6px 16px; font-size: 13px; }
    .b-post__lead { margin: 24px 0; padding-bottom: 20px; font-size: 17px; }
    .b-post__body { font-size: 16px; }
    .b-post__body h2 { font-size: 24px; margin-top: 36px; }
    .b-post__body h3 { font-size: 20px; }
    .b-share { margin-left: 0; }
}

/* Карточка автора */
.b-author {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding: 24px 28px;
    background: var(--vrt-page);
    border-radius: var(--vrt-r-card);
}
.b-author__photo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
}
.b-author__photo--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--vrt-blue);
    background: var(--vrt-tint-blue);
}
.b-author__label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--vrt-muted);
}
.b-author__name { margin: 0; font-size: 18px; font-weight: 600; }
.b-author__role { margin: 4px 0 0; font-size: 14px; color: var(--vrt-muted); }
.b-author__bio { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: #333; }

/* ==========================================================
   Файлы и рейтинг полезности — добавить в style.css шаблона blog-detail
   ========================================================== */

/* ── Прикреплённые файлы ── */
.b-files {
    margin-top: 40px;
}
.b-files__title {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--vrt-text);
}
.b-files__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.b-blog-layout .b-files__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: var(--vrt-text);
    text-decoration: none;
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-card);
    transition: border-color .15s, box-shadow .15s;
}
.b-blog-layout .b-files__item:hover {
    border-color: var(--vrt-blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}
.b-blog-layout .b-files__item:focus-visible {
    outline: 2px solid var(--vrt-blue);
    outline-offset: 2px;
}

/* Цветная плашка с расширением */
.b-files__ext {
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 56px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--vrt-white);
    background: var(--vrt-muted, #6b7280);
    border-radius: 6px;
}
.b-files__ext--pdf                                            { background: #e5484d; }
.b-files__ext--doc,  .b-files__ext--docx, .b-files__ext--rtf  { background: #2b6cd4; }
.b-files__ext--xls,  .b-files__ext--xlsx, .b-files__ext--csv  { background: #1f9d55; }
.b-files__ext--ppt,  .b-files__ext--pptx                      { background: #e8742f; }
.b-files__ext--zip,  .b-files__ext--rar,  .b-files__ext--7z   { background: #7c5cc4; }

.b-files__info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.b-files__name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.b-files__meta {
    font-size: 13px;
    color: var(--vrt-muted);
}
.b-files__dl {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--vrt-blue);
    background: var(--vrt-tint-blue);
    border-radius: var(--vrt-r-control);
}
.b-blog-layout .b-files__item:hover .b-files__dl {
    color: var(--vrt-white);
    background: var(--vrt-blue);
}

/* ── Рейтинг полезности ── */
.b-rate {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    margin-top: 40px;
    padding: 24px 28px;
    background: var(--vrt-tint-blue);
    border-radius: var(--vrt-r-card);
}
.b-rate__text { flex: 1 1 280px; min-width: 0; }
.b-rate__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--vrt-text);
}
.b-rate__stat {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #40506b;
}

.b-rate__stars {
    display: flex;
    gap: 4px;
}
.b-rate__star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #cfd6e3;
    background: none;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: color .12s, transform .12s;
}
.b-rate__star.is-filled { color: var(--vrt-yellow, #ffc700); }
.b-rate__star:not(:disabled):hover { transform: scale(1.12); }
.b-rate__star:focus-visible {
    outline: 2px solid var(--vrt-blue);
    outline-offset: 1px;
}
.b-rate__star:disabled { cursor: default; }

.b-rate.is-loading .b-rate__stars { opacity: .6; }
.b-rate.is-voted .b-rate__stat { font-weight: 600; color: var(--vrt-text); }

@media (prefers-reduced-motion: reduce) {
    .b-rate__star { transition: none; }
    .b-rate__star:not(:disabled):hover { transform: none; }
}

@media (max-width: 640px) {
    .b-files__item { gap: 12px; padding: 12px; }
    .b-files__ext { flex-basis: 40px; width: 40px; height: 48px; font-size: 11px; }
    .b-files__dl { width: 40px; padding: 0; justify-content: center; }
    .b-files__dl-text { display: none; }
    .b-rate { padding: 20px; }
    .b-rate__stars { width: 100%; justify-content: space-between; }
}

.b-author__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.b-blog-layout .b-author__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vrt-text);
    background: var(--vrt-white);
    border: 1px solid var(--vrt-line);
    border-radius: var(--vrt-r-pill);
    transition: color .15s, border-color .15s;
}
.b-author__link svg { flex: 0 0 16px; color: var(--vrt-muted); transition: color .15s; }
.b-blog-layout .b-author__link:hover { color: var(--vrt-blue); border-color: var(--vrt-blue); }

/* Фирменные цвета при наведении */
.b-author__link--vk-com:hover svg      { color: #0077FF; }
.b-author__link--t-me:hover svg        { color: #28AAE0; }
.b-author__link--dzen-ru:hover svg     { color: #000000; }
.b-author__link--youtube-com:hover svg { color: #FF0000; }
.b-author__link--rutube-ru:hover svg   { color: #14191F; }
.b-author__link--ok-ru:hover svg       { color: #EE8208; }
.b-author__link--habr-com:hover svg    { color: #65A3BE; }
.b-author__link--max-ru:hover svg { color: #6B4EFF; }
.b-author__link--vc-ru:hover svg { color: #FF4053; }
.b-author__link:hover svg              { color: var(--vrt-blue); }

.b-author-page__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.b-author-page__topics-label {
    margin: 18px 0 0;
    font-size: 13px;
    color: var(--vrt-muted);
}
.b-blog-layout--author .b-author-page__topics a {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vrt-blue);
    text-decoration: none;
    background: var(--vrt-tint-blue);
    border-radius: var(--vrt-r-pill);
    transition: background-color .15s, color .15s;
}
.b-blog-layout--author .b-author-page__topics a:hover {
    color: var(--vrt-white);
    background: var(--vrt-blue);
}


/* ── Частые вопросы ── */
.b-post__body .b-faq {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}
.b-faq__item {
    background: var(--vrt-page);
    border-radius: var(--vrt-r-card);
    overflow: hidden;
}
.b-faq__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    list-style: none;
    cursor: pointer;
}
.b-faq__summary::-webkit-details-marker { display: none; }
.b-faq__summary::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 8px;
    border-right: 2px solid var(--vrt-muted);
    border-bottom: 2px solid var(--vrt-muted);
    transform: rotate(45deg);
    transition: transform .15s, border-color .15s;
}
.b-faq__item[open] .b-faq__summary::after {
    transform: rotate(-135deg);
    border-color: var(--vrt-blue);
}
.b-faq__summary:hover .b-faq__question { color: var(--vrt-blue); }

.b-post__body .b-faq__question {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    transition: color .15s;
}
.b-post__body .b-faq__answer { padding: 0 20px 18px; }
.b-post__body .b-faq__answer > :last-child { margin-bottom: 0; }

@media (max-width: 640px) {
    .b-faq__summary { padding: 14px 16px; }
    .b-post__body .b-faq__question { font-size: 16px; }
    .b-post__body .b-faq__answer { padding: 0 16px 16px; }
}

.b-post-hero__rating svg { color: var(--vrt-yellow); opacity: 1; }
.b-blog-layout .b-post-hero__rating a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
    text-decoration: none;
}
.b-blog-layout .b-post-hero__rating a:hover { text-decoration: underline; }

.b-post__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--vrt-muted);
}
.b-post__stats li { display: inline-flex; align-items: center; gap: 7px; }
.b-post__stats li:last-child svg { color: var(--vrt-yellow); }
/* End */


/* Start:/local/templates/vrtorg/components/bitrix/news.list/blog-related/style.css?1790073433759*/
/* Похожие статьи — под текстом статьи */
.b-related { margin-top: 40px;margin-bottom: 40px; }

.b-related__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 20px;
}

.b-related__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.b-blog-layout .b-related__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--vrt-blue, #0066FF);
}
.b-blog-layout .b-related__all:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .b-related { margin-top: 32px; }
    .b-related__title { font-size: 24px; }
}

/* End */
/* /local/templates/vrtorg/components/bitrix/news/blog-posts/style.css?179119053634359 */
/* /local/templates/vrtorg/components/bitrix/news.detail/blog-detail/style.css?179023736830970 */
/* /local/templates/vrtorg/components/bitrix/news.list/blog-related/style.css?1790073433759 */
