/* ============================================================
   首页「新闻动态」横向滚动栏  —— 独立样式文件（可整体删除回滚）
   仅被 PC 首页 index.html 引用，不影响其它页面
   设计令牌沿用站点：--ink #212121 / --gold #c9a062 / --dark #1a1a1a
   ============================================================ */

.sec-news {
  background: #f6f6f4;
  padding: 84px 0 72px;
  font-family: var(--ff, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif);
}

/* ---------- 标题行 ---------- */
.sec-news .ns-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.sec-news .ns-title h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #212121;
  line-height: 1.2;
}

.sec-news .ns-en {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 5px;
  color: #b5b5b5;
  text-transform: uppercase;
}

.sec-news .ns-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sec-news .ns-tab {
  display: inline-block;
  padding: 7px 20px;
  border: 1px solid #dedede;
  border-radius: 20px;
  background: #fff;
  color: #6b6b6b;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all .2s ease;
}

.sec-news .ns-tab:hover,
.sec-news .ns-tab.is-on {
  border-color: #c9a062;
  background: #c9a062;
  color: #fff;
}

/* ---------- 横向滚动轨道 ---------- */
.sec-news .ns-stage {
  position: relative;
}

.sec-news .ns-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 20px;
  cursor: -webkit-grab;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sec-news .ns-rail::-webkit-scrollbar {
  display: none;
}

.sec-news .ns-rail.is-dragging {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---------- 新闻卡片 ---------- */
.sec-news .ns-card {
  flex: 0 0 336px;
  display: block;
  background: #fff;
  color: #212121;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  transition: transform .3s ease, box-shadow .3s ease;
  -webkit-user-select: none;
  user-select: none;
}

.sec-news .ns-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .13);
}

.sec-news .ns-thumb {
  position: relative;
  height: 198px;
  overflow: hidden;
  background: linear-gradient(150deg, #efece6, #d9d4ca);
}

.sec-news .ns-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.sec-news .ns-card:hover .ns-thumb img {
  transform: scale(1.06);
}

.sec-news .ns-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 12px;
  background: rgba(26, 26, 26, .72);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
}

.sec-news .ns-body {
  padding: 20px 20px 18px;
}

.sec-news .ns-t {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  height: 3.2em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color .2s ease;
}

.sec-news .ns-card:hover .ns-t {
  color: #a87f43;
}

.sec-news .ns-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.9;
  color: #8a8a8a;
  height: 3.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sec-news .ns-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  font-size: 12px;
  color: #a8a8a8;
}

.sec-news .ns-go {
  color: #c9a062;
  letter-spacing: 1px;
}

/* ---------- 控制条：箭头 + 了解更多 ---------- */
.sec-news .ns-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
}

.sec-news .ns-arrows {
  display: flex;
  gap: 12px;
}

.sec-news .ns-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #dedede;
  border-radius: 50%;
  background: #fff;
  color: #212121;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: all .22s ease;
  font-family: inherit;
}

.sec-news .ns-arrow:hover {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}

.sec-news .ns-arrow:active {
  transform: scale(.94);
}

.sec-news .ns-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 24px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  transition: background .25s ease;
}

.sec-news .ns-more:hover {
  background: #c9a062;
  color: #fff;
}

.sec-news .ns-more i {
  font-style: normal;
  transition: transform .25s ease;
}

.sec-news .ns-more:hover i {
  transform: translateX(4px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1400px) {
  .sec-news .ns-card { flex: 0 0 310px; }
}

@media (max-width: 1100px) {
  .sec-news .ns-card { flex: 0 0 280px; }
  .sec-news .ns-thumb { height: 176px; }
}

@media (max-width: 900px) {
  .sec-news { padding: 56px 0 48px; }
  .sec-news .ns-head { align-items: flex-start; }
  .sec-news .ns-card { flex: 0 0 260px; }
  .sec-news .ns-thumb { height: 160px; }
  .sec-news .ns-t { font-size: 15px; }
}

@media (max-width: 640px) {
  .sec-news .ns-rail { gap: 16px; }
  .sec-news .ns-card { flex: 0 0 78%; }
  .sec-news .ns-bar { flex-direction: column-reverse; align-items: stretch; }
  .sec-news .ns-more { justify-content: center; }
}

/* 尊重系统「减弱动画」偏好 */
@media (prefers-reduced-motion: reduce) {
  .sec-news .ns-card,
  .sec-news .ns-thumb img { transition: none; }
}
