/* static/pages/css/about_us.css */
/* Общие стили */

.container {
    position: relative;
    top: -102px;
    margin-bottom: -102px;
    max-width: 100% !important;
    padding: 0;
}

.cta-button {
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 20px;
    padding: 10px 50px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #00f, #f0f);
    z-index: -1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #00f, #f0f);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover::after {
    left: 0;
}

.cta-button:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.video-section {
    position: relative;
    padding: 160px 0px 50px 0px;
    height: 100vh;
    min-height: 700px;
    max-height: 1300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/programs/programs_background.jpg);
    background-size: cover;
    background-position: center 66%;
    background-repeat: no-repeat;
}

.video-section::after {
    background: linear-gradient(#180935, #ffffff00);
    content: '';
    position: absolute;
    width: 100%;
    height: 32%;
    bottom: -32%;
}

.video-section .container-lg {
    max-width: 1200px;
    height: 100%;
}

.video-content {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.video-section .video-content .ios-clean-shell,
.video-section .video-content .ios-clean-border,
.video-section .video-content .ios-clean-border-inner {
    width: 100%;
    max-width: 950px;
    box-sizing: border-box;
}

.video-content .video-empty-state {
    width: 950px;
    max-width: 100%;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 25px;
    text-align: center;
    padding: 20px;
}

.video-content .plyr {
    border-radius: 25px;
    padding: 5px;
    width: 950px;
    max-width: 100%;
    box-sizing: border-box;
}

.video-content .plyr__video-wrapper,
.video-content .plyr video {
    width: 100%;
    max-width: 100%;
}

.video-content .inline-clean-player-video {
    display: block;
    width: 100%;
    max-width: 100%;
    background: #000;
}

.video-content .plyr::after {
    border-radius: 27px;
    background: linear-gradient(to left, #3f00ff, #ff00ff);
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    z-index: -1;
    transition: background 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body.ios-device .video-content .ios-clean-shell {
    border-radius: 4px;
    padding: 3px;
    background: linear-gradient(to left, #3f00ff, #ff00ff);
    overflow: hidden;
}

body.ios-device .video-content .ios-clean-border {
    background: #000;
    border-radius: 0;
    padding: 0;
    display: block;
}

body.ios-device .video-content .ios-clean-border-inner {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

body.ios-device .video-content .inline-clean-player-video {
    display: block;
    width: 950px;
    max-width: 100%;
    background: transparent;
}

.video-content .info {
    position: relative;
    margin-top: 5%;
    min-width: 250px;
}

.video-content .info span {
    padding: 10px 20px;
    color: #000000;
    background-color: #fff;
    font-size: 28px;
    font-weight: 600;
    border-radius: 0px 25px 25px 0px;
}

.video-section .video-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    height: 20%;
    position: relative;
}

.video-section .video-row .left {
    flex: 1 1 auto;
    width: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-section .video-row .left h1 {
    font-weight: 600;
    color: white;
    text-shadow: 0 0 50px rgba(255, 255, 255, 4.8);
    margin: 0;
    padding: 0;
    font-size: 14vmin;
    line-height: 0.7;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-section .video-row .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 1;
    position: relative;
    bottom: auto;
    right: auto;
    margin-left: auto;
}

.video-section .video-row .right .arrow1 {
    position: relative;
    padding: 15px 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-bottom: 30px;
}

.video-section .video-row .right .arrow1 img {
    width: 40px;
}

.video-section .video-row .right .right-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 1200px) {
    .video-section .plyr {
        height: fit-content;
    }
}

@media (max-width: 999px) {
    .video-section .video-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .video-content .info {
        position: relative;
        margin: 5px;
        text-align: center;
    }

    .video-content .info span {
        border-radius: 25px 25px 0px 0px;
    }

    .video-section .video-row .left h1 {
        margin: 0;
    }

    .video-section .video-row .right {
        bottom: -30px;
    }
}

@media (max-width: 768px) {
    .video-section .video-row .right {
        display: none;
    }
}

@media (max-width: 532px) {
    .cta-button {
        font-size: 16px;
    }

    .video-content .info span {
        font-size: 20px;
    }
}
