.news-page {
  background: #f7f9fc;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: -70px;
  min-height: 580px;
}
@media (max-width: 768px) {
  .hero-banner {
    min-height: auto;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #0d2348 50%, #1a0a3d 100%);
  background-size: cover;
  background-position: center;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 180px 60px 120px 270px;
  display: flex;
  align-items: center;
}
@media (max-width: 1600px) {
  .hero-wrapper {
    padding: 130px 56px 72px 240px;
  }
}
@media (max-width: 1470px) {
  .hero-wrapper {
    padding: 130px 56px 72px 120px;
  }
}
@media (max-width: 1200px) {
  .hero-wrapper {
    padding: 120px 40px 64px 60px;
  }
}
@media (max-width: 768px) {
  .hero-wrapper {
    padding: 100px 20px 56px 20px;
  }
}

.hero-content-left {
  flex: 0 0 auto;
  width: 60%;
  max-width: 800px;
  text-align: left;
  animation: fade-in-left 0.8s ease-out;
}
@media (max-width: 768px) {
  .hero-content-left {
    width: 100%;
    text-align: center;
  }
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.hero-title {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #1a1a2e;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(26, 26, 46, 0.68);
  line-height: 1.8;
  max-width: 560px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(26, 26, 46, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.news-section {
  padding: 40px 0 60px;
  background: #f5f7fa;
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: #1890ff;
  color: #1890ff;
}
.filter-btn.active {
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.news-card:hover .news-cover-img {
  transform: scale(1.04);
}

.news-card-cover {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.news-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.news-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d2348 0%, #1a0a3d 100%);
}

.cover-badge {
  position: absolute;
  top: 10px;
  left: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}
.cover-badge--top {
  background: #ff4d4f;
}
.cover-badge--new {
  background: #1890ff;
}

.news-card-body {
  flex: 1;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.news-card-category {
  font-size: 11px;
  color: #1890ff;
  font-weight: 600;
  background: #e6f4ff;
  padding: 2px 8px;
  border-radius: 4px;
}

.news-card-date {
  font-size: 11px;
  color: #bbb;
}

.news-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  margin-top: auto;
}

.news-card-read {
  font-size: 12px;
  color: #1890ff;
  font-weight: 500;
}

.pagination-bar {
  display: flex;
  justify-content: center;
  padding: 36px 0 8px;
}

@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 14px;
  }
  .news-section {
    padding: 28px 0;
  }
  .news-section .container {
    padding: 0 16px;
  }
  .filter-bar {
    gap: 8px;
    margin-bottom: 20px;
  }
  .filter-btn {
    padding: 6px 14px;
    font-size: 13px;
  }
  .news-grid {
    gap: 14px;
  }
  .news-card-cover {
    height: 130px;
  }
  .news-card-body {
    padding: 12px 14px 14px;
  }
  .news-card-title {
    font-size: 13px;
    margin-bottom: 10px;
  }
}
@media (max-width: 480px) {
  .hero-wrapper {
    padding: 90px 16px 48px 16px;
  }
  .hero-title {
    font-size: 26px;
  }
}
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 36px 0 8px;
  flex-wrap: wrap;
}
.pagination-bar .page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #e0e0e6;
  background: #fff;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}
.pagination-bar .page-btn:hover {
  color: #1890ff;
  border-color: #1890ff;
}
.pagination-bar .page-btn.active {
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
}
.pagination-bar .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pagination-bar .page-ellipsis {
  color: #999;
  padding: 0 4px;
}
.pagination-bar .page-jumper {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  margin-left: 8px;
}
.pagination-bar .page-jumper input {
  width: 48px;
  height: 32px;
  border: 1px solid #e0e0e6;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  outline: none;
}
.pagination-bar .page-jumper input:focus {
  border-color: #1890ff;
}
