.wrapper-overflow-table {

    padding: 42px !important;

}





@media (max-width: 768px) {

    .wrapper-overflow-table {

        padding: 16px !important;

    }

}


/*
.evento-icon {

    width: 8%;



}



.evento-nome {

    width: 30%;

}



.evento-localita {

    width: 15%;

}



.evento-descrizione {

    width: 15%;

}



.evento-data {

    width: 15%;

}



.evento-link {

    width: 17%;

}
*/

.evento-icon {

    width: 8%;



}



.evento-nome {

    width: 46%;

}



.evento-nome h6 {

    font-size: 0.9rem;

    white-space: normal;

}



.evento-localita {

    width: 15%;

}



.evento-descrizione {

    width: 15%;

}



.evento-data {

    width: 12%;

}



.evento-disciplina {

    width: 18%;

}



.evento-link {

    width: 17%;

}




.dotted-separator {

    height: 2px;
    /* altezza linea sottile */

    background-image: linear-gradient(to right, #c6c6e6 50%, transparent 50%);

    background-size: 10px 2px;
    /* 10px = distanza tra puntini, 2px = altezza puntini */

    background-repeat: repeat-x;

}



.btn-scopri {

    padding: 16px 4px;

}



/* Mobile first: <768px */

@media (max-width: 767.98px) {

    .evento-row {

        display: block;

        border-radius: 0.5rem;

        padding: 1rem;

        /* margin-bottom: 1rem; */

        padding-bottom: 0;

    }





    .evento-row td {

        display: flex;

        width: 100%;

        justify-content: flex-start;

        padding: 0.25rem 0;

        border: 0;

    }



    .evento-row td i {

        min-width: 24px;
        /* allinea le icone */

    }



    .evento-row td .btn {

        width: 100%;
        /* pulsante full-width */

    }

}



/* Desktop ≥768px */

@media (min-width: 768px) {

    .evento-row {

        display: table-row;

        /*border: none;*/

        margin-bottom: 0;

    }



    .evento-row td {

        display: table-cell;

        padding: 1rem 0.5rem;

    }



    .btn-scopri {

        width: 160px;

        padding: 16px 4px;

    }

}


/* =============================================================
   TAB DISCIPLINE
   ============================================================= */

.mod-eventi-tabs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.mod-eventi .nav-tabs {
    flex: 1;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border-bottom: none !important;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 4px 2px;
}

.mod-eventi .nav-tabs::-webkit-scrollbar {
    display: none;
}

.mod-eventi .nav-tabs .nav-item {
    border: none !important;
}

/*
.mod-eventi .nav-tabs .nav-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e2f0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    padding: 10px 20px !important;
    margin: 0 !important;
    font-weight: 600;
    font-size: 14px;
    color: #5F5F86;
    background: #fff !important;
    white-space: nowrap;
    box-shadow: none !important;
}
*/

.mod-eventi .nav-tabs .nav-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 32px;
    box-sizing: border-box;
    border: 1px solid #e2e2f0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    padding: 0 20px !important;
    margin: 0 !important;
    font-weight: 600;
    font-size: 14px;
    color: #5F5F86;
    background: #fff !important;
    white-space: nowrap;
    box-shadow: none !important;
}

.mod-eventi .nav-tabs .nav-link::before,
.mod-eventi .nav-tabs .nav-link::after {
    display: none !important;
    content: none !important;
}

.mod-eventi .nav-tabs .nav-link.active,
.mod-eventi .nav-tabs .nav-link:hover {
    color: #1E0A52;
    border-color: #1E0A52 !important;
    background: #fff !important;
}

.mod-eventi-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e2f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #1E0A52;
    transition: opacity 0.2s ease;
}

.mod-eventi-arrow:hover {
    background: #f5f5fb;
}

.mod-eventi-arrow[disabled] {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.mod-eventi-caption {
    font-size: 12px;
    color: #9a9ab5;
    margin-bottom: 16px;
}

.mod-eventi-arrow {
    align-self: center !important;
    margin-top: -13px;
}

/* =============================================================
   TAB DISCIPLINE - allineamento verticale su mobile
   ============================================================= */
@media (max-width: 767.98px) {
    .mod-eventi-tabs-wrapper {
        align-items: center !important;
        gap: 0px !important;
    }

    .mod-eventi .nav-tabs {
        align-items: center !important;
    }

    .eventi_home .eventi_fise_mod nav {
        border-bottom: 0;
        padding: 0;
    }

    .mod-eventi .nav-tabs .nav-link {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        line-height: 1 !important;
        padding: 0 0px !important;
        font-size: 13px;
    }

    .mod-eventi-arrow {
        align-self: center !important;
        margin-top: -37px;
        margin-left: 20px !important;
        margin-right: 20px !important;
    }

    .mod-eventi-caption {
        padding: 0 20px !important;
        color: #4b4b79 !important;
    }
}