/* =========================================================
   新视界新闻 · 公共样式
   视觉方向：现代城市新闻编辑部
   仅使用原生 CSS3，无框架、无 JavaScript
   ========================================================= */

/* ---------- 一、设计变量：语义化命名 ---------- */
:root {
  /* 颜色 */
  --bg-page: #f6f5f1;      /* 页面浅纸色 */
  --bg-surface: #ffffff;   /* 内容底色 */
  --brand: #173744;        /* 品牌深墨蓝 */
  --brand-deep: #0f2833;   /* 深墨蓝加深，用于悬停 */
  --text-heading: #18252d; /* 主标题 */
  --text-body: #35434b;    /* 正文 */
  --text-muted: #647078;   /* 辅助文字 */
  --rule: #dde2e1;         /* 分隔线 */
  --accent: #a66f36;       /* 古铜色，仅少量点缀 */

  /* 字体：站名用宋体，标题与界面用黑体 */
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC",
    STSong, SimSun, Georgia, serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Noto Sans SC", sans-serif;

  /* 布局 */
  --container: 1160px;
  --nav-height: 52px;
}

/* ---------- 二、基础样式 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* 键盘焦点：统一清晰可见 */
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 三、顶部信息栏 ---------- */
.topbar {
  font-size: 12.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--rule);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 7px;
  padding-bottom: 7px;
}

.topbar-inner p {
  margin: 0;
}

.topbar-note {
  color: var(--text-muted);
}

/* ---------- 四、网站头部 ---------- */
.site-header {
  padding: 30px 0 26px;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: flex-end;
  justify-content: space-between;
}

.brand-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.brand-title span {
  color: var(--brand);
}

.brand-tagline {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.brand-tagline::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--accent);
}

.header-slogan {
  padding-left: 20px;
  border-left: 1px solid var(--rule);
  text-align: right;
}

.header-slogan p {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.header-slogan small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* ---------- 五、主导航（吸顶 + 纯 CSS 选中反馈） ---------- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 245, 241, 0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -22px;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 15px 22px;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  color: var(--text-body);
  transition: color 0.2s ease;
}

/* 选中项：深墨蓝文字 + 底部古铜色短线 */
.nav-list a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--brand);
}

.nav-list a:hover::after {
  background: var(--rule);
}

.nav-list a.is-active {
  font-weight: 600;
  color: var(--brand);
}

.nav-list a.is-active::after {
  background: var(--accent);
}

/* 栏目被 :target 命中时，取消「首页」的固定高亮，恢复为普通状态 */
body:has(main#top #politics:target) .nav-list a.is-active,
body:has(main#top #society:target) .nav-list a.is-active,
body:has(main#top #technology:target) .nav-list a.is-active,
body:has(main#top #education:target) .nav-list a.is-active,
body:has(main#top #culture:target) .nav-list a.is-active {
  font-weight: 400;
  color: var(--text-body);
}

body:has(main#top #politics:target) .nav-list a.is-active::after,
body:has(main#top #society:target) .nav-list a.is-active::after,
body:has(main#top #technology:target) .nav-list a.is-active::after,
body:has(main#top #education:target) .nav-list a.is-active::after,
body:has(main#top #culture:target) .nav-list a.is-active::after {
  background: transparent;
}

/* 点击栏目后：对应导航项高亮 */
body:has(main#top #politics:target) .nav-list a[href$="#politics"],
body:has(main#top #society:target) .nav-list a[href$="#society"],
body:has(main#top #technology:target) .nav-list a[href$="#technology"],
body:has(main#top #education:target) .nav-list a[href$="#education"],
body:has(main#top #culture:target) .nav-list a[href$="#culture"] {
  font-weight: 600;
  color: var(--brand);
}

body:has(main#top #politics:target) .nav-list a[href$="#politics"]::after,
body:has(main#top #society:target) .nav-list a[href$="#society"]::after,
body:has(main#top #technology:target) .nav-list a[href$="#technology"]::after,
body:has(main#top #education:target) .nav-list a[href$="#education"]::after,
body:has(main#top #culture:target) .nav-list a[href$="#culture"]::after {
  background: var(--accent);
}

/* ---------- 六、首屏：左重点新闻 + 右今日要闻 ---------- */
.focus-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: stretch;
  margin: 32px auto 56px;
}

/* 轮播容器：由图片与文字实际内容决定高度，min-height 兜底，切换不跳动 */
.hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: heroFade 15s ease-in-out infinite;
}

/* 首图负延迟：页面打开即处于完全可见阶段，避免初始空白 */
.hero-slide:nth-child(1) {
  animation-delay: -2s;
}

.hero-slide:nth-child(2) {
  animation-delay: 3s;
}

.hero-slide:nth-child(3) {
  animation-delay: 8s;
}

/* 只有可见图层中的链接接收点击，隐藏图层不拦截 */
.hero-slide a {
  pointer-events: auto;
}

.hero-media {
  display: block;
  flex: none;
  height: 360px;
  overflow: hidden;
  background: var(--bg-page);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 标题与摘要位于图片下方的独立文字区，不再压在图片上 */
.hero-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px 22px;
  background: var(--bg-surface);
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--accent);
}

.hero-copy .tag {
  margin-bottom: 8px;
}

.hero-copy h2 {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}

.hero-copy h2 a:hover,
.hero-copy h2 a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero-copy p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 指示条：固定在图片右上角 */
.hero-dots {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.hero-dots span {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  animation: dotActive 15s linear infinite;
}

.hero-dots span:nth-child(1) {
  animation-delay: -2s;
}

.hero-dots span:nth-child(2) {
  animation-delay: 3s;
}

.hero-dots span:nth-child(3) {
  animation-delay: 8s;
}

/* 悬停或键盘聚焦轮播内链接时暂停；图片与指示条共用同一时钟，同时暂停同时恢复 */
.hero:hover .hero-slide,
.hero:hover .hero-dots span,
.hero:focus-within .hero-slide,
.hero:focus-within .hero-dots span {
  animation-play-state: paused;
}

/* 交叉淡化：每张可见约 7 秒，相邻图片有约 1 秒重叠，全程无黑场 */
@keyframes heroFade {
  0% {
    opacity: 0;
    visibility: visible;
  }
  6.67% {
    opacity: 1;
    visibility: visible;
  }
  33.33% {
    opacity: 1;
    visibility: visible;
  }
  46.67% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes dotActive {
  0% {
    background: rgba(255, 255, 255, 0.5);
  }
  6.67% {
    background: #fff;
  }
  33.33% {
    background: #fff;
  }
  46.67% {
    background: rgba(255, 255, 255, 0.5);
  }
  100% {
    background: rgba(255, 255, 255, 0.5);
  }
}

/* 今日要闻：标题 + 时间为主的速览 */
.panel {
  padding: 16px 20px 4px;
  background: var(--bg-surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
}

.panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-heading);
}

.panel-title small {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.today-list {
  list-style: none;
}

.today-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.today-list li:last-child {
  border-bottom: 0;
}

.today-list h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-heading);
}

.today-list h3 a:hover,
.today-list h3 a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.today-meta {
  margin: 2px 0 0;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

/* ---------- 七、栏目区：细分隔线 + 古铜色编号 ---------- */
main .container {
  counter-reset: channel;
}

.channel {
  counter-increment: channel;
  margin: 0 auto 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

/* 被导航定位到的栏目：顶部细线转为深墨蓝，编号同步加深 */
.channel:target {
  border-top-color: var(--brand);
}

.channel:target .channel-head::before {
  color: var(--brand);
}

.channel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin: 0 0 20px;
}

.channel-head::before {
  content: counter(channel, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: color 0.2s ease;
}

.channel-head h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--text-heading);
}

.channel-head p {
  margin: 0 0 0 auto;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* 栏目内容组件：横向图文、紧凑列表、两列图文，三套组件统一复用 */
.channel-stack {
  display: grid;
  gap: 24px;
}

/* 横向图文主新闻：左图右文，文字与图片垂直居中 */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.feature-media {
  height: 220px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bg-page);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature:hover .feature-media img {
  transform: scale(1.02);
}

.feature-body {
  display: flex;
  flex-direction: column;
}

.feature-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--text-heading);
}

.feature-body p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 紧凑标题列表：按内容自然排列，不做等高拉伸 */
.brief-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
}

/* 两条以内并排展示的短列表（时政栏目） */
.brief-list--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.brief-list li {
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}

.brief-list h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-heading);
}

.brief-list time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

/* 两列等宽图文：科技栏目，两图等宽等高 */
.pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pair-grid .card-media {
  height: 200px;
}

/* 左横向图文 + 右紧凑列表：教育、文化栏目 */
.channel-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.channel-split .feature {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.channel-split .feature-media {
  height: 180px;
}

.channel-split .feature-body h3 {
  font-size: 20px;
}

.channel-split .feature-body p {
  font-size: 14px;
}

/* 新闻卡片：无边框、无阴影，只保留图片与文字 */
.news-card {
  display: flex;
  flex-direction: column;
}

.card-media {
  display: block;
  height: 190px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bg-page);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* 悬停只做轻微放大，不改变布局和显示区域 */
.news-card:hover .card-media img {
  transform: scale(1.02);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0 0;
}

.card-body h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-heading);
}

.card-body h3 a:hover,
.card-body h3 a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.card-time {
  margin-top: auto;
  padding-top: 4px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

/* 社会栏目：三列等宽图片新闻，图片统一 190px 高 */
.channel--gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.channel--gallery .tag {
  display: none;
}

.channel--gallery .card-body {
  padding-top: 12px;
}

.channel--gallery .card-body h3 {
  font-size: 18px;
}

/* ---------- 八、最新资讯 + 热门排行 ---------- */
.latest-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
  margin: 8px auto 0;
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: var(--text-heading);
}

.section-head h2::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--accent);
}

.section-note {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.news-list {
  list-style: none;
}

.news-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.news-list li:first-child {
  padding-top: 14px;
}

.news-list h3 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-heading);
}

.news-list h3 a:hover,
.news-list h3 a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.news-list p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.news-list time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

/* 热门排行：序号由 CSS 计数器生成 */
.rank-list {
  list-style: none;
  counter-reset: rank;
}

.rank-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}

.rank-list li:last-child {
  border-bottom: 0;
}

.rank-list li::before {
  counter-increment: rank;
  content: counter(rank, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.4;
  color: #a9b3b4;
}

.rank-list li:nth-child(-n + 3)::before {
  color: var(--accent);
}

.rank-list a {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-body);
}

.rank-list a:hover,
.rank-list a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 九、页脚：深墨蓝收束 ---------- */
.site-footer {
  margin-top: 64px;
  padding: 48px 0 24px;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.06em;
  color: #fff;
}

.footer-brand h2 span {
  color: #fff;
}

.footer-brand p {
  margin: 0;
  max-width: 40em;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 十、详情页 ---------- */
.breadcrumb {
  padding: 18px 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb .sep {
  margin: 0 8px;
  color: #a9b3b4;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 48px;
  margin: 0 auto 64px;
}

.article {
  min-width: 0;
  max-width: 700px;
}

.article-head .tag {
  margin-bottom: 10px;
}

.article-head h1 {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-heading);
}

.article-lead {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-body);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.article-meta strong {
  font-weight: 600;
  color: var(--text-heading);
}

.article-figure {
  margin: 0 0 32px;
}

.article-figure img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  background: var(--bg-page);
}

.article-figure.detail-main img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.article-body p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.9;
  text-indent: 2em;
  color: var(--text-body);
}

.article-body h2 {
  margin: 40px 0 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-heading);
}

.article-body h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 10px;
  background: var(--accent);
}

/* 采访引语：浅纸底 + 细墨蓝边线，不用粉色和斜体 */
.article-body .quote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--brand);
  background: var(--bg-page);
  font-size: 17px;
  font-style: normal;
  line-height: 1.9;
  color: var(--text-body);
  text-indent: 0;
}

.article-body .quote cite {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-style: normal;
  color: var(--text-muted);
}

.article-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.btn-back {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--brand);
  border-radius: 3px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--brand);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-back:hover,
.btn-back:focus-visible {
  color: #fff;
  background: var(--brand);
}

/* 侧栏：辅助信息，弱于正文 */
.detail-layout > aside {
  min-width: 0;
}

.side-box {
  margin-bottom: 32px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.side-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-heading);
}

.side-list {
  list-style: none;
}

.side-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}

.side-list li:last-child {
  border-bottom: 0;
}

.side-list a {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.side-list a:hover,
.side-list a:focus-visible {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 相关推荐：缩略图统一 100×68 */
.related-list {
  list-style: none;
}

.related-list li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.related-list li:last-child {
  border-bottom: 0;
}

.related-list img {
  width: 100px;
  height: 68px;
  object-fit: cover;
  border-radius: 2px;
}

.related-list h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-body);
}

.related-list li:hover h3,
.related-list li:focus-within h3 {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 十一、响应式 ---------- */
@media (max-width: 1080px) {
  .focus-section {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
  }

  .hero-copy h2 {
    font-size: 30px;
  }

  .latest-section {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 36px;
  }

  .feature {
    gap: 24px;
  }

  .feature-body h3 {
    font-size: 22px;
  }

  .channel-split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px;
  }

  .channel--gallery .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .focus-section,
  .latest-section,
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .focus-section {
    margin-top: 24px;
    margin-bottom: 40px;
  }

  .hero {
    height: 528px;
    min-height: 528px;
  }

  .hero-media {
    height: 300px;
  }

  .hero-copy h2 {
    font-size: 28px;
  }

  .channel-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .feature-media {
    height: 210px;
  }

  .article {
    max-width: 100%;
  }

  .detail-layout {
    margin-bottom: 48px;
  }

  .header-slogan {
    padding-left: 0;
    border-left: 0;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .topbar {
    font-size: 12px;
  }

  .topbar-note {
    display: none;
  }

  .site-header {
    padding: 18px 0 14px;
  }

  .brand-title {
    font-size: 30px;
  }

  .header-slogan {
    display: none;
  }

  .nav-list {
    margin-left: -14px;
  }

  .nav-list a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-list a::after {
    left: 14px;
    right: 14px;
  }

  /* 手机端导航可能折行，scroll-margin-top 留足空间防遮挡 */
  .channel,
  .latest-section {
    scroll-margin-top: 112px;
  }

  .hero {
    height: 448px;
    min-height: 448px;
  }

  .hero-media {
    height: 210px;
  }

  .hero-copy {
    padding: 14px 16px 16px;
  }

  .hero-copy h2 {
    font-size: 22px;
    line-height: 1.42;
  }

  .hero-copy p {
    font-size: 13.5px;
    line-height: 1.65;
  }

  .panel {
    padding: 16px 16px 4px;
  }

  .channel {
    margin-bottom: 32px;
    padding-top: 20px;
  }

  .channel-head {
    margin-bottom: 16px;
  }

  .channel-head h2 {
    font-size: 20px;
  }

  .channel-head p {
    display: none;
  }

  /* 手机端横向图文改为上下排列，避免文字被挤压 */
  .feature,
  .channel-split .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .feature-media,
  .channel-split .feature-media {
    height: 200px;
  }

  .feature-body h3,
  .channel-split .feature-body h3 {
    font-size: 20px;
  }

  .pair-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pair-grid .card-media {
    height: 180px;
  }

  .brief-list--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-body h3 {
    font-size: 18px;
  }

  .channel--gallery .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head h2 {
    font-size: 20px;
  }

  .section-note {
    display: none;
  }

  .news-list h3 {
    font-size: 17px;
  }

  .news-list p {
    font-size: 13.5px;
  }

  .article-head h1 {
    font-size: 26px;
    line-height: 1.45;
  }

  .article-lead {
    font-size: 16px;
  }

  .article-meta {
    font-size: 12.5px;
  }

  .article-body p {
    font-size: 16px;
    line-height: 1.85;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ---------- 十二、减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  /* 静态显示第一张，首图与标题链接仍可点击 */
  .hero-slide {
    opacity: 0;
    visibility: hidden;
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
    visibility: visible;
    animation: none;
  }

  .hero-dots span {
    animation: none;
    background: rgba(255, 255, 255, 0.5);
  }

  .hero-dots span:first-child {
    background: #fff;
  }
}
