/* news-refactor.css */

.zs-page-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  text-align: left;
}

.zs-page-title {
  font-size: 39px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

.zs-page-desc {
  font-size: 19px;
  color: #fff;
  max-width: 800px;
}

.zs-news-section {
  padding: 60px 0;
}

.zs-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.zs-news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 4px 44px 0px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.zs-news-card:hover {
  box-shadow: 0px 2px 25px 0px rgba(0, 0, 0, 0.2);
}

.zs-news-card-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin-bottom: 15px;
}

.zs-news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.zs-news-card:hover .zs-news-card-img img {
  transform: scale(1.05);
  opacity: 0.8;
}

.zs-news-card-date {
  color: #8D8D8D;
  font-size: 14px;
  margin-bottom: 10px;
}

.zs-news-card-title {
  font-size: 19px;
  font-weight: 600;
  color: #0c0d0e;
  margin-bottom: 20px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zs-news-card-title a {
  color: inherit;
  text-decoration: none;
}

.zs-news-card-title a:hover {
  color: #4285f4;
}

.zs-news-card .zs-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 5px;
}

/* Pagination */
.zs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.zs-pagination a,
.zs-pagination span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.zs-pagination a:hover {
  background: #e0e0e0;
}

.zs-pagination .current {
  background: #4285f4;
  color: #fff;
}

/* Bottom Text Section */
.zs-news-bottom-text {
  padding: 0 0 80px;
}

.zs-news-bottom-text h2 {
  font-size: 29px;
  font-weight: 600;
  color: #0c0d0e;
  margin-bottom: 15px;
  margin-top: 30px;
}

.zs-news-bottom-text h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0c0d0e;
  margin-bottom: 15px;
  margin-top: 20px;
}

.zs-news-bottom-text p {
  font-size: 19px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

@media (max-width: 1024px) {
  .zs-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .zs-news-grid {
    grid-template-columns: 1fr;
  }
}
