/* 首页最新资讯 · 横向滑动 */
.news-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.news-head .section-head {
  margin: 0 auto !important;
  flex: 1;
  min-width: 0;
}
.news-head .section-head h2 { margin-top: 8px; }
.news-head .section-head p {
  margin: 8px 0 0;
  margin-bottom: 0;
}
.news-rail-wrap {
  position: relative;
  margin: 0;
}
.news-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 14px;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  user-select: none;
  scrollbar-width: thin;
  scrollbar-color: oklch(0.72 0.08 250 / .45) transparent;
}
.news-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.news-rail::-webkit-scrollbar { height: 6px; }
.news-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: oklch(0.72 0.08 250 / .45);
}
.news-card {
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 16px 40px -24px rgba(31,38,135,.35);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  -webkit-user-drag: none;
}
.news-card img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: oklch(0.72 0.16 240 / .4);
  box-shadow: 0 22px 48px -22px oklch(0.55 0.16 250 / .4);
}
.news-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 30% 20%, oklch(0.72 0.16 240 / .22), transparent 50%),
    linear-gradient(145deg, oklch(0.94 0.02 250), oklch(0.9 0.03 280));
  overflow: hidden;
}
.news-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: oklch(0.55 0.14 250);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: .08em;
}
.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
  flex: 1;
}
.news-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-summary {
  margin: 0;
  color: oklch(0.42 0.02 260);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  margin-top: auto;
  padding-top: 6px;
  color: oklch(0.5 0.03 250);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.news-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 168px;
  padding: 36px 20px;
  border-radius: 22px;
  text-align: center;
  color: oklch(0.42 0.02 260);
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 16px 40px -28px rgba(31,38,135,.28);
  font-size: 15px;
  line-height: 1.6;
}
.news-empty[hidden] {
  display: none !important;
}
.news-rail[hidden] {
  display: none !important;
}
@media (min-width: 768px) {
  .news-card { flex-basis: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-card { transition: none; }
  .news-card:hover { transform: none; }
  .news-rail { scroll-behavior: auto; }
}

/* 资讯详情页 */
.article-page .article-main {
  padding: 104px 0 48px;
}
.article-page .article-shell,
.article-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: oklch(0.45 0.1 250);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.article-back:hover { color: oklch(0.4 0.16 250); text-decoration: underline; }
.article-card {
  border-radius: 28px;
  padding: 28px 22px 36px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 24px 60px -28px rgba(31,38,135,.35);
}
@media (min-width: 640px) {
  .article-card { padding: 36px 40px 44px; }
}
.article-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: oklch(0.52 0.14 250);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.article-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  color: oklch(0.45 0.02 260);
  font-size: 13px;
}
.article-cover {
  margin: 22px 0 0;
  border-radius: 20px;
  overflow: hidden;
  background: oklch(0.94 0.02 250);
}
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
}
.article-summary {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: oklch(0.72 0.16 240 / .08);
  color: oklch(0.35 0.03 260);
  font-size: 15px;
  line-height: 1.7;
}
.article-body {
  margin-top: 28px;
  color: oklch(0.28 0.02 260);
  font-size: 16px;
  line-height: 1.85;
}
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1em; }
.article-body h2, .article-body h3, .article-body h4 {
  margin: 1.4em 0 .6em;
  line-height: 1.35;
  font-weight: 700;
}
.article-body img,
.article-body video {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 12px 0;
}
.article-body a { color: oklch(0.48 0.16 250); }
.article-body ul, .article-body ol { padding-left: 1.25em; margin: 0 0 1em; }
.article-status {
  margin: 0;
  padding: 48px 20px;
  text-align: center;
  color: oklch(0.42 0.02 260);
  font-size: 15px;
}
.article-status.is-error { color: #dc2626; }

/* 资讯详情：标题左 + 封面右，正文区放图文/视频 */
.article-page .article-head {
  display: flex;
  gap: 24px 28px;
  align-items: flex-start;
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid oklch(0.2 0.02 260 / .07);
}
.article-page .article-head-main {
  flex: 1 1 auto;
  min-width: 0;
}
.article-page .article-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: oklch(0.5 0.12 250);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.article-page .article-title {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.25;
  color: oklch(0.18 0.02 260);
}
.article-page .article-meta-row {
  margin-top: 10px;
  color: oklch(0.5 0.02 260);
  font-size: 13px;
  font-weight: 500;
}
.article-page .article-summary {
  margin: 14px 0 0;
  padding: 0;
  border-radius: 0;
  background: none;
  color: oklch(0.42 0.02 260);
  font-size: 15px;
  line-height: 1.65;
}
.article-page .article-cover {
  flex: 0 0 200px;
  width: 200px;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: oklch(0.94 0.02 250);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 #fff;
}
.article-page .article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.article-page .article-body {
  max-width: none;
  margin-top: 0;
}
.article-page .article-body img,
.article-page .article-body video {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 16px 0;
  border-radius: 16px;
  background: oklch(0.94 0.02 250);
}
.article-page .article-body video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: oklch(0.2 0.02 260 / .08);
}
.article-page .article-body figure {
  margin: 18px 0;
  max-width: 720px;
}
.article-page .article-body figcaption {
  margin-top: 8px;
  color: oklch(0.48 0.02 260);
  font-size: 13px;
}
.article-page .article-status {
  margin: 0 0 16px;
}
@media (max-width: 720px) {
  .article-page .article-head {
    flex-direction: column;
    gap: 16px;
  }
  .article-page .article-cover {
    flex-basis: auto;
    width: min(200px, 100%);
  }
}
