.news_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hover_scale_img {
  aspect-ratio: 16/9;
  overflow: hidden;
  scale: 1;
  transition: scale 1s;
}

.hover_scale_img:hover {
  scale: 1.1;
}

.block_news_info {
  padding: 16px;
}

.block_news_info_subtitle_date {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.news_info_subtitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgb(34, 37, 45);
  padding: 0 8px;
  display: block;
}

.news_info_subtitle_before::before {
  content: "";
  background: #22252d;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  width: 15%;
  right: 100%;
}

.news_info_date {
  font-size: 11px;
  font-weight: 500;
  color: rgb(165, 166, 170);
}

.news_info_title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 8px;
}

@media screen and (min-width: 768px) {
  .news_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .news_info_subtitle {
    font-size: 14px;
  }

  .news_info_date {
    font-size: 13px;
  }

  .news_info_title {
    font-size: 18px;
  }
}

@media screen and (min-width: 1200px) {
  .news_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .block_news_info {
    padding: 24px;
  }
}

@media screen and (min-width: 1440px) {
  .news_info_subtitle {
    font-size: 16px;
  }

  .news_info_date {
    font-size: 15px;
  }

  .news_info_title {
    font-size: 20px;
  }
}

.pagination {
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.pagination_inner {
  display: flex; /* flex-контейнер */
  gap: 16px; /* відступ між кружечками */
  transition: transform 0.4s ease;
}

.page_dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dbe2e6;
  flex-shrink: 0; /* важливо, щоб кружечки не стискалися */
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page_dot.active {
  background: #2453d4; /* активний колір */
}

.page_dot:hover {
  background: #888;
  transform: scale(1.1);
}
