/* ============ Gallery Page ============ */
.gallery-page-banner {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: #001655;
}
.gallery-page-banner .gpb-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-page-banner .gpb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 22, 85, 0.92) 0%, rgba(0, 22, 85, 0.78) 45%, rgba(0, 22, 85, 0.45) 100%);
}
.gallery-page-banner .gpb-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gallery-page-banner .gpb-title {
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.gallery-page-banner .gpb-title em {
  font-style: normal;
  color: #ED6C00;
}
.gallery-page-banner .gpb-underline {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-page-banner .gpb-underline::before {
  content: "";
  width: 52px;
  height: 4px;
  background: #ED6C00;
}
.gallery-page-banner .gpb-underline::after {
  content: "";
  width: 18px;
  height: 4px;
  background: #fff;
}
.gallery-page-banner .gpb-desc {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.gallery-page-banner .gpb-btn {
  position: absolute;
  right: 30px;
  bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ED6C00;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 46px;
  transition: background 0.25s;
}
.gallery-page-banner .gpb-btn:hover {
  background: #ce5e00;
  color: #fff;
}
/* 图库区块 */
.gallery-page {
  padding: 50px 0 90px;
}
/* 筛选标签 */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.gallery-filter .gf-btn {
  position: relative;
  border: 1px solid #001655;
  color: #001655;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 9px 36px;
  transition: all 0.25s;
}
.gallery-filter .gf-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent #ED6C00 transparent transparent;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-filter .gf-btn:hover {
  color: #ED6C00;
  border-color: #ED6C00;
}
.gallery-filter .gf-btn:hover::after {
  opacity: 1;
}
.gallery-filter .gf-btn.active {
  background: #ED6C00;
  border-color: #ED6C00;
  color: #fff;
}
/* 瀑布流图库 */
.gallery-grid {
  columns: 4;
  column-gap: 20px;
}
.gallery-grid .gg-item {
  position: relative;
  display: block;
  margin-bottom: 20px;
  break-inside: avoid;
  overflow: hidden;
  cursor: pointer;
}
.gallery-grid .gg-item img {
  width: 100%;
  display: block;
  transition: transform 0.45s;
}
.gallery-grid .gg-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 22, 85, 0.9) 0%, rgba(0, 22, 85, 0.25) 45%, rgba(0, 22, 85, 0) 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.gallery-grid .gg-item .gg-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.35s;
}
.gallery-grid .gg-item .gg-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ED6C00;
  color: #fff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.35s;
}
.gallery-grid .gg-item:hover img {
  transform: scale(1.06);
}
.gallery-grid .gg-item:hover::after {
  opacity: 1;
}
.gallery-grid .gg-item:hover .gg-caption {
  opacity: 1;
  transform: translateY(0);
}
.gallery-grid .gg-item:hover .gg-zoom {
  opacity: 1;
  transform: scale(1);
}
@media (max-width: 991px) {
  .gallery-page-banner {
    height: 420px;
  }
  .gallery-page-banner .gpb-title {
    font-size: 36px;
  }
  .gallery-grid {
    columns: 3;
  }
}
@media (max-width: 767px) {
  .gallery-page-banner {
    height: 340px;
  }
  .gallery-page-banner .gpb-title {
    font-size: 26px;
  }
  .gallery-page-banner .gpb-btn {
    position: static;
    margin-top: 26px;
    align-self: flex-start;
  }
  .gallery-grid {
    columns: 2;
    column-gap: 12px;
  }
  .gallery-grid .gg-item {
    margin-bottom: 12px;
  }
}
/* ============ News Page ============ */
.news-page-banner {
  position: relative;
  height: 400px;
  background: #001655 url("../image/news-bg2.jpg") center / cover no-repeat;
}
.news-page-banner .npb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 22, 85, 0.85) 0%, rgba(0, 22, 85, 0.45) 55%, rgba(0, 22, 85, 0.15) 100%);
}
.news-page-banner .npb-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-page-banner .npb-title {
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.news-page-banner .npb-title em {
  font-style: normal;
  color: #ED6C00;
}
.news-page-banner .npb-underline {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-page-banner .npb-underline::before {
  content: "";
  width: 52px;
  height: 4px;
  background: #ED6C00;
}
.news-page-banner .npb-underline::after {
  content: "";
  width: 18px;
  height: 4px;
  background: #fff;
}
.news-page-banner .npb-btn {
  position: absolute;
  right: 30px;
  bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ED6C00;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 13px 36px;
  transition: background 0.25s;
}
.news-page-banner .npb-btn:hover {
  background: #ce5e00;
  color: #fff;
}
/* TOP 推荐轮播 */
.news-top {
  padding-top: 40px;
  position: relative;
  z-index: 3; background-color: #F5F6F9;
}
.news-top .nt-card {
  position: relative;
  display: grid;
  background: #fff;
  overflow: hidden;
}
.news-top .nt-slide {
  grid-area: 1 / 1;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s;
}
.news-top .nt-slide.active {
  opacity: 1;
  visibility: visible;
}
.news-top .nt-media {
  position: relative;
  flex: 0 0 46%;
  overflow: hidden;
  aspect-ratio: 790/442;
}
.news-top .nt-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-top .nt-flag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  background: #ED6C00;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  padding: 22px 11px 34px 11px;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 0 100%);
  display: flex;
  align-items: center;
  gap: 7px;

  i { font-size: 11px; }
}
.news-top .nt-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 3px solid #ED6C00;
  padding: 34px 44px 34px;
}
.news-top .nt-date {
  color: #ED6C00;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.news-top .nt-title {
  margin-top: 12px;
  color: #001655;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}
.news-top .nt-desc {
  margin-top: 14px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.8;
  /* 摘要最多显示 3 行，超出部分省略 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.news-top .nt-more {
  margin-top: 26px;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ED6C00;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.news-top .nt-more i {
  font-size: 14px;
  transition: transform 0.25s;
}
.news-top .nt-more:hover {
  background: #ED6C00;
  color: #fff;
}
.news-top .nt-more:hover i {
  transform: translateX(4px);
}
/* LATEST NEWS 列表 */
.latest-news {
  padding: 70px 0 80px; background-color: #F5F6F9;
}
.latest-news .lns-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
}
.latest-news .lns-head h2 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #001655;
}
.latest-news .lns-head h2 em {
  font-style: normal;
  color: #ED6C00;
}
.latest-news .lns-list {
  border-top: 1px solid #e5eaf2;
}
.latest-news .lns-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 20px;
  border-bottom: 1px solid #e5eaf2;
  transition: background 0.3s;
}
.latest-news .lns-row:nth-child(even) {
  background: #f5f7fb;
}
.latest-news .lns-row:hover {
  background: #fff;
}
.latest-news .lns-num {
  flex: 0 0 56px;
  font-size: 30px;
  font-weight: 900;
  color: #ED6C00;
  line-height: 1;
}
.latest-news .lns-img {
  flex: 0 0 220px;
  height: 140px;
  overflow: hidden;
}
.latest-news .lns-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s;
}
.latest-news .lns-row:hover .lns-img img {
  transform: scale(1.06);
}
.latest-news .lns-body {
  flex: 1;
  min-width: 0;
}
.latest-news .lns-date {
  color: #ED6C00;
  font-size: 13px;
  font-weight: 700;
}
.latest-news .lns-title {
  margin-top: 8px;
  color: #001655;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}
.latest-news .lns-desc {
  margin-top: 8px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.latest-news .lns-more {
  flex-shrink: 0;
  align-self: flex-end;
  color: #ED6C00;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all 0.25s;
}
.latest-news .lns-more i {
  font-size: 14px;
  transition: transform 0.25s;
}
.latest-news .lns-more:hover {
  background: #ED6C00;
  border-color: #ED6C00;
  color: #fff;
}
.latest-news .lns-more:hover i {
  transform: translateX(4px);
}
/* 分页 */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
}
.news-pagination a {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: #001655;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #d8dfeb;
  border-radius: 50%;
  transition: all 0.25s;
}
.news-pagination a:hover {
  color: #ED6C00;
  border-color: #ED6C00;
}
.news-pagination a.active {
  background: #ED6C00;
  border-color: #ED6C00;
  color: #fff;
}
.news-pagination .np-next {
  width: auto;
  border-radius: 999px;
  padding: 0 22px;
  background: #ED6C00;
  border-color: #ED6C00;
  color: #fff;
}
.news-pagination .np-next:hover {
  background: #ce5e00;
  color: #fff;
}
@media (max-width: 991px) {
  .news-page-banner {
    height: 320px;
  }
  .news-page-banner .npb-title {
    font-size: 38px;
  }
  .news-top .nt-media {
    min-height: 240px;
  }
  .news-top .nt-body {
    padding: 26px 26px;
  }
  .news-top .nt-title {
    font-size: 20px;
  }
  .latest-news .lns-img {
    flex: 0 0 160px;
    height: 110px;
  }
}
@media (max-width: 767px) {
  .news-page-banner {
    height: 280px;
  }
  .news-page-banner .npb-title {
    font-size: 30px;
  }
  .news-page-banner .npb-btn {
    right: 20px;
    bottom: 24px;
    padding: 11px 26px;
    font-size: 13px;
  }
  .news-top {
    margin-top: 40px;
  }
  .news-top .nt-slide {
    flex-direction: column;
  }
  .news-top .nt-media {
    flex: none;
    min-height: 200px;
  }
  .news-top .nt-title {
    font-size: 18px;
  }
  .news-top .nt-more {
    align-self: flex-start;
  }
  .latest-news .lns-row {
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 14px;
  }
  .latest-news .lns-num {
    flex: 0 0 auto;
    font-size: 22px;
  }
  .latest-news .lns-img {
    flex: 0 0 100%;
    height: 180px;
    order: 3;
  }
  .latest-news .lns-body {
    flex: 1;
    min-width: calc(100% - 70px);
  }
  .latest-news .lns-more {
    order: 4;
  }
}
/* ============ News Detail Page ============ */
.news-detail {
  padding: 0 0 80px;
}
.news-detail .nd-wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  max-width: 1060px;
  margin: 40px auto 0;
}
/* 黏性占位：跟随卡片滚动，自身不占布局 */
.news-detail .nd-stick {
  position: sticky;
  top: 140px;
  z-index: 3;
  flex: 0 0 0;
  width: 0;
  height: 0;
}
/* 左侧返回列表标签：贴卡片左上缘，略压进卡片 */
.news-detail .nd-back {
  position: absolute;
  left: -106px;
  top: 23px;
  width: 96px;
  height: 88px;
  background: #ED6C00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.25s;
}
.news-detail .nd-back:hover {
  background: #ce5e00;
  color: #fff;
}
/* 内容卡片 */
.news-detail .nd-card {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1060px;
  margin: 0 auto;
  background: #fff;
  border-top: 3px solid #ED6C00;
  padding: 24px 60px 70px;
}
.news-detail .nd-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #B4B4B4;
}
.news-detail .nd-meta .nd-meta-label {
  color: #9aa3b2;
  font-size: 14px;
}
.news-detail .nd-meta .nd-meta-date {
  color: #ED6C00;
  font-size: 14px;
  font-weight: 700;
}
.news-detail .nd-meta i {
  color: #ED6C00;
  font-size: 15px;
}
.news-detail .nd-meta .nd-cal {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #ED6C00;
}
.news-detail .nd-title {
  margin-top: 44px;
  text-align: center;
  color: #1a1a1a;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
}
.news-detail .nd-content {
  margin-top: 40px;
  color: #3d3d3d;
  font-size: 14px;
  line-height: 1.9;
}
.news-detail .nd-content p {
  margin-bottom: 16px;
}
.news-detail .nd-content img {
  display: block;
  max-width: 760px;
  width: 100%;
  margin: 36px auto 8px;
}
/* 平板及以下：按钮改为卡片上方的普通按钮 */
@media (max-width: 991px) {
  .news-detail .nd-wrap {
    display: block;
    margin: 40px auto 0;
  }
  .news-detail .nd-stick {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0 0 16px;
  }
  .news-detail .nd-back {
    position: static;
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 10px 18px;
    clip-path: none;
    border-radius: 4px;
  }
}
@media (max-width: 767px) {
  .news-detail .nd-card {
    padding: 30px 20px 44px;
  }
  .news-detail .nd-title {
    font-size: 20px;
  }
}
