/* 新闻动态：一套 DOM，PC / 移动响应式兼容 */
.page-news,
.page-news-detail {
  background: #fff;
  color: #333;
  font-family: var(--font-sans, "Noto Sans SC", sans-serif);
}
.page-news,
.page-news *,
.page-news-detail,
.page-news-detail * {
  font-family: var(--font-sans, "Noto Sans SC", sans-serif) !important;
}
.page-news a { text-decoration: none; color: inherit; }

/* —— 焦点图 —— */
.news-featured {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 50px 97px 50px;
  box-sizing: border-box;
}
.news-featured-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1190px;
  margin: 0;
  box-sizing: border-box;
  min-height: 530px;
}
.news-featured-main {
  position: relative;
  flex: 1 1 auto;
  width: 830px;
  max-width: calc(100% - 360px);
  min-width: 0;
  display: flex;
}
.news-featured-main > a {
  display: block;
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 530px;
  overflow: hidden;
  background: #111;
}
.news-featured-main img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}
.news-featured-main .title {
  position: absolute;
  left: 43px;
  bottom: 40px;
  font-size: 20px;
  width: 450px;
  max-width: calc(100% - 80px);
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  line-height: 1.45;
}
.news-featured-list {
  flex: 0 0 350px;
  width: 350px;
  padding: 16px 18px;
  background-color: rgba(0, 0, 0, .6);
  box-sizing: border-box;
  min-height: 530px;
  display: flex;
  flex-direction: column;
}
.news-featured-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
}
.news-featured-list li {
  color: #fff;
  cursor: pointer;
  margin: 0;
  padding: 14px 16px;
  line-height: 1.4;
  border-radius: 10px;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.news-featured-list li:hover,
.news-featured-list .list-active {
  background-color: rgba(255, 255, 255, .3);
}

/* —— 列表 —— */
.news-list-inner {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 50px 90px;
  box-sizing: border-box;
}
.news-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 30px;
  gap: 24px;
}
.news-cart .cart-left {
  font-size: 40px;
  font-weight: 600;
  color: #1d1d1f;
  flex-shrink: 0;
}
.cart-right ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.cart-right li { list-style: none; margin-left: 47px; }
.cart-right a {
  color: #000;
  font-size: 18px;
}
.cart-right a.is-active,
.cart-right a:hover { color: #ffa925; }

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 50px 0;
  border-bottom: 2px solid #eee;
  color: #424245;
}
.news-item-cover {
  width: 400px;
  max-width: 38%;
  flex-shrink: 0;
  height: 230px;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f3f3;
}
.news-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-item-body {
  flex: 1;
  margin-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.news-item-body .title {
  font-size: 22px;
  color: #000;
  line-height: 1.4;
  font-weight: 600;
}
.news-item-meta { margin: 28px 0 0; }
.news-item-body .label-pc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 2;
  color: #424245;
}
.news-item-body .label-m { display: none; }
.news-item-body .clock {
  display: block;
  margin-top: 28px;
  color: #424245;
}
.news-item-empty {
  justify-content: center;
  color: #999;
  border: 0;
}

/* 分页 */
.page-news .pagelist,
.page-news-detail .pagelist {
  text-align: center;
  color: #666;
  clear: both;
  font-size: 14px;
  margin: 30px 0 20px;
}
.page-news .pagelist a,
.page-news .pagelist b,
.page-news-detail .pagelist a,
.page-news-detail .pagelist b {
  color: #5c626c;
  margin: 5px;
  padding: 5px 10px;
  background: #f4f4f5;
  display: inline-block;
}
.page-news .pagelist > b,
.page-news-detail .pagelist > b {
  color: #fff;
  background: #4dac98;
}

/* —— 详情面包屑 —— */
.news-breadcrumb {
  position: relative;
  background:
    linear-gradient(180deg, #f7f6f4 0%, #f1efeb 100%);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  overflow: hidden;
}
.news-breadcrumb::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ffad00 18%, #ffc44d 50%, #ffad00 82%, transparent 100%);
  opacity: .85;
}
.news-breadcrumb-inner {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 90px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 56px;
}
.news-breadcrumb-back {
  display: none;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: #5c564c;
  font-size: 13px;
  letter-spacing: .06em;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 2px 8px rgba(20, 24, 40, .04);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.news-breadcrumb-back:hover {
  color: #1c1915;
  background: #fff;
  border-color: rgba(255, 173, 0, .45);
  transform: translateX(-1px);
}
.news-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 14px 0;
  min-width: 0;
  overflow: hidden;
}
.news-breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #7a756c;
  font-size: 13px;
  letter-spacing: .04em;
}
.news-breadcrumb-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4a453e;
  text-decoration: none;
  padding: 4px 2px;
  border-radius: 4px;
  transition: color .2s, opacity .2s;
  white-space: nowrap;
}
.news-breadcrumb-list a:hover {
  color: #c98900;
}
.news-bc-home {
  flex-shrink: 0;
  opacity: .75;
}
.news-breadcrumb-list a:hover .news-bc-home { opacity: 1; }
.news-bc-sep {
  flex-shrink: 0;
  margin: 0 10px;
  color: rgba(0, 0, 0, .22);
}
.news-breadcrumb-list .is-current {
  color: #1d1d1f;
  font-weight: 600;
  min-width: 0;
}
.news-breadcrumb-list .is-current > span {
  display: block;
  min-width: 0;
  max-width: 28em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1d1d1f;
  position: relative;
  padding-left: 2px;
}
.news-breadcrumb-list .is-current > span::after {
  content: '';
  position: absolute;
  left: 2px;
  bottom: -3px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #ffad00;
}

.details-inner {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 50px 150px 10px;
}
.details-title {
  text-align: center;
  font-size: 32px;
  padding: 50px 0 30px;
  margin: 0;
  line-height: 1.4;
  font-weight: 600;
  color: #1d1d1f;
}
.details-label {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 50px;
  color: #919797;
  font-size: 14px;
}
.details-text {
  padding-bottom: 20px;
  border-bottom: 1px solid #999;
}
.details-content {
  padding: 30px 0 60px;
  font-size: 15px;
  line-height: 2;
  color: #333;
}
.details-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 12px auto;
  cursor: zoom-in;
  border-radius: 6px;
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}
.details-content img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(20, 24, 40, .14);
  filter: brightness(1.02);
}
.details-content p {
  padding: 16px 0;
  margin: 0 0 .5rem;
  font-size: 15px;
  line-height: 2;
  text-indent: 2em;
  letter-spacing: 2px;
  text-align: justify;
}

/* 中屏 */
@media (max-width: 1200px) and (min-width: 768px) {
  .news-featured { padding: 40px 24px; }
  .news-featured-inner { max-width: 100%; min-height: 0; }
  .news-featured-main { flex: 1 1 auto; max-width: 100%; width: 100%; }
  .news-featured-list { display: none; }
  .news-featured-main > a {
    min-height: 0;
    aspect-ratio: 830 / 530;
  }
  .news-featured-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .news-list-inner { padding: 40px 32px; }
  .news-item-cover { width: 320px; height: 180px; }
  .details-inner { padding: 40px 48px 10px; }
  .news-breadcrumb-inner { padding: 0 48px; }
  .news-breadcrumb-list .is-current > span { max-width: 16em; }
}

/* 移动端 */
@media (max-width: 767px) {
  .news-featured {
    padding: 0;
    background: #000;
  }
  .news-featured-inner {
    display: block;
    max-width: 100%;
    min-height: 0;
  }
  .news-featured-main { max-width: 100%; flex: none; width: 100%; display: block; }
  .news-featured-main > a {
    min-height: 56vw;
    height: 56vw;
  }
  .news-featured-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .news-featured-main .title {
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    padding: 5vw;
    font-size: 3.5vw;
    line-height: 1.4;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, .6);
    text-shadow: none;
    min-height: 20vw;
    display: flex;
    align-items: center;
  }
  .news-featured-list { display: none; }

  .news-list-inner { padding: 5vw 0 2vw; }
  .news-cart {
    flex-direction: row;
    align-items: flex-end;
    padding: 3vw 2vw;
    border-bottom: 1px solid #eee;
    gap: 2vw;
  }
  .news-cart .cart-left {
    font-size: 5vw;
    padding-bottom: 0;
  }
  .cart-right ul { gap: 0; }
  .cart-right li {
    margin-left: 0;
    margin-right: 6vw;
  }
  .cart-right li:last-child { margin-right: 0; }
  .cart-right a {
    font-size: 3.8vw;
    position: relative;
    display: inline-block;
    padding-bottom: 2vw;
  }
  .cart-right a.is-active {
    color: #1d1d1f;
    font-weight: 700;
  }
  .cart-right a.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 11vw;
    height: 2px;
    background: #ffad00;
    transform: translateX(-50%);
  }

  .cart-content { padding: 0 2vw; }
  .news-item {
    display: block;
    padding: 2%;
  }
  .news-item-cover {
    width: 100%;
    max-width: none;
    height: 48vw;
    max-height: 230px;
  }
  .news-item-body {
    display: block;
    margin: 0;
    padding-bottom: 3vw;
  }
  .news-item-body .title {
    margin: 4vw 2vw;
    font-size: 4vw;
    font-weight: bold;
    line-height: 1.45;
  }
  .news-item-meta {
    margin: 1vw 2vw 3vw;
    font-size: 3.4vw;
    line-height: 1.6;
    color: #555;
    text-align: justify;
  }
  .news-item-body .label-pc { display: none; }
  .news-item-body .label-m {
    display: inline;
    color: inherit;
    line-height: inherit;
  }
  .news-item-body .clock {
    display: inline;
    margin: 0 0 0 2vw;
    color: #999;
  }
  .page-news .pagelist { font-size: 3.4vw; margin: 4vw 0; }

  .news-breadcrumb-inner {
    padding: 2.8vw 3.5vw;
    gap: 2.5vw;
    min-height: auto;
  }
  .news-breadcrumb-back { display: inline-flex; }
  .news-breadcrumb-list {
    flex: 1;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
  }
  .news-breadcrumb-list::-webkit-scrollbar { display: none; }
  .news-breadcrumb-list li { font-size: 3.1vw; }
  .news-bc-sep { margin: 0 1.6vw; width: 10px; height: 10px; }
  .news-breadcrumb-list li:nth-child(1),
  .news-breadcrumb-list li:nth-child(2) { display: none; }
  .news-breadcrumb-list .is-current > span {
    max-width: 42vw;
  }
  .news-breadcrumb-list .is-current > span::after { display: none; }
  .details-inner { padding: 2vw 3vw 6vw; }
  .details-title {
    text-align: left;
    font-size: 5vw;
    line-height: 1.4;
    padding: 3vw 2vw 2vw;
  }
  .details-label {
    justify-content: flex-start;
    gap: 2vw 4vw;
    padding: 0 2vw 3vw;
    font-size: 3.2vw;
    border: 0;
  }
  .details-text { border-bottom: 1px solid #eee; padding-bottom: 0; }
  .details-content {
    margin: 0;
    padding: 3vw 2vw 8vw;
    letter-spacing: 1px;
  }
  .details-content img { border-radius: 8px; }
  .details-content img:hover {
    transform: none;
    box-shadow: none;
    filter: none;
  }
  .details-content p {
    padding: 12px 0;
    letter-spacing: 1px;
    font-size: 15px;
  }
}

/* —— 图片灯箱 —— */
.news-lightbox[hidden] { display: none !important; }
.news-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  transition: opacity .28s ease;
}
.news-lightbox.is-open { opacity: 1; }
.news-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.news-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.news-lightbox-figure {
  flex: 1;
  margin: 0;
  min-width: 0;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  background: #121214;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  transform: translateY(12px) scale(.985);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.news-lightbox.is-open .news-lightbox-figure {
  transform: translateY(0) scale(1);
}
.news-lightbox-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px 12px;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(255, 173, 0, .08), transparent 52%),
    #0e0e10;
}
.news-lightbox-stage.is-dragging { cursor: grabbing; }
.news-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 210px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  transition: transform .18s ease, opacity .2s ease;
  will-change: transform;
}
.news-lightbox-stage.is-zoomed img { transition: none; }
.news-lightbox-figure figcaption {
  flex: 0 0 auto;
  padding: 14px 28px 22px;
  color: #f4f1ea;
  background: linear-gradient(180deg, #17171a 0%, #101012 100%);
  border-top: 1px solid rgba(255, 173, 0, .14);
  text-align: center;
}
.news-lb-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  letter-spacing: .08em;
}
#news-lb-counter {
  color: #ffad00;
  font-weight: 600;
  letter-spacing: .14em;
}
.news-lb-hint { opacity: .75; }
.news-lightbox-figure figcaption strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
  max-width: 42em;
  margin: 0 auto;
}
.news-lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(16, 16, 18, .78);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(8px);
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.news-lightbox-close span {
  display: block;
  margin-top: -2px;
  font-weight: 300;
}
.news-lightbox-close:hover {
  background: #ffad00;
  border-color: #ffc44d;
  color: #1c1915;
  transform: scale(1.06);
}
.news-lightbox-nav {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.news-lightbox-nav:hover {
  background: rgba(255, 173, 0, .38);
  transform: scale(1.05);
}
.news-lightbox-nav:disabled {
  opacity: .3;
  cursor: default;
  transform: none;
}
body.news-lb-open { overflow: hidden; }

@media (max-width: 767px) {
  .news-lightbox { padding: 3vw; }
  .news-lightbox-panel { gap: 0; width: 100%; }
  .news-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(0, 0, 0, .35);
  }
  .news-lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
  .news-lightbox-nav.prev { left: 2vw; }
  .news-lightbox-nav.next { right: 2vw; }
  .news-lightbox-figure { border-radius: 14px; max-height: calc(100vh - 6vw); }
  .news-lightbox-stage { padding: 5vw 4vw 2vw; }
  .news-lightbox-stage img { max-height: calc(100vh - 34vw); }
  .news-lightbox-figure figcaption { padding: 3.5vw 4vw 5vw; }
  .news-lb-hint { display: none; }
  .news-lightbox-close {
    top: 3vw;
    right: 3vw;
    width: 40px;
    height: 40px;
  }
  #news-lb-caption { font-size: 13px; }
}
