.news-main {
  padding: 60px 0;
  background-color: #fff;
}

.news-main .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-main-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--color-blue);
}

.section-subtitle {
  font-size: 14px;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.news-card {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--color-blue);
}

.news-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #f5f5f5;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-info {
  padding: 20px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date-badge {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.news-date-badge::before {
  content: '📅';
  margin-right: 6px;
  font-size: 12px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 50px;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.news-title a:hover {
  color: var(--color-blue);
}

.news-summary {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 45px;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.news-link {
  font-size: 14px;
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 500;
  padding: 5px 12px;
  background-color: #f0f7ff;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.news-link:hover {
  background-color: var(--color-blue);
  color: white;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.page-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--color-text-secondary);
  background-color: #f5f5f5;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.page-link:hover {
  background-color: var(--color-blue);
  color: white;
}

.page-link.active {
  background-color: var(--color-blue);
  color: white;
  font-weight: 500;
}

.page-info {
  font-size: 14px;
  color: var(--color-text-light);
  margin-left: 10px;
}

.page-go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 5px;
}

.page-input {
  width: 50px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.page-btn {
  padding: 6px 15px;
  background-color: var(--color-blue);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.page-btn:hover {
  background-color: var(--color-orange);
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .pagination {
    gap: 5px;
  }

  .page-link {
    padding: 6px 10px;
    font-size: 13px;
  }
}