

/* Start:/local/templates/vik2026/components/bitrix/news/gallery/bitrix/news.list/.default/style.css?1791400965610*/
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery .gallery-item {
    width: calc(50% - 8px);
    display: none;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(2),
.gallery-item:nth-child(3),
.gallery-item:nth-child(4) {
    display: flex;
}

@media (min-width: 1024px) {
    .gallery .gallery-item {
        width: calc((100% - 32px) / 3);
    }

    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        display: flex;
    }
}

@media (min-width: 1280px) {
    .gallery .gallery-item {
        width: calc((100% - 48px) / 4);
        display: flex;
    }
}

/* End */


/* Start:/local/templates/vik2026/components/bitrix/catalog.item/gallery/style.css?1791400965730*/
.gallery-item {
    background: var(--color-base-bg);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.gallery-item__img {
    width: 100%;
    aspect-ratio: 3/4;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    flex-shrink: 0;
}

.gallery-item__name {
    padding: 8px;
    align-self: stretch;
    justify-self: stretch;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* End */
/* /local/templates/vik2026/components/bitrix/news/gallery/bitrix/news.list/.default/style.css?1791400965610 */
/* /local/templates/vik2026/components/bitrix/catalog.item/gallery/style.css?1791400965730 */
