

/* Start:/bitrix/templates/new_template/components/bitrix/news.list/staff-linked/style.css?17908345822474*/
/* ==== Сетка карточек: 5 / 3 / 2.2 колонки ==== */
.item-views.table .row.items.staff-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin: 0;
}

.item-views.table .staff-card-col {
    padding: 0;
    min-width: 0;
}

.item-views.table .staff-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border-color, #DDDDDD);
    border-radius: var(--border-radius-lg, 8px);
    padding: 12px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.item-views.table .staff-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, .10);
    transform: translateY(-3px);
}

.item-views.table .staff-card .image {
    margin-bottom: 14px;
    border-radius: var(--border-radius-sm, 4px);
    overflow: hidden;
}

.item-views.table .staff-card .image img {
    width: 100%;
    height: auto;
    display: block;
}

.item-views.table .staff-card .title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}

.item-views.table .staff-card .post {
    color: var(--text-gray-color, #969ba5);
    font-size: 13px;
    margin-bottom: 8px;
}

/* Планшеты: 3 колонки */
@media (max-width: 1199.98px) and (min-width: 768px) {
    .item-views.table .row.items.staff-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* Мобильные: горизонтальный скролл, ~2.2 карточки на экране */
@media (max-width: 767.98px) {
    .item-views.table .row.items.staff-cards {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--color-secondary, #0088CC) var(--color-bg-second, #E5F9FF);
    }

    .item-views.table .staff-card-col {
        flex: 0 0 calc(100% / 2.2);
        scroll-snap-align: start;
    }

    .item-views.table .row.items.staff-cards::-webkit-scrollbar {
        height: 6px;
    }

    .item-views.table .row.items.staff-cards::-webkit-scrollbar-track {
        background: var(--color-bg-second, #E5F9FF);
        border-radius: 10px;
    }

    .item-views.table .row.items.staff-cards::-webkit-scrollbar-thumb {
        background: var(--color-secondary, #0088CC);
        border-radius: 10px;
    }

    .item-views.table .staff-card {
        padding: 16px;
    }
}
/* End */
/* /bitrix/templates/new_template/components/bitrix/news.list/staff-linked/style.css?17908345822474 */
