/* .acf-field-673d8f9ad62cb .acf-row{
    display: flex;
    flex-direction: column;
} */
.block_videos_wrapper{
    padding: 80px 120px 150px 120px;
    position: relative;
}
.block_videos_wrapper .block_videos{
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
}
.block_videos_wrapper .block_videos .video_block{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.block_videos_wrapper .block_videos .video_block .video_block_inn {
    position: relative;
    width: 100%; 
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center; 
}

.block_videos_wrapper .block_videos .video_block .title a,
.block_videos_wrapper .block_videos .video_block .title a:hover {
    color: #6B7B7C;
}

.block_videos_wrapper .block_videos .video_block .title p{
    margin: 0;
}
.block_videos .vjs-matrix .vjs-big-play-button{
    display: none;
}

.video_block .open-popup .video_container{
	height:100% !important;
	width:100%;
}

.video-popup .video_block_inn{
    position: relative;
}
.video-popup .videos-button-play{
    border-color: #FF6633 !important;
    background-color: #FF6633 !important;
    border-radius: 100%;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}
.video-popup .videos-button-play:hover{
    background-color: #324243!important;
}
.video-popup .videos-button-play:focus{
    outline: none !important;
}
.video-popup .videos-button-play span{
    font-size: 3em;
    display: flex;
}
.video-popup .videos-button-play span::before{
    content: "\f101";
    font-family: VideoJS;
}
.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Занимает весь экран */
    background: #324243;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 80px 50px 40px 50px;
}

.video-popup.active {
    display: flex;
}

.video-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* height: 80%; */
    height: auto;
    max-width: 100%; 
    max-width: 1000px;
}
.video-popup-content .video_block_inn {
    width: 100%;
    /* height: 100%; */
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-popup-content .video_block_inn video,
.video-popup-content .video_block_inn wistia-player {
    width: 80%;
    height: 100%;
    object-fit: cover; 
}

.video-popup-content .video-popup-title{
    width: 80%;
}
.video-popup-content .video-popup-title p{
    text-align: left;
    color: #fff;
    font-size: 44px !important;
    margin: 0 0 40px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'RobotoCondensedZbw', Arial, sans-serif;
}
.video-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 18px;
    height: 18px;
    background: transparent url(../img/close.svg) center center no-repeat;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
    cursor: pointer;
    border-radius: 100%;
    transition: all 0.2s ease-in-out;
    background-size: 18px;
    font-size: 0;
}
.video-popup-close:hover{
    background: #fff url(../svg/arrow-up-right-orange.svg) center center no-repeat;
    transform: rotate(45deg);
    background-size: 25px;
}

.video-popup-content .video-duration{
    display: none;
}
.video-duration{
    position: absolute;
    bottom: 10px;
    right: 16px;
    color: #fff;
    font-size: 13px;
    border-radius: 8px;
    background: rgba(58, 79, 80, 0.75);
    padding: 3px 8px;
}

.popup-video-player{
    width: 80%; 
    height: 100%; 
    border-radius: 12px;
}

@media (max-width: 1441px) {
    .video-popup-content .video_block_inn,
    .video-popup-content .video-popup-title{
        width: 80%;
    }

    .video-popup-content .video_block_inn video,
    .video-popup-content .video_block_inn wistia-player {
        width: 100%;
    }
}
@media (max-width: 1281px) {
    .video-popup-content .video_block_inn,
    .video-popup-content .video-popup-title{
        width: 85%;
    }
}
@media (max-width: 1150px) {
   
}
@media (max-width: 992px) {
   
}
@media (max-width: 990px) {
    .block_videos_wrapper {
        padding: 60px;
    }
    .block_videos_wrapper .block_videos{
        grid-template-columns: repeat(2, 1fr);
    }
    .video-popup-content .video_block_inn,
    .video-popup-content .video-popup-title{
        width: 100%;
    }
}
@media (max-width: 769px) {
    
}
@media (max-width: 650px) {
    .block_videos_wrapper {
        padding: 16px 16px 80px 16px;
    }
    .block_videos_wrapper .block_videos{
        gap: 16px;
    }
    .block_videos_wrapper .block_videos .video_block .title p{
        font-size: 16px !important;
    }
    .video-popup{
        padding: 16px;
    }
    .video-popup-content .video-popup-title p{
        font-size: 32px !important;
        margin: 0 0 16px;
    }
    .video-popup .videos-button-play{
        width: 60px;
        height: 60px;
    }
    .video-popup .videos-button-play span{
        font-size: 1.7em;
    }
    .video-popup-close{
        top: 16px;
        right: 16px;
        padding: 30px;
    }
}
@media (max-width: 500px) {
    
}