/* news.css */

.news {
  padding: 60px 0 0;
}

.archive-news {
  padding: 50px 0;
}

.archive-news__inner {
  padding: 0 20px;
}

.news__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.news__item {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #DDD;
  transition: all 0.3s ease;
}

.news__item:hover {
  opacity: 0.7;
}

.news__item-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 20px;
}

.news__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news__item-content {
  display: flex;
  flex-direction: column;
}

.news__item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.news__item-date {
  font-family: var(--font-third, "Work Sans", sans-serif);
  font-size: 16px;
  color: var(--text-color);
  letter-spacing: 0.1em;
}

.news__item-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news__item-arrow svg {
  width: 11px;
  height: auto;
}

.news__item-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 15px;
  letter-spacing: 0.12em;
  color: var(--text-color);
}

.news__item-excerpt {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li {
  list-style: none;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 10px;
  border-radius: 50%;
  text-decoration: none;
  font-family: var(--font-third);
  font-size: 24px;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.pagination .page-numbers.current {
  background-color: var(--main-color);
  color: #fff;
}

.pagination a.page-numbers:hover {
  background-color: #f0f0f0;
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
  background: none;
  font-size: 16px;
  width: auto;
  border-radius: 0;
}

.pagination .prev.page-numbers:hover,
.pagination .next.page-numbers:hover {
  background: none;
  opacity: 0.7;
}

.pagination .dots {
  display: none;
}

@media (min-width: 769px) {
  .news {
    padding: 90px 0 0;
  }

  .archive-news {
    padding: 50px 0;
  }

  .archive-news__inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .news__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
  }

  .news__item {
    padding-bottom: 12px;
  }

  .news__item-title {
    font-size: 16px;
    line-height: 1.8;
  }

  .pagination {
    margin-top: 90px;
  }
}
