/* 服务乡村振兴高校招生专项计划 · 政策解读专题 eol.cn 风格 */
:root {
  --blue: #0e4d9c;
  --blue2: #1565c0;
  --blue-d: #0a3a7a;
  --ink: #1f2430;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f5f7fa;
  --card: #ffffff;
  --green: #1c6b3c;
  --amber-bg: #fef7e6;
  --amber-line: #b98d1f;
  --red: #a32d2d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; }
a { color: var(--blue2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 微信分享缩略图（body 首元素，不能 display:none） */
.wx-thumb { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(14, 77, 156, 0.06);
}
.topbar .bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 14px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar .bar::-webkit-scrollbar { display: none; }
.topbar .brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
}
.topbar .eol-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.topbar .brand-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.topbar .brand-txt strong {
  font-weight: 700;
  color: var(--blue-d);
  font-size: 15px;
  letter-spacing: 1px;
}
.topbar .brand-txt i {
  font-style: normal;
  color: #6b7a99;
  font-size: 11px;
  letter-spacing: 2px;
}
.topbar .bar a {
  flex: 0 0 auto;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: #475069;
  white-space: nowrap;
}
.topbar .bar a:hover { background: #eef3fb; text-decoration: none; }
.topbar .bar a.on { background: var(--blue); color: #ffffff; }

/* hero */
.hero {
  background: linear-gradient(135deg, #0a3a7a 0%, #0e4d9c 55%, #1565c0 100%);
  color: #ffffff;
  padding: 46px 0 40px;
}
.hero .wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.kick {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffe9b8;
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 13.5px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(24px, 4.6vw, 34px);
  line-height: 1.35;
  margin: 14px 0 10px;
  font-weight: 700;
}
.hero h1 .em { color: #ffe9b8; }
.hero .sub {
  max-width: 760px;
  font-size: 15.5px;
  color: #d8e4f6;
  line-height: 1.8;
}
.hero .meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: #b9ccec;
}
.hero .meta b { color: #ffffff; font-weight: 600; }

/* 统计块 */
.stats {
  max-width: 1080px;
  margin: -26px auto 0;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}
.stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(14, 77, 156, 0.08);
  overflow: hidden;
}
.stats .cell { padding: 16px 10px; text-align: center; }
.stats .cell + .cell { border-left: 1px solid var(--line); }
.stats .num {
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}
.stats .num small { font-size: 13px; font-weight: 400; color: var(--muted); }
.stats .lab { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* main */
main.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 16px 40px;
}
section.sec { margin-bottom: 34px; scroll-margin-top: 64px; }
.sec-h {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 8px;
}
.sec-h .no {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.sec-h h2 { font-size: 21px; color: var(--blue-d); font-weight: 700; }
.sec-h .en { font-size: 12.5px; color: var(--muted); margin-left: auto; white-space: nowrap; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.card h3 { font-size: 16.5px; color: var(--blue-d); margin-bottom: 8px; font-weight: 700; }
.card p { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.lead { font-size: 15.5px; }

.note {
  background: var(--amber-bg);
  border-left: 3px solid var(--amber-line);
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #6b5b1e;
  margin: 10px 0;
}
.note b { color: #4a3d0e; }
.src {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}

/* 表格 */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
table.cmp th, table.cmp td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
table.cmp thead th { background: var(--blue); color: #fff; font-weight: 600; white-space: nowrap; }
table.cmp tbody th { background: #f0f5fb; color: var(--blue-d); font-weight: 600; white-space: nowrap; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td.old { color: #57607a; }
table.cmp td.new { color: var(--blue-d); }
table.cmp td .tag-new {
  display: inline-block;
  background: #e1f5ee;
  color: var(--green);
  font-size: 12px;
  border-radius: 4px;
  padding: 0 6px;
  margin-left: 6px;
  white-space: nowrap;
}

/* 时间线 */
.tl { position: relative; margin: 8px 0 0; padding-left: 26px; }
.tl::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl .ev { position: relative; margin-bottom: 16px; }
.tl .ev:last-child { margin-bottom: 0; }
.tl .ev::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue2);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--blue2);
}
.tl .ev .t { font-weight: 700; color: var(--blue-d); font-size: 15px; }
.tl .ev .d { font-size: 14px; color: #3c4356; }
.tl .ev.hot::before { background: var(--red); box-shadow: 0 0 0 1px var(--red); }

/* 条款卡 */
.law-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.law { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.law h3 { font-size: 15.5px; color: var(--blue-d); margin-bottom: 8px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.law h3 .idx {
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #e6f1fb;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.law p { font-size: 14px; margin-bottom: 6px; }
.law p:last-child { margin-bottom: 0; }

/* 影响卡 */
.impact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.imp { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; border-top: 3px solid var(--blue2); }
.imp h3 { font-size: 15.5px; color: var(--blue-d); margin-bottom: 8px; font-weight: 700; }
.imp p { font-size: 14px; margin-bottom: 6px; }
.imp p:last-child { margin-bottom: 0; }

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 13px 44px 13px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-d);
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--blue2);
  border-bottom: 2px solid var(--blue2);
  transform: rotate(45deg);
  transition: transform 0.15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 22px; }
.faq details .ans { padding: 0 16px 14px; font-size: 14.5px; color: #3c4356; }
.faq details .ans p { margin-bottom: 6px; }
.faq details .ans p:last-child { margin-bottom: 0; }

/* 来源 */
.srcs ol { padding-left: 22px; }
.srcs li { font-size: 13.5px; color: #475069; margin-bottom: 6px; }
.srcs li .u { color: var(--muted); font-size: 12.5px; word-break: break-all; }

/* footer */
footer {
  background: #0f2f57;
  color: #a9bddd;
  font-size: 13px;
  padding: 22px 0 26px;
  margin-top: 20px;
}
footer .wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
footer a { color: #cfe0f7; }

/* back to top */
#toTop {
  position: fixed;
  right: 16px;
  bottom: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 60;
}
#toTop.show { opacity: 0.9; pointer-events: auto; }

@media (max-width: 700px) {
  body { font-size: 15px; }
  .topbar .brand {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #ffffff;
    padding-right: 10px;
  }
  .topbar .eol-logo { width: 26px; height: 26px; border-radius: 7px; }
  .topbar .brand-txt strong { font-size: 14px; }
  .topbar .brand-txt i { font-size: 10px; letter-spacing: 1px; }
  .hero { padding: 34px 0 34px; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .stats .cell:nth-child(3) { border-left: none; border-top: 1px solid var(--line); }
  .stats .cell:nth-child(4) { border-top: 1px solid var(--line); }
  .sec-h h2 { font-size: 18.5px; }
  .law-grid, .impact { grid-template-columns: 1fr; }
  .card { padding: 14px 15px; }
  section.sec { scroll-margin-top: 56px; }
  .topbar .bar a { font-size: 13px; padding: 4px 10px; }
  table.cmp { min-width: 560px; }
}
@media (max-width: 420px) {
  .hero .sub { font-size: 14.5px; }
  .stats .num { font-size: 22px; }
}
