.video-player-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 440px;
    z-index: 1;
    margin-top: 6.5%;
    margin-right: -20%;
    cursor: pointer;
}
.custom-video-player {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.video-player-wrapper:after {
    content: 'Директор: Космодемьянов Тимур';
    color: #ffffffbf;
    background: #3f3f3f82;
    display: flex;
    font-size: 16px;
    height: 50px;
    z-index: 9999999;
    position: relative;
    margin-top: -51px;
    width: fit-content;
    align-items: center;
    padding: 0 37px;
    border-radius: 4px;
}
.video-player-wrapper:before {
    content: '2026 г.';
    color: #ffffffbf;
    background: #3f3f3f82;
    display: flex;
    font-size: 16px;
    height: 50px;
    z-index: 9999999;
    position: absolute;
    margin-top: 0px;
    width: fit-content;
    align-items: center;
    padding: 0 37px;
    border-radius: 4px;
    right: 0;
}
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.video-play-button {
    pointer-events: auto;
    transition: transform 0.2s ease;
}
.video-play-button:hover {
    transform: scale(1.1);
}
.video-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
.video-popup-overlay.active {
    display: flex;
}
.video-popup-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-popup-close {
    position: fixed;
    top: 60px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.video-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
.video-popup-close svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
.video-popup-player {
    width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}
.animateme-text{
    font-size: 21px!important;
    line-height: 25px!important;
}
.content-body .new-contact-wrapper .new-contact-block .new-contact-descr .float-text {
    max-width: 620px!important;
}

@media (max-width: 680px) {
    .video-player-wrapper {
        margin-right: 0;
    }
    .content-body .new-contact-wrapper .new-contact-block.block-2 .new-contact-descr {
        position: relative!important;
    }
}
