.titolo-news{
    margin-bottom: 0.4rem !important;
    font-weight: 600 !important;
}
.data-news{
    text-transform: uppercase;
}
.link-news{
    text-decoration: none !important;
}
.news-single-custom{
margin-top: 2rem;
}
.share-news{
    display: contents;
    font-size: 0.75rem !important;
    font-weight: 600;
}
.social-news{

    font-size: 1.5rem;
    margin-top: 1rem;
}
.titolo-news-detail{
    color: $cobat-blu;
}
.chips-news-card{
    display: flex;
    justify-content: end;
    >span{
        background-color: white !important;
        position: absolute;
        color: black;
        margin: 14px;
        padding: 2px 10px 2px 10px;
        border-radius: 30px;
    }
}
.news-image{
    width: 100% !important;
    height: 200px !important;
}
.colonne-news-comunicazioni{
    border-top: 1px solid #808181;
}
.go-arrow{
    width: 48%;
    .go-arrow-wrapper{
        >svg{
            stroke: $cobat-blu;
        }
    }
}


.mediaelement.mediaelement-image {
    overflow: hidden;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    
}


.immagine-detail-news{
    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}
.mediaelement-video{
    >iframe{
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}
.news-list-view{
    .mediaelement-video{
        >iframe{
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
        }
    }
}
.news-pagination{
    ul{
        display: flex;
        justify-content: center;
        list-style: none;
        display: flex;
        gap: 2%;
        align-items: center;
    }
    li{
      &.current{
        display: table;
        border: 1px solid $cobat-blu;
        padding: 2px 14px 2px 14px;
        border-radius: 50%;
        background-color: $cobat-blu;
        color: white;
      }
      &.next{
        display: none;
      }  
      &.previous{
        display: none;
      }
      a{
        text-decoration: none;
      }
    }
}
.category-news{
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    .active{
        >span{
            background-color: $cobat-blu !important;
            color: white !important;
        }
    }
}
#tutte-le-news{
    &.active{
        >span{
            background-color: $cobat-blu !important;
            color: white !important;
        }
    }
}

@media all and (max-width: 767px) {
.news-single-custom{
    margin-top: 0rem;
    }
    .news-content {
        padding: 0 25px;
    }
}
.news-home{
    .mediaelement-video{
        >iframe{
            width: -webkit-fill-available;
        }
    }
}

.colonne-news{
    .mediaelement-image{
        img{
            width: 100%;
            height: 100%;
        }
    }
}

.normative-list-view{
    .news-related-files-link{
        font-weight: 600;
    }
    .bi-file-pdf{
        font-size: 1.6rem;
    }
}

.magazine{
    .news-related-files-link{
        font-weight: 600;
    }
    .bi-file-pdf{
        font-size: 1.6rem;
    }
}

.lista-magazine{
    .news-related-files-link{
        font-weight: 600;
    }
    .bi-file-pdf{
        font-size: 1.6rem;
    }
}

.immagine-detail-news{
    iframe{
        width: 100%;
    }
}
.immagine-detail{
    img{
        width: 100%;
        height: fit-content;
    }
}