.latest-services-widget {
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.swiper-footer {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    position: relative;
}

.latest-services-widget .swiper-title {
    font-size: 30px;
    letter-spacing: 1;
}

.swiper-problematiche-widget .swiper-slide{
    text-align: start;
}

/* Nav wrapper posizionato al centro sotto lo slider */
.swiper-nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 32px;
    align-items: center;
}

/* ====== BUTTON BASE ====== */
.custom-prev,
.custom-next {
    background: #182240;  /* blue background */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    border: 2px solid #182240;
    border-radius: 0;
    box-sizing: border-box;
    position: relative;
}

/* Disabled button basic style */
.custom-next.swiper-button-disabled,
.custom-prev.swiper-button-disabled {
    background: transparent;
    border: 2px solid #182240;
    opacity: 0.6;
    pointer-events: none;
}

/* ====== ARROW (pseudo) ======
   We use border-left + border-top to draw the arrow "chevron",
   then rotate to point right (next) or left (prev).
*/
.custom-prev::after,
.custom-next::after {
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    border-left: 2px solid #F3EFE8; /* default arrow color (light) */
    border-top: 2px solid #F3EFE8;
    transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

/* Next = right arrow */
.custom-next::after {
    transform: rotate(135deg);
}

/* Prev = left arrow */
.custom-prev::after {
    transform: rotate(-45deg);
}

/* Hover: invert background, keep border; arrow turns blue */
.custom-prev:hover,
.custom-next:hover {
    background: #fff;
    border: 2px solid #182240;
}

.custom-prev:hover::after,
.custom-next:hover::after {
    border-left-color: #182240;
    border-top-color: #182240;
}

/* ====== Disabled arrow appearance ======
   When Swiper adds .swiper-button-disabled we make the arrow the blue color,
   keep rotation intact, and reduce opacity of the button.
*/
.custom-next.swiper-button-disabled::after,
.custom-prev.swiper-button-disabled::after {
    border-left-color: #182240;
    border-top-color: #182240;
    opacity: 1;
}

/* Slight visual adjustment when disabled so chevron stands out on transparent bg */
.custom-next.swiper-button-disabled,
.custom-prev.swiper-button-disabled {
    background: transparent;
}

/* ====== SLIDE ====== */
.swiper-services .slide-card {
    background-size: cover;
    background-position: center;
    height: 390px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.swiper-services .slide-overlay {
    color: white;
    padding: 20px;
    width: 100%;
}

.slide-overlay h4 {
    max-width: 417px;
    font-family: 'Alliance No.2', sans-serif;
    margin: 0 0 25px;
}

@media only screen and (max-width: 767px) {
	.accordion-item h6 {
	padding: 0;
}
}