.eventi-carousel-wrapper {
    position: relative;
    max-width: none!important;
    margin: 0 auto;
    padding: 20px 60px 60px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.eventi-carousel {
    display: flex;
    gap: 10px;
    transition: transform 0.5s ease;
    scroll-behavior: smooth;
}

.evento-slide {
    flex-shrink: 0;
    width: auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.evento-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Link su tutto l'elemento quando non c'è pulsante */
.evento-slide-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.evento-slide-link:hover .evento-titolo,
h3.evento-titolo {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 900;
    margin-bottom: 0px;
    font-family: "Red Hat Display", Sans-serif;
    font-size: 20px;
    color: var(--e-global-color-text);
    text-transform: uppercase;
}

.evento-image {
    width: auto;
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.evento-image img {
    height: 100%;
    width: 350px;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.evento-slide:hover .evento-image img {
    transform: scale(1.05);
}

.evento-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 350px!important;
}

.evento-titolo a:hover {
    color: #ffd700;
}

.evento-data {
    font-size: 14px;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.evento-descrizione {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
    text-transform: uppercase!important;
}

.evento-link {
    display: inline-block;
    padding: 12px 24px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    align-self: flex-start;
}

.evento-link:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* Frecce di navigazione */
.carousel-prev,
.carousel-next {
    position: absolute!important;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.5);
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%!important;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    z-index: 100;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #ffd700;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:disabled,
.carousel-next:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-prev:disabled:hover,
.carousel-next:disabled:hover {
    transform: translateY(-50%) scale(1);
    background: rgba(255, 215, 0, 0.95);
}

/* Bolle di navigazione */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: #bbb;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #ffd700;
    width: 30px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 1200px) {
    .evento-slide {
        width: 340px;
    }
}

@media (max-width: 992px) {
    .eventi-carousel-wrapper {
        padding: 20px 50px 60px;
    }
    
    .evento-slide {
        width: 300px;
    }
    
    .evento-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .eventi-carousel-wrapper {
        padding: 20px 50px 60px;
    }
    
    .eventi-carousel {
        justify-content: flex-start;
    }
    
    .evento-slide {
        width: calc(100vw - 120px);
        max-width: 400px;
        min-width: 280px;
    }
    
    .evento-image {
        height: 180px;
        width: 100%;
    }
    
    .evento-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .evento-content {
        max-width: 100% !important;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
}

/* Schermi molto piccoli */
@media (max-width: 480px) {
    .eventi-carousel-wrapper {
        padding: 20px 45px 60px;
    }
    
    .evento-slide {
        width: calc(100vw - 90px);
        max-width: none;
    }
    
    .evento-image {
        height: 160px;
        width: 100%;
    }
    
    .evento-image img {
        width: 100%;
    }
    
    h3.evento-titolo,
    .evento-titolo a {
        font-size: 18px !important;
    }
    
    .evento-descrizione {
        font-size: 14px;
        text-transform: uppercase!important;
    }
    
    .evento-content {
        padding: 15px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .carousel-prev {
        left: 3px;
    }
    
    .carousel-next {
        right: 3px;
    }
}

/* Extra small - Telefoni in verticale */
@media (max-width: 375px) {
    .eventi-carousel-wrapper {
        padding: 15px 40px 50px;
    }
    
    .evento-slide {
        width: calc(100vw - 80px);
    }
    
    .evento-image {
        height: 140px;
    }
    
    h3.evento-titolo,
    .evento-titolo a {
        font-size: 16px !important;
    }
    
    .evento-descrizione {
        font-size: 13px;
        line-height: 1.5;
        text-transform: uppercase!important;
    }
    
    .evento-link {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}