

/* Start:/local/components/panteonws/simagegallery/templates/.default/style.css?17744509771281*/
<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetTitle("Title");
?>.panteon-gallery {
    display: grid;
    /* Используем переменную из шаблона для колонок */
    grid-template-columns: repeat(var(--gallery-cols), 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.panteon-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1 / 1; /* Делает плитки квадратными */
    background: #f0f0f0;
}

.panteon-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы картинка заполняла квадрат, не искажаясь */
    transition: transform 0.3s ease;
    display: block;
}

.panteon-gallery-item:hover img {
    transform: scale(1.05);
}

.panteon-gallery-empty {
    padding: 20px;
    background: #ffebeb;
    color: #c00;
    border-radius: 4px;
    text-align: center;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .panteon-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .panteon-gallery {
        grid-template-columns: 1fr;
    }
}<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>
/* End */


/* Start:/bitrix/components/bitrix/main.feedback/templates/bootstrap_v4/style.min.css?177097477832*/
.mf-control-required{color:#f00}
/* End */
/* /local/components/panteonws/simagegallery/templates/.default/style.css?17744509771281 */
/* /bitrix/components/bitrix/main.feedback/templates/bootstrap_v4/style.min.css?177097477832 */
