@charset "utf-8";
/* ============ 内部页通用样式 ============ */
.page-banner {
  background: linear-gradient(120deg, #16305a, #0e2038 60%, #123f7d);
  padding: 60px 0; text-align: center; color: #fff;
}
.page-banner h2 { font-size: 32px; letter-spacing: 4px; margin-bottom: 8px; }
.page-banner p { color: #9aa5b4; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }

.breadcrumb {
  padding: 20px 0; font-size: 13px; color: #77828f; border-bottom: 1px solid #eef2f7; margin-bottom: 40px;
}
.breadcrumb a { color: #77828f; transition: .3s; }
.breadcrumb a:hover { color: #1c60b8; }
.breadcrumb span { color: #22344f; }

/* ============ 新闻列表页（现代卡片风格） ============ */
.news-page-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.news-page-item {
  display: flex;
  flex-direction: column; /* 改变：上图下文 */
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(14, 32, 56, 0.03);
}

.news-page-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(14, 32, 56, 0.1);
  border-color: #d6e4f5;
}

/* 图片区域与悬浮日期 */
.news-page-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-page-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-page-item:hover .news-page-pic img {
  transform: scale(1.06);
}

/* 悬浮在图片上的日期标签 */
.news-page-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(28, 96, 184, 0.9); /* 主色调，微透明 */
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}

/* 文字内容区域 */
.news-page-txt {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-page-txt h3 {
  font-size: 18px;
  color: #17335a;
  line-height: 1.5;
  margin-bottom: 12px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.news-page-item:hover .news-page-txt h3 {
  color: #1c60b8;
}

.news-page-txt p {
  font-size: 14px;
  color: #7a8592;
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1; /* 撑开空间，让底部的“阅读更多”对齐 */
}

/* 底部的阅读更多 */
.news-read-more {
  margin-top: auto;
  font-size: 13px;
  color: #1c60b8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-read-more::after {
  content: "→";
  transition: transform 0.3s;
}

.news-page-item:hover .news-read-more::after {
  transform: translateX(4px);
}

/* ============ 新闻详情页 ============ */
.news-detail-wrap { max-width: 900px; margin: 0 auto; background: #fff; padding: 40px; border: 1px solid #e8edf4; border-radius: 6px; }
.news-detail-title { font-size: 28px; color: #17335a; text-align: center; margin-bottom: 20px; line-height: 1.4; }
.news-detail-meta { text-align: center; color: #9aa5b4; font-size: 14px; padding-bottom: 20px; border-bottom: 1px dashed #dde5f0; margin-bottom: 30px; }
.news-detail-meta span { margin: 0 10px; }
.news-detail-content { font-size: 15px; line-height: 1.9; color: #444; }
.news-detail-content p { margin-bottom: 20px; text-indent: 2em; }
.news-detail-content img { margin: 20px auto; border-radius: 4px; }

/* ============ 关于我们独立页 ============ */
.about-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.about-page-txt h2 { font-size: 26px; color: #17335a; margin-bottom: 20px; }
.about-page-txt p { text-indent: 2em; color: #556; margin-bottom: 15px; line-height: 1.8; }

/* ============ 联系我们独立页 ============ */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

/* ============ 通用分页器样式 ============ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #d6dee9;
  background: #fff;
  color: #556;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}

.page-btn:hover:not(:disabled), 
.page-btn.active {
  background: #1c60b8;
  color: #fff;
  border-color: #1c60b8;
  box-shadow: 0 4px 10px rgba(28, 96, 184, 0.2);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f7fa;
}

@media (max-width: 768px) {
  .page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
  .pagination { gap: 6px; margin-top: 30px; }
}

/* ============ 响应式适配 ============ */
@media (max-width: 992px) {
    .news-page-list { 
    grid-template-columns: 1fr; /* 平板和手机上变单列，图片更震撼 */
  }
  .news-page-txt { padding: 20px; }
  .about-page-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .news-detail-wrap { padding: 20px; }
}

@media (max-width: 768px) {
  .news-page-item { flex-direction: column; }
  .news-page-date { flex: none; flex-direction: row; gap: 10px; padding: 12px 0; }
  .news-page-date b { font-size: 24px; }
  .news-page-img { width: 100%; height: 180px; }
  .news-page-txt { padding: 16px; }
  .news-detail-title { font-size: 22px; }
}