.news-card {
  border: 1px solid rgba(8, 29, 86, .2);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.6rem;
  width: 100%
}

.news-card__img {
  aspect-ratio: 37.6/25;
  display: block;
  overflow: hidden
}

.news-card__img img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%
}

.news-card__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.news-card__date {
  font-weight: 400
}

.news-card__date, .news-card__title {
  font-size: 1.8rem;
  line-height: 2.8rem
}

.news-card__title {
  font-weight: 600
}

.news-card__button {
  align-items: center;
  color: #3961ee;
  display: flex;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 500;
  gap: .5rem;
  line-height: 2.8rem;
  padding: .5rem 0;
  position: relative;
  transition: color .5s ease;
  width: -moz-max-content;
  width: max-content
}

.news-card__button:after {
  background: currentColor;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s;
  width: 100%
}

.news-card__button img, .news-card__button svg {
  display: block;
  flex-shrink: 0;
  height: 2.2rem;
  transition: transform .5s ease;
  width: 1.8rem
}

@media (hover: hover) {
  .news-card__button:hover {
    color: #081d56
  }

  .news-card__button:hover img, .news-card__button:hover svg {
    transform: rotate(-45deg)
  }

  .news-card__button:hover:after {
    transform: scaleX(1)
  }
}

@media (min-width: 768px) {
  .news-card {
    display: grid;
    gap: 4.55rem;
    grid-template-columns:23.5rem 1fr;
    padding: 1.1rem 3.1rem 1.1rem 1.6rem
  }

  .news-card__img {
    aspect-ratio: 23.5/25
  }

  .news-card__inner {
    justify-content: center
  }

  .news-card__title {
    font-size: 2.4rem;
    line-height: 3.4rem;
    margin-bottom: 2.5rem
  }

  .news-card__button {
    gap: .8rem
  }
}

.pagination {
  align-items: center;
  display: flex;
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  gap: .7rem;
  justify-content: center;
  line-height: 3rem;
  text-align: center;
  text-transform: capitalize
}

.pagination .disabled {
  opacity: .3
}

.pagination .current {
  position: relative
}

.pagination .current:after {
  background: currentColor;
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%
}

.pagination .page-numbers.next, .pagination .page-numbers.prev {
  align-items: center;
  background: #d6b5ed;
  border-radius: .2rem;
  display: flex;
  height: 4.9rem;
  justify-content: center;
  transition: background-color .5s ease;
  width: 4.9rem
}

.pagination .page-numbers.next svg, .pagination .page-numbers.prev svg {
  flex-shrink: 0;
  height: 1.6rem;
  margin-right: -.3rem;
  width: .9rem
}

@media (hover: hover) {
  .pagination .page-numbers.next:hover, .pagination .page-numbers.prev:hover {
    background: #bdd3c7
  }
}

.pagination .page-numbers.prev {
  transform: rotate(-180deg)
}

@media (max-width: 768px) {
  .pagination .prev {
    margin-right: auto
  }

  .pagination .next {
    margin-left: auto
  }
}

@media (min-width: 768px) {
  .pagination {
    gap: .8rem
  }

  .pagination .prev {
    margin-right: 5.2rem
  }

  .pagination .next {
    margin-left: 5.2rem
  }
}

.news-section {
  overflow: hidden;
  /*padding-bottom: 6rem;*/
  width: 100%
}

.news-section__title {
  margin-bottom: 4rem;
  text-align: center
}

.news-section__list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 4rem
}

.news-section__button {
  margin: 0 auto
}

.news-section--hero {
  /*padding-top: 14rem*/
}

.news-section--hero .news-section__title {
  font-size: 3.6rem;
  line-height: 4.6rem;
  margin: 0
}

@media (min-width: 768px) {
  .news-section {
    /*padding-bottom: 14rem*/
  }

  .news-section__title {
    margin-bottom: 5rem
  }

  .news-section__list {
    display: grid;
    grid-template-columns:1fr 1fr;
    margin-bottom: 3rem
  }

  .news-section--hero {
    /*padding-top: 22rem*/
  }

  .news-section--hero .news-section__title {
    font-size: 5.4rem;
    line-height: 6.4rem;
    margin: 0 auto;
    width: 66rem
  }
}
