article.news-container {
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 0 20px -3px #b9cce8;
    max-height: 25em;
}

article.news-container.is-mobile {
    box-shadow: none;
    max-height: 35em;
    border-radius: 0;
}

.news-content-container {
    padding-right: 2em;
}

.alt .news-content-container {
    padding-left: 2em;
    padding-right: 0;
}

.news-content-container.is-mobile {
    padding-left: 1em;
    padding-right: 1em;
}

.news-thumb.is-mobile .syrus-theme-thumb-img {
    max-height: 15em;
}

.news-content-container.no-image {
    padding-left: 2em;
}

.syrus-theme-thumb-img {
    max-width: 100%;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

.news-thumb {
    position: relative;
    overflow: hidden;
}

.news-thumb.is-mobile::before{
    border: none;
}

.news-thumb::before{
    border-color: transparent #fbfbfb transparent transparent;
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 25px 25px 0;
    right: .75em;
    top: 15%;
}

.alt .news-thumb::before{
    left: .75em;
    border-color: transparent transparent transparent #fbfbfb;
    border-width: 25px 0 25px 25px;
    
}

.news-title {
    font-size: 24px;
    font-family: Helvetica, Arial;
    font-weight: 500;
    line-height: 1.1;
    position: relative;
    padding-top: 30px;
    overflow-wrap: break-word;
}

.href-news {
    color: #212529;
    text-decoration: none;
}

.news-title.is-mobile {
    padding-top: .5em;
}

.news-title::after{
    content: "";
    position: absolute;
    width: 200px;
    bottom: -10px;
    height: 3px;
    background-color: #ffa700; /* Rendere dinamica come per l'header */
    left: 0;
    right: auto;
    transition: width .5s;
}

article.news-container:hover .news-title::after{
    width: 50px;
}

.news-title a{
    color: #212121;
    text-decoration: none;
}

.news-category {
    padding-top: 1em;
    padding-bottom: .5em;
    display: flex;
    gap: .5em;
}

.news-category.is-mobile {
    padding: 0;
} 

.news-category a, .news-category p{
    font-weight: 400;
    color: rgb(15 109 170 / 74%);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
}

.news-author {
    font-size: 14px;
}

.reading-time {
    font-weight: 500;
    font-size: 14px;
    color: gray;
}

.news-author .news-author-by, .news-date{
    font-size: 13px;
    color: #9d9c9c;
}

p.news-excerpt{
    font-size: 1.35em;
    font-family: Montserrat;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 1em;
    padding-top: .5em;
}

nav.navigation.pagination {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: .5em 0;
}


.page-numbers {
    background-color: #0966ab;
    color: white;
    text-decoration: none;
    padding: .5em 1em;
    position: relative;
    z-index: 1;
    border-radius: .2em;
    font-size: 19px;
}

.page-numbers.current{
    background-color: #ffa700;
}

.page-numbers.current:hover{
    background-color: #0966ab;
    color: white;
}

.page-numbers:hover {
    background-color: #ffa700;
    color: white;
}

@keyframes hoverOnPost {
    from {
      width: 200px;
    }
    to {
      width: 50px;
    }
  }
.top-home{
    padding: 0 15px 30px;
}
.category-title{
    color: #0f6daa;
    font-size: 23px;
    position: relative;
    font-family: 'Arial Black';
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
}

.category-title h2 {
    position: relative;
    font-size: 20px;
    font-weight: 250;
}

.category-title::before {
    content: "";
    position: relative;
    width: 1em;
    height: .07em;
    background-color: #0f6daa;
    top: .7em;
    margin-right: .5em;
  }
  
.content-title::before{
    content: '';
    position: absolute;
    left: 0;
    width: 36px;
    height: 2px;
    background: #0f6daa;
    bottom: 12px;
}

.category-description{
    text-align: justify;
}

.category-description p{
    font-family: 'Montserrat';
    font-size: 1.2em;
    margin: 0;
    text-align: justify;
}