
    .evento1-images-row {
        display: flex;
        gap: 0.5rem;
    }

    .evento1-image-main {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .evento1-images-row:has(.evento-image-main:only-child) .evento-image-main,
    .evento1-images-row .evento-image-main:only-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .evento1-image-extra {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    /* ==========================================
   WRAPPER IMMAGINE
   ========================================== */

    .evento1-image-wrapper {
        width: 100%;
        height: 250px;
        background: #f8f9fa;
        border-radius: 0.5rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .evento1-image-wrapper:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .evento1-image-wrapper img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        object-position: center;
        display: block;
        transition: transform 0.3s ease;
    }

    .evento1-image-wrapper:hover img {
        transform: scale(1.05);
    }

    /* ==========================================
   GALLERY OVERLAY
   ========================================== */

    .gallery-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        border-radius: 0.5rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .evento1-image-extra:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-overlay i {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .gallery-overlay small {
        font-size: 0.875rem;
    }

    /* ==========================================
   PLACEHOLDER
   ========================================== */

    .evento1-image-placeholder {
        width: 100%;
        height: 250px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        border-radius: 0.5rem 0.5rem 0 0;
        position: relative;
        overflow: hidden;
    }

    .evento1-image-placeholder::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transform: skewX(-15deg);
        animation: shine 3s infinite;
    }

    @keyframes shine {
        0% {
            left: -100%;
        }

        50%,
        100% {
            left: 200%;
        }
    }

    .evento1-image-placeholder i {
        font-size: 4rem;
        opacity: 0.6;
    }

    .evento1-image-placeholder p {
        margin: 0;
        font-size: 0.875rem;
        opacity: 0.8;
    }

    /* ==========================================
   CARD EVENTO
   ========================================== */

    .evento1-card {
        display: flex;
    flex-direction: column;
    height: 100%; /* Forza la card a riempire la colonna */
        transition: all 0.3s ease;
        overflow: hidden;
    }

    .evento1-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }

    /* ✅ FIX: Card body flex per distribuire contenuto */
    .evento1-card .card-body {
        display: flex;
        flex-direction: column;
     
    flex-grow: 1;
    }

    .evento1-card .card-text {
        flex-grow: 1;
        /* ✅ Occupa spazio disponibile */
    }

    .evento1-card .mt-auto {
        margin-top: auto !important;
        /* ✅ Pulsante sempre in fondo */
    }

  

    @media (min-width: 768px) and (max-width: 991.98px) {
        .col-md-6:nth-child(odd) {
            clear: left;
        }
    }

    /* ==========================================
   BADGE PURPLE
   ========================================== */

    .bg-purple {
        background-color: #6f42c1 !important;
        color: white !important;
    }

    /* ==========================================
   YEAR NAVIGATION
   ========================================== */

    .year-navigation .btn.active {
        pointer-events: none;
    }

    /* ==========================================
   RESPONSIVE
   ========================================== */

    @media (max-width: 576px) {
        .evento1-images-row {
            flex-direction: column;
        }

        .evento1-image-main,
        .evento1-image-extra {
            flex: 0 0 100%;
            max-width: 100%;
        }

        .evento1-image-wrapper {
            height: 200px;
        }

        .evento1-image-placeholder {
            height: 200px;
        }
    }

    @media (min-width: 1200px) {
        .evento1-image-wrapper {
            height: 280px;
        }

        .evento1-image-placeholder {
            height: 280px;
        }
    }
