.embed-responsive {
    position: relative;
    z-index: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3vw;
    height: 3vw;
    min-width: 25px;
    min-height: 25px;
    max-width: 50px;
    max-height: 50px;
    background-color: #2DC997;
    border-radius: 50%;
    background-size: 60% 60%;
    filter: none;
}

.carousel-item .video-wrapper {
    position: relative;
}

.carousel-item .carousel-control-prev,
.carousel-item .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: auto;
    height: auto;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.carousel-item .carousel-control-prev {
    left: 10px;
}

.carousel-item .carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: #2DC997;
    border-radius: 50%;
    background-size: 60% 60%;
    filter: none;
}

@media (max-width: 768px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }
}

@media (min-width: 1200px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 45px;
        height: 45px;
    }
}

/* #videoCarousel .carousel-item {
    cursor: pointer;
} */

.gritter-custom {
    background-color: #f39c12; /* Set your desired background color */
    color: white; /* Text color */
    border-radius: 5px; /* Optional: Rounded corners */
    padding: 10px 15px; /* Padding for better spacing */
    font-size: 14px; /* Font size */
}

.gritter-custom .gritter-close {
    color: white; /* Close button color */
}

.gritter-custom a {
    color: white; /* Link color */
    text-decoration: underline; /* Underline for links */
}

.gritter-custom a:hover {
    color: #e67e22; /* Hover color for links */
}

#news_section {
    min-height: 72vh;
    /* transform: translateX(-68px); */
    margin-left: -65px;
}
#videoCarousel {
    width: 100%;
    height: 100%;
}

#captionPopup {
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    position: absolute;
    display: none;
    z-index: 1000;
}

/* Close button */
#captionPopup button#closeCaption {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}


@media (max-width: 768px) {
    #news_section {
        transform: none !important;
        min-height: auto;
        margin-top: 20px;
        margin-left: 0 !important;
    }

    #captionPopup {
        position: fixed !important;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        width: 90% !important;
        max-width: none !important;
        max-height: 80% !important;
        border-radius: 10px;
        display: none;
    }

    #videoCarousel {
        height: auto !important;
    }

    .carousel-item .card {
        height: auto !important;
    }

    .embed-responsive-16by9 {
        height: auto !important;
    }
}

@media (min-width: 769px) {
    #videoCarousel .carousel-item {
        min-height: 400px;
    }
}
