

/* Start:/local/templates/mfc/components/bitrix/news/national_news/bitrix/news.detail/.default/style.css?17393502102139*/
.photosGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin-bottom: 3rem;

    .foreground {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgb(193 193 193 / 39%);
        transition: all 0.3s;
        opacity: 0;
        border-radius: 7px;
    }

    .photo-preview {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;

        img {
            height: 5rem;
        }
    }
}

.gallery__item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    flex: 1;
    box-shadow: 0 14px 44px rgba(148, 143, 143, 0.4);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);

    &:hover {
        .gallery__image {
            transform: scale(1.1);
            z-index: -1;
        }

        .foreground {
            opacity: 1;
            transition: all 0.3s;
        }
    }

    .gallery__image {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 2s ease;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        position: relative;
        z-index: -1;
    }

    .gallery-link {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
}

.videos {
    margin-bottom: 2rem;
    display: grid;
    gap: 15px;
}

.videos video, iframe {
    width: 100%;
    height: 350px;
}

.videos__single {
    grid-template-columns: 1fr;
}

.videos__multiple {
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .videos__multiple {
        grid-template-columns: 1fr 1fr;
    }
    .videos video, iframe {
        height: 450px;
    }
}
/* End */
/* /local/templates/mfc/components/bitrix/news/national_news/bitrix/news.detail/.default/style.css?17393502102139 */
