/* -------- Our works START --------  */

.video-header {
    margin: 16px 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px 20px;
}

.swiper-video {
    margin-top: 24px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 450px;
}

.video-container .video-container-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.video-container:before {
    content: "";
    position: absolute;
    background-color: #00010180;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

.video-container:has(.video-container-image):before {
	display: none;
}

.video-container.active:before {
	display: none;
}

.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
    width: 67px;
    height: 66px;
}

.custom-play-button svg path:first-child {
    fill: var(--primary);
    transition: var(--transition);
}

.custom-play-button:hover svg path:first-child,
.custom-play-button:active svg path:first-child {
    fill: var(--primary-hover);
}

.custom-play-button svg {
    pointer-events: none;
}

.sleep-video {
    display: block;
    outline: none;
    border-radius: 8px;
    object-fit: cover;
}

video.is-playing + .custom-play-button {
    display: none;
}

.sleep-video.hide-controls::-webkit-media-controls {
    display: none !important;
}

.sleep-video.hide-controls::-webkit-media-controls-panel {
    display: none !important;
}

.sleep-video.hide-controls {
    pointer-events: none;
}

.video-title {
    margin: 22px 0px 0px;
}

.video-excerpt {
    margin: 4px 0px 0px;
}

@media (max-width: 1023px) {
    .swiper-video {
        margin-right: calc(50% - 50vw);
    }

    .video-container {
        width: 100%;
    }

    .video-header .arrows-content__wrap {
        margin-right: 34px;
    }
}

@media (max-width: 767px) {
    .video-header {
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .video-section-title {
        max-width: 234px;
        width: 100%;
    }

    .video-header .arrows-content__wrap {
        margin-right: 20px;
    }

    .swiper-video {
        margin-top: 16px;
    }
}

/* -------- Our works END --------  */