/* ================================================
   Esigenze Carousel Widget
   ================================================ */

.esigenze-carousel {
    position: relative;
    width: 100%;
}

.esigenze-carousel__title {
    margin-bottom: 24px;
}

/* Swiper overflow: visibile → prima slide parte dal bordo sx,
   ultima slide parzialmente visibile (peek a destra). */
.esigenze-carousel .elementor-carousel-wrapper {
    overflow: visible;
}

.esigenze-carousel {
    overflow-x: clip; /* taglia il peek a destra al bordo del widget */
}

/* Card */
.esigenze-carousel__card {
    display: flex;
    flex-direction: column;
}

/* Link: contiene immagine + fascia — definisce le proporzioni totali della card */
.esigenze-carousel__card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
}

/* Area immagine: cresce per riempire lo spazio sopra la fascia */
.esigenze-carousel__card-img-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #e8e4df;
}

.esigenze-carousel__card-img-wrap img,
.esigenze-carousel__card-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.esigenze-carousel__card-placeholder {
    background: linear-gradient(135deg, #d5cec6 0%, #bfb5aa 100%);
}

/* Fascia colore con nome */
.esigenze-carousel__card-band {
    background: #A68D5D;
    padding: 14px 12px;
    text-align: center;
    flex-shrink: 0;
}

.esigenze-carousel__card-name {
    display: block;
    color: #fff;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

/* Descrizione sotto la card */
.esigenze-carousel__card-desc {
    margin-top: 10px;
    font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

/* ── Pagination "barrette" ─────────────────────────────────────────────── */
.esigenze-carousel .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 18px;
    width: 100% !important;
    height: auto;
}

.esigenze-carousel .swiper-pagination-bullet {
    display: block !important;
    width: 24px !important;
    height: 3px !important;
    border-radius: 2px !important;
    background: #c8c0b8 !important;
    opacity: 1 !important;
    margin: 0 !important;
    transition: width .25s, background .25s;
    cursor: pointer;
}

.esigenze-carousel .swiper-pagination-bullet-active {
    background: #5a4a3a !important;
    width: 36px !important;
}
