.history_paragraph h2 span {
    font-family: var(--font-sv-bold);
    color: var(--color-sv-green-yellow);
}

.cards_animate_1 {
    background-color: #C9BCA6;
    background-image: radial-gradient(circle at bottom right,
            rgba(62, 54, 40, 0.15) 0%,
            rgba(62, 54, 40, 0) 60%);
    background-repeat: no-repeat;
    background-size: cover;
}

.cards_animate_2 {
    background-color: #ffffff;
    background-image: radial-gradient(circle at bottom right,
            rgba(62, 54, 40, 0.15) 0%,
            rgba(62, 54, 40, 0) 60%);
    background-repeat: no-repeat;
    background-size: cover;
}

.cards_animate_3 {
    color: white;
    background-color: #006941;
    background-image: radial-gradient(circle at bottom right,
            rgba(62, 54, 40, 0.15) 0%,
            rgba(62, 54, 40, 0) 60%);
    background-repeat: no-repeat;
    background-size: cover;
}

.cards_animate_4 {
    background-color: #E2DBC9;
    background-image: radial-gradient(circle at bottom right,
            rgba(62, 54, 40, 0.15) 0%,
            rgba(62, 54, 40, 0) 60%);
    background-repeat: no-repeat;
    background-size: cover;

}

.cards_animate_5 {
    background-color: #781268;
    background-image: radial-gradient(circle at bottom right,
            rgba(62, 54, 40, 0.15) 0%,
            rgba(62, 54, 40, 0) 60%);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.cards_animate_6 {
    background-color: #ffffff;
    background-image: radial-gradient(circle at bottom right,
            rgba(62, 54, 40, 0.15) 0%,
            rgba(62, 54, 40, 0) 60%);
    background-repeat: no-repeat;
    background-size: cover;
}

.cards_animate {
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 205px;
    transition: all 0.6s ease-in-out;
}

.cards_animate>li {
    position: relative;
    transition: transform 0.6s ease-in-out;
}


.cards_animate>li>figure::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3E362899;

}

.cards_animate>li:nth-child(1) {
    transform: translateX(100%);
    z-index: 1;
}

.cards_animate>li:nth-child(2) {
    transform: translateX(60%);
    z-index: 2;
}

.cards_animate>li:nth-child(3) {
    transform: translateX(20%);
    z-index: 3;
}

.cards_animate>li:nth-child(4) {
    transform: translateX(-20%);
    z-index: 4;
}

.cards_animate>li:nth-child(5) {
    transform: translateX(-60%);
    z-index: 5;
}

.cards_animate>li:nth-child(6) {
    transform: translateX(-100%);
    z-index: 6;
}

.cards_animate.is-expanded>li {
    position: relative;
    transform: none !important;
    z-index: auto !important;
}

.arrow_brown::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url('../imgs/arrow_brown.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    float: right;
}

.arrow_brown {
    border-bottom: 2px solid transparent;
}

.arrow_brown:hover {
    border-bottom: 2px solid #BDB194;
    color: #BDB194;
}

.arrow_brown:hover::after {
    content: '';
    background-image: url('../imgs/arrow-cream2.svg');
}



.partners_testimonials_slider .splide__pagination {
    bottom: -8rem;
}

.partners_testimonials_slider .splide__pagination__page.is-active {
    background-color: var(--color-sv-green-yellow);
}

.partners_testimonials_slider .splide__pagination__page {
    background-color: var(--color-sv-dark);
}

#partners_testimonial_modal {
    border: none;
    border-radius: 10px;
    box-shadow: 4px 4px 10.7px 0px #00000030;
    padding: 25px 50px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#partners_testimonial_modal::backdrop {
    background-color: #ffffff80;
}

#partners_testimonial_modal[open] {
    opacity: 1;
    transform: scale(1);
    transition: opacity .3s ease, transform .3s ease;
}

#partners_testimonial_modal::backdrop {
    opacity: 1;
    transition: opacity .3s ease;
}

#partners_testimonial_modal:not([open]) {
    opacity: 0;
    transform: scale(.95);
}

#partners_testimonial_modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

#partners_testimonial_modal {
    /* border relative rounded-2xl container mx-auto bg-white px-10 pb-10 pt-14 */
    border: none;
    max-width: 900px;
    width: 90%;
    inset: 0;
    justify-content: center;
    align-items: center;
}

html:has(dialog[open]) {
    overflow: hidden;
}

@keyframes scale_up {
    0% {
        scale: 1;
    }

    50% {
        scale: 1.05;
    }

    100% {
        scale: 1;
    }
}