:root {
    --themeColor: #0B2C76;
    --primaryColor: #1A672B;
    --secondaryColor: #FF3131;
    --infoColor: #105627;
    --textcolor: #010000;
    --blackColor: #000;
    --whiteColor: #fff;
}


/* =========================
           BANNER WRAPPER
        ========================= */

.new-donation-slider {
    padding: 10px;
}

.new-donation-slide {
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, rgb(255 255 255 / 5%) 25%, transparent 25%) -10px 0 / 40px 40px, linear-gradient(315deg, rgb(255 255 255 / 4%) 25%, transparent 25%) -10px 0 / 40px 40px, linear-gradient(135deg, var(--themeColor), #09245f);
}


/* =========================
           CONTENT (CENTER)
        ========================= */

.new-donation-content {
    position: relative;
    z-index: 5;
    width: 46%;
    flex-shrink: 0;
    height: 100%;
    padding: 30px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--whiteColor);
    /* border-left: 6px solid #ff0000; */
}

.new-donation-content::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 55px;
    right: -1px;
    z-index: -1;
    /* background: linear-gradient(135deg, rgb(255 255 255 / 5%) 25%, transparent 25%) -10px 0 / 40px 40px, linear-gradient(315deg, rgb(255 255 255 / 4%) 25%, transparent 25%) -10px 0 / 40px 40px, linear-gradient(180deg, var(--themeColor), #09245f); */
    transform: skewX(-10deg);
    border-left: 6px solid #ffffff;
}


.new-donation-content h1 {
    margin: 0 0 18px;
    color: var(--whiteColor);
    font-size: clamp(26px, 2.6vw, 38px);
    line-height: 1.5 !important;
    font-weight: 700;
}


.new-donation-content p {
    margin-bottom: 24px;
    color: var(--whiteColor);
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6 !important;
}


/* =========================
           BUTTON
        ========================= */

.new-donation-btn {
    width: fit-content;
    padding: 11px 28px;
    color: var(--whiteColor);
    background: var(--secondaryColor);
    border: 0;
    border-radius: 6px;
    font-weight: 600;
}

.new-donation-btn:hover {
    color: var(--whiteColor);
    background: #df2020;
}


/* =========================
           IMAGE AREAS (LEFT & RIGHT)
        ========================= */

.new-donation-images {
    position: relative;
    z-index: 2;
    width: 27%;
    flex-shrink: 0;
    height: 100%;
    /* overflow: hidden; */
}

.new-donation-img {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    overflow: hidden;
}


.new-donation-img img {
    position: absolute;
    top: 0;
    left: -10%;
    width: 125%;
    height: 100%;
    object-fit: cover;
}


/* ---------- SHARED IMAGE ROLE RULES (used by both groups) ----------
           img-one   = touches content (inner edge)
           img-two   = middle
           img-three = touches banner's outer edge
        */

.new-donation-img {
    border-left: 6px solid var(--whiteColor);
}

.new-img-one,
.new-img-two,
.new-img-three {
    transform: skewX(-10deg);
}

.new-img-one {
    left: -52px;
    width: 49%;
    z-index: 1;
}

.new-img-two {
    left: 32%;
    width: 40%;
    z-index: 2;
}

.new-img-three {
    right: -60px;
    width: 48%;
    z-index: 3;
}

.new-donation-img img {
    transform: skewX(6deg) scale(1.08);
}


/* ---------- LEFT GROUP = SAME rules as right, no mirror ---------- */


/* =========================
           MOBILE
        ========================= */

@media (max-width: 767px) {

    .new-donation-slide {
        height: auto;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius:0px;
    }
    .new-donation-slider {
        padding: 0px;
    }
    .new-images-left,
    .new-images-right{
        display: none !important;
    }

    .new-donation-content {
        position: relative;
        width: 100%;
        height: auto;
        z-index: 5;
    }

    .new-donation-content::before {
        border-radius: 12px;
        clip-path: none;
        border-left: none;
    }


    .new-donation-content h1 {
        font-size: 24px;
        margin: 0 0 15px;
        line-height: 1.3;
    }


    .new-donation-content p {
        margin-bottom: 18px;
        font-size: 13px;
    }


    .new-donation-btn {
        padding: 10px 24px;
        font-size: 13px;
    }


    .new-donation-images {
        position: relative;
        width: 100%;
        height: auto;
        z-index: 2;

        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        overflow: visible;
        gap: 4px;
    }

    .new-donation-img {
        height: 110px;
        position: relative;
        top: auto;
        left: auto !important;
        right: auto !important;
        bottom: auto;
        overflow: hidden;
        border: 0 !important;
        width: 33.33% !important;
        margin: 0 !important;
        transform: none !important;
        border-radius:0px;
    }


    .new-donation-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none !important;
    }

}

@media (min-width: 768px) and (max-width: 1100px) {
    .new-img-one {
        left: -44px;
        width: 64%;
        z-index: 1;
    }

    .new-img-two {
        left: 32%;
        width: 51%;
        z-index: 2;
    }

    .new-donation-img img {
        width: auto;
    }
}

.new-impact-content{
    width: 52%;
}
.new-impact-details-images{
        width: 24%;
}