

/* Start:/local/templates/enger/components/bitrix/news.list/base/style.css?176899256919446*/
/* ═══════════════════════════════════════════════════════════════
   HB WRAPPER - RESET & VARIABLES
   ═══════════════════════════════════════════════════════════════ */

.hb-wrapper {
    --hb-primary: #E94820;
    --hb-bg: #f5f6f8;
    --hb-card: #fff;
    --hb-text: #1a1a1a;
    --hb-muted: #6b7280;
    --hb-border: #e5e7eb;
    --hb-radius: 12px;
    --hb-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hb-wrapper *,
.hb-wrapper *::before,
.hb-wrapper *::after {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */

.hb-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.hb-main {
    flex: 1;
    min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════════════════ */

.hb-sidebar {
    flex-shrink: 0;
    width: 240px;
    position: sticky;
    top: 20px;
}

.hb-sidebar__inner {
    background: var(--hb-card);
    border-radius: var(--hb-radius);
    box-shadow: var(--hb-shadow);
    overflow: hidden;
}

.hb-sidebar__title {
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid var(--hb-border);
}

.hb-sidebar__nav {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 60vh;
    overflow-y: auto;
}

.hb-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--hb-text);
    font-size: 13px;
    transition: background 0.15s, color 0.15s;
}

.hb-sidebar__link:hover {
    background: var(--hb-bg);
}

.hb-sidebar__link.is-active {
    background: linear-gradient(135deg, var(--hb-primary), #ff6b47);
    color: #fff;
}

.hb-sidebar__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.hb-sidebar__link.is-active .hb-sidebar__icon {
    background: rgba(255, 255, 255, 0.2);
}

.hb-sidebar__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hb-sidebar__name {
    flex: 1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hb-sidebar__count {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.hb-sidebar__link.is-active .hb-sidebar__count {
    background: rgba(255, 255, 255, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV
   ═══════════════════════════════════════════════════════════════ */

.hb-mobile-nav {
    display: none;
    margin-bottom: 16px;
}

.hb-mobile-nav__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    background: var(--hb-card);
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    font-size: 15px;
    font-weight: 600;
    color: var(--hb-text);
    cursor: pointer;
}

.hb-mobile-nav__arrow {
    margin-left: auto;
    transition: transform 0.2s;
}

.hb-mobile-nav__btn.is-open .hb-mobile-nav__arrow {
    transform: rotate(180deg);
}

.hb-mobile-nav__dropdown {
    display: none;
    margin-top: 8px;
    background: var(--hb-card);
    border: 1px solid var(--hb-border);
    border-radius: var(--hb-radius);
    overflow: hidden;
    max-height: 60vh;
    overflow-y: auto;
}

.hb-mobile-nav__dropdown.is-open {
    display: block;
}

.hb-mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--hb-text);
    font-size: 15px;
    border-bottom: 1px solid var(--hb-border);
}

.hb-mobile-nav__link:last-child {
    border-bottom: none;
}

.hb-mobile-nav__link.is-active {
    background: var(--hb-primary);
    color: #fff;
    font-weight: 600;
}

.hb-mobile-nav__count {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

.hb-mobile-nav__link.is-active .hb-mobile-nav__count {
    background: rgba(255, 255, 255, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════════════════════ */

.hb-tabs-scroll {
    overflow-x: auto;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hb-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.hb-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    background: var(--hb-card);
    border-radius: var(--hb-radius);
    box-shadow: var(--hb-shadow);
}

.hb-tabs__item {
    cursor: pointer;
    flex-shrink: 0;
}

.hb-tabs__item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hb-tabs__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hb-muted);
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.hb-tabs__icon {
    display: flex;
    opacity: 0.6;
}

.hb-tabs__num {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 6px;
}

.hb-tabs__item:hover .hb-tabs__btn {
    background: var(--hb-bg);
    color: var(--hb-text);
}

.hb-tabs__item input:checked + .hb-tabs__btn {
    background: var(--tab-bg, var(--hb-text));
    color: #fff;
}

.hb-tabs__item input:checked + .hb-tabs__btn .hb-tabs__icon {
    opacity: 1;
}

.hb-tabs__item input:checked + .hb-tabs__btn .hb-tabs__num {
    background: rgba(255, 255, 255, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   FILTER BAR
   ═══════════════════════════════════════════════════════════════ */

.hb-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: #fff5f3;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 13px;
}

.hb-filter-bar__text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--hb-text);
}

.hb-filter-bar__text svg {
    color: var(--hb-primary);
}

.hb-filter-bar__reset {
    padding: 6px 12px;
    background: var(--hb-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   COUNTER
   ═══════════════════════════════════════════════════════════════ */

.hb-counter {
    font-size: 13px;
    color: var(--hb-muted);
    margin-bottom: 12px;
}

.hb-counter strong {
    color: var(--hb-text);
}

/* ═══════════════════════════════════════════════════════════════
   GRID
   ═══════════════════════════════════════════════════════════════ */

.hb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   CARD
   ═══════════════════════════════════════════════════════════════ */

.hb-card {
    background: var(--hb-card);
    border-radius: var(--hb-radius);
    overflow: hidden;
    box-shadow: var(--hb-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.hb-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.hb-card__img {
    position: relative;
    padding-top: 56.25%;
    background: var(--hb-bg);
    overflow: hidden;
}

.hb-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s;
    background: var(--hb-bg);
}

.hb-card:hover .hb-card__img img {
    transform: scale(1.05);
}

.hb-card__noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
}

.hb-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transition: background 0.2s, transform 0.2s;
}

.hb-card:hover .hb-card__play {
    background: var(--hb-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.hb-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
    border-radius: 4px;
}

.hb-card__views {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.hb-card__body {
    flex: 1;
    padding: 14px 16px;
}

.hb-card__title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hb-text);
}

.hb-card__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--hb-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hb-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--hb-border);
    font-size: 12px;
    color: var(--hb-muted);
}

.hb-card__date,
.hb-card__time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hb-card__date svg,
.hb-card__time svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════ */

.hb-empty {
    padding: 48px 20px;
    text-align: center;
    background: var(--hb-card);
    border-radius: var(--hb-radius);
}

.hb-empty__icon {
    color: #e5e7eb;
    margin-bottom: 16px;
}

.hb-empty__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--hb-text);
}

.hb-empty__btn {
    padding: 12px 24px;
    background: var(--hb-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   PAGER
   ═══════════════════════════════════════════════════════════════ */

.hb-pager {
    margin-top: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE - TABLET
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hb-sidebar {
        width: 200px;
    }

    .hb-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE - MOBILE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hb-mobile-nav {
        display: block;
    }

    .hb-sidebar {
        display: none;
    }

    .hb-layout {
        display: block;
    }

    .hb-tabs__icon {
        display: none;
    }

    .hb-tabs__btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .hb-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Горизонтальные карточки */
    .hb-card__inner {
        flex-direction: row;
    }

    .hb-card__img {
        flex-shrink: 0;
        width: 120px;
        padding-top: 0;
        min-height: 100px;
    }

    .hb-card__badge {
        top: 6px;
        left: 6px;
        padding: 3px 6px;
        font-size: 8px;
    }

    .hb-card__views {
        display: none;
    }

    .hb-card__play {
        width: 40px;
        height: 40px;
    }

    .hb-card__play svg {
        width: 18px;
        height: 18px;
    }

    .hb-card__body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 12px;
    }

    .hb-card__title {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .hb-card__desc {
        font-size: 12px;
    }

    .hb-card__meta {
        display: none;
    }

    .hb-card:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE - SMALL MOBILE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    .hb-card__img {
        width: 100px;
        min-height: 85px;
    }

    .hb-card__title {
        font-size: 13px;
    }

    .hb-card__desc {
        display: none;
    }

    .hb-tabs__btn {
        padding: 7px 8px;
        font-size: 11px;
    }

    .hb-tabs__num {
        padding: 2px 5px;
        font-size: 10px;
    }
}


/* ═══════════════════════════════════════════════════════════════
   SIDEBAR DIVIDER & EXTERNAL LINK
   ═══════════════════════════════════════════════════════════════ */
.hb-sidebar__divider {
    height: 1px;
    background: var(--hb-border);
    margin: 8px 0;
}

.hb-sidebar__link--external {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px dashed #7dd3fc;
}

.hb-sidebar__link--external:hover {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-color: #38bdf8;
}

.hb-sidebar__icon--manual {
    background: #0284c7 !important;
    color: #fff;
}

.hb-sidebar__external-icon {
    flex-shrink: 0;
    opacity: 0.5;
    transition: .15s;
}

.hb-sidebar__link--external:hover .hb-sidebar__external-icon {
    opacity: 1;
    color: #0284c7;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE DIVIDER & EXTERNAL LINK
   ═══════════════════════════════════════════════════════════════ */
.hb-mobile-nav__divider {
    height: 1px;
    background: var(--hb-border);
    margin: 4px 16px;
}

.hb-mobile-nav__link--external {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.hb-mobile-nav__link-content {
    display: flex;
    align-items: center;
}
/* End */
/* /local/templates/enger/components/bitrix/news.list/base/style.css?176899256919446 */
