/* ==========================================================================
   惠农心公益助农平台 · 前台样式
   零依赖、纯手写。品牌主色 #005419 取自 logo 采样。
   断点：1024 / 760 / 560
   ========================================================================== */

:root {
    --brand:      #005419;
    --brand-600:  #0a6b23;
    --brand-700:  #004414;
    --brand-050:  #eef7f0;
    --brand-100:  #d7ebdc;
    --brand-200:  #b6dcc1;

    --ink:        #16241b;
    --ink-2:      #41544a;
    --muted:      #5c7064;   /* 对白底 5.3:1，小字达 AA */
    --line:       #dfe8e1;
    --line-2:     #eef3ef;

    --bg:         #ffffff;
    --surface:    #f6faf7;
    --footer-bg:  #08260f;

    --radius:     14px;
    --radius-sm:  10px;
    --wrap:       1200px;
    --navh:       74px;

    --shadow-sm:  0 1px 2px rgba(16, 40, 24, .05);
    --shadow:     0 8px 28px rgba(16, 40, 24, .08);
    --shadow-lg:  0 18px 48px rgba(16, 40, 24, .12);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    /* 顶部导航是 sticky，锚点跳转时自动让出高度，避免标题被压住 */
    scroll-padding-top: calc(var(--navh) + 20px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    /* 长 URL / 长英文词 / 邮箱不会改变块的 border-box 宽度，只会把 scrollWidth 撑大，
       overflow-x:hidden 只是把滚动条藏起来 —— 文字仍然是溢出的。
       必须允许在词内断行，否则一段长链接就能把整页顶宽。 */
    overflow-wrap: break-word;
    overflow-x: hidden;      /* 双保险：任何区块溢出都不产生横向滚动条 */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 2px; border-radius: 4px; }

/* --------------------------------------------------------------- 容器 */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--brand); color: #fff;
    padding: 10px 18px; border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------- 顶部导航 */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line-2);
    transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(16, 40, 24, .07);
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex; align-items: center; gap: 20px;
    min-height: var(--navh);
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--brand-050); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
    display: block; padding: 9px 15px; border-radius: 999px;
    font-size: 15px; font-weight: 600; color: var(--ink-2);
    white-space: nowrap; transition: background .16s, color .16s;
}
.nav-item > a:hover { background: var(--brand-050); color: var(--brand); }
.nav-item.is-active > a { background: var(--brand); color: #fff; }

.nav-sub {
    position: absolute; left: 0; top: calc(100% + 8px);
    min-width: 180px; padding: 8px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .16s, transform .16s, visibility .16s;
}
.nav-item.has-sub:hover > .nav-sub,
.nav-item.has-sub:focus-within > .nav-sub {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-sub a {
    display: block; padding: 8px 12px; border-radius: 8px;
    font-size: 14px; color: var(--ink-2);
}
.nav-sub a:hover { background: var(--brand-050); color: var(--brand); }
.nav-sub .is-active a { color: var(--brand); font-weight: 700; }

.nav-toggle {
    display: none; margin-left: auto;
    width: 44px; height: 44px; padding: 0;
    background: #fff; border: 1px solid var(--line);
    border-radius: 12px;
    flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* --------------------------------------------------------------- 主体 */
.site-main { display: block; min-height: 40vh; }

.sec { padding: 72px 0; }
.sec-tight { padding: 48px 0; }
.sec-surface { background: var(--surface); }

.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-badge {
    display: inline-block; margin-bottom: 12px;
    padding: 5px 13px; border-radius: 999px;
    background: var(--brand-050); color: var(--brand);
    font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
}
.sec-title { font-size: clamp(24px, 3.2vw, 34px); color: var(--ink); }
.sec-sub { margin-top: 12px; font-size: 16px; color: var(--ink-2); }

/* --------------------------------------------------------------- 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
    font-size: 15px; font-weight: 700; white-space: nowrap;
    transition: background .16s, color .16s, border-color .16s, transform .16s;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(0, 84, 25, .18); }
.btn-primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand-200); }
.btn-ghost:hover { background: var(--brand-050); color: var(--brand); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-light:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------- 卡片 */
.card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px;
    box-shadow: var(--shadow-sm);
}
.card-hover { transition: transform .18s, box-shadow .18s, border-color .18s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card h3 { font-size: 17px; margin-bottom: 8px; }  /* 卡片标题统一 17px（原 18px；.support-card 原 16px 同步过来） */
.card p { color: var(--ink-2); font-size: 15px; }

/* 通用网格：列数在页面里用行内 --cols 覆盖 */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
/* grid/flex 子项默认 min-width:auto，内容（长词、宽图、宽表格）能把它顶破。
   minmax(0,1fr) 只管住轨道，管不住子项自身，所以这里补一刀。 */
.grid > * { min-width: 0; }

.lead { font-size: 17px; color: var(--ink-2); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* --------------------------------------------------------------- 页脚 */
.site-footer { margin-top: 0; background: var(--footer-bg); color: #c9dfd0; }
.foot-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px; padding-top: 58px; padding-bottom: 44px;
}
/* 联系方式一栏为空时整栏不渲染，桌面档列数跟着降一档，免得右边空一块。
   必须限定在 >1024：否则 `.foot-grid.foot-cols-2`（0,2,0）会盖过下面媒体查询里的
   `.foot-grid`（0,1,0），窄屏就降不成单列了。 */
@media (min-width: 1025px) {
    .foot-grid.foot-cols-2 { grid-template-columns: 1.6fr 1fr; }
}
.foot-col h2 {
    margin-bottom: 16px; font-size: 15px; font-weight: 800;
    color: #fff; letter-spacing: .04em;
}
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #fff; }
.foot-brand span { display: flex; flex-direction: column; line-height: 1.3; }
.foot-brand strong { font-size: 17px; color: #fff; }
.foot-brand em { font-style: normal; font-size: 12px; color: #8fb59b; }
.foot-note { font-size: 13.5px; color: #96b8a2; line-height: 1.7; }

.foot-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot-list li { display: flex; gap: 8px; align-items: baseline; }
.foot-k { flex: 0 0 auto; color: #8fb59b; font-size: 13px; }
.foot-list a { color: #c9dfd0; }
.foot-list a:hover { color: #fff; }
.foot-links li { display: block; }

.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .09); }
.foot-bottom-inner {
    display: flex; flex-wrap: wrap; gap: 8px 24px;
    align-items: center; justify-content: space-between;
    padding-top: 18px; padding-bottom: 18px;
    font-size: 13px; color: #86ab93;
}
.foot-sign { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-sign a { color: #86ab93; }
.foot-sign a:hover { color: #fff; }

/* ==========================================================================
   页面组件
   ========================================================================== */

/* --------------------------------------------------------------- 首屏 */
/* 默认是品牌色矢量版式（不依赖照片）。有配图时加 .hero-has-bg，
   用一层深色遮罩压住亮度，保证白字在任何照片上都读得清。 */
.hero,
.page-hero {
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand) 55%, #0a6b23 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-has-bg {
    background-image: linear-gradient(rgba(4, 26, 12, .74), rgba(4, 26, 12, .74)), var(--hero-bg);
    background-size: cover;
    background-position: center;
}
/* 品牌色版式下叠两团极淡的光斑，纯 CSS，不用图片也不用 SVG */
.hero:not(.hero-has-bg)::after,
.page-hero:not(.hero-has-bg)::after {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(48% 62% at 88% 12%, rgba(255, 255, 255, .14), transparent 70%),
        radial-gradient(38% 48% at 4% 96%, rgba(255, 255, 255, .10), transparent 72%);
    pointer-events: none;
}

.hero-inner,
.page-hero-inner { position: relative; z-index: 1; }

.hero { padding: 104px 0 96px; }
.hero-inner { max-width: 880px; }
.hero-title {
    margin-top: 18px;
    font-size: clamp(30px, 4.6vw, 52px);
    line-height: 1.2;
    letter-spacing: -.02em;
}
.hero-sub {
    margin-top: 20px;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.85;
    color: rgba(255, 255, 255, .9);
    max-width: 760px;
}
.hero-actions { margin-top: 34px; }

.page-hero { padding: 72px 0 64px; }
.page-hero-inner { max-width: 900px; }
.page-hero-title {
    margin-top: 16px;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.25;
    letter-spacing: -.015em;
}
.page-hero-sub {
    margin-top: 16px;
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.8;
    color: rgba(255, 255, 255, .88);
    max-width: 780px;
}

.sec-badge-light {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}

/* --------------------------------------------------------------- 数据条 */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.stat {
    display: flex; flex-direction: column; gap: 6px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    min-width: 0;
}
.stat-num {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--brand);
    letter-spacing: -.02em;
}
.stat-num em { font-style: normal; font-size: .55em; font-weight: 700; margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--ink-2); }

/* --------------------------------------------------------------- 分栏 */
.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center;
}
.split > * { min-width: 0; }
.split-body .lead + .lead { margin-top: 16px; }
.split-body .btn-row { margin-top: 26px; }
.split-reverse .split-body { order: 2; }
.split-reverse .split-media { order: 1; }
.sec-head-flat { max-width: none; margin-bottom: 20px; }

/* --------------------------------------------------------------- 缺图占位 */
/* 纯装饰：文案取全站配置，不新增写死文案 */
.media-fallback {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand-050) 0%, var(--brand-100) 100%);
    border: 1px solid var(--brand-100);
    text-align: center;
    padding: 24px;
}
.media-fallback-tall { aspect-ratio: 3 / 2; }
.media-inline { margin-bottom: 14px; aspect-ratio: 16 / 9; }
.media-inline .media-fallback { aspect-ratio: 16 / 9; }
.mf-mark {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    color: var(--brand);
    letter-spacing: .04em;
}
.mf-sub { font-size: 13px; color: var(--muted); }
/* 配图与缺图占位用同一个比例（占位块本来就是 4/3），好处有两个：
   ① 有图/没图时版式一致，切图不会让整块换高矮；
   ② 图片加载完不会把下方内容顶下去（CLS）。 */
.split-media { aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* --------------------------------------------------------------- 卡片序号 */
.card-idx {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px; font-weight: 800;
    letter-spacing: .08em;
    color: var(--brand);
    background: var(--brand-050);
    padding: 3px 10px;
    border-radius: 999px;
}

/* --------------------------------------------------------------- 要点列表 */
.bullet-list { display: flex; flex-direction: column; }
.bullet-list li {
    position: relative;
    padding: 9px 0 9px 18px;
    font-size: 14.5px;
    color: var(--ink-2);
    border-top: 1px solid var(--line-2);
}
.bullet-list li:first-child { border-top: 0; }
.bullet-list li::before {
    content: "";
    position: absolute; left: 2px; top: 18px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--brand-200);
}
.bullet-list-lg li { font-size: 15px; padding: 11px 0 11px 20px; }
.bullet-list-lg li::before { width: 7px; height: 7px; top: 21px; background: var(--brand); }
.bullet-list-sm li { font-size: 13.5px; padding: 7px 0 7px 15px; }
.bullet-list-sm li::before { width: 5px; height: 5px; top: 15px; }

/* --------------------------------------------------------------- 目标条 */
.goal-band,
.case-band {
    margin-top: 30px;
    padding: 22px 26px;
    border-left: 4px solid var(--brand);
    background: var(--brand-050);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 15.5px;
    color: var(--ink-2);
    line-height: 1.8;
}
.case-band { background: #fff; border-left-color: var(--brand-200); box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------------- 指标 / 目标卡 */
.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.metric {
    display: flex; flex-direction: column; gap: 6px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.metric-value { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; color: var(--brand); line-height: 1.15; }
.metric-label { font-size: 14px; color: var(--ink-2); }

.goal-card .stat-num { display: block; margin-bottom: 10px; }

/* --------------------------------------------------------------- 实施路径 */
.path-list { display: grid; gap: 18px; }
.path-item {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    min-width: 0;
}
.path-idx {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 800; font-size: 15px;
    letter-spacing: .02em;
}
.path-body { min-width: 0; }
.path-body h3 { font-size: 17px; margin-bottom: 6px; }
.path-body p { font-size: 14.5px; color: var(--ink-2); }

/* --------------------------------------------------------------- 双向飞地 */
.feidi-card { display: flex; flex-direction: column; }
.feidi-head { margin-bottom: 16px; }
.feidi-head h3 { font-size: 19px; }
.feidi-goal {
    display: inline-block;
    margin-top: 8px;
    font-size: 13.5px; font-weight: 700;
    color: var(--brand);
    background: var(--brand-050);
    padding: 4px 12px;
    border-radius: 999px;
}
.feidi-card-alt .feidi-goal { background: var(--surface); color: var(--ink-2); }

/* --------------------------------------------------------------- 14 层体系 */
.layer-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
}
.layer-item {
    display: flex; align-items: baseline; gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-2);
    min-width: 0;
}
.layer-idx {
    flex: 0 0 auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px; font-weight: 700;
    color: var(--brand-200);
}
.layer-name { flex: 0 0 auto; font-weight: 700; font-size: 15px; color: var(--ink); }
.layer-desc { font-size: 13.5px; color: var(--muted); min-width: 0; }

/* --------------------------------------------------------------- 支撑体系 */
.support-card .mark-badge {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-size: 20px; font-weight: 800;
}
.support-card h3 { font-size: 17px; margin-bottom: 10px; }

/* --------------------------------------------------------------- 资讯 */
.news-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.news-thumb { display: block; }
.news-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card > .news-meta,
.news-card > h3,
.news-card > p { padding-left: 26px; padding-right: 26px; }
.news-meta {
    display: flex; align-items: center; gap: 12px;
    padding-top: 20px;
    font-size: 12.5px; color: var(--muted);
}
.news-cat { color: var(--brand); font-weight: 700; }
.news-card h3 { margin-top: 8px; font-size: 17px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--brand); }
.news-card p { margin-top: 8px; padding-bottom: 26px; }

.empty-note {
    padding: 40px 0;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}

/* --------------------------------------------------------------- 行动区块 */
.cta-band {
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand) 60%, #0a6b23 100%);
    color: #fff;
}
.cta-inner { text-align: center; max-width: 820px; }
.cta-title { font-size: clamp(24px, 3.2vw, 36px); }
.cta-desc {
    margin-top: 16px;
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.85;
    color: rgba(255, 255, 255, .88);
}
.cta-band .btn-row { margin-top: 30px; }
.cta-band .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.cta-band .btn-primary:hover { background: var(--brand-050); color: var(--brand-700); }

.btn-row.is-center { justify-content: center; }

/* --------------------------------------------------------------- 愿景 / 联系方式 */
.vision-card { text-align: center; }
.vision-card h3 { font-size: 17px; }
.vision-sub { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.contact-panel { min-width: 0; }
.kv-list { display: flex; flex-direction: column; gap: 0; }
.kv-row {
    display: flex; gap: 18px; align-items: baseline;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-2);
}
.kv-row:last-child { border-bottom: 0; }
.kv-row dt {
    flex: 0 0 88px;
    font-size: 13.5px; font-weight: 700;
    color: var(--muted);
}
.kv-row dd { margin: 0; font-size: 15.5px; color: var(--ink); min-width: 0; }
.map-shot { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

/* --------------------------------------------------------------- 响应式 */
@media (max-width: 1024px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        margin: 0; padding: 12px 16px 18px;
        background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow); display: none;
    }
    .site-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-item > a { padding: 12px 14px; border-radius: 10px; font-size: 16px; }
    .nav-sub {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; padding: 0 0 4px 14px; min-width: 0;
    }
    .nav-sub a { padding: 9px 12px; }

    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot-col-brand { grid-column: 1 / -1; }

    /* 分栏在平板档收成上下两段，图片放后面（阅读顺序更顺） */
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split-reverse .split-body { order: 1; }
    .split-reverse .split-media { order: 2; }

    .layer-list { grid-template-columns: 1fr; gap: 0; }

    .hero { padding: 80px 0 72px; }
    .page-hero { padding: 56px 0 50px; }
    .path-item { padding: 20px; gap: 16px; }
}

@media (max-width: 760px) {
    :root { --navh: 64px; }
    .wrap { padding: 0 18px; }
    .sec { padding: 52px 0; }
    .sec-tight { padding: 36px 0; }
    .grid { grid-template-columns: 1fr !important; }
    .brand-logo { width: 40px; height: 40px; }
    .brand-text strong { font-size: 16px; }
    .brand-text em { display: none; }
    .sec-head { margin-bottom: 26px; }
    .foot-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; padding-bottom: 32px; }

    /* 首屏收窄 */
    .hero { padding: 60px 0 54px; }
    .page-hero { padding: 44px 0 40px; }
    .hero .hero-sub, .page-hero .page-hero-sub { font-size: 16px; }

    /* 数字条 4 列 → 2 列 */
    .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .stat { padding: 18px 16px; }
    .stat-num { font-size: 26px; }

    /* 指标行与层级行在窄屏折行，别顶着右边 */
    .metric-row { grid-template-columns: 1fr; gap: 10px; }
    .layer-item { flex-wrap: wrap; gap: 6px 10px; }
    .layer-desc { flex: 1 1 100%; }

    .goal-band, .case-band { padding: 18px 20px; margin-top: 24px; }
    .kv-row dt { flex-basis: 72px; }
    .news-card > * { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 560px) {
    .wrap { padding: 0 14px; }
    .sec { padding: 42px 0; }
    .btn { width: 100%; }
    .btn-row { flex-direction: column; }
    .card { padding: 20px; }

    .hero { padding: 48px 0 44px; }
    .page-hero { padding: 36px 0 32px; }

    /* 数字条收成一列，避免 2 列时数字换行 */
    .stat-strip { grid-template-columns: 1fr; }
    .path-item { flex-direction: column; gap: 12px; }
    .layer-name { font-size: 14.5px; }
    .media-fallback { aspect-ratio: 16 / 11; }
}

/* ==========================================================================
   P2 · 资讯体系（列表 / 分类 / 搜索 / 详情）
   追加在文件末尾，是为了让这一段的规则在源序上晚于上面的基础样式 ——
   `.btn`、`.grid`、`.news-card > *` 这些已有规则都不必回去改，避免牵动 P1 已验收的页面。
   断点沿用 1024 / 760 / 560。
   ========================================================================== */

/* ------------------------------------------------------------ 无障碍隐藏 */
/* 只做「挪到屏幕外」，**不要**再叠 width:1px + overflow:hidden。
   那种经典写法会让元素必然满足 scrollWidth > clientWidth（实测 label.sr-only|sw=64|cw=1），
   于是被横向溢出检查判成「文本撑破容器」—— 它其实是故意裁剪的，不是布局缺陷。
   一个会持续误报的红灯等于没有红灯，所以这里跟站内 .skip-link 保持同一种做法：
   元素保留真实尺寸，只是整块位于视口左侧之外（LTR 下向左溢出不会产生滚动条）。 */
.sr-only {
    position: absolute; left: -9999px; top: 0;
    white-space: nowrap;
}

/* ------------------------------------------------------------ 列表工具栏 */
/* 搜索在上、分类在下，两行左对齐。
   以前是 space-between 一行：搜索框贴左、分类条贴右，中间空一大段，
   「搜索（操作）」和「分类（筛选）」看起来一样重，主次不清。 */
.list-toolbar {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 14px;
    margin-bottom: 30px;
}
/* 注意：容器改成纵向后，flex-basis 会变成「高度基准」（320px 高）而不是宽度 → 这里必须去掉。 */
.search-form { display: flex; gap: 10px; width: 100%; max-width: 460px; }
.search-input {
    flex: 1 1 auto; min-width: 0;
    padding: 11px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 15px;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-050); }
.search-btn { flex: 0 0 auto; width: auto; padding: 11px 22px; }

.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 44px;   /* 触控目标下限，低于 44px 手机上容易点错 */
    padding: 7px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px; color: var(--ink-2);
    transition: background .16s, border-color .16s, color .16s;
}
.chip:hover { border-color: var(--brand-200); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.chip.is-active:hover { color: #fff; }
.chip em { font-style: normal; font-size: 12px; font-weight: 700; opacity: .62; }

.list-count { margin-bottom: 18px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------- 资讯卡片补丁 */
/* 「阅读全文」推到卡片底部，同一行卡片高度不齐时按钮仍然对齐 */
.news-card > .news-more { margin-top: auto; padding: 0 26px 26px; font-size: 14px; font-weight: 700; }
/* 有按钮时正文下边距收一点，否则会顶出一条难看的空白（:has 不支持时只是稍宽，无副作用） */
.news-card:has(> .news-more) > p { padding-bottom: 16px; }
.news-views { color: var(--muted); }

/* 无封面时的占位：卡片里是高而窄的图位，用品牌色块而不是留一个空洞 */
.news-thumb.is-fallback {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand) 100%);
}
.news-thumb.is-fallback .mf-mark {
    font-size: 15px; line-height: 1.5;
    color: #fff; opacity: .92;
    text-align: center; padding: 0 18px;
}

/* --------------------------------------------------------------- 分页条 */
.pager {
    display: flex; flex-wrap: wrap; gap: 8px;
    align-items: center; justify-content: center;
    margin-top: 40px;
}
.pager-btn, .pager-num {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 14px; color: var(--ink-2);
}
.pager-btn:hover, .pager-num:hover { border-color: var(--brand-200); color: var(--brand); }
.pager-num.is-current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager-btn.is-disabled { color: #c3cec6; background: var(--surface); }
.pager-gap { padding: 0 2px; color: var(--muted); }

/* --------------------------------------------------------------- 面包屑 */
.crumbs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-bottom: 20px;
    font-size: 13.5px; color: var(--muted);
}
.crumb { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb.is-current > span { color: var(--ink-2); }
.crumb-sep { color: #c3cec6; }

/* --------------------------------------------------------------- 详情页 */
.art-top { padding-top: 34px; }
.article-head { max-width: 860px; }
.article-title { margin-top: 14px; font-size: clamp(23px, 3.1vw, 34px); line-height: 1.35; }
.article-lead {
    margin-top: 18px;
    padding-left: 16px;
    border-left: 3px solid var(--brand-200);
    font-size: 16.5px; color: var(--ink-2);
}
.article-cover { margin: 30px 0 0; }
/* 封面长宽比由上传者决定，可能是方图甚至竖图。不设上限时，一张方图在 1200px 宽的
   正文里会撑出 1200px 高的一整屏，把正文挤到首屏之外（实测截图就是这样）。
   max-height + object-fit:cover 把过高的图裁成横幅；本来就是宽幅的图不受影响。 */
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 34px; }
.article-aside { min-width: 0; }
.article-body { min-width: 0; }

.toc {
    padding: 22px 22px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.toc-title { margin-bottom: 14px; font-size: 14px; color: var(--ink); }
.toc-list { display: flex; flex-direction: column; gap: 9px; }
.toc-item a { display: block; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.toc-item a:hover { color: var(--brand); }
.toc-lv3 { padding-left: 14px; }
.toc-lv3 a { font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------- 正文（富文本排版） */
/* 全局把 ul/ol 的 list-style 和左内边距清零了，正文里必须显式恢复，
   否则后台写的有序/无序列表会渲染成一堆没有标记、也没有缩进的裸行。 */
.rich { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); max-width: 46em; }
/* 46em ≈ 759px ≈ 中文 40 字/行，是长文阅读的舒适上限。
   有「要目」侧栏时正文本来就窄（约 510px）不受影响；只有正文没有 h2/h3、
   不渲染要目时，正文才会撑到容器满宽（1152px ≈ 69 字/行）—— 这里封顶。 */
.rich > * + * { margin-top: 20px; }
.rich h2 { margin-top: 40px; font-size: clamp(19px, 2.1vw, 23px); color: var(--ink); }
.rich h3 { margin-top: 30px; font-size: clamp(17px, 1.8vw, 19px); color: var(--ink); }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 22px; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li + li { margin-top: 8px; }
.rich li::marker { color: var(--brand); }
.rich a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.rich strong, .rich b { color: var(--ink); font-weight: 800; }
.rich blockquote {
    padding: 16px 20px;
    background: var(--brand-050);
    border-left: 3px solid var(--brand-200);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.rich img { width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius-sm); }
.rich figure { margin: 0; }
.rich figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); text-align: center; }
/* 表格可能比手机屏宽：让它自己横向滚，而不是把整页顶宽 */
.rich table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.rich th, .rich td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.rich th { background: var(--surface); color: var(--ink); font-weight: 700; }
.rich hr { height: 1px; border: 0; background: var(--line); }
.rich code {
    padding: 2px 6px;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 5px;
    font-size: .92em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.rich pre { overflow-x: auto; padding: 16px; background: var(--surface); border-radius: var(--radius-sm); }
.rich pre code { padding: 0; background: none; border: 0; }

/* --------------------------------------------------------- 详情页页脚 */
.article-foot { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.art-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.art-foot-k { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    padding: 5px 12px;
    background: var(--brand-050);
    border: 1px solid var(--brand-100);
    border-radius: 999px;
    font-size: 13px; color: var(--brand);
}

.prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.pn-item {
    display: flex; flex-direction: column; gap: 6px;
    min-width: 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .16s, box-shadow .16s, transform .16s;
}
.pn-item:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.pn-item:only-child { grid-column: 1 / -1; }
.pn-label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pn-title { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.pn-next { text-align: right; }
.art-back { margin-top: 26px; }

/* --------------------------------------------------------------- 404 页 */
.err-sec { padding: 90px 0 100px; }
.err-inner { max-width: 640px; text-align: center; }
.err-code {
    display: block;
    font-size: clamp(56px, 9vw, 88px);
    font-weight: 800; line-height: 1;
    letter-spacing: .04em;
    color: var(--brand-100);
}
.err-title { margin-top: 14px; font-size: clamp(21px, 2.6vw, 27px); }
.err-note { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.err-actions { margin-top: 28px; }

/* ==========================================================================
   P3 · 项目专题与合作申请
   ========================================================================== */

/* --------------------------------------------------- 项目专题卡片 */
/* 与 .news-card 同款「卡片内边距交给子元素」的做法，但没有共用选择器：
   专题卡片多一条合作方向标签条，硬塞进资讯卡片的规则里会让两边都变含糊。 */
.project-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.project-thumb { display: block; }
.project-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project-card > .news-meta,
.project-card > h3,
.project-card > p,
.project-card > .coop-chips { padding-left: 26px; padding-right: 26px; }
.project-card h3 { margin-top: 6px; font-size: 17px; }
.project-card h3 a { color: var(--ink); }
.project-card h3 a:hover { color: var(--brand); }
.project-card p { margin-top: 8px; }
.project-card > .news-more { margin-top: auto; padding: 14px 26px 24px; font-size: 14px; font-weight: 700; }
.project-card > p:last-of-type { padding-bottom: 6px; }

.project-region {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 11px;
    background: var(--brand-050);
    border: 1px solid var(--brand-100);
    border-radius: 999px;
    font-size: 12.5px; font-weight: 700; color: var(--brand);
}

.project-thumb.is-fallback { aspect-ratio: 16 / 10; }
.project-thumb.is-fallback {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand-050) 0%, var(--brand-100) 100%);
}

/* --------------------------------------------------- 合作方向标签条 */
.coop-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.coop-chip {
    padding: 5px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px; color: var(--ink-2);
}
.coop-chip.is-more { color: var(--muted); }

/* --------------------------------------------------- 专题详情 */
.project-subtitle { margin-top: 12px; font-size: 17px; color: var(--ink-2); }
.proj-info {
    margin-top: 44px;
    padding: 24px 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.proj-info-title { margin-bottom: 14px; font-size: 15px; color: var(--ink); }
.proj-info-list { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px 16px; }
.proj-info-list dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.proj-info-list dd { min-width: 0; font-size: 15px; color: var(--ink-2); }
.proj-info-list .coop-chips { padding-top: 0; }

/* 合作申请入口：本页的重点区块，用品牌色底把按钮托起来 */
.apply-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    margin-top: 26px;
    padding: 26px 28px;
    background: linear-gradient(135deg, var(--brand-050) 0%, #fff 100%);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius);
}
.apply-cta-text { flex: 1 1 320px; min-width: 0; }
.apply-cta-title { font-size: clamp(17px, 2vw, 20px); color: var(--ink); }
.apply-cta-desc { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* --------------------------------------------------- 申请表单 */
.apply-wrap { max-width: 820px; }
.apply-form { margin-top: 4px; }
.apply-intro { font-size: 15px; color: var(--muted); }
.apply-banner {
    margin-top: 18px;
    padding: 13px 16px;
    background: #fdf3f2;
    border: 1px solid #f3cfcb;
    border-radius: var(--radius-sm);
    font-size: 14.5px; color: #8c2f26;
}
.apply-grid {
    display: grid; gap: 18px 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { margin-top: 18px; }
.field-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field-req { margin-left: 4px; font-style: normal; color: #c0392b; }
.field-err { font-size: 13px; color: #c0392b; }
.has-error .input { border-color: #e0a9a3; background: #fffafa; }

.input {
    width: 100%; min-width: 0;
    padding: 11px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 15px; color: var(--ink);
    font-family: inherit;
}
.input:focus { border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-050); }
textarea.input { line-height: 1.7; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                                            linear-gradient(135deg, var(--muted) 50%, transparent 50%);
               background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
               background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
               padding-right: 38px; }
.hint { font-size: 12.5px; color: var(--muted); }

/* 蜜罐：视觉上挪出视口，但仍在 DOM 与可访问树之外（tabindex=-1 + aria-hidden）。
   刻意不用 display:none —— 一部分自动填表脚本会跳过隐藏元素，那就白设了。 */
.hp-field { position: absolute; left: -9999px; top: 0; white-space: nowrap; }

.captcha-field { margin-top: 18px; }
.captcha-row { display: flex; align-items: center; gap: 14px; }
.captcha-q {
    flex: 0 0 auto;
    padding: 10px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 16px; font-weight: 700; letter-spacing: .06em; color: var(--ink);
}
.captcha-input { flex: 0 1 160px; }

.apply-foot {
    display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
    margin-top: 26px; padding-top: 22px;
    border-top: 1px solid var(--line);
}
.apply-submit { flex: 0 0 auto; }
.apply-privacy { flex: 1 1 260px; min-width: 0; font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------- 提交结果 */
.apply-result { padding: 44px 32px; text-align: center; }
.apply-result-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px; margin-bottom: 16px;
    border-radius: 50%;
    font-size: 26px; font-weight: 800; line-height: 1;
}
.apply-result.is-ok .apply-result-mark { background: var(--brand-050); color: var(--brand); border: 1px solid var(--brand-200); }
.apply-result.is-warn .apply-result-mark { background: #fdf3f2; color: #c0392b; border: 1px solid #f3cfcb; }
.apply-result-title { font-size: clamp(20px, 2.4vw, 25px); }
.apply-result-text { max-width: 560px; margin: 12px auto 0; font-size: 15.5px; color: var(--ink-2); }
.apply-result .btn-row { margin-top: 26px; }

/* --------------------------------------------------- P2 · 响应式补充 */
@media (min-width: 1025px) {
    /* 桌面态把要目挪到正文左侧并吸顶；窄屏要保持「正文在前」的阅读顺序，
       所以在 DOM 里正文写在前面，这里再用 grid 显式换位。 */
    .article-layout.has-toc { grid-template-columns: 224px minmax(0, 1fr); gap: 46px; align-items: start; }
    .article-layout.has-toc .article-aside { grid-column: 1; grid-row: 1; }
    .article-layout.has-toc .article-body  { grid-column: 2; grid-row: 1; }
    .toc { position: sticky; top: calc(var(--navh) + 20px); }
}

@media (max-width: 1024px) {
    .toc-list { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
    .toc-lv3 { padding-left: 0; }
}

@media (max-width: 760px) {
    .list-toolbar { margin-bottom: 22px; }
    .search-form { flex-basis: 100%; max-width: none; }
    .news-card > .news-more { padding: 0 20px 22px; }
    .prevnext { grid-template-columns: 1fr; }
    .pn-next { text-align: left; }
    .pager { margin-top: 30px; }
    .rich { font-size: 16px; line-height: 1.9; }
    .rich > * + * { margin-top: 17px; }
    .rich h2 { margin-top: 30px; }
    .rich h3 { margin-top: 24px; }
    .err-sec { padding: 64px 0 72px; }

    /* P3：窄屏下卡片子元素的内边距收窄；表单改单列 */
    .project-card > .news-meta,
    .project-card > h3,
    .project-card > p,
    .project-card > .coop-chips { padding-left: 20px; padding-right: 20px; }
    .project-card > .news-more { padding: 14px 20px 22px; }
    .proj-info { padding: 20px; }
    .proj-info-list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .proj-info-list dt { margin-top: 10px; }
    .apply-cta { padding: 22px 20px; }
    .apply-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 18px; }
    .apply-result { padding: 34px 20px; }
    .captcha-row { flex-wrap: wrap; }
    .captcha-input { flex: 1 1 120px; max-width: 200px; }
    .apply-foot { gap: 12px; }
    .apply-submit { width: 100%; }
    .apply-privacy { flex-basis: 100%; }
}

@media (max-width: 560px) {
    .search-form { flex-direction: column; }
    .search-btn { width: 100%; }
    .chip { padding: 6px 12px; font-size: 13.5px; }
    .pager-btn, .pager-num { min-width: 44px; height: 44px; padding: 0 10px; font-size: 13.5px; }
    .article-foot { margin-top: 32px; }
    .pn-item { padding: 15px 16px; }
    .err-code { letter-spacing: 0; }

    /* P3 */
    .coop-chip { padding: 4px 10px; font-size: 12px; }
    .apply-cta { gap: 14px; }
    .apply-cta .btn { width: 100%; }
}

/* ==========================================================================
   前庭敏感用户：关掉所有位移与过渡。
   视觉结果不变，只是不再「动」—— 系统级无障碍偏好，必须尊重。
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .card-hover:hover,
    .btn-primary:hover,
    .news-card:hover { transform: none; }
}
