.news-page-wrapper {
  background: #fafbfc;
  min-height: 100vh;
  padding-bottom: 40px;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: top 0.3s ease;
}

body.nav-scrolled .banner-container {
  top: 70px;
}

.news-page-wrapper {
  /* padding-top: 240px; */
  padding-top: 150px;
  transition: padding-top 0.3s ease;
}

body.nav-scrolled .news-page-wrapper {
  padding-top: 70px;
}

.news-page-content-with-sidebar {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 30px;
}

.sidebar {
  width: 220px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  padding: 24px 0 16px 0;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 16px 0;
  text-align: center;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sidebar-list li.active,
.sidebar-list li:hover {
  background: #f5f7fa;
  color: #1a3c8b;
  border-left: 4px solid #1a3c8b;
}

.news-main-content {
  flex: 1;
  min-width: 0;
}

.news-page-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-tabs {
  display: flex;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.news-tabs button {
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 32px;
  font-size: 16px;
  color: #444;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.news-tabs button.active,
.news-tabs button:hover {
  background: #1a3c8b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 60, 139, 0.3);
}

.news-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.news-card {
  display: flex;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 18px;
  align-items: flex-start;
  gap: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-left: 4px solid transparent;
}

.news-card:hover {
  box-shadow: 0 8px 24px rgba(26, 60, 139, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px) scale(1.01);
  border-left: 4px solid #1a3c8b;
}

.news-card-img {
  width: 120px;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-title {
  font-size: 17px;
  font-weight: bold;
  color: #222;
  margin-bottom: 6px;
}

.news-card-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.news-card-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-button {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.pagination-button.active {
  background: #1a3c8b;
  color: #fff;
  border-color: #1a3c8b;
}

.pagination-button:hover:not(.active) {
  background: #f5f7fa;
  border-color: #1a3c8b;
}

.page-info {
  font-size: 14px;
  color: #666;
}

@media (max-width: 1100px) {
  .news-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .news-page-wrapper {
    padding-top: 60px;
  }

  .news-page-content {
    padding: 0 15px;
  }

  .news-page-content-with-sidebar {
    flex-direction: column;
    gap: 20px;
  }

  .sidebar {
    width: 100%;
    order: 1;
  }

  .news-main-content {
    order: 2;
  }

  .news-cards-grid {
    gap: 15px;
  }

  .news-card {
    flex-direction: column;
    padding: 15px;
  }

  .news-card-img {
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
  }

  .news-card-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .news-card-date {
    font-size: 12px;
  }

  .news-card-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .pagination-container {
    margin-bottom: 40px;
  }

  .pagination-button {
    padding: 6px 12px;
    font-size: 13px;
  }

  .page-info {
    font-size: 13px;
  }

  .breadcrumb {
    padding: 15px 0;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .news-page-content {
    padding: 0 10px;
  }

  .news-card {
    padding: 12px;
  }

  .news-card-img {
    height: 150px;
  }

  .news-card-title {
    font-size: 15px;
  }

  .news-card-desc {
    font-size: 12px;
  }

  .pagination-controls {
    gap: 6px;
  }

  .pagination-button {
    padding: 6px 10px;
    font-size: 12px;
  }
}