﻿/* ============================================================
   Reinwind News Page Styles
   新闻资讯页 — 统一全站设计语言
   ============================================================ */

/* ========== 二级分类导航 ========== */
.news-subnav {
  background: #fff;
  border-bottom: 1px solid #eef0f4;
  padding: 0;
}
.news-subnav-inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.news-subnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 48px 16px;
  text-decoration: none;
  color: var(--color-gray-dark, #333);
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s, color 0.25s;
  min-width: 140px;
}
.news-subnav-item:hover {
  color: var(--color-primary, #033b79);
  border-bottom-color: var(--color-primary-light, #46B5E8);
}
.news-subnav-item .ns-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gray-mid, #999);
  margin-bottom: 4px;
}
.news-subnav-item .ns-cn {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: inherit;
}
.news-subnav-item:hover .ns-en {
  color: var(--color-primary, #033b79);
}
@media (max-width: 768px) {
  .news-subnav-item {
    padding: 16px 20px 12px;
    min-width: auto;
    flex: 1;
  }
  .news-subnav-item .ns-cn {
    font-size: 14px;
  }
}

/* ========== News Page Main ========== */
.news-page {
  padding: 80px 0 100px;
  background: #fff;
  min-height: var(--vh-screen);
}

/* ========== 新闻分区通用 ========== */
.news-section {
  padding: 80px 0;
}
.news-section:first-of-type {
  padding-top: 0;
}
.news-section:last-child {
  padding-bottom: 0;
}
.news-section.alt {
  background: var(--color-gray-light);
  margin-left: -9999px;
  margin-right: -9999px;
  padding: 80px 9999px;
  margin-top: 0;
}

.news-section-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}
.news-section-title {
  text-align: center;
}
.news-section-head .section-label {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-gray-mid, #999);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.news-section-head .section-cn {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: var(--fw-title);
  color: var(--color-black);
  position: relative;
  z-index: 1;
  margin: 0;
}
.news-section-head .more-link {
  display: none; /* 旧位置（标题旁）已废弃；MORE 统一移到卡片网格下方，见 .more-link--bottom */
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.more-link:hover { gap: 10px; }
.more-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* MORE 按钮：作为 section 最后一个子元素，位于卡片网格下方、板块左下角 */
.more-link--bottom {
  display: inline-flex;
  margin-top: 32px;
}

/* ========== 通用标签 ========== */
.news-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-primary-alpha);
  color: var(--color-primary);
  border-radius: 4px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ========== 焦点推荐区（4 卡片横向轮播，视口全宽；卡片等高） ========== */
.focus-viewport {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.news-focus-carousel {
  overflow: hidden;
  /* 左右留 16px 让卡片 hover 阴影不被裁 */
  margin: 0 24px;
  padding: 16px;
}
.focus-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.focus-slide {
  flex: 0 0 25%;
  min-width: 25%;
  padding: 0 12px;
  box-sizing: border-box;
  display: flex;
}
.focus-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.focus-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.focus-body { padding: 24px; }
.focus-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-primary-alpha);
  color: var(--color-primary);
  border-radius: 4px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.focus-body h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

/* 轮播控制条：左 MORE，右 dots */
.focus-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}
.focus-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.focus-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6dbe3;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}
.focus-dot.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-primary);
}
.focus-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s, transform 0.2s;
}
.focus-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.focus-arrow svg { width: 16px; height: 16px; stroke: var(--color-black); fill: none; stroke-width: 2; stroke-linecap: round; }
.focus-arrow.prev { left: -8px; }
.focus-arrow.next { right: -8px; }

/* ========== 公司新闻 ========== */
.corporate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.corporate-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.corporate-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.ci-date {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  padding: 14px 10px;
  background: var(--color-gray-light);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ci-day {
  display: block;
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}
.ci-ym {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  margin-top: 6px;
  color: var(--color-gray-mid);
  font-weight: 500;
}
.ci-content h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-black);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ci-content p {
  font-family: var(--font-body);
  font-weight: var(--fw-desc);
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 绿色足迹 ========== */
.footprint-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}
.footprint-main {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footprint-main:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.fp-img {
  height: 280px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.footprint-main:hover .fp-img { transform: scale(1.03); }
.fp-info { padding: 28px; }
.fp-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-primary-alpha);
  color: var(--color-primary);
  border-radius: 4px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.fp-info h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-black);
  line-height: 1.4;
}
.fp-info p {
  font-family: var(--font-body);
  font-weight: var(--fw-desc);
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.footprint-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fp-item {
  display: block;
  padding: 22px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.fp-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.fp-tag-sm {
  display: inline-block;
  padding: 3px 8px;
  background: var(--color-primary-alpha);
  color: var(--color-primary);
  border-radius: 4px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.fp-item h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-black);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-stat {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-gray-mid);
  font-weight: 500;
}

/* ========== 产品知识 ========== */
.product-knowledge {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.pk-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 36px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  align-items: center;
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.pk-item:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.pk-item.reverse { direction: rtl; }
.pk-item.reverse > * { direction: ltr; }

.pk-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.pk-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-primary-alpha);
  color: var(--color-primary);
  border-radius: 4px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.pk-meta time {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-gray-mid);
  font-weight: 500;
}
.pk-content h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-black);
  line-height: 1.4;
}
.pk-content p {
  font-family: var(--font-body);
  font-weight: var(--fw-desc);
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pk-img {
  border-radius: 10px;
  overflow: hidden;
}
.pk-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pk-item:hover .pk-img img { transform: scale(1.03); }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .news-page { padding: 60px 0 80px; }
  .news-section { padding-bottom: 100px; }
  .news-section.alt { padding: 60px 9999px; }
    .news-section-head .section-cn { font-size: 24px; }
  .footprint-layout { grid-template-columns: 1fr; }
  .pk-item, .pk-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
    padding: 28px;
  }
  .pk-item.reverse > * { direction: ltr; }
  .pk-img img { height: 220px; }
}

@media (max-width: 768px) {
  .news-page { padding: 48px 0 64px; }
  .news-section { padding-bottom: 48px; }
  .news-section.alt { padding: 48px 9999px; }
  .news-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
    .news-section-head .section-cn { font-size: 22px; }

  .focus-slide { flex: 0 0 100%; min-width: 100%; padding: 0; }
  .focus-img { height: 180px; }

  .corporate-grid { grid-template-columns: 1fr; }
  .corporate-item {
    flex-direction: column;
    padding: 24px;
  }
  .ci-date {
    width: 100%;
    flex-direction: row;
    gap: 10px;
    padding: 10px 16px;
  }
  .ci-day { font-size: 22px; }

  .fp-img { height: 200px; }
  .fp-info { padding: 22px; }
  .fp-item { padding: 18px 20px; }

  .pk-item { padding: 24px; }
  .pk-content h3 { font-size: 18px; }
  .pk-img img { height: 200px; }
}

/* ========== 主容器：85% 宽 + 内容水平垂直居中 ========== */
/* 规范与产品/展示页一致：max-width 85% 相对视口，左右 padding 60px。
   注意：本容器不能是 flex column —— 子元素的 `margin: 0 auto` 会吸收剩余空间，
   把区块压成内容宽度（实测正文只占视口 39.6%）。 */
main.news-page > .wrap {
  max-width: 85%;
  margin: 0 auto;
  padding: var(--wrap-pad);
}

/* ========== v2.2.0 新闻中心：焦点 + 12 条列表 + 分页 ========== */
main.news-center > .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.nc-crumb {
  font-size: 12px;
  color: #999;
  padding-top: 24px;
}
.nc-crumb a { color: #999; }
.nc-crumb a:hover { color: #145FFB; }
.nc-crumb span { margin: 0 6px; }

.nc-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .5px;
  margin: 22px 0 26px;
  line-height: 1.3;
  color: #101010;
}

.nc-tabs {
  display: flex;
  gap: 34px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 30px;
}
.nc-tab {
  font-size: 14px;
  color: #777;
  padding: 0 2px 14px;
  position: relative;
}
.nc-tab:hover { color: #145FFB; }
.nc-tab.is-active { color: #145FFB; font-weight: 600; }
.nc-tab.is-active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #145FFB;
  margin-right: 8px;
  vertical-align: 2px;
}

.nc-featured { margin-bottom: 0; }
.nc-featured-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e8e8e8;
}
.nc-featured-img { display: block; overflow: hidden; background: #f4f4f4; }
.nc-featured-img img { width: 300px; height: 190px; object-fit: cover; display: block; }
.nc-featured-body { min-width: 0; }
.nc-featured-date { display: block; font-size: 12px; color: #aaa; margin-bottom: 10px; }
.nc-featured h2 { font-size: 19px; line-height: 1.5; font-weight: 700; margin: 0 0 12px; }
.nc-featured h2 a { color: #101010; }
.nc-featured h2 a:hover { color: #145FFB; }
.nc-featured p {
  font-size: 13px;
  line-height: 1.85;
  color: #777;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}
.nc-btn,
.nc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #101010;
  color: #fff !important;
  font-size: 12px;
  padding: 10px 18px;
  border: 0;
  cursor: pointer;
}
.nc-btn:hover,
.nc-cta-btn:hover { background: #145FFB; }
.nc-btn span,
.nc-cta-btn span { font-size: 14px; }

.nc-item {
  display: grid;
  grid-template-columns: 64px 158px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}
.nc-date strong { display: block; font-size: 26px; font-weight: 800; line-height: 1; color: #101010; }
.nc-date span { display: block; font-size: 11px; color: #aaa; margin-top: 7px; }
.nc-thumb { display: block; overflow: hidden; background: #f4f4f4; }
.nc-thumb img { width: 158px; height: 102px; object-fit: cover; display: block; }
.nc-body { min-width: 0; }
.nc-body h3 { font-size: 16px; font-weight: 700; line-height: 1.5; margin: 0 0 8px; }
.nc-body h3 a { color: #101010; }
.nc-body h3 a:hover { color: #145FFB; }
.nc-body p {
  font-size: 12px;
  line-height: 1.75;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.nc-more { font-size: 12px; color: #333; display: inline-flex; align-items: center; gap: 8px; }
.nc-more:hover { color: #145FFB; }
.nc-more span { font-size: 14px; }

.nc-pager { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 38px 0 6px; }
.nc-pager-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid #e2e2e2;
  background: #fff;
  color: #444;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.nc-pager-btn:hover { border-color: #145FFB; color: #145FFB; }
.nc-pager-btn.is-active {
  background: #145FFB;
  border-color: #145FFB;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(20,95,251,.22);
}
.nc-pager-btn.is-disabled { color: #ccc; background: #fafafa; pointer-events: none; }
.nc-pager-ellipsis { color: #aaa; padding: 0 2px; font-size: 13px; }
.nc-pager-info { text-align: center; font-size: 11px; color: #aaa; margin-top: 10px; }

.nc-cta { background: #f7f8fa; text-align: center; padding: 46px 20px; margin-top: 54px; }
.nc-cta h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.nc-cta p { font-size: 13px; color: #888; margin-bottom: 20px; }

@media (max-width: 900px) {
  main.news-center > .wrap { padding: 0 22px; }
  .nc-featured-item { grid-template-columns: 1fr; }
  .nc-featured-img img { width: 100%; height: 220px; }
  .nc-item { grid-template-columns: 52px 110px 1fr; gap: 14px; }
  .nc-thumb img { width: 110px; height: 80px; }
}
@media (max-width: 560px) {
  .nc-title { font-size: 26px; }
  .nc-item { grid-template-columns: 1fr; gap: 10px; }
  .nc-thumb img { width: 100%; height: 180px; }
  .nc-date strong, .nc-date span { display: inline; font-size: 13px; color: #888; margin-right: 8px; }
  .nc-pager { gap: 5px; flex-wrap: wrap; }
  .nc-pager-btn { min-width: 32px; height: 32px; font-size: 12px; padding: 0 7px; }
}
