/* Scoped only to this carousel */
.a3-deck-carousel {
    width: 100%;
    margin-top: 7rem;
}

.a3-deck-carousel .splide__slide {
    width: 100%;
    padding-right: 7%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-left: 7%;
}

.a3-deck-carousel .splide__slide img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 80px 80px 80px 80px;
}

.a3-deck-carousel .splide__track,
.a3-deck-carousel .splide__list {
    height: auto;
}

.a3-deck-carousel .splide__arrow:focus,
.a3-deck-carousel .splide__pagination__page:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Base pagination styling */
.a3-deck-carousel .splide__pagination {
    position: static;          /* Removes absolute positioning */
    margin-top: 3.5rem;        /* Pushes it below the carousel */
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    /* background: red; */
    /* width: fit-content; */
}

/* Pagination bullets */
.a3-deck-carousel .splide__pagination__page {
    width: 83px;
    height: 45px;
    border-radius: 99px;
    background: #46514c;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Active bullet */
.a3-deck-carousel .splide__pagination__page.is-active {
    background: #c6ff94;
    transform: scale(1.2);
    opacity: 1;
    box-shadow: inset 0 0 0 9px #5a8631;
}
@media(min-width:1024px){
    /* Scoped only to this carousel */
    .a3-deck-carousel {
        position: relative;
        overflow: hidden;
        padding-bottom: 0.3rem;
        width: 30vw;
        margin-right: 4rem;
        display: flex;
        margin-top: 0;
    }


    /* Shadow gradients */
    .a3-deck-carousel::before,
    .a3-deck-carousel::after {
        content: "";
        position: absolute;
        top: 0;
        width: 60px; /* Adjust width for desired shadow reach */
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    /* Left side gradient */
    .a3-deck-carousel::before {
        left: 0;
        background: linear-gradient(to right, rgb(0 0 0), transparent);
    }

    /* Right side gradient */
    .a3-deck-carousel::after {
        right: 0;
        background: linear-gradient(to left, rgb(0 0 0), transparent);
    }

    .a3-deck-carousel .splide__slide {
        width: 100%;
        padding-left: 7%;
        padding-right: 7%;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .a3-deck-carousel .splide__slide img {
        display: block;
        height: auto;
        margin: 0 auto;
        border-radius: 80px;
    }

    .a3-deck-carousel .splide__track,
    .a3-deck-carousel .splide__list {
        height: auto;
    }

    .a3-deck-carousel .splide__arrow:focus,
    .a3-deck-carousel .splide__pagination__page:focus {
        outline: 2px solid #000;
        outline-offset: 2px;
    }

    /* Base pagination styling */
    .a3-deck-carousel .splide__pagination {
        position: static;          /* Removes absolute positioning */
        margin-top: 1.5rem;        /* Pushes it below the carousel */
        display: flex;
        justify-content: center;
        gap: 1rem;
        /* background: red; */
        /* width: fit-content; */
    }

    /* Pagination bullets */
    .a3-deck-carousel .splide__pagination__page {
        width: 59px;
        height: 34px;
        border-radius: 99px;
        background: #46514c;
        border: none;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.3s ease;
        overflow: visible;
    }

    /* Active bullet */
    .a3-deck-carousel .splide__pagination__page.is-active {
        background: #c6ff94;
        transform: scale(1.2);
        opacity: 1;
        box-shadow: inset 0 0 0 9px #5a8631;
        overflow: visible;
    }
}