
@charset "UTF-8";


/* ----- RESPONSIVE MULTI-CAROUSEL ITEM  ----- */
.carousel-controls-top {
    position: absolute;
    top: 35%; /* aligns with the image vertical mid */
    left: 0;
    width: 100%;
    z-index: 25;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none; /* allow click-through, buttons will re-enable it */
}
    .carousel-controls-top button {
        pointer-events: auto;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #00BFAA /*fff*/;
        border: 2px solid #fff /*111*/;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.25);
        transition: transform .2s ease, background .2s;
    }

 .carousel-controls-top button:hover {
            transform: scale(1.1);
            background: #eee;
        }
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) brightness(0); /* turns them black */
    width: 22px;
    height: 22px;
}


.carousel-control-prev, .carousel-control-next {
    position: relative;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: #fff;
    text-align: center;
    background: none;
    border: 0;
    opacity: .5;
    transition: opacity .15s ease;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}


/* Desktop (default): 5 items */
.multi-carousel .multi-carousel-inner .multi-carousel-item {
    width: 20%; /* 5 cards */
}

/* Large tablets: 3 items */
@media (max-width: 1199px) {
    .multi-carousel .multi-carousel-inner .multi-carousel-item {
        width: 33.333%;
    }
}

/* Small tablets: 2 items */
@media (max-width: 991px) {
    .multi-carousel .multi-carousel-inner .multi-carousel-item {
        width: 50%;
    }
}

/* Mobile: 1 item */
@media (max-width: 767px) {
    .multi-carousel .multi-carousel-inner .multi-carousel-item {
        width: 100%;
    }
}
@media (max-width: 1199px) {
    .carousel-controls-top {
        top: 32%;
        padding: 0 10px;
    }

        .carousel-controls-top button {
            width: 44px;
            height: 44px;
        }
}

@media (max-width: 767px) {
    .carousel-controls-top {
        top: 30%; /* aligns with card image center */
    }

  .carousel-controls-top button {
width: 40px;
height: 40px;
        }
}
/* ----- EQUAL HEIGHT CARDS ----- */

.multi-carousel .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image wrapper: fixed height so ALL cards align */
.multi-carousel .img-wrap {
    height: 180px; /* Adjust if you want higher/lower */
    overflow: hidden;
}

    /* Make images fill the wrap consistently */
    .multi-carousel .img-wrap img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

/* Card body flex stretch */
.multi-carousel .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Title block: prevent jumping */
.multi-carousel .card-title {
    min-height: 48px; /* keeps card text areas aligned */
    display: block;
}

/* Optional: keep dates aligned */
.multi-carousel .card-text {
    margin-top: auto;
}
@media (max-width: 1199px) {
    .multi-carousel .card-title {
        min-height: 60px; /* taller title area */
    }
}
/* Override MDB inline widths */
/* ----- RESPONSIVE MULTI-CAROUSEL ITEM WIDTHS ----- */

/* Large desktop (1500px+): 5 items */
@media (min-width: 1500px) {
    .multi-carousel .multi-carousel-item {
        width: 20% !important;
    }
}

/* Desktop between 1200-1499px: 4 items */
@media (max-width: 1499px) and (min-width: 1200px) {
    .multi-carousel .multi-carousel-item {
        width: 25% !important;
    }
}

/* Large tablets 992–1199px: 3 items */
@media (max-width: 1199px) and (min-width: 992px) {
    .multi-carousel .multi-carousel-item {
        width: 33.333% !important;
    }
}

/* Small tablets 768–991px: 2 items */
@media (max-width: 991px) and (min-width: 768px) {
    .multi-carousel .multi-carousel-item {
        width: 50% !important;
    }
}

/* Mobile <768px: 1 item */
@media (max-width: 767px) {
    .multi-carousel .multi-carousel-item {
        width: 100% !important;
    }
}

/* Prevent image stretching */

.multi-carousel .img-wrap {
    height: 200px; /* exact same for all cards */
    overflow: hidden;
}
.multi-carousel .img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* keeps text visible */
    }

.multi-carousel .card {
    height: 420px; /* adjust if needed */
    display: flex;
    flex-direction: column;
}
.multi-carousel .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.multi-carousel .card-title {
    min-height: 72px; /* 2 lines */
    max-height: 72px;
    overflow: hidden;
}


/*=====
    Desktop: align arrows with the first card image vertically 
=======*/


@media (min-width: 1200px) {
    .news-carousel .carousel-controls-top {
        position: absolute;
        top: 50%; /* align with mid-height of cards */
        left: 0;
        transform: translateY(-50%);
        display: flex;
        gap: 10px;
        z-index: 20;
        padding-left: 10px;
    }
}
/* Tablets: center arrows horizontally */
@media (max-width: 1199px) and (min-width: 768px) {
    .news-carousel .carousel-controls-top {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        gap: 20px;
        z-index: 20;
    }
}

/* Mobile: center arrows over the single card */
@media (max-width: 767px) {
    .news-carousel .carousel-controls-top {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        gap: 30px;
        z-index: 20;
    }

        .news-carousel .carousel-controls-top button {
            width: 40px;
            height: 40px;
        }
}

.news-carousel {
    position: relative;
}

    .news-carousel .carousel-controls-top {
        position: absolute;
        z-index: 30;
    }
/*Arrow Hover Glow*/
.carousel-controls-top button:hover {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    transform: scale(1.12);
}

/*/////////
    Fade-Edge Gradient (Professional News/Magazine Style)
    //////////*/
    .news-carousel::before,
    .news-carousel::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 60px;
        pointer-events: none;
        z-index: 10;
    }

/*Hover Zoom on Image*/
.multi-carousel .img-wrap img {
    transition: transform .3s ease;
}

.multi-carousel .card:hover .img-wrap img {
    transform: scale(1.04);
}
/*Smooth Shadow on Hover*/
.multi-carousel .card {
    transition: box-shadow .25s ease, transform .25s ease;
}

    .multi-carousel .card:hover {
        box-shadow: 0 6px 14px rgba(0,0,0,0.18);
        transform: translateY(-3px);
    }
/*Title Line Clamping (perfect consistency)*/
.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/*Soft Rounded Corners on Cards*/
.multi-carousel .card,
.multi-carousel .img-wrap img {
    border-radius: 14px !important;
}

/*Animated Entry on Scroll (WOW moment!)*/

.news-carousel {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

    .news-carousel.visible {
        opacity: 1;
        transform: translateY(0);
    }


.carousel-indicators [data-mdb-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 13px;
    height: 13px;
    padding: 0;
    margin-right: 5px;
    margin-left: 5px;
    text-indent: -999px;
    cursor: pointer;
    background-color:white;
    background-clip: padding-box;
    border: 0;
    border: 1px solid #000;
/*    border-bottom: 1px solid #000;*/
    opacity: .5;
    transition: opacity .6s ease;
}

/*added to fix scrollbar overflow 12/20/25*/

/* spacing that will NOT affect MDB sliding math */
#newsCarousel .multi-carousel-item .card {
    margin: 0 1rem; /* spacing between cards */
}
.news-carousel,
#newsCarousel {
    overflow-x: clip; /* best */
    overflow-x: hidden; /* fallback */
}

    /* Clip the off-screen multi-carousel items so they don't create page horizontal scroll */
    #newsCarousel,
    #newsCarousel .multi-carousel-inner {
        overflow-x: clip !important; /* modern */
        overflow-y: visible !important;
    }

@supports not (overflow: clip) {
    #newsCarousel,
    #newsCarousel .multi-carousel-inner {
        overflow-x: hidden !important; /* fallback */
    }
}

/* also make sure the carousel itself can’t exceed the viewport */
#newsCarousel {
    max-width: 100%;
}


.wc-news-carousel {
    overflow-x: clip;
}

@supports not (overflow: clip) {
    .wc-news-carousel {
        overflow-x: hidden;
    }
}

/* === FIX: kill page horizontal overflow caused by MDB multi-carousel offscreen items === */
.wc-news-carousel,
.wc-news-carousel > .container-fluid,
.wc-news-carousel .news-carousel,
#newsCarousel,
#newsCarousel .multi-carousel-inner {
    max-width: 100% !important;
    overflow-x: clip !important; /* modern + best */
}

/* fallback if clip is not supported somewhere */
@supports not (overflow-x: clip) {
    .wc-news-carousel,
    .wc-news-carousel > .container-fluid,
    .wc-news-carousel .news-carousel,
    #newsCarousel,
    #newsCarousel .multi-carousel-inner {
        overflow-x: hidden !important;
    }
}
/*end carousel///////////////*/


/* Move indicators down so they don't sit on top of the image */
.carousel-indicators {
    bottom: -15px;
}

/* Smaller images on phones */
@media (max-width: 576px) {
    .banner-img {
        max-height: 260px;
        object-fit: cover;
    }

    .carousel-indicators {
        bottom: -10px;
    }
}
/* Apply only to the NEWS carousel */
.news-carousel .carousel-control-prev-icon,
.news-carousel .carousel-control-next-icon {
    width: 3rem !important;
    height: 3rem !important;
    background-size: 100% 100% !important;
    background-image: none !important;
    position: relative;
}

    /* Draw arrows manually */
    .news-carousel .carousel-control-prev-icon::after,
    .news-carousel .carousel-control-next-icon::after {
        content: '';
        position: absolute;
        top: 50%; /* CENTER properly */
        left: 50%;
        width: 1.2rem;
        height: 1.2rem;
        border-top: 4px solid white;
        border-left: 4px solid white;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    /* Next arrow rotation */
    .news-carousel .carousel-control-next-icon::after {
        transform: translate(-50%, -50%) rotate(135deg);
    }