/* General styling for the video container */
.video-slide {
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 10px;
    background: #F0F0F091;
}

.video-container {
    position: relative;
    width: 100%;
    height: auto;
    cursor: pointer; /* Make the video container clickable */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-container video {
    width: 100%; /* Make the video fill the container's width */
    height: auto; /* Maintain the aspect ratio */
    object-fit: cover; /* Ensure the video covers the container without distortion */
    border-radius: 6px;;
}

/* Play button overlay */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    opacity: 0.7;
    pointer-events: none; /* Make sure it doesn't interfere with clicks */
    z-index: 99999;
}

.video-container.playing .play-button-overlay {
    display: none; /* Hide play button when video is playing */
}

/* Styling for titles and descriptions */
.video-title,
.video-description {
    text-align: center;
    padding: 10px;
}

.video-title {
    font-size: 22px;
    font-family: "Cooper black", Sans-serif;
    color: #000;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.video-description {
    font-size: 14px;
    font-weight: normal;
    display: none;
}

.video-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.video-slide {
    text-align: center;
    padding: 10px;
}

.video {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.swiper-button-next, .swiper-button-prev {
    color: #000; /* Customize arrow color */
    font-size: 18px;
}

.fullscreen-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.fullscreen-video {
    max-width: 100%;
    max-height: 100%;
}

.close-fullscreen-button {
    position: absolute;
    top: 10px;
    right: 20px;
    background: #fff;
    color: #000;
    font-size: 24px;
    border: none;
    cursor: pointer;
}
.close-fullscreen-button:hover{
    background-color: #c61527;
}
.full-view-button{
    POSITION: ABSOLUTE;
    RIGHT: 10px;
    BOTTOM: 10px;
    border: none;
    padding: 0px;
    opacity: 0;
    transition: opacity 0.2 ease;
    padding: 5px;
    border-radius: 5px;
    background: #fff;
    display: flex;
    z-index: 9999;
}
.full-view-button:hover{
    background-color: #fff;
}
.full-view-button svg{
    width: 20px;
    height: 20px;
}
.video-container:hover .full-view-button{
 opacity: 1;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev{
    right: 0px !important;
}
.swiper-button-prev, .swiper-rtl .swiper-button-next{
    left: 0px !important;
}
.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 17px;
    font-weight: bold;
}
.swiper-button-next, .swiper-button-prev{
    background-color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}



.video-container {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.featured-image {
    width: 100%;
    cursor: pointer;
}

.video {
    width: 100%;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.video-container.playing .play-button-overlay {
    display: none;
}
.video-container .video-featured-image{
    position: absolute;
    width: 100%; 
    height: 100%;
    background: #fff;
    object-fit: cover;
    border-radius: 5px;
}


.video{
	height: 100% !important;
}


@media (max-width: 768px) {
    .swiper-container {
        width: 100%; /* Ensure the swiper container takes full width */
    }

    .swiper-slide {
        width: 100%; /* Each slide takes full width on small screens */
    }
}