﻿/* ===================================================
   NEWS PAGE STYLESHEET (news.css)
   =================================================== */

/* Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===================================================
   1. 100vh HERO BANNER
   =================================================== */
.hero-banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #12151c;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================================
   2. MAIN CONTAINER & FILTER BAR
   =================================================== */
.news-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 30px 100px 30px;
}

/* 居中大主标题 */
.page-title {
  font-size: 2.3rem;
  font-weight: 300;
  color: #2b2b2b;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

/* 筛选工具条 */
.news-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* 左侧标题与渐变圆点 */
.filter-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gradient-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c81e3a 0%, #1b2685 100%);
  display: inline-block;
  flex-shrink: 0;
}

.section-subtitle {
  font-size: 1.45rem;
  font-weight: 400;
  color: #2b2b2b;
  letter-spacing: -0.3px;
}

/* 右侧筛选器 */
.filter-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* All 渐变方框按钮 */
.btn-all {
  height: 32px;
  padding: 0 16px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(90deg, #c81e3a 0%, #1b2685 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.btn-all:hover {
  opacity: 0.9;
}

/* 年月下拉选择框（渐变边框） */
.select-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 4px;
  border: 1px solid transparent;
  background: 
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #c81e3a 0%, #5b1a7d 50%, #1b2685 100%) border-box;
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  height: 30px;
  padding: 0 32px 0 14px;
  font-size: 0.8rem;
  color: #555555;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

/* 下拉渐变三角符号 */
.select-wrapper::after {
  content: "▼";
  font-size: 0.55rem;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #c81e3a 0%, #1b2685 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
}

/* 贯穿分割线 */
.filter-divider-line {
  width: 100%;
  height: 1px;
  background-color: #eaedf1;
  margin-bottom: 36px;
}

/* ===================================================
   3. NEWS GRID (2 行 3 列)
   =================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  width: 100%;
  margin-bottom: 60px;
}

.news-item {
  display: flex;
  flex-direction: column;
}

/* 视频/图像暂替黑色圆角容器 */
.news-media-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #000000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.news-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.news-date {
  font-size: 0.78rem;
  color: #888888;
  margin-bottom: 6px;
  font-weight: 300;
}

.news-heading {
  font-size: 1.05rem;
  font-weight: 500;
  color: #222222;
  margin-bottom: 8px;
  line-height: 1.35;
}

.news-detail-link {
  text-decoration: none;
  font-size: 0.75rem;
  color: #666666;
  transition: color 0.2s ease;
}

.news-detail-link:hover {
  color: #c81e3a;
}

/* ===================================================
   4. PAGINATION (无竖线，渐变边框按钮)
   =================================================== */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 20px 0;
  font-size: 0.85rem;
}

.page-item {
  text-decoration: none;
  height: 32px;
  min-width: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #555555;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-btn-wide {
  padding: 0 14px;
}

/* 1: 当前页（全渐变填充） */
.page-active {
  background: linear-gradient(135deg, #c81e3a 0%, #1b2685 100%);
  color: #ffffff;
  font-weight: 500;
  border: none;
}

/* 2, 3, Next, Last page: 渐变圆角边框 */
.page-gradient-border {
  border: 1px solid transparent;
  background: 
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #c81e3a 0%, #5b1a7d 50%, #1b2685 100%) border-box;
}

.page-item:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* ===================================================
   5. SITE FOOTER (渐变底栏)
   =================================================== */
.site-footer {
  width: 100%;
  color: #ffffff;
}

.footer-top-gradient {
  background: linear-gradient(90deg, #b01438 0%, #5b1a7d 45%, #18237d 100%);
  padding: 60px 0 50px 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-company-info {
  flex: 0 0 34%;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.company-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.company-addr,
.company-contact,
.company-links {
  font-size: 0.78rem;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 8px;
  font-weight: 300;
}

.footer-nav-columns {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-col h5 {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.76rem;
  opacity: 0.8;
  font-weight: 300;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-qr-wrap {
  flex: 0 0 90px;
  display: flex;
  justify-content: flex-end;
}

.footer-qr-img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 4px;
  display: block;
}

/* 底部纯黑版权条 */
.footer-bottom-bar {
  background-color: #000000;
  padding: 16px 0;
  font-size: 0.75rem;
  color: #888888;
  font-weight: 300;
}

/* ===================================================
   RESPONSIVE DESIGN (响应式适配)
   =================================================== */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-company-info,
  .footer-nav-columns {
    width: 100%;
  }

  .footer-nav-columns {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 60vh;
  }

  .news-container {
    padding: 40px 16px 60px 16px;
  }

  .page-title {
    font-size: 1.7rem;
    margin-bottom: 30px;
  }

  .news-filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .filter-right {
    width: 100%;
    justify-content: flex-start;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-heading {
    font-size: 0.98rem;
  }

  .pagination-container {
    flex-wrap: wrap;
    gap: 8px;
  }
}