/* ===== Testimonials Slider ===== */
.testimonials_section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 50px 10px 60px;
    box-sizing: border-box;
}

.testimonials_section .special_title.center {
    margin-bottom: 36px;
}

/* Slider wrapper — full width of .wrap, arrows go outside via negative positioning */
.testimonials_wrap {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
    .testimonials_wrap {
        padding: 0 36px;
    }
}

/* Hide extra slides before slick kicks in */
.testimonials_wrap:not(.slick-initialized) .testimonial_item + .testimonial_item {
    display: none;
}

/* Prevent slick overflow:hidden from clipping the card's bottom border */
.testimonials_wrap .slick-list {
    padding-bottom: 2px;
}

/* Each slide */
.testimonial_item {
    border: 1px solid #d5d5d5;
    border-radius: 12px;
    padding: 60px 110px;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
    outline: none;
}

@media only screen and (max-width: 767px) {
    .testimonial_item {
        padding: 32px 24px;
    }
}

.testimonial_text,
.testimonials_section .testimonial_text p {
    font-family: "Merriweather", serif;
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #2d2d2d;
    margin: 0 0 20px;
}

.testimonials_section .testimonial_text p {
    margin: 0;
}

.testimonial_name {
    font-weight: 700;
    color: #009a3b;
    font-size: 1rem;
    line-height: 1.4;
}

/* Arrows — absolute inside .testimonials_wrap */
.testimonials_wrap .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    line-height: 0;
    z-index: 5;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.testimonials_wrap .slick-arrow::before {
    display: none;
}

.testimonials_wrap .slick-arrow svg {
    display: block;
    width: 52px;
    height: 52px;
}

.testimonials_wrap .slick-prev {
    left: -52px;
}

.testimonials_wrap .slick-next {
    right: -52px;
}

.testimonials_wrap .slick-arrow.slick-disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

/* Dots — appended to .testimonials_section via JS, appear below the wrap */
.testimonials_section > .slick-dots {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: flex !important;
    justify-content: center;
    gap: 10px;
}

.testimonials_section > .slick-dots li {
    margin: 0;
    padding: 0;
    width: 12px;
    height: 12px;
}

.testimonials_section > .slick-dots li::before,
.testimonials_section > .slick-dots li::after {
    display: none;
}

.testimonials_section > .slick-dots li button {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c9c9c9;
    border: none;
    color: transparent;
    font-size: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.testimonials_section > .slick-dots li.slick-active button {
    background: #009a3b;
}
