/**
 * Раздел новостей: общая схема с PM / Base Cart (pm-mission-prototype-lk.css + pmReco*).
 * Подключать после pm-mission-prototype-lk.css.
 */

.bhNewsPage {
    --bh-news-accent: #fe9900;
    --bh-news-border: rgba(255, 255, 255, 0.1);
    --bh-news-panel: linear-gradient(180deg, rgba(21, 34, 56, 0.95) 0%, rgba(15, 24, 40, 0.98) 100%);
    /* Тулбар: единая геометрия и поверхности */
    --bh-toolbar-radius: 16px;
    --bh-toolbar-pad-x: clamp(14px, 3.2vw, 22px);
    --bh-toolbar-pad-y: 18px;
    --bh-toolbar-edge: rgba(255, 255, 255, 0.08);
    --bh-toolbar-surface: rgba(10, 16, 24, 0.55);
    --bh-toolbar-surface-2: linear-gradient(165deg, rgba(22, 32, 48, 0.92) 0%, rgba(10, 14, 22, 0.88) 100%);
    --bh-toolbar-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 12px 36px rgba(0, 0, 0, 0.28);
    --bh-toolbar-muted: rgba(255, 255, 255, 0.4);
    /* Карточки списка новостей */
    --bh-card-radius: 14px;
    --bh-card-border: rgba(255, 255, 255, 0.1);
    --bh-card-surface: linear-gradient(165deg, rgba(22, 32, 46, 0.88) 0%, rgba(8, 12, 18, 0.95) 100%);
    /* Превью в списке: ~350×140 → ширина к высоте 2.5:1 (ниже, чем 16:9). На мобиле — 16/9. */
    --bh-card-media-aspect: 350 / 140;
}

.bhNewsPage .container {
    width: 100%;
    max-width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.bhNewsPage .subscribe input {
    display: none;
}

.bhNewsPage .subscribe {
    display: inline-flex;
}

/* Фильтр: выпадающая панель как продолжение карточки тулбара */
.bhNewsPage .articles-filter.bhNewsFilter {
    position: relative;
    z-index: 8;
    margin-bottom: 22px;
}

/* Закрыто: одна цельная карточка с полным скруглением */
.bhNewsPage .articles-filter:not(.bhNewsFilter--open) .articles-tabs.bhNewsToolbar {
    border-radius: var(--bh-toolbar-radius);
}

/* Открыто: верхняя часть единого блока */
.bhNewsPage .articles-filter.bhNewsFilter--open .articles-tabs.bhNewsToolbar {
    border-radius: var(--bh-toolbar-radius) var(--bh-toolbar-radius) 0 0;
    border-bottom-color: transparent;
    box-shadow: none;
}

.bhNewsPage .articles-content.bhNewsFilter__panel {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    margin-top: -1px;
    padding: 0 0 2px;
    border-radius: 0 0 var(--bh-toolbar-radius) var(--bh-toolbar-radius);
    border: 1px solid var(--bh-news-border);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(14, 22, 34, 0.97) 0%, rgba(8, 12, 18, 0.99) 100%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
    z-index: 5;
    overflow: hidden;
}

.bhNewsPage .bhNewsFilter__panelInner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 24px;
    padding: 18px 20px 20px;
    align-items: start;
}

/* Плавность только за счёт jQuery slideDown/slideUp; отдельная CSS-анимация на inner давала второй слой движения и «подпрыгивание». */

.bhNewsPage .articles-content aside {
    margin: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bhNewsPage .articles-content aside > div {
    position: relative;
    margin: 0;
}

/* Скрытие radio без артефактов (синяя точка / обводка браузера) */
.bhNewsPage .articles-content aside div input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
}

.bhNewsPage .articles-content aside div label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    margin: 0;
    padding: 11px 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.35;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Индикатор выбора справа (без label.svg — там синий круг, наезжал на короткие подписи) */
.bhNewsPage .articles-content aside div label::after {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-sizing: border-box;
    background: transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.bhNewsPage .articles-content aside div label:hover {
    border-color: rgba(254, 153, 0, 0.35);
    background: rgba(254, 153, 0, 0.06);
}

.bhNewsPage .articles-content aside div input[type="radio"]:checked + label {
    font-weight: 800;
    color: #fff;
    border-color: rgba(254, 153, 0, 0.55);
    background: rgba(254, 153, 0, 0.14);
    box-shadow: inset 3px 0 0 0 var(--bh-news-accent);
}

.bhNewsPage .articles-content aside div input[type="radio"]:checked + label::after {
    border-color: var(--bh-news-accent);
    background-color: var(--bh-news-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23111b29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1.5 5.2l3 2.8 6.2-6.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 9px;
}

.bhNewsPage .articles-content aside div input:focus-visible + label {
    outline: 2px solid rgba(254, 153, 0, 0.65);
    outline-offset: 2px;
}

/* Список: сетка PM + видимость вкладок */
.bhNewsPage .articles-list {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Важно: не использовать display:flex на .articles-list — ломает сетку карточек (см. pmRecoGrid). */
.bhNewsPage .articles-list.active {
    display: grid !important;
    opacity: 1;
    visibility: visible;
}

/* Если ни один ul не получил .active (ошибка JS / кеш), не оставляем всю ленту с display:none — показываем «все новости». */
@supports selector(:has(*)) {
    .bhNewsPage #bhNewsArticlesRegion:not(:has(ul.articles-list.active)) ul.articles-list-all {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Выше специфичность, чем у типичного inline `.articles-list.active { display:flex !important }` из старого шаблона. */
.pmMissionProtoPage.bhNewsPage ul.articles-list.pmRecoGrid.active {
    display: grid !important;
}

.bhNewsPage ul.articles-list.pmRecoGrid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    gap: clamp(16px, 2.2vw, 22px);
}

/* Список новостей: 3 карточки в ряд (в pm-mission-prototype-lk.css для .pmRecoGrid по умолчанию 4 с 960px) */
@media (min-width: 960px) {
    .bhNewsPage ul.articles-list.pmRecoGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bhNewsPage .articles-list.pmRecoGrid > li {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    cursor: default;
    /* Иначе grid/flex не сжимает колонку под ширину ячейки — картинки «выпирают» */
    min-width: 0;
}

.bhNewsPage .articles-list.pmRecoGrid > li.articles_item:hover {
    box-shadow: none;
}

/* Карточка новости: единый блок, превью сверху, контент и мета */
.bhNewsPage .bhNewsCard.pmRecoCard {
    display: flex;
    min-width: 0;
    height: 100%;
}

.bhNewsPage .bhNewsCard__link.pmRecoCard__link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: var(--bh-card-radius);
    border: 1px solid var(--bh-card-border);
    background: var(--bh-card-surface);
    background-color: rgba(10, 15, 22, 0.92);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 14px 36px rgba(0, 0, 0, 0.32);
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.22s ease;
}

.bhNewsPage .bhNewsCard__link.pmRecoCard__link:hover {
    border-color: rgba(254, 153, 0, 0.32);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 18px 44px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.bhNewsPage .bhNewsCard__link.pmRecoCard__link:focus-visible {
    outline: none;
    border-color: rgba(254, 153, 0, 0.5);
    box-shadow: 0 0 0 2px rgba(254, 153, 0, 0.35);
}

.bhNewsPage .bhNewsCard__media {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: calc(var(--bh-card-radius) - 1px) calc(var(--bh-card-radius) - 1px) 0 0;
    overflow: hidden;
    aspect-ratio: var(--bh-card-media-aspect);
    background: rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.bhNewsPage .bhNewsCard__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 45%, rgba(5, 8, 12, 0.55) 100%);
    opacity: 0.85;
}

.bhNewsPage .bhNewsCard__link:hover .bhNewsCard__media::after {
    opacity: 1;
    background: linear-gradient(180deg, transparent 35%, rgba(5, 8, 12, 0.65) 100%);
}

.bhNewsPage .bhNewsCard__media img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 0.38s ease;
}

.bhNewsPage .bhNewsCard__link:hover .bhNewsCard__media img {
    transform: scale(1.045);
}

.bhNewsPage .bhNewsCard__link .pmRecoCard__title {
    margin: 0;
    padding: 16px 18px 0;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.96);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.bhNewsPage .bhNewsCard__link .pmRecoCard__desc {
    margin: 0;
    padding: 10px 18px 14px;
    flex: 1 1 auto;
    /* Минимум под 4 строки превью (десктоп); на мобиле — 2 строки */
    min-height: calc(1.5em * 4);
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.52);
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.bhNewsPage .bhNewsCard__meta {
    margin-top: auto;
    padding: 12px 16px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 14px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.2);
}

.bhNewsPage .bhNewsCard__game {
    font-size: 1rem;
    font-weight: 800;
    color: rgba(254, 153, 0, 0.9);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.25;
    max-width: 48%;
}

.bhNewsPage .bhNewsCard__game:empty {
    display: none;
}

.bhNewsPage .bhNewsCard__stats {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    gap: 8px 12px;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.48);
}

.bhNewsPage .bhNewsCard__stats li {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    flex: 0 0 auto !important;
}

.bhNewsPage .bhNewsCard__stats img {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    margin: 0 !important;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.75;
}

.bhNewsPage .bhNewsCard__date {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
    .bhNewsPage .bhNewsCard__link.pmRecoCard__link,
    .bhNewsPage .bhNewsCard__media img {
        transition: none;
    }

    .bhNewsPage .bhNewsCard__link:hover {
        transform: none;
    }

    .bhNewsPage .bhNewsCard__link:hover .bhNewsCard__media img {
        transform: none;
    }
}

/* Заголовок страницы */
.bhNewsPage .page-title {
    position: relative;
    margin: 0 0 28px;
    padding-left: 100px;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: var(--bh-font-sans, system-ui, sans-serif);
}

.bhNewsPage .page-title::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 72px;
    height: 5px;
    background: var(--bh-news-accent);
    border-radius: 100px;
}

/* Same top inset as news detail (.single_page { padding-top: 32px }) */
.pmMissionProtoPage.bhNewsPage.articles_page {
    padding: 32px 0 48px;
}

/* Панель: игры + поиск — спокойная карточка, минимальный шум */
.bhNewsPage .articles-tabs.bhNewsToolbar {
    position: relative;
    z-index: 6;
    margin-bottom: 0;
    padding: 0;
    border: 1px solid var(--bh-toolbar-edge);
    border-radius: var(--bh-toolbar-radius);
    background: var(--bh-toolbar-surface-2);
    background-color: var(--bh-toolbar-surface);
    box-shadow: var(--bh-toolbar-shadow);
}

@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
    .bhNewsPage .articles-tabs.bhNewsToolbar {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

.bhNewsPage .bhNewsToolbar__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--bh-toolbar-pad-y) var(--bh-toolbar-pad-x);
}

/* Скрытая подпись поля поиска (видна скринридерам) */
.bhNewsPage .bhNewsToolbar__visuallyHidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bhNewsPage .bhNewsToolbar__games {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    width: 100%;
}

.bhNewsPage .bhNewsToolbar__head {
    margin: 0;
    padding: 0 2px;
}

.bhNewsPage .bhNewsToolbar__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bhNewsPage .bhNewsToolbar__eyebrow {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bh-toolbar-muted);
    font-family: var(--bh-font-sans, system-ui, sans-serif);
    line-height: 1.35;
}

/* «Темы и типы»: нейтральный контур, акцент только при открытии / hover */
.bhNewsPage span.category.bhNewsToolbar__topicBtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 16px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.32rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: none;
    cursor: pointer;
    font-family: var(--bh-font-sans, system-ui, sans-serif);
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.bhNewsPage span.category.bhNewsToolbar__topicBtn::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.45);
    transition: transform 0.2s ease, border-top-color 0.18s ease;
}

.bhNewsPage span.category.bhNewsToolbar__topicBtn:hover,
.bhNewsPage span.category.bhNewsToolbar__topicBtn:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
    outline: none;
}

.bhNewsPage span.category.bhNewsToolbar__topicBtn:focus-visible {
    box-shadow: 0 0 0 2px rgba(254, 153, 0, 0.35);
}

.bhNewsPage .articles-filter.bhNewsFilter--open span.category.bhNewsToolbar__topicBtn {
    border-color: rgba(254, 153, 0, 0.42);
    background: rgba(254, 153, 0, 0.1);
    color: rgba(255, 250, 240, 0.98);
}

.bhNewsPage .articles-filter.bhNewsFilter--open span.category.bhNewsToolbar__topicBtn::after {
    border-top-color: rgba(254, 153, 0, 0.85);
    transform: rotate(180deg);
}

.bhNewsPage .bhNewsToolbar__chipTrack {
    min-width: 0;
    margin: 0 -6px;
    padding: 6px 6px 4px;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 10px,
        #000 calc(100% - 10px),
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 10px,
        #000 calc(100% - 10px),
        transparent 100%
    );
}

/* Десктоп: горизонтальный ряд иконок (как было). Сетка 4 — только ≤768px. */
.bhNewsPage ul.bhNewsToolbar__chips {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 2px 0 6px;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(254, 153, 0, 0.35) rgba(255, 255, 255, 0.04);
}

.bhNewsPage ul.bhNewsToolbar__chips::-webkit-scrollbar {
    height: 5px;
}

.bhNewsPage ul.bhNewsToolbar__chips::-webkit-scrollbar-thumb {
    background: rgba(254, 153, 0, 0.28);
    border-radius: 999px;
}

.bhNewsPage ul.bhNewsToolbar__chips::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.bhNewsPage .bhNewsToolbar__chip {
    flex: 0 0 auto;
    margin: 0;
    scroll-snap-align: start;
}

.bhNewsPage .bhNewsToolbar__chip a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.bhNewsPage .bhNewsToolbar__chip a:hover {
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 20px rgba(0, 0, 0, 0.25);
}

.bhNewsPage .bhNewsToolbar__chip.active a {
    border-color: rgba(254, 153, 0, 0.55);
    box-shadow:
        0 0 0 1px rgba(254, 153, 0, 0.45),
        0 10px 26px rgba(0, 0, 0, 0.32);
}

.bhNewsPage .bhNewsToolbar__chip a:focus-visible {
    outline: 2px solid rgba(254, 153, 0, 0.55);
    outline-offset: 3px;
}

.bhNewsPage .bhNewsToolbar__chip img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Подписи к играм — только мобильная сетка */
.bhNewsPage .bhNewsToolbar__chipLabel {
    display: none;
}

.bhNewsPage .bhNewsToolbar__footer .bhNewsToolbar__search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: min(100%, 260px);
    max-width: 400px;
    margin-left: auto;
}

.bhNewsPage .bhNewsToolbar__footer .bhNewsToolbar__searchForm {
    position: relative;
    display: flex;
    width: 100%;
    align-items: stretch;
    gap: 0;
}

/* В шаблоне поле — type="search"; отдельно стилизовали только text — поэтому выглядело как белый дефолт и рвалось с кнопкой */
.bhNewsPage .bhNewsToolbar__searchForm input[type="text"],
.bhNewsPage .bhNewsToolbar__searchForm input[type="search"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 11px 46px 11px 14px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.38rem;
    font-weight: 500;
    line-height: 1.35;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--bh-font-sans, system-ui, sans-serif);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.bhNewsPage .bhNewsToolbar__searchForm input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.bhNewsPage .bhNewsToolbar__searchForm input[type="text"]::placeholder,
.bhNewsPage .bhNewsToolbar__searchForm input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.bhNewsPage .bhNewsToolbar__searchForm input[type="text"]:focus,
.bhNewsPage .bhNewsToolbar__searchForm input[type="search"]:focus {
    outline: none;
    border-color: rgba(254, 153, 0, 0.4);
    box-shadow: 0 0 0 1px rgba(254, 153, 0, 0.22);
}

.bhNewsPage .bhNewsToolbar__searchForm input[type="submit"] {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.07) url("/news-img/search.svg") center/18px 18px no-repeat;
    border: none;
    box-shadow: none;
    font-size: 0;
    color: transparent;
    cursor: pointer;
    overflow: hidden;
    transition:
        background-color 0.18s ease,
        background-image 0.18s ease;
}

.bhNewsPage .bhNewsToolbar__searchForm input[type="submit"]:hover {
    background-color: rgba(255, 255, 255, 0.12);
    background-image: url("/news-img/searchhover.svg");
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
}

@media (prefers-reduced-motion: reduce) {
    .bhNewsPage .bhNewsToolbar__chip a,
    .bhNewsPage span.category.bhNewsToolbar__topicBtn,
    .bhNewsPage span.category.bhNewsToolbar__topicBtn::after {
        transition: none;
    }
}

/* Fallback: старая вложенность без bhNewsToolbar__* */
.bhNewsPage .articles-tabs .left ul:not(.bhNewsToolbar__chips) {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

/* Блок «все новости» + подписка */
.bhNewsPage .articles-info {
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 20px;
}

.bhNewsPage .articles-info span:first-child {
    padding-right: 12px;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.bhNewsPage .articles-info a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.45rem;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.bhNewsPage .articles-info a:hover {
    color: var(--bh-news-accent);
}

/* Детальная статья */
.bhNewsDetail.pmMissionProtoPage .single_page {
    padding-top: 32px;
    padding-bottom: 48px;
    overflow: visible;
}

.bhNewsDetail.pmMissionProtoPage .page_wrap {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 24px;
    overflow: visible;
}

.bhNewsDetail.pmMissionProtoPage .page_wrap .left-sidebar {
    width: 280px;
    position: absolute;
    left: -300px;
    top: 0;
    z-index: 10;
    transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bhNewsDetail.pmMissionProtoPage .page_wrap .left {
    width: calc(100% - 400px);
    min-width: 0;
}

.bhNewsDetail.pmMissionProtoPage .head .page-title {
    font-size: clamp(2.4rem, 4vw, 3.6rem) !important;
    line-height: 1.2 !important;
    margin: 16px 0 !important;
    padding-left: 70px !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .bhNewsPage .bhNewsToolbar__inner {
        padding: 14px 14px 14px;
    }

    .bhNewsPage .bhNewsToolbar__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .bhNewsPage .bhNewsToolbar__footer .bhNewsToolbar__search {
        max-width: none;
        margin-left: 0;
        min-width: 0;
    }

    .bhNewsPage span.category.bhNewsToolbar__topicBtn {
        justify-content: center;
        width: 100%;
    }

    .bhNewsPage .articles-content.bhNewsFilter__panel {
        top: 100%;
        margin-top: -1px;
    }

    .bhNewsPage .bhNewsFilter__panelInner {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 14px 16px;
    }

    .bhNewsPage .articles-content aside {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .bhNewsPage .page-title {
        padding-left: 54px;
        font-size: 2rem;
    }

    .bhNewsPage .page-title::before {
        top: 0.5em;
        width: 44px;
        height: 3px;
    }

    .bhNewsPage .articles-info span:first-child {
        font-size: 1.7rem;
    }

    .bhNewsPage .container {
        padding: 0 20px;
    }
}

/* Уточнения чипов игр ≤600 / ≤450 — только вместе с мобильной сеткой (см. Mobile UX ≤768) */
@media (max-width: 600px) {
    .bhNewsPage ul.bhNewsToolbar__chips {
        gap: 8px;
    }

    .bhNewsPage .bhNewsToolbar__chip a {
        border-radius: 12px;
    }

    .bhNewsPage .bhNewsToolbar__chipLabel {
        font-size: 0.92rem;
    }
}

@media (max-width: 450px) {
    .bhNewsPage .bhNewsToolbar__eyebrow {
        font-size: 1rem;
    }

    .bhNewsPage span.category.bhNewsToolbar__topicBtn {
        font-size: 1.2rem;
        padding: 7px 12px;
    }

    .bhNewsPage .bhNewsToolbar__chip a {
        border-radius: 11px;
        gap: 4px;
    }

    .bhNewsPage .bhNewsToolbar__chipLabel {
        font-size: 0.85rem;
    }
}

/*
 * Защита от позднего inline-<style> в шаблоне (display:flex на .articles-list ломает pmRecoGrid).
 * Максимальная специфичность + порядок в объединённом CSS после правок шаблона.
 */
html body .pmMissionProtoPage.bhNewsPage.articles_page ul.articles-list.pmRecoGrid.active {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
}

/* News detail redesign */
.bhNewsDetail .page_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: clamp(24px, 3vw, 36px);
    /* Левый промо-сайдбар position:absolute — не обрезать низ карточек / CTA */
    overflow: visible;
}

.bhNewsDetail .single_page,
.bhNewsDetail .container {
    overflow: visible;
}

.bhNewsDetail .bhNewsDetail__main {
    flex: 1 1 auto;
    min-width: 0;
    width: calc(100% - 401px);
}

.bhNewsDetail .bhNewsDetail__aside {
    width: 365px;
    flex: 0 0 365px;
    min-width: 0;
}

.bhNewsDetail .bhNewsDetailHero {
    width: 100%;
    flex: 0 0 100%;
}

/*
 * Как на карточке каталога PM (pm-mission-prototype-lk.css): в шапке всегда есть bitrix:breadcrumb (.bx_breadcrumb),
 * а «живые» крошки рисуются в контенте. Селектор .bhNewsDetail .bx_breadcrumb не работает — блок в header вне .bhNewsDetail.
 */
body:has(.bhNewsDetail) .bx_breadcrumb,
body:has(.bhNewsPage) .bx_breadcrumb {
    display: none !important;
}

/* Крошки: те же классы, что на PM-карточке каталога (.pmPageBreadcrumb в pm-mission-prototype-lk.css) */
/*
 * /news/styles.css: a, a:visited { color: #1d77c2 } — перебивает одну .pmPageBreadcrumb__link по специфичности.
 * Явно задаём палитру как на карточке ЛБЗ в каталоге (оранжевые ссылки).
 */
.bhNewsDetail .pmPageBreadcrumb a.pmPageBreadcrumb__link:link,
.bhNewsDetail .pmPageBreadcrumb a.pmPageBreadcrumb__link:visited,
.bhNewsDetail .pmPageBreadcrumb a.pmPageBreadcrumb__link:active,
.bhNewsPage .pmPageBreadcrumb a.pmPageBreadcrumb__link:link,
.bhNewsPage .pmPageBreadcrumb a.pmPageBreadcrumb__link:visited,
.bhNewsPage .pmPageBreadcrumb a.pmPageBreadcrumb__link:active {
    color: rgba(254, 153, 0, 0.92);
    text-decoration: none;
}

.bhNewsDetail .pmPageBreadcrumb a.pmPageBreadcrumb__link:hover,
.bhNewsPage .pmPageBreadcrumb a.pmPageBreadcrumb__link:hover {
    color: #ffffff;
}

/* List hero: same breadcrumb → title rhythm as detail / catalog */
.bhNewsPage .pmPageBreadcrumb {
    margin: 0 0 18px;
}

.bhNewsDetail .bhNewsDetailHero__panel {
    display: block;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(254, 153, 0, 0.14), transparent 30%),
        linear-gradient(165deg, rgba(19, 30, 47, 0.96) 0%, rgba(10, 15, 24, 0.98) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 18px 44px rgba(0, 0, 0, 0.28);
}

.bhNewsDetail .bhNewsDetailHero__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bhNewsDetail .bhNewsDetailHero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.bhNewsDetail .bhNewsDetailHero__chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.bhNewsDetail .bhNewsDetailHero__chip--game {
    border-color: rgba(254, 153, 0, 0.28);
    background: rgba(254, 153, 0, 0.12);
    color: rgba(255, 245, 230, 0.96);
}

.bhNewsDetail .bhNewsDetailHero__title.page-title {
    margin-bottom: 18px;
}

.bhNewsDetail .bhNewsDetailHero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.bhNewsDetail .bhNewsDetailHero__meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.bhNewsDetail .bhNewsDetailHero__meta img {
    flex-shrink: 0;
    opacity: 0.8;
}

.bhNewsDetail .bhNewsDetailHero__metaIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.78);
}

.bhNewsDetail .bhNewsDetailHero__metaIcon svg {
    display: block;
    width: 16px;
    height: 16px;
    opacity: 0.88;
}

.bhNewsDetail .bhNewsDetailArticle {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(16, 24, 38, 0.97) 0%, rgba(8, 13, 20, 0.99) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 18px 40px rgba(0, 0, 0, 0.24);
}

.bhNewsDetail .bhNewsDetailArticle > *:first-child {
    margin-top: 0;
}

.bhNewsDetail .bhNewsDetailArticle > *:last-child {
    margin-bottom: 0;
}

.bhNewsDetail .bhNewsDetailArticle p,
.bhNewsDetail .bhNewsDetailArticle li {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.7rem;
    line-height: 1.7;
}

.bhNewsDetail .bhNewsDetailArticle p {
    margin: 0 0 1.2em;
}

.bhNewsDetail .bhNewsDetailArticle h2,
.bhNewsDetail .bhNewsDetailArticle h3,
.bhNewsDetail .bhNewsDetailArticle h4 {
    margin: 1.4em 0 0.7em;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.bhNewsDetail .bhNewsDetailArticle h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.bhNewsDetail .bhNewsDetailArticle h3 {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
}

.bhNewsDetail .bhNewsDetailArticle h4 {
    font-size: clamp(1.55rem, 2vw, 2rem);
}

/*
 * Списки в теле статьи: в main.css для `.content ul` / `.content ol` заданы list-style: none
 * и декоративные ::after / ::before — без явного сброса маркеры «пропадают», если #article-content внутри .content.
 */
.bhNewsDetail .bhNewsDetailArticle ul,
.bhNewsDetail .bhNewsDetailArticle ol {
    margin: 0.5em 0 1.35em;
    padding-left: 1.35em;
    padding-inline-start: 1.35em;
    list-style-position: outside;
}

.bhNewsDetail .bhNewsDetailArticle ul {
    list-style-type: disc;
    overflow: visible;
}

.bhNewsDetail .bhNewsDetailArticle ol {
    list-style-type: decimal;
    counter-reset: none;
}

.bhNewsDetail .bhNewsDetailArticle ul ul {
    list-style-type: circle;
    margin-top: 0.35em;
    margin-bottom: 0.35em;
}

.bhNewsDetail .bhNewsDetailArticle ul ul ul {
    list-style-type: square;
}

.bhNewsDetail .bhNewsDetailArticle ul li,
.bhNewsDetail .bhNewsDetailArticle ol li {
    display: list-item;
    list-style-type: inherit;
    overflow: visible;
    padding-left: 0.2em;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.bhNewsDetail .bhNewsDetailArticle ul li::after,
.bhNewsDetail .bhNewsDetailArticle ol li::before {
    content: none !important;
    display: none !important;
}

.bhNewsDetail .bhNewsDetailArticle img,
.bhNewsDetail .bhNewsDetailArticle iframe {
    max-width: 100%;
}

/*
 * Картинки в теле статьи: чуть «карточнее», без ломки мелких inline-иконок внутри текста.
 * Блоковые: прямой потомок .bhNewsDetailArticle или единственный <img> в <p> (частый вывод DETAIL_TEXT).
 */
.bhNewsDetail .bhNewsDetailArticle > img,
.bhNewsDetail .bhNewsDetailArticle p > img:only-child,
.bhNewsDetail .bhNewsDetailArticle a > img:only-child {
    display: block;
    height: auto;
    margin: 1.65em auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 22px 48px rgba(0, 0, 0, 0.38);
    background: rgba(0, 0, 0, 0.22);
}

/* LCP cover: reserve space from real width/height attrs (or --bh-cover-ar); no fixed 1022/360 */
.bhNewsDetail .bhNewsDetailArticle > img.bhNewsDetailArticle__cover,
.bhNewsDetail .bhNewsDetailArticle img.bhNewsDetailArticle__cover {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: var(--bh-cover-ar, auto);
    object-fit: cover;
    margin-top: 0;
}

.bhNewsDetail .bhNewsDetailArticle img {
    display: block;
    height: auto;
    border-radius: 14px;
}

/* Явная семантика из редактора: картинка + подпись */
.bhNewsDetail .bhNewsDetailArticle figure {
    margin: 1.65em 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 22px 48px rgba(0, 0, 0, 0.38);
    background: rgba(0, 0, 0, 0.18);
}

.bhNewsDetail .bhNewsDetailArticle figure img {
    margin: 0;
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.bhNewsDetail .bhNewsDetailArticle figcaption {
    margin: 0;
    padding: 12px 16px 14px;
    font-size: 1.35rem;
    line-height: 1.45;
    font-weight: 500;
    /* normal — иначе браузер тянет InterVariable-Italic (~120KB) ради подписи */
    font-style: normal;
    color: rgba(255, 255, 255, 0.52);
    background: linear-gradient(180deg, rgba(12, 18, 28, 0.55) 0%, rgba(8, 12, 20, 0.75) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* News shell: не запрашивать italic face (main.css @font-face InterVariable-Italic). */
.bhNewsPage,
.bhNewsDetail {
    font-synthesis: none;
}
.bhNewsPage em,
.bhNewsPage i:not([class]),
.bhNewsDetail em,
.bhNewsDetail i:not([class]),
.bhNewsDetail .bhNewsDetailArticle em,
.bhNewsDetail .bhNewsDetailArticle i:not([class]) {
    font-style: normal;
}

@media (prefers-reduced-motion: no-preference) {
    .bhNewsDetail .bhNewsDetailArticle > img,
    .bhNewsDetail .bhNewsDetailArticle p > img:only-child,
    .bhNewsDetail .bhNewsDetailArticle a > img:only-child,
    .bhNewsDetail .bhNewsDetailArticle figure img {
        transition: box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .bhNewsDetail .bhNewsDetailArticle a:hover > img:only-child {
        border-color: rgba(254, 153, 0, 0.35);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.06) inset,
            0 26px 56px rgba(0, 0, 0, 0.42),
            0 0 0 1px rgba(254, 153, 0, 0.12);
    }
}

/*
 * Таблицы в детальной новости: main.css даёт #article-content светлые строки (#fff / #eef1f6) —
 * на тёмной карточке .bhNewsDetailArticle выглядит чужеродно. Перебиваем с большей специфичностью.
 */
.bhNewsDetail #article-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bhNewsDetail #article-content table {
    max-width: 100%;
    width: 100%;
    margin: 1.15em 0 1.6em;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    font-size: 1.45rem;
    line-height: 1.45;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 14, 22, 0.96);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 18px 44px rgba(0, 0, 0, 0.35);
}

.bhNewsDetail #article-content caption {
    caption-side: top;
    text-align: left;
    padding: 0 6px 12px;
    font-size: 1.45rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
}

.bhNewsDetail #article-content td,
.bhNewsDetail #article-content th {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    vertical-align: top;
    color: rgba(255, 255, 255, 0.9);
    font-variant-numeric: tabular-nums;
}

.bhNewsDetail #article-content table thead tr,
.bhNewsDetail #article-content table:not(:has(thead)) > tbody > tr:first-child,
.bhNewsDetail #article-content table.bh-table--no-thead > tbody > tr:first-child {
    background: linear-gradient(180deg, rgba(254, 153, 0, 0.96) 0%, rgba(220, 125, 0, 0.94) 100%);
    color: #0a1018;
    font-weight: 800;
    line-height: 1.25;
}

.bhNewsDetail #article-content table thead tr td,
.bhNewsDetail #article-content table thead tr th,
.bhNewsDetail #article-content table:not(:has(thead)) > tbody > tr:first-child > td,
.bhNewsDetail #article-content table:not(:has(thead)) > tbody > tr:first-child > th,
.bhNewsDetail #article-content table.bh-table--no-thead > tbody > tr:first-child > td,
.bhNewsDetail #article-content table.bh-table--no-thead > tbody > tr:first-child > th {
    color: #0a1018;
    border-color: rgba(10, 16, 24, 0.12);
}

.bhNewsDetail #article-content table tbody tr {
    background: rgba(18, 26, 40, 0.94);
    color: rgba(255, 255, 255, 0.9);
    transition: background-color 0.18s ease;
}

.bhNewsDetail #article-content table thead + tbody tr:nth-child(even),
.bhNewsDetail #article-content table:not(:has(thead)) > tbody > tr:nth-child(even):not(:first-child),
.bhNewsDetail #article-content table.bh-table--no-thead > tbody > tr:nth-child(even):not(:first-child) {
    background: rgba(14, 21, 34, 0.92);
}

.bhNewsDetail #article-content table thead + tbody tr:hover,
.bhNewsDetail #article-content table:not(:has(thead)) > tbody > tr:not(:first-child):hover,
.bhNewsDetail #article-content table.bh-table--no-thead > tbody > tr:not(:first-child):hover {
    background: rgba(254, 153, 0, 0.1);
}

.bhNewsDetail #article-content table tbody tr:hover td,
.bhNewsDetail #article-content table tbody tr:hover th {
    color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 640px) {
    .bhNewsDetail #article-content table {
        font-size: 1.28rem;
    }

    .bhNewsDetail #article-content td,
    .bhNewsDetail #article-content th {
        padding: 10px 10px;
    }
}

.bhNewsDetail .bhNewsDetailPromoRail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Без max-height + внутреннего scroll: иначе CTA оказывается ниже «окна» и выглядит обрезанным */
    overflow: visible;
    padding-bottom: 4px;
}

.bhNewsDetail .bhNewsDetailPromoRail__eyebrow {
    margin: 0 0 12px;
    padding: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
    .bhNewsDetail.pmMissionProtoPage .page_wrap .left-sidebar,
    .bhNewsDetail .page_wrap .left-sidebar {
        transition: none !important;
    }

    .bhNewsDetail .bhNewsDetailPromoCard,
    .bhNewsDetail .bhNewsDetailPromoCard__media img {
        transition: none !important;
    }

    .bhNewsDetail .bhNewsDetailPromoCard:has(.bhNewsDetailPromoCard__link:hover) {
        transform: none;
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.05) inset,
            0 14px 30px rgba(0, 0, 0, 0.24);
    }

    .bhNewsDetail .bhNewsDetailPromoCard__link:hover .bhNewsDetailPromoCard__media img {
        transform: none;
    }
}

.bhNewsDetail .bhNewsDetailPromoCard {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(168deg, rgba(22, 34, 52, 0.98) 0%, rgba(12, 18, 28, 1) 48%, rgba(8, 12, 20, 1) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 10px 28px rgba(0, 0, 0, 0.35);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.bhNewsDetail .bhNewsDetailPromoCard:has(.bhNewsDetailPromoCard__link:hover) {
    border-color: rgba(254, 153, 0, 0.38);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 0 0 1px rgba(254, 153, 0, 0.12),
        0 18px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
}

.bhNewsDetail .bhNewsDetailPromoCard__link {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 16px;
}

.bhNewsDetail .bhNewsDetailPromoCard__link:focus-visible {
    outline: 2px solid rgba(254, 153, 0, 0.9);
    outline-offset: 3px;
}

.bhNewsDetail .bhNewsDetailPromoCard__link:focus-visible .bhNewsDetailPromoCard__cta {
    border-color: rgba(254, 153, 0, 0.55);
    background: rgba(254, 153, 0, 0.2);
}

.bhNewsDetail .bhNewsDetailPromoCard__media {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 11px 11px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Плавный «слив» превью с тёмным телом карточки вместо резкой линии */
.bhNewsDetail .bhNewsDetailPromoCard__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(8, 12, 20, 0) 0%,
        rgba(8, 12, 20, 0.55) 45%,
        rgba(8, 12, 20, 0.96) 100%
    );
}

.bhNewsDetail .bhNewsDetailPromoCard__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.bhNewsDetail .bhNewsDetailPromoCard__link:hover .bhNewsDetailPromoCard__media img {
    transform: scale(1.05);
}

.bhNewsDetail .bhNewsDetailPromoCard__body {
    position: relative;
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bhNewsDetail .bhNewsDetailPromoCard__body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 11px;
    right: 11px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent
    );
    pointer-events: none;
}

.bhNewsDetail .bhNewsDetailPromoCard__title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.72rem;
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.bhNewsDetail .bhNewsDetailPromoCard__list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    /* main.css .content ul { overflow:hidden } — не резать промо-список, если блок внутри .content */
    overflow: visible !important;
}

.bhNewsDetail .bhNewsDetailPromoCard__list li {
    position: relative;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.5;
    overflow: visible !important;
}

/* Не дублировать оранжевую «черту» из main.css (.content ul li::after) */
.bhNewsDetail .bhNewsDetailPromoCard__list li::after {
    content: none !important;
    display: none !important;
}

.bhNewsDetail .bhNewsDetailPromoCard__list li + li {
    margin-top: 7px;
}

.bhNewsDetail .bhNewsDetailPromoCard__list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bh-news-accent), rgba(254, 184, 77, 0.85));
    box-shadow: 0 0 10px rgba(254, 153, 0, 0.35);
}

.bhNewsDetail .bhNewsDetailPromoCard__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 11px;
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 236, 210, 0.98);
    background: linear-gradient(135deg, rgba(254, 153, 0, 0.22) 0%, rgba(254, 120, 0, 0.12) 100%);
    border: 1px solid rgba(254, 153, 0, 0.38);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.bhNewsDetail .bhNewsDetailPromoCard__link:hover .bhNewsDetailPromoCard__cta {
    background: linear-gradient(135deg, rgba(254, 153, 0, 0.32) 0%, rgba(254, 130, 0, 0.18) 100%);
    border-color: rgba(254, 184, 77, 0.55);
    color: #fff;
}

.bhNewsDetail .bhNewsDetailPromoCard__cta::after {
    content: "→";
    flex-shrink: 0;
    font-size: 1.25em;
    opacity: 0.95;
    transition: transform 0.2s ease;
}

.bhNewsDetail .bhNewsDetailPromoCard__link:hover .bhNewsDetailPromoCard__cta::after {
    transform: translateX(3px);
}

.bhNewsDetail .bhNewsDetailSidebar {
    position: sticky;
    top: 24px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(17, 27, 42, 0.96) 0%, rgba(9, 14, 22, 0.98) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 16px 36px rgba(0, 0, 0, 0.24);
}

.bhNewsDetail .bhNewsDetailSidebar__head {
    margin-bottom: 16px;
}

.bhNewsDetail .bhNewsDetailSidebar__eyebrow,
.bhNewsDetail .bhNewsDetailSidebar__game {
    margin: 0;
}

.bhNewsDetail .bhNewsDetailSidebar__eyebrow {
    color: rgba(255, 255, 255, 0.44);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bhNewsDetail .bhNewsDetailSidebar__game {
    margin-top: 6px;
    color: rgba(254, 153, 0, 0.92);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.3;
}

.bhNewsDetail .bhNewsDetailSidebar__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0 8px 0 0;
    list-style: none;
    max-height: 840px;
    overflow: hidden;
}

.bhNewsDetail .bhNewsDetailSidebar__item {
    margin: 0;
}

.bhNewsDetail .bhNewsDetailSidebarCard {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.bhNewsDetail .bhNewsDetailSidebarCard:hover {
    border-color: rgba(254, 153, 0, 0.28);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.bhNewsDetail .bhNewsDetailSidebarCard__media {
    overflow: hidden;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
    aspect-ratio: 112 / 70;
}

.bhNewsDetail .bhNewsDetailSidebarCard__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bhNewsDetail .bhNewsDetailSidebarCard__body {
    min-width: 0;
}

.bhNewsDetail .bhNewsDetailSidebarCard__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: baseline;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 1rem;
    line-height: 1.3;
}

.bhNewsDetail .bhNewsDetailSidebarCard__meta span {
    color: rgba(254, 153, 0, 0.88);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bhNewsDetail .bhNewsDetailSidebarCard__meta strong {
    font-weight: 600;
}

.bhNewsDetail .bhNewsDetailSidebarCard__body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 1300px) {
    .bhNewsDetail .left-sidebar {
        display: none;
    }
}

@media (max-width: 1180px) {
    .bhNewsDetail .page_wrap {
        flex-wrap: wrap;
    }

    .bhNewsDetail .bhNewsDetail__main,
    .bhNewsDetail .bhNewsDetail__aside {
        width: 100%;
        flex-basis: 100%;
    }

    .bhNewsDetail .bhNewsDetailSidebar {
        position: static;
    }

    .bhNewsDetail .bhNewsDetailSidebar__list {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    .bhNewsDetail .bhNewsDetailHero__panel,
    .bhNewsDetail .bhNewsDetailArticle,
    .bhNewsDetail .bhNewsDetailSidebar {
        padding: 16px;
        border-radius: 16px;
    }

    .bhNewsDetail .bhNewsDetailHero__meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .bhNewsDetail .bhNewsDetailHero__meta li {
        width: auto;
        min-width: 0;
        justify-content: center;
    }

    .bhNewsDetail .bhNewsDetailSidebarCard {
        grid-template-columns: 1fr;
    }

    .bhNewsDetail .bhNewsDetailSidebarCard__media {
        aspect-ratio: 16 / 9;
    }

    .bhNewsDetail .bhNewsDetailArticle p,
    .bhNewsDetail .bhNewsDetailArticle li {
        font-size: 1.55rem;
    }
}

/* ========== Mobile UX ≤768: sticky / search / sheet / 4-col games / 16:9 / compact cards ========== */

.bhNewsToolbarStickySentinel {
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
    visibility: hidden;
}

.bhNewsPage .bhNewsToolbar__topicBtnText {
    min-width: 0;
}

/* По умолчанию (десктоп): без mobile-chrome; включается только ≤768 */
.bhNewsPage .bhNewsToolbar__filterCount,
.bhNewsPage .bhNewsToolbar__searchToggle,
.bhNewsPage .bhNewsFilter__scrim,
.bhNewsPage .bhNewsFilter__sheetHead,
.bhNewsPage .bhNewsFilter__sheetFoot {
    display: none;
}

.bhNewsPage .bhNewsFilter__sheet {
    display: contents;
}

.bhNewsPage .bhNewsFilter__sheetTitle {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.95);
}

.bhNewsPage .bhNewsFilter__sheetClear,
.bhNewsPage .bhNewsFilter__sheetDone {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--bh-font-sans, system-ui, sans-serif);
}

.bhNewsPage .bhNewsFilter__sheetClear:hover,
.bhNewsPage .bhNewsFilter__sheetDone:hover {
    border-color: rgba(254, 153, 0, 0.4);
    color: #fff;
}

.bhNewsPage .bhNewsFilter__sheetDone {
    width: 100%;
    padding: 12px 16px;
    background: rgba(254, 153, 0, 0.92);
    border-color: rgba(254, 153, 0, 0.95);
    color: #1a1005;
}

.bhNewsPage .bhNewsFilter__sheetDone:hover {
    background: #ffb040;
    color: #1a1005;
}

.bhNewsPage .bhNewsToolbar__searchToggle {
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04) url("/news-img/search.svg") center/18px 18px no-repeat;
    cursor: pointer;
    flex: 0 0 auto;
}

.bhNewsPage .bhNewsToolbar__searchToggle:hover,
.bhNewsPage .bhNewsToolbar__searchToggle:focus-visible {
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
    box-shadow: 0 0 0 2px rgba(254, 153, 0, 0.35);
}

.bhNewsPage .bhNewsFilter.bhNewsToolbar--searchOpen .bhNewsToolbar__searchToggle {
    border-color: rgba(254, 153, 0, 0.42);
    background-color: rgba(254, 153, 0, 0.12);
}

.bhNewsPage .bhNewsToolbar__filterCount {
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(254, 153, 0, 0.2);
    border: 1px solid rgba(254, 153, 0, 0.45);
    color: #ffe7c2;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.bhNewsPage .bhNewsToolbar__filterCount[hidden] {
    display: none !important;
}

html.bhNewsFilterSheetOpen,
body.bhNewsFilterSheetOpen {
    overflow: hidden;
}

@media (max-width: 768px) {
    .bhNewsPage {
        --bh-card-media-aspect: 16 / 9;
    }

    /* Игры: сетка 4 колонки + подписи */
    .bhNewsPage ul.bhNewsToolbar__chips {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px 6px;
        width: 100%;
        margin: 0;
        padding: 2px 0 4px;
        overflow: visible;
        scroll-snap-type: none;
    }

    .bhNewsPage .bhNewsToolbar__chip {
        min-width: 0;
        scroll-snap-align: unset;
    }

    .bhNewsPage .bhNewsToolbar__chip a {
        flex-direction: column;
        width: auto;
        height: auto;
        min-height: 0;
        aspect-ratio: 1;
        padding: 6px 4px 5px;
        gap: 4px;
        border-radius: 12px;
    }

    .bhNewsPage .bhNewsToolbar__chipLabel {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: 0.01em;
        color: rgba(255, 255, 255, 0.72);
        text-align: center;
    }

    .bhNewsPage .bhNewsToolbar__chip.active .bhNewsToolbar__chipLabel {
        color: #ffe7c2;
    }

    .bhNewsPage .bhNewsToolbar__chip img {
        max-width: 70%;
        max-height: 52%;
    }

    /* Карточки: 2 строки превью + компактная meta */
    .bhNewsPage .bhNewsCard__link .pmRecoCard__desc {
        min-height: calc(1.5em * 2);
        padding: 6px 14px 10px;
        font-size: 1.08rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .bhNewsPage .bhNewsCard__link .pmRecoCard__title {
        padding: 14px 14px 0;
        font-size: 1.35rem;
    }

    .bhNewsPage .bhNewsCard__meta {
        padding: 8px 12px 10px;
        gap: 6px 10px;
    }

    .bhNewsPage .bhNewsCard__game {
        font-size: 1.05rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bhNewsPage .bhNewsCard__stats {
        gap: 8px;
    }

    .bhNewsPage .bhNewsCard__date {
        font-size: 1.05rem;
        opacity: 0.75;
    }

    .bhNewsPage .bhNewsToolbar__filterCount:not([hidden]) {
        display: inline-flex;
    }

    .bhNewsPage .articles-filter.bhNewsFilter {
        position: sticky;
        top: 0;
        z-index: 45;
    }

    .bhNewsPage .bhNewsFilter--sticky .bhNewsToolbar {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    }

    .bhNewsPage .bhNewsFilter--sticky .bhNewsToolbar__head {
        display: none;
    }

    .bhNewsPage .bhNewsFilter--sticky .bhNewsToolbar__inner {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .bhNewsPage .bhNewsFilter--sticky .bhNewsToolbar__chipLabel {
        display: none;
    }

    .bhNewsPage .bhNewsFilter--sticky .bhNewsToolbar__chip a {
        aspect-ratio: 1;
        padding: 6px;
        gap: 0;
    }

    .bhNewsPage .bhNewsFilter--sticky .bhNewsToolbar__footer {
        padding-top: 10px;
    }

    .bhNewsPage .bhNewsToolbar__footer {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 10px;
        align-items: center;
    }

    .bhNewsPage .bhNewsToolbar__searchToggle {
        display: inline-flex;
        grid-column: 1;
        grid-row: 1;
    }

    .bhNewsPage span.category.bhNewsToolbar__topicBtn {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        justify-content: center;
    }

    .bhNewsPage .bhNewsToolbar__footer .bhNewsToolbar__search {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        min-width: 0;
        margin-left: 0;
        width: 100%;
    }

    .bhNewsPage .bhNewsFilter.bhNewsToolbar--searchOpen .bhNewsToolbar__footer .bhNewsToolbar__search,
    .bhNewsPage .bhNewsFilter.bhNewsToolbar--searchOpen #bhNewsToolbarSearchWrap {
        display: flex;
    }

    /* Bottom sheet */
    .bhNewsPage .articles-content.bhNewsFilter__panel {
        position: fixed;
        inset: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        z-index: 120;
        overflow: hidden;
    }

    .bhNewsPage .bhNewsFilter__scrim {
        display: block;
        position: absolute;
        inset: 0;
        border: 0;
        margin: 0;
        padding: 0;
        background: rgba(0, 0, 0, 0.58);
        cursor: pointer;
    }

    .bhNewsPage .bhNewsFilter__sheet {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: min(88vh, 680px);
        display: flex;
        flex-direction: column;
        border-radius: 18px 18px 0 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
        background: linear-gradient(180deg, rgba(18, 26, 38, 0.98) 0%, rgba(8, 12, 18, 0.99) 100%);
        box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.45);
        overflow: hidden;
        padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .bhNewsPage .bhNewsFilter__sheetHead {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 2px 2px 12px;
        margin: 0 0 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        flex: 0 0 auto;
    }

    .bhNewsPage .bhNewsFilter__sheetFoot {
        display: block;
        flex: 0 0 auto;
        margin-top: 4px;
        padding: 12px 2px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .bhNewsPage .bhNewsFilter__panelInner {
        flex: 1 1 auto;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 2px;
        max-height: none;
    }

    .bhNewsPage .articles-content aside div label {
        border-radius: 999px;
        justify-content: center;
        text-align: center;
        padding: 10px 14px;
    }
}

@media (min-width: 769px) {
    .bhNewsPage .bhNewsToolbar__searchToggle,
    .bhNewsPage .bhNewsToolbar__filterCount,
    .bhNewsPage .bhNewsFilter__scrim,
    .bhNewsPage .bhNewsFilter__sheetHead,
    .bhNewsPage .bhNewsFilter__sheetFoot {
        display: none !important;
    }

    .bhNewsPage .bhNewsFilter__sheet {
        display: contents;
    }

    .bhNewsPage .bhNewsFilter__panelInner {
        padding-top: 12px;
    }
}
