/*
 * Events round carousel style for theliveexperience template.
 * Adapted from nurapi productsRound.
 */

section#eventsRound {
    background-color: #FFFFFF;
    padding: 3em 5% 3.5em;
    text-align: center;
}

.events-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2%;
    margin-bottom: 1em;
    flex-wrap: nowrap;
}

.round-event {
    position: relative;
    width: 15%;
    text-align: center;
    flex-shrink: 0;
}

.round-event a {
    display: block;
    color: #1c1c1e;
    text-decoration: none;
}

.round-event a:hover .round-img {
    transform: scale(1.05);
}

/* Bullet point senza collegamento */
.round-event.no-link .event-content {
    display: block;
    color: #1c1c1e;
    cursor: default;
}

.round-event.no-link .round-img {
    transform: none;
}

.round-img {
    width: 100%;
    padding-top: 100%;
    border-radius: 50%;
    background-color: #2a2a2e;
    background-size: cover;
    background-position: center;
    transition: transform .3s ease;
}

.badge-new {
    position: absolute;
    top: .3em;
    left: .3em;
    background-color: #6666ff;
    color: #FFFFFF;
    font-size: .65em;
    font-weight: 700;
    padding: .25em;
    border-radius: 50%;
    text-transform: uppercase;
    z-index: 1;
    letter-spacing: 1px;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-location {
    font-size: .8em;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1em;
    letter-spacing: 1.5px;
    color: #6666ff;
}

.event-name {
    font-size: .85em;
    font-weight: 700;
    margin-top: .3em;
    margin-bottom: .3em;
    letter-spacing: 1px;
    line-height: 1.3em;
    color: #1c1c1e;
}

.event-tag {
    font-size: .7em;
    color: #888888;
    letter-spacing: .5px;
}

/* Responsive */
@media screen and (max-width: 780px) {
    .events-row {
        flex-wrap: wrap;
        gap: 4%;
    }

    .round-event {
        width: 28%;
        margin-bottom: 1.5em;
    }
}

@media screen and (max-width: 500px) {
    .events-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6%;
    }

    .round-event {
        width: 42%;
        margin-bottom: 2em;
    }

    .badge-new {
        font-size: 1em;
    }

    .event-location {
        font-size: 1.25em;
    }

    .event-name {
        font-size: 1.25em;
        line-height: 1.5em;
    }

    .event-tag {
        font-size: 1em;
    }
}
