#slide *{
    box-sizing:border-box;
}

.news-slider{
    width:100%;
    height:60px;
    background:#00579a;
    color:#fff; 
    display:flex;
    align-items:center; 
    overflow:hidden;
    font-family: Open sans, sans-serif;

    position:sticky;
    top:52px;      /* o il valore corretto */
    z-index:2999;

    left:0;
}

/* BADGE */
.badge{
    position:relative;
    background:#ffffff;
    color:#001D36;
    font-weight:bold;
    font-size:16px;
    white-space:nowrap;

    height:60px;
    padding:0 18px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;
}

/* TRIANGOLO */

.badge::after {
    content: "";
    position: absolute;
    top: 0;
    right: -11px; 

    width: 0;
    height: 0;

    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 12px solid #ffffff;
}



.slider-content{
    flex:1;
    overflow:hidden;
    position:relative;
}

.slides{
    display:flex;
    transition:none;
}

.slide{
    min-width:100%;
    display:flex;
    align-items:center;
    gap:20px;
    padding:0;
}

.date{
    font-size:16px;
    font-weight:normal;
    white-space:nowrap;
}

.title{
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:normal;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.title:hover{
    color:#fff;
    text-decoration:none;
}

.nav{
    display:flex;
    gap:5px;
    padding-right:10px;
}

.nav button{
    width:28px;
    height:28px;
    border:none;
    cursor:pointer;
    background:#ffffff;
    color:#00579a;
    border-radius:4px;
    font-weight:bold;
}

.nav button:hover{
    background:#e8eef4;
}

html,
body{
    overflow-x:hidden;
}

@media (max-width:768px){

    .news-slider{
        height:auto;
        min-height:60px;
    }

}