/* ============================================================
   谷子育种研究室 · 全站公共样式
   主题：谷穗金 × 田野绿（农业科研风）
   说明：本文件由全站 7 个页面共享，修改后全站生效。
   ============================================================ */

:root {
  /* ---- 品牌色板 ---- */
  --green-900: #143327;   /* 页脚深绿 */
  --green-700: #1F6B4A;   /* 主绿 */
  --green-600: #2E7D5B;
  --green-100: #EAF3EE;   /* 浅绿底 */
  --green-050: #F4F8F5;

  --gold-600: #B8860B;
  --gold-500: #C9972F;    /* 谷穗金 */
  --gold-100: #F7EFDC;

  --ink-900: #1F2E27;     /* 标题 */
  --ink-700: #2E3B34;     /* 正文强调 */
  --ink-500: #5B655E;     /* 正文 */
  --ink-400: #8A938C;     /* 次要说明 */
  --line: #E6E9E1;        /* 边框 */
  --bg: #F7F7F2;          /* 页面底色 */
  --card: #FFFFFF;

  --radius-lg: 14px;
  --radius-md: 12px;
  --shadow-soft: 0 1px 2px rgba(20, 51, 39, .04);
  --shadow-lift: 0 12px 28px rgba(20, 51, 39, .10);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
               "Helvetica Neue", Arial, sans-serif;

  /* ---- 对齐 Bootstrap 主题色（图标、徽章统一为品牌色） ---- */
  --bs-primary: #1F6B4A;
  --bs-primary-rgb: 31, 107, 74;
  --bs-success: #2E7D5B;
  --bs-success-rgb: 46, 125, 91;
  --bs-info: #C9972F;
  --bs-info-rgb: 201, 151, 47;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink-500);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-500); color: #fff; }

section { margin-bottom: 2.75rem; }
.container > section:first-child { margin-top: 2.5rem; }

/* ============================================================
   导航栏
   ============================================================ */
.lab-navbar {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: .55rem;
  padding-bottom: .55rem;
  transition: box-shadow .25s ease;
}
.lab-navbar.scrolled { box-shadow: 0 6px 20px rgba(20, 51, 39, .07); }

.lab-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding-top: .2rem;
  padding-bottom: .2rem;
}

/* 品牌标识：图标 + 中文/英文双行名称 */
.brand-icon {
  height: 46px;
  width: auto;
  border-radius: 8px;
  flex: 0 0 auto;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-name-zh {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink-900);
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-name-en {
  margin-top: .12rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--green-700);
  opacity: .8;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .brand-icon { height: 38px; }
  .brand-name-zh { font-size: .98rem; }
  .brand-name-en { font-size: .64rem; }
}

.lab-navbar .navbar-toggler { border-color: transparent; color: var(--ink-700); }
.lab-navbar .navbar-toggler:focus { box-shadow: none; }

.lab-navbar .nav-link {
  position: relative;
  color: var(--ink-700);
  font-size: .95rem;
  margin: 0 .1rem;
  padding: .5rem .8rem;
  transition: color .2s ease;
}
.lab-navbar .nav-link:hover { color: var(--green-700); }
.lab-navbar .nav-link.active {
  color: var(--green-700);
  font-weight: 600;
}
.lab-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}

/* ============================================================
   首页轮播
   ============================================================ */
.home-carousel .carousel-item { position: relative; }
.home-carousel .carousel-item img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.home-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(12, 30, 22, .10) 0%,
              rgba(12, 30, 22, .55) 72%,
              rgba(12, 30, 22, .72) 100%);
}
.carousel-caption-text {
  position: absolute;
  z-index: 2;
  left: 7%;
  right: 7%;
  bottom: 13%;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .30);
}
.carousel-caption-text h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: .6rem;
}
.carousel-caption-text p {
  font-size: clamp(.92rem, 2vw, 1.06rem);
  opacity: .95;
  margin-bottom: 0;
  line-height: 1.8;
}
.home-carousel .carousel-indicators [data-bs-target] {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, .55);
}
.home-carousel .carousel-indicators .active { background-color: var(--gold-500); }

@media (max-width: 768px) {
  .home-carousel .carousel-item img { height: 320px; }
  .carousel-caption-text { bottom: 12%; }
}

/* ============================================================
   章节标题（中文为主，金色标识条点缀）
   ============================================================ */
.lab-section-title {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: .01em;
  margin-bottom: 1.2rem;
}
.lab-section-title::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 24px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--green-700) 100%);
}

/* 页内小标题（研究员 / 代表性论文 / 2026年 等） */
h4.fw-bold.text-secondary {
  color: var(--ink-700) !important;
  position: relative;
  padding-left: .85rem;
  font-size: 1.08rem;
  letter-spacing: .02em;
}
h4.fw-bold.text-secondary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--gold-500);
}

/* ============================================================
   文本卡片 / 说明块
   ============================================================ */
.lab-text-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.6rem;
}
.lab-text-block p {
  color: var(--ink-500);
  margin-bottom: .75rem;
  line-height: 1.9;
}
.lab-text-block p:last-child { margin-bottom: 0; }
.lab-text-block strong { color: var(--green-700); font-weight: 600; }
.lab-text-block ul {
  padding-left: 1.15rem;
  color: var(--ink-500);
  line-height: 1.9;
  margin-bottom: 0;
}
.lab-text-block li { margin-bottom: .3rem; }

/* ============================================================
   资源 / 入口卡片
   ============================================================ */
.resource-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 1.1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink-900);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.resource-card:hover {
  transform: translateY(-3px);
  border-color: #C6DCCF;
  box-shadow: var(--shadow-lift);
  color: var(--ink-900);
}
.resource-card h5,
.resource-card h6 { color: var(--ink-900); }
.resource-card p { color: var(--ink-400) !important; }

.resource-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 1.1rem;
  transition: background .2s ease, color .2s ease;
}
.resource-card:hover .resource-icon { background: var(--green-700); color: #fff; }

.resource-arrow {
  margin-left: auto;
  color: #B9C3BC;
  transition: transform .2s ease, color .2s ease;
}
.resource-card:hover .resource-arrow {
  transform: translateX(4px);
  color: var(--gold-600);
}

/* ============================================================
   数据概览
   ============================================================ */
.stat-block {
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1rem;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.stat-block:hover { border-color: #C6DCCF; transform: translateY(-2px); }
.stat-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: .01em;
}
.stat-label {
  margin-top: .3rem;
  font-size: .85rem;
  color: var(--ink-400);
}

/* ============================================================
   团队成员
   ============================================================ */
.person-card {
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem .9rem 1.3rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.person-card:hover {
  transform: translateY(-4px);
  border-color: #C6DCCF;
  box-shadow: var(--shadow-lift);
}
.person-avatar-box {
  position: relative;
  width: 100%;
  max-width: 136px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 图片缺失时显示占位图标（绝对定位居中，垫在照片下方，不参与布局） */
.person-avatar-box::before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f007";
  font-size: 2.4rem;
  color: #B9CFC4;
}
.person-avatar-box img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-name {
  margin-top: .85rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
}
.person-position {
  margin-top: .2rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-700);
}
.person-desc {
  margin-top: .5rem;
  font-size: .78rem;
  line-height: 1.7;
  color: var(--ink-400);
}

/* ============================================================
   品种选育（列表卡片）
   与成员卡片一致：名称加粗深色、其它信息常规字体；
   整卡为链接，但去除链接默认的蓝色与下划线
   ============================================================ */
.variety-card,
.variety-card:visited,
.variety-card:hover,
.variety-card:focus {
  color: var(--ink-900);
  text-decoration: none;
}
.variety-card {
  display: block;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.2rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.variety-card:hover,
.variety-card:focus {
  transform: translateY(-4px);
  border-color: #C6DCCF;
  box-shadow: var(--shadow-lift);
}
.variety-card .variety-name,
.variety-card .variety-meta,
.variety-card .variety-link { text-decoration: none; }
.variety-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 图片缺失时显示占位图标 */
.variety-image-box::before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f4d8";   /* fa-seedling */
  font-size: 2.6rem;
  color: #B9CFC4;
}
.variety-image-box img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.variety-name {
  margin-top: .85rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-900);
}
.variety-meta {
  margin-top: .3rem;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--ink-400);
}
.variety-link {
  display: inline-block;
  margin-top: .55rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--green-700);
  transition: color .2s ease;
}
.variety-card:hover .variety-link { color: var(--gold-600); }
.variety-link i { transition: transform .2s ease; }
.variety-card:hover .variety-link i { transform: translateX(3px); }

/* ============================================================
   品种详情页
   ============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--green-700);
  text-decoration: none;
  font-size: .88rem;
  margin-bottom: 1.1rem;
  transition: color .2s ease;
}
.back-link:hover { color: var(--gold-600); }
.variety-detail-img {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.variety-detail-img::before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f4d8";   /* fa-seedling */
  font-size: 3rem;
  color: #B9CFC4;
}
.variety-detail-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.variety-detail-name {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink-900);
  margin-bottom: 1rem;
}
.badge-variety {
  background: var(--gold-500);
  color: #fff;
  font-weight: 600;
  font-size: .78rem;
  padding: .4em .9em;
  vertical-align: middle;
}
.var-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.var-info-list li {
  display: flex;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px dashed #E2E6DD;
}
.var-info-list li:last-child { border-bottom: none; }
.var-info-list .k {
  flex: 0 0 108px;
  color: var(--ink-400);
  font-size: .9rem;
}
.var-info-list .v {
  flex: 1;
  color: var(--ink-700);
  font-size: .95rem;
  line-height: 1.7;
}
.var-info-list .v strong { color: var(--green-700); }

/* ============================================================
   论文引用列表（紧凑格式）
   ============================================================ */
.pub-cite-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: .5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.pub-cite {
  padding: 1.05rem 0 .95rem;
  border-bottom: 1px dashed #E2E6DD;
}
.pub-cite:last-child { border-bottom: none; }
.pub-cite-text {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink-500);
  line-height: 1.75;
}
.pub-cite-authors { color: var(--ink-700); }
.pub-cite-year { color: var(--green-700); }
.pub-cite-title { font-weight: 500; color: var(--ink-900); }
.pub-cite-journal { font-weight:500; font-style: italic; color: var(--ink-400); }
.pub-cite-links {
  margin-top: .45rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.pub-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .14rem .62rem;
  font-size: .76rem;
  font-weight: 600;
  color: var(--green-700);
  border: 1px solid #BFD8C9;
  border-radius: 999px;
  background: #F3F9F5;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pub-btn:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 576px) {
  .pub-cite-list { padding: .3rem 1.05rem; }
  .pub-cite-text { font-size: .86rem; }
}

/* ============================================================
   新闻列表
   ============================================================ */
.news-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: .4rem 1.35rem;
  box-shadow: var(--shadow-soft);
}
.news-item {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  padding: .8rem 0;
  border-bottom: 1px dashed #E2E6DD;
}
.news-item:last-child { border-bottom: none; }
.news-date {
  flex: 0 0 auto;
  min-width: 96px;
  font-size: .82rem;
  color: var(--ink-400);
  font-variant-numeric: tabular-nums;
}
.news-title {
  color: var(--ink-700);
  font-size: .95rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color .2s ease;
}
.news-title:hover { color: var(--green-700); }

/* ============================================================
   招聘岗位
   ============================================================ */
.opening-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.opening-card:hover { border-color: #C6DCCF; box-shadow: var(--shadow-lift); }
.opening-title { font-size: 1.08rem; font-weight: 700; color: var(--ink-900); }
.opening-meta {
  margin-top: .55rem;
  margin-bottom: .9rem;
  font-size: .85rem;
  color: var(--ink-400);
}
.opening-desc {
  font-size: .92rem;
  color: var(--ink-500);
  line-height: 1.85;
}
.opening-desc ul { padding-left: 1.15rem; }
.opening-desc li { margin-bottom: .3rem; }
.opening-desc strong { color: var(--ink-700); }

/* 招聘徽章 */
.badge.bg-success { background: var(--green-600) !important; font-weight: 600; }
.badge.bg-info { background: var(--gold-500) !important; font-weight: 600; color: #fff; }

/* ============================================================
   通用卡片与提示
   ============================================================ */
.card {
  border-color: var(--line) !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.card-body h5,
.card-body h6 { color: var(--ink-900); }
.card-body p { color: var(--ink-500); }
.card hr { border-color: #E2E6DD; opacity: 1; }

.alert.alert-secondary {
  background: var(--green-050);
  border: 1px solid #D8E6DC;
  color: var(--green-700);
  border-radius: var(--radius-md);
  font-size: .9rem;
}
.alert i { margin-right: .5rem; }

.leading-loose { line-height: 1.9; }

/* ============================================================
   页脚
   ============================================================ */
footer {
  margin-top: 3rem;
  background: var(--green-900);
  color: #D6E4DB;
  padding: 2.1rem 0;
  font-size: .92rem;
}
footer p { margin-bottom: .35rem; }
footer p:last-child { margin-bottom: 0; opacity: .72; font-size: .82rem; }

/* 页脚品牌标识 */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: .7rem;
}
.footer-brand:hover { text-decoration: none; color: inherit; }
.footer-brand .brand-icon { height: 42px; }
.footer-brand .brand-name-zh { color: #fff; font-size: 1.05rem; }
.footer-brand .brand-name-en { color: #A8C4B4; opacity: 1; }

/* 键盘可达性 */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

/* ============================================================
   博客式文章列表（实验室新闻）
   ============================================================ */
.blog-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: .4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.article-card {
  padding: 1.35rem 0 1.25rem;
  border-bottom: 1px dashed #E2E6DD;
  cursor: pointer;
  transition: background .2s ease;
}
.article-card:last-child { border-bottom: none; }
.article-card:hover .article-title { color: var(--green-700); }
.article-card:hover .article-excerpt { color: var(--ink-600); }

.article-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35rem .9rem;
}
.article-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink-900);
  text-decoration: none;
  line-height: 1.55;
  transition: color .2s ease;
}
.article-title:hover { color: var(--green-700); text-decoration: none; }
.article-date {
  font-size: .8rem;
  color: var(--ink-400);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.article-tags {
  margin-top: .4rem;
  font-size: .8rem;
  color: var(--green-700);
  opacity: .85;
}
.article-summary {
  position: relative;
  margin-top: .6rem;
}
.article-thumb {
  float: right;
  width: 158px;
  height: 104px;
  object-fit: cover;
  border-radius: 8px;
  margin-left: 1rem;
  margin-bottom: .4rem;
}
.article-excerpt {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-500);
  line-height: 1.85;
  overflow: hidden;
}
.article-more {
  margin-top: .55rem;
  text-align: right;
}
.article-more a {
  font-size: .88rem;
  color: var(--green-700);
  text-decoration: none;
  font-weight: 600;
}
.article-more a:hover { color: var(--green-600); text-decoration: underline; }

@media (max-width: 576px) {
  .blog-list { padding: .3rem 1.05rem; }
  .article-title { font-size: 1.02rem; }
  .article-thumb {
    float: none;
    display: block;
    width: 100%;
    height: 170px;
    margin: 0 0 .6rem;
  }
}

/* ============================================================
   新闻全文页
   ============================================================ */
.article-page { padding: 1.4rem 0 2.6rem; }
.article-page .back-link { margin-bottom: 1.1rem; display: inline-block; }

.article-full {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.2rem 2.6rem 2rem;
  box-shadow: var(--shadow-soft);
}
.article-full-head { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.article-full-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.5;
  margin-bottom: .5rem;
}
.article-full-meta {
  font-size: .85rem;
  color: var(--ink-400);
  margin-top: .3rem;
  font-variant-numeric: tabular-nums;
}
.article-full-content {
  margin-top: 1.4rem;
  font-size: .98rem;
  color: var(--ink-600);
  line-height: 2;
}
.article-full-content p { margin-bottom: 1.05rem; }
.article-full-content .article-inner-heading {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-800);
  margin: 1.6rem 0 .75rem;
  padding-left: .7rem;
  border-left: 3px solid var(--gold-500);
}
.article-figure {
  margin: 1.4rem 0;
  text-align: center;
}
.article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.article-figure figcaption {
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--ink-400);
}

.article-pager {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 1.3rem;
}
.article-pager-link {
  font-size: .88rem;
  color: var(--ink-500);
  text-decoration: none;
  max-width: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s ease;
}
.article-pager-link:hover { color: var(--green-700); text-decoration: none; }
.article-pager-link.prev { margin-right: auto; }

@media (max-width: 576px) {
  .article-full { padding: 1.4rem 1.2rem 1.3rem; }
  .article-full-title { font-size: 1.25rem; }
  .article-pager-link { max-width: 100%; white-space: normal; }
  .article-pager { display: block; }
  .article-pager-link { display: block; margin: .3rem 0; }
}

/* 新闻数据来源提示 */
.news-source {
  margin-top: .6rem;
  font-size: .78rem;
  color: var(--ink-400);
  text-align: right;
}

/* 图片缺失占位（加载失败时显示，便于发现路径/上传问题） */
.article-img-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 120px;
  padding: 1rem;
  border: 1px dashed #C6A15A;
  border-radius: 10px;
  background: #FAF6EC;
  color: #9A7B3C;
  font-size: .85rem;
  text-align: center;
}
.article-thumb-missing {
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  width: 158px;
  height: 104px;
  margin-left: 1rem;
  margin-bottom: .4rem;
  border: 1px dashed #C6A15A;
  border-radius: 8px;
  background: #FAF6EC;
  color: #9A7B3C;
  font-size: .72rem;
  text-align: center;
  line-height: 1.4;
}
@media (max-width: 576px) {
  .article-thumb-missing {
    float: none;
    display: flex;
    width: 100%;
    height: 100px;
    margin: 0 0 .6rem;
  }
}
