.Hero {
  position: relative;
  padding: 8.75rem 0;
  background-image: url("../images/head/img_news.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.Hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.Hero__heading {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  font-size: 3.125rem;
  font-weight: bold;
}

.News__item {
  border-bottom: 1px solid #ccc;
}

.News__item:first-of-type {
  border-top: 1px solid #ccc;
}

.News__link {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding: 2.1875rem 0.5rem;
}

.News__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: rgb(0, 180, 228);
  background: linear-gradient(45deg, rgba(0, 180, 228, 1) 0%, rgba(10, 129, 239, 1) 50%, rgba(7, 63, 216, 1) 100%);
  transition: width 0.3s;
}

.News__link:hover::after {
  width: 100%;
}

.News__link .--date {
  padding: 0.1rem 0.75rem;
  border: 1px solid #131e3e;
  border-radius: 5px;
  font-size: 0.75rem;
  transition: 0.3s all;
}

.News__link:hover .--date {
  background-color: #131e3e;
  color: #fff;
}

.Pagination {
  margin-top: 6.25rem;
}

.Pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 2rem;
}

.Pagination a,
.Pagination span {
  padding: 0.5rem 0.75rem;
  border: 1px solid #131e3e;
  transition: all 0.3s;
}

.Pagination span {
  background-color: #131e3e;
  color: #fff;
}

.Pagination a:hover,
.Pagination span:hover {
  background-color: #131e3e;
  color: #fff;
}
