    /* DESKTOP */
    .atenei-wrapper {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 60px !important;
        width: 100% !important;
        margin-left: 100px !important;
        margin-top: 10%;
    }

    .ateneo-box {
        width: 48% !important;
    }

    /* Icone */
    .icon-img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

    .icon-title {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 10px;
    }

    .icon-title h2 {
        font-size: 28px;
        font-weight: 700;
        margin: 0;
    }

    /* Testi */
    .ateneo-box p {
        font-size: 18px;
        margin: 6px 0;
    }

    .val {
        font-weight: 700;
        color: #000;
    }

    /* Filtri */
    #filters-wrapper {
        margin-bottom: 30px;
        font-size: 18px;
    }

    #filters-wrapper select {
        padding: 0.6rem 1rem;
        border: 1px solid #ccc;
        border-radius: 30px;
        background: #fff;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #filters-wrapper select:focus {
        border-color: #00986a !important;
    }

    /* =========
   MOBILE
   ========= */
    @media (max-width: 800px) {

        .atenei-wrapper {
            flex-direction: column !important;
            gap: 30px !important;
            /* Spazio ridotto */
            margin-left: 0 !important;
            /* Nessun offset */
            padding: 0 15px !important;
            /* Rientro naturale */
        }

        .ateneo-box {
            width: 100% !important;
        }

        .icon-img {
            width: 36px;
            /* più leggibili su mobile */
            height: 36px;
        }

        .icon-title h2 {
            font-size: 22px;
        }

        .ateneo-box p {
            font-size: 16px;
            line-height: 1.3;
        }

        /* Forza disposizione verticale dei filtri */
        #filters-wrapper {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            gap: 12px !important;
            padding: 0 20px !important;
        }

        /* Etichette dei filtri */
        #filters-wrapper label {
            margin-left: 0 !important;
            font-size: 16px !important;
            display: block !important;
        }

        /* Select in full width */
        #filters-wrapper select {
            width: 100% !important;
            max-width: 100% !important;
            font-size: 16px !important;
            padding: 8px 10px !important;
            border-radius: 12px !important;
        }

        #filters-wrapper {
            padding: 0 15px;
        }
    }


    #universita-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        max-width: 1280px;
        margin: 0 auto;
        gap: 1rem;
        padding: 1rem;
        min-height: 300px;
        margin-top: 10%;
    }

    .card {
        background: white;
        border-radius: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 300px;
        min-height: 280px;
        margin-bottom: 40px;
        box-sizing: border-box;
        transition: transform 0.2s;
        text-align: center;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .card .logo-container {
        position: relative;
        background-color: white;
        border-radius: 20px 20px 0 0;
        padding: 1rem;
        /* aggiungi padding */
        flex: 0 0 auto;
    }

    .card .logo-container img {
        width: 100%;
        max-height: 100px;
        /* limita altezza logo */
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .card .logo-container::after {
        content: "\f19c";
        /* Font Awesome tempio */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: white;
        font-size: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 152, 106, 0.88);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .card:hover .logo-container::after {
        opacity: 1;
    }

    .card h2 {
        transition: color 0.3s ease;
        padding: 1rem;
        font-size: 1rem;
        line-height: 1.3em;
        flex: 0 0 auto;
    }

    .card h2 a {
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }

    .card .content {
        flex: 1 1 auto;
        padding: 0 1rem;
        display: block;
        /* default */
    }

    .card .content h2 {
        font-size: 1rem;
        line-height: 1.3em;
        margin: 0;
        /* NON mettere height qui */
    }

    /* Questo è cruciale: il link dentro h2 deve diventare block clamped */
    .card .content h2 a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }

    .scopri-button {
        display: inline-block;
        padding: 0px 20px;
        font-size: 14px;
        font-weight: 600;
        color: white;
        background-color: #00986a;
        border-radius: 30px;
        text-decoration: none;
        text-align: center;
        margin-bottom: 20px;
    }