@media (min-width: 992px) {
    .section-video .video-visual {
        max-width: 60%;
        margin-left: auto;
    }
}

.video-container {
    position: relative;
    width: 100%;
    height: clamp(200px, 42vw, 475px);
    border-radius: clamp(2rem, 2vw, 3.5rem);
}

.section-video .video-container:has(.video-poster)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #00000033;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.section-video .video-wrap.video-playing .video-container::after,
.section-video .video-container.video-playing::after {
    display: none;
}

.video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: clamp(2rem, 2vw, 3.5rem);
}

.video-poster {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: clamp(2rem, 2vw, 3.5rem);
}

.video-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(64px, 10vw, 94px);
    height: clamp(64px, 10vw, 94px);
    transform: translate(-50%, -50%);
    display: inline-block;
    cursor: pointer;
    z-index: 2;
}

.video-btn svg,
.video-btn img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.video-btn:hover svg,
.video-btn:hover img {
    transform: scale(1.08);
}

.section-video .video-wrap.video-playing .video-visual {
    position: relative;
    z-index: 2;
}

.section-video .video-logo {
    margin-bottom: 24px;
}

.section-video .video-logo img {
    max-width: clamp(133px, 20vw, 205px);
    max-height: clamp(64px, 10vw, 100px);
}

.section-video .title-heading {
    font-family: var(--bold);
    color: var(--color2);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.6;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.section-video .video-button-wrap {
    margin-top: 1.25rem;
    margin-right: auto;
}

@media (min-width: 992px) {
    .section-video .video-content {
        position: absolute;
        z-index: 1;
        max-width: 650px;
        left: 0;
        top: 2.5rem;
        background-color: var(--white);
        box-shadow: 0px 16px 40px 0px #7090B033;
        padding: 48px 42px 59px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        border-radius: 58px;
    }
}

@media (max-width: 991.99px) {
    .section-video .video-content {
        background-color: var(--white);
        box-shadow: 0px 16px 40px 0px #7090B033;
        padding: 32px 16px 35px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 32px;
        margin-top: -1.5rem;
        z-index: 2;
        position: relative;
    }

    .section-video .video-button-wrap {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .section-video .video-visual {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .section-video .video-container,
    .section-video .video-element,
    .section-video .video-poster,
    .section-video .video-container:has(.video-poster)::after {
        border-radius: 0;
    }
}