

/* Start:/local/templates/ammond/components/bitrix/news.list/gallery-slider/style.css?17569114062306*/
div.news-list {
    word-wrap: break-word;
}
div.news-list img.preview_picture {
    float: left;
    margin: 0 4px 6px 0;
}
.news-date-time {
    color: #486daa;
}
/* Стили для лупы при наведении */
.zoomable-image {
    cursor: zoom-in;
    transition: 0.25s ease;
}

.zoomable-image:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.modal-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-content {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s;
    -webkit-user-drag: none;
    user-select: none;
}

.modal-content.zoomed {
    cursor: zoom-out;
    transform: scale(1.5);
}

.modal-content.zoomed-more {
    cursor: zoom-out;
    transform: scale(2);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
    background: var(--akrill);
    opacity: 1;
    padding: 0px 10px;
}
.no-scroll {
    overflow: hidden;
}

.close:hover {
    color: var(--black);
    background-color: var(--white);
}

.prev-slide,
.next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--akrill);
    color: white;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: 0.3s;
}

.prev-slide:hover,
.next-slide:hover {
    color: var(--black);
    background-color: var(--white);
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}
.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: var(--scroll-offset, 0);
}
.gallery-block__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gallery-block__item {
    width: 25%;
    display: flex;
}

.gallery-block__image {
    max-width: 100%;
    height: auto;
}

/* End */
/* /local/templates/ammond/components/bitrix/news.list/gallery-slider/style.css?17569114062306 */
