

/* 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/system.pagenavigation/blog_pagination/style.css?17900737622234*/
/* Пагинация блога ВРТ */
.b-pager {
    --pg-blue: var(--vrt-blue, #0066FF);
    --pg-white: var(--vrt-white, #FFFFFF);
    --pg-text: var(--vrt-text, #000000);
    --pg-muted: var(--vrt-muted, #666666);
    --pg-line: var(--vrt-line, #D5D5D5);
    --pg-page: var(--vrt-page, #F7F7F7);
    --pg-r: var(--vrt-r-control, 8px);
    --pg-size: 45px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Gilroy", Arial, sans-serif;
}

.b-pager__list {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.b-pager__page,
.b-pager__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--pg-size);
    height: var(--pg-size);
    padding: 0 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: var(--pg-text);
    text-decoration: none;
    background: var(--pg-white);
    border-radius: var(--pg-r);
    transition: background-color .15s, color .15s, border-color .15s;
}

a.b-pager__page:hover { color: var(--pg-blue); }

.b-pager__page.is-active {
    color: var(--pg-white);
    background: var(--pg-blue);
    cursor: default;
}

.b-pager__arrow {
    width: var(--pg-size);
    padding: 0;
    border: 1px solid var(--pg-line);
}
a.b-pager__arrow:hover {
    color: var(--pg-blue);
    border-color: var(--pg-blue);
}
.b-pager__arrow.is-disabled {
    color: var(--pg-line);
    background: transparent;
    cursor: default;
}

.b-pager__page:focus-visible,
.b-pager__arrow:focus-visible {
    outline: 2px solid var(--pg-blue);
    outline-offset: 2px;
}

.b-pager__gap {
    min-width: 20px;
    font-size: 16px;
    text-align: center;
    color: var(--pg-muted);
}

.b-pager__mobile {
    display: none;
    margin: 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--pg-text);
}

/* На узких экранах — только «3 из 12» и стрелки */
@media (max-width: 480px) {
    .b-pager { --pg-size: 42px; }
    .b-pager__list { display: none; }
    .b-pager__mobile { display: block; }
}

@media (prefers-reduced-motion: reduce) {
    .b-pager * { transition: none !important; }
}

/* End */
/* /local/templates/vrtorg/components/bitrix/news/blog-posts/style.css?179119053634359 */
/* /local/templates/vrtorg/components/bitrix/system.pagenavigation/blog_pagination/style.css?17900737622234 */
