/* ==========================================================================
   20261203e · 心理驿站：按分类分区展示（左侧特色大卡 + 右侧资讯列表）
   ========================================================================== */
.news-section { padding-top: 42px; }
.ns-loading, .ns-empty {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 260px; color: var(--muted, #7A8880); font-size: 14px;
}
.ns-empty { flex-direction: column; text-align: center; }

.ns-section { margin-bottom: 64px; }
.ns-section:last-child { margin-bottom: 0; }
.ns-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line, #E5EAE7);
}
.ns-kicker {
  display: block; margin-bottom: 6px;
  color: var(--green-700, #2F6B53); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.ns-title {
  margin: 0; font-size: 30px; line-height: 1.25; font-weight: 700;
  color: var(--ink, #22302A);
}
.ns-intro {
  max-width: 430px; margin: 0; color: var(--muted, #7A8880);
  font-size: 13px; line-height: 1.8; text-align: right;
}
.ns-body {
  display: grid; grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px; align-items: start;
}

/* 左侧特色文章：图片铺底 + 底部暗色信息层 */
.ns-feature {
  position: relative; display: block; min-height: 418px; overflow: hidden;
  border-radius: 14px; background: #EAF2ED; color: #fff; text-decoration: none;
}
.ns-feature:hover { text-decoration: none; }
.ns-feature-media, .ns-feature-ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ns-feature-ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #E8F1EB, #D8E8DE);
  color: #87A293; font-size: 12px; font-weight: 700; letter-spacing: .28em;
}
.ns-feature::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 28, 21, .05) 35%, rgba(12, 28, 21, .86) 100%);
}
.ns-feature-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 22px; }
.ns-feature-date { font-size: 12px; opacity: .86; }
.ns-feature h3 {
  margin: 10px 0 8px; font-size: 19px; line-height: 1.5; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ns-feature p {
  margin: 0; font-size: 12.5px; line-height: 1.7; opacity: .9;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ns-feature-more {
  display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: 2px;
}
.ns-feature:empty::after {
  content: '最新文章整理中'; display: grid; place-items: center;
  background: #EAF2ED; color: var(--muted, #7A8880); font-size: 14px;
}

/* 右侧资讯列表 */
.ns-list { border: 1px solid var(--line, #E5EAE7); border-radius: 14px; background: #fff; overflow: hidden; }
.ns-row {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) 84px 20px;
  gap: 14px; align-items: center; padding: 16px 18px;
  border-bottom: 1px solid var(--line, #E5EAE7); color: inherit; text-decoration: none;
}
.ns-row:last-child { border-bottom: 0; }
.ns-row:hover { background: #F7FAF8; text-decoration: none; }
.ns-row.is-current { background: #F4F8FC; }
.ns-date { color: var(--muted, #7A8880); font-size: 12px; white-space: nowrap; }
.ns-row-main { min-width: 0; }
.ns-row-title {
  font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--ink, #22302A);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ns-row-sub {
  display: inline-block; max-width: 340px; margin-top: 6px; margin-left: 7px;
  color: var(--muted, #7A8880); font-size: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle;
}
.ns-tag {
  display: inline-block; margin-top: 6px; padding: 2px 7px;
  border-radius: 4px; background: #EAF2FF; color: #2A6A9E; font-size: 11px;
}
.ns-src {
  margin-top: 4px; color: var(--muted, #7A8880); font-size: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ns-thumb, .ns-thumb-ph {
  width: 84px; height: 56px; border-radius: 6px; object-fit: cover; display: block;
}
.ns-thumb-ph {
  display: flex; align-items: center; justify-content: center;
  background: #E8F1EB; color: #93A99C; font-size: 9px; letter-spacing: .12em;
}
.ns-arrow { color: #9AA8A0; font-size: 18px; text-align: right; }
.ns-none { padding: 36px 20px; text-align: center; color: var(--muted, #7A8880); font-size: 13px; }

/* 分区内分页 */
.ns-pager {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 7px; margin-top: 14px;
}
.ns-pager-info { margin-right: 4px; color: var(--muted, #7A8880); font-size: 12px; }
.ns-pager button {
  min-width: 32px; height: 30px; padding: 0 9px; border-radius: 6px;
  border: 1px solid var(--line, #E5EAE7); background: #fff; color: var(--muted, #7A8880);
  font-family: inherit; font-size: 12px; cursor: pointer;
}
.ns-pager button:hover:not(:disabled) { border-color: var(--green-500, #4E8A6E); color: var(--green-700, #2F6B53); }
.ns-pager button.is-active { background: var(--green-700, #2F6B53); border-color: var(--green-700, #2F6B53); color: #fff; }
.ns-pager button:disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 900px) {
  .ns-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ns-intro { text-align: left; }
  .ns-body { grid-template-columns: 1fr; gap: 18px; }
  .ns-feature { min-height: 320px; }
}
@media (max-width: 600px) {
  .ns-section { margin-bottom: 46px; }
  .ns-title { font-size: 25px; }
  .ns-feature { min-height: 280px; }
  .ns-row { grid-template-columns: 66px minmax(0, 1fr) 18px; gap: 10px; padding: 14px; }
  .ns-thumb, .ns-thumb-ph { display: none; }
  .ns-row-title { font-size: 14px; }
  .ns-pager { justify-content: center; flex-wrap: wrap; }
}
