

/* Start:/local/templates/rakurs/components/bitrix/news.list/videoobzori/style.css?17786696953565*/
h2.examples__title {
    margin: 2.5rem 0;
}
.video-tiles-wrapper {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.video-tile {
    position: relative;
    max-width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
    background: #000;
}
.video-tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}
.video-tile:hover .video-tile-bg {
    transform: scale(1.05);
}
.video-tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 20px 15px;
    backdrop-filter: blur(2px);
}
.video-tile-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 6px;
}
.video-tile-desc {
    font-size: 0.9rem;
    line-height: 1.3;
    opacity: 0.9;
}
.video-tile-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: background 0.3s;
}
.video-tile-play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #333;
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}
.video-tile:hover .video-tile-play-icon {
    background: rgba(255,255,255,1);
}

/* Модальное окно */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.video-modal.active {
    display: flex;
}
.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}
.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
}
.video-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 36px;
    height: 36px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}
.video-modal-close:hover {
    background: rgba(255,255,255,0.4);
}
.video-modal-player {
    width: 100%;
    height: 100%;
}
.video-modal-player iframe,
.video-modal-player video {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width:1450px) {
    .video-tiles-wrapper {
        margin-top: 24px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-bottom: 24px;
    }
}
@media (max-width:1350px) {
    .video-tiles-wrapper {
        margin-top: 24px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-bottom: 24px;
    }
}

@media (max-width:1024px) {
    .video-tiles-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width:475px) {
    .video-tiles-wrapper {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}



/* End */
/* /local/templates/rakurs/components/bitrix/news.list/videoobzori/style.css?17786696953565 */
