.news-hubdb{
  max-width: 1140px;
  margin: 0 auto;
}
.news-hubdb__container{
  display: flex;
  flex-wrap: wrap;
  padding: 0 0 3.3rem;
  gap: 30px;
}

.news-hubdb__first-page .news-hubdb__item:first-child{
  flex: 0 0 100%;
  min-height: 300px;
  margin-top: -130px;
  z-index: 9;
}

.news-hubdb__item{
  flex: 0 0 calc(100% / 3 - 20px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  transition: all 0.5s ease-in-out;
}

@media screen and (max-width: 992px){
  .news-hubdb__item{
    flex: 0 0 calc(100% / 2 - 20px);
    height: auto;
  }
  .news-hubdb__first-page .news-hubdb__item:first-child{
    height: auto;
  }
}

@media screen and (max-width: 767px){
  .news-hubdb__item{
    flex: 0 0 100%;
  }
}


.news-hubdb__item:hover{
  transform: scale(1.05);
}

.news-hubdb__item .news-hubdb__item__data{
  display: flex;
  gap: 3px;
  font-size: 13px;
  line-height: 15px;
  margin-bottom: 10px;
}

.news-hubdb__first-page .news-hubdb__item:first-child .news-hubdb__item__title h2{
  font-size: 40px;
}

@media screen and (max-width: 767px){
  .news-hubdb__first-page .news-hubdb__item:first-child .news-hubdb__item__title h2{
    font-size: 28px;
  }
}

.news-hubdb__item .news-hubdb__item__title h2{
  margin: 0 0 10px; 
}

.news-hubdb__item .news-hubdb__item__title a:hover{
  text-decoration: none;
  color: #2878e6;
}

.news-hubdb__first-page .news-hubdb__item:first-child .news-hubdb__item__data{
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
  
}

{#******* PAGINATION *******#}
.hubdb__pagination{
  margin: 64px auto 32px;
  text-align: center;
  width: fit-content;
  position: relative;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.hubdb__pagination-container{
  padding: 0 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.hubdb__button-prev,
.hubdb__button-next{
	pointer-events: none;
  cursor: initial;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all .3s ease-in-out;
	opacity:0.6;
	text-decoration:none;
}
.hubdb__button-prev.button--active,
.hubdb__button-next.button--active{
  pointer-events: initial;
  cursor: pointer;
	opacity:0.95;
}
.hubdb__button-prev:hover,
.hubdb__button-next:hover{
	opacity:1;
}
.hubdb--pagination-hide .hubdb__button-prev,
.hubdb--pagination-hide .hubdb__button-next{
	display:none;
	transition: all .3s ease;
}
.hubdb__button-prev{
  left: -32px;
}
.hubdb__button-next{
  right: -32px;
}
.hubdb__button-page {
	width:30px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
	text-decoration:none;
	transition: all .3s ease;
}
.hubdb__button-page--active{
	pointer-events:none;
}
.hubdb__button-page:hover{
	text-decoration:none;
}

.news-hubdb__item__button .button--simple:after{
 opacity: 0;
}

.hubdb__button-page{
  color: #7f8ba3;
  border-radius: 5px;
}

.hubdb__button-page:hover{
  background-color: #2878E6;
  color: #fff;
  text-decoration: none;
}

.hubdb__button-page--active{
  border: 1px solid #2878E6;
}

.hubdb__button-prev:not(.button--active){
  display: none;
}

.button--active svg path{
  color: #7f8ba3;
}