.pagination {
  display: flex;
  justify-content: center;
  list-style: none; /* remove list bullets */
  padding: 0px;
}
.pagination li:before{
  display: none;
}

.pagination li a {
  display: block; /* let links fill the list item */
  padding: 8px 12px;
  text-decoration: none;
  border: 1px solid gray;
  color: black;
  margin: 0 4px;
  border-radius: 5px; /* add rounded borders */
}
.pagination li a.active {
  background-color: #B40155;
  color: white;
}
.NewsContainer{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	margin: 4% 5% 0% 5%;
	gap: 30px;
	box-sizing: border-box;
}
.Title{
    text-align: left;
    width: auto;
    margin: 150px 5% 0px 5%;
}
.news-item{
    flex: 1;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-height: 150px;
    margin: 0px;
    margin-bottom: 15px;
}
.news-img{
    width: 50%;
    max-height: 150px;
    right: 10px;
    top: 10px;
    object-fit: contain;
}
.news-date{
    margin: 0px;
    font-size: 2vmax;
    line-height: 1;
}
.news-date span{
    background-color: white;
}
.news-title{
    text-transform: uppercase;
    text-align: left;
    font-size: 2vmax;
    font-weight: 600;
    margin: 0px;
    margin-bottom: 15px;
}
.news-textShort{
    font-size: 1.8vmax;
    text-align: justify;
    margin: 0px;
    margin-bottom: 45px;

}
.news-showFull{
    margin: 0px;
    position: absolute;
    bottom: 0px;
}
.news-showFull a:link, .news-showFull a:visited{
    color: #B40155;
    font-size: 1.8vmax;
}

.NewsFilters{
    display: flex;
	gap: 10px;
	margin: 4% 5% 0% 5%;
	box-sizing: border-box;
    flex-wrap: wrap;
}

a.filter-btn:before{
    color: #B40155;
    font-weight: 600;
    text-decoration: underline;
}

a.filter-btn.active{
    color: #B40155;
    font-weight: 600;
    text-decoration: underline;
}

@media (orientation: landscape){
    .NewsContainer{
		flex-direction: row;
		grid-template-columns: repeat(3, 1fr);
    }
}

@media (orientation: landscape) and (min-width: 1200px){
	.news-date{
        font-size: 1.3vmax;
    }
    .news-title{
        font-size: 1.5vmax;
    }
    .news-textShort{
        font-size: 1.3vmax;
    }
    .news-showFull a:link, .news-showFull a:visited{
        font-size: 1.3vmax;
    }
    .NewsFilters{
        font-size: 1.5vmax;
    }
}