/* ==========================================================================
   JingCMS 前台样式 —— 波司登风格（白底黑字 + 高级灰 + 品牌红点缀 + 大留白）
   说明：仅更换视觉风格，模板结构与数据接口不变。
   ========================================================================== */

:root {
    /* 主色：近黑（标题/导航/页脚底） */
    --ink: #1a1a1a;
    --ink-2: #222;
    --ink-3: #2b2b2b;
    /* 品牌红：波司登红系（取自官网 #ED4014 / #DD4B4B 上提为经典红） */
    --brand: #E1251B;
    --brand-2: #f0453d;
    --brand-dim: rgba(225, 37, 27, .12);
    --brand-light: #E1251B;        /* 深色底上仍用主红，保证可见 */
    --brand-light-2: #ff6a62;
    /* 文字 */
    --text: #333;
    --text-2: #666;
    --muted: #999;
    /* 线 / 背景 */
    --line: #e5e5e5;
    --line-soft: #eee;
    --bg: #fff;
    --bg-soft: #f5f5f5;
    --bg-softer: #fafafa;
    /* 形状 */
    --radius: 2px;
    --wrap: 1240px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .05);
    --shadow: 0 14px 40px rgba(0, 0, 0, .08);
    --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; border: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.clearfix::after { content: ""; display: block; clear: both; }
.tc { text-align: center; }
.mt0 { margin-top: 0 !important; }
.hide { display: none !important; }

/* ---------- 通用按钮（硬朗直角 / 字距 / 红点缀） ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 34px; border: 1px solid var(--brand);
    color: var(--brand); background: transparent;
    font-size: 14px; letter-spacing: .14em; cursor: pointer;
    transition: all .3s; border-radius: 0;
}
.btn:hover { background: var(--brand); color: #fff; }
.btn-solid { background: var(--brand); color: #fff; }
.btn-solid:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- 顶部信息条（浅灰底 / 黑字 / 细线） ---------- */
.topbar {
    background: var(--bg-softer); color: var(--text-2);
    font-size: 12.5px; letter-spacing: .04em;
    border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a:hover { color: var(--brand); }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }

/* ---------- 页头（白底 / 黑字 / 细底边 / sticky） ---------- */
.header {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 40px; width: auto; }
.logo .lg-text { color: var(--ink); }
.logo .lg-cn { font-size: 22px; font-weight: 800; letter-spacing: .08em; display: block; line-height: 1.15; }
.logo .lg-en { font-size: 10px; letter-spacing: .32em; color: var(--brand); text-transform: uppercase; display: block; }

/* ---------- 主导航 ---------- */
.nav { display: flex; align-items: stretch; height: 80px; }
.nav > li { position: relative; display: flex; align-items: center; }
.nav > li > a {
    display: flex; align-items: center; height: 100%;
    padding: 0 22px; color: var(--ink);
    font-size: 15px; letter-spacing: .06em; position: relative; white-space: nowrap;
}
.nav > li > a::after {
    content: ""; position: absolute; left: 22px; right: 22px; bottom: 22px;
    height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .3s;
}
.nav > li > a:hover, .nav > li.active > a { color: var(--brand); }
.nav > li > a:hover::after, .nav > li.active > a::after { transform: scaleX(1); }

.nav .sub {
    position: absolute; top: 100%; left: 0; min-width: 196px;
    background: rgba(26, 26, 26, .98); border-top: 2px solid var(--brand);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .28s; padding: 10px 0;
}
.nav > li:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .sub a {
    display: block; padding: 11px 24px; font-size: 14px;
    color: rgba(255, 255, 255, .75); white-space: nowrap;
}
.nav .sub a:hover { background: rgba(225, 37, 27, .18); color: #fff; padding-left: 28px; }

.header-tools { display: flex; align-items: center; gap: 12px; }
.icon-btn {
    width: 38px; height: 38px; border-radius: 0; border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer;
    transition: all .25s; background: transparent;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.nav-toggle { display: none; }

/* 搜索浮层 */
.search-pop {
    position: fixed; inset: 0; background: rgba(15, 15, 15, .92); z-index: 1200;
    display: none; align-items: center; justify-content: center;
}
.search-pop.on { display: flex; }
.search-pop form { width: min(720px, 88vw); display: flex; border-bottom: 2px solid var(--brand); }
.search-pop input {
    flex: 1; background: transparent; border: 0; outline: 0; color: #fff;
    font-size: 26px; padding: 16px 4px; font-family: var(--font);
}
.search-pop input::placeholder { color: rgba(255, 255, 255, .3); }
.search-pop button { background: transparent; border: 0; color: var(--brand); font-size: 24px; cursor: pointer; padding: 0 8px; }
.search-pop .close-search { position: absolute; top: 34px; right: 40px; color: rgba(255,255,255,.6); font-size: 32px; cursor: pointer; line-height: 1; }

/* ---------- 首页轮播（全幅大图 / 中性遮罩 / 留白大标题） ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-slide {
    position: relative; display: none;
    height: clamp(440px, 56vw, 700px);
    background: linear-gradient(135deg, #2a2a2a, #141414);
    background-size: cover; background-position: center;
}
.hero-slide.on { display: block; animation: heroFade .8s ease both; }
.hero-pic { position: absolute; inset: 0; overflow: hidden; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@keyframes heroFade { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.hero-slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,15,15,.82) 0%, rgba(15,15,15,.5) 48%, rgba(15,15,15,.22) 100%);
}
.hero-slide .wrap { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: var(--wrap); }
.hero-tag {
    display: inline-block; font-size: 12px; letter-spacing: .36em; color: var(--brand);
    margin-bottom: 22px; text-transform: uppercase;
}
.hero-tag::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--brand); vertical-align: middle; margin-right: 12px; }
.hero-title {
    font-size: clamp(32px, 4.6vw, 60px); color: #fff; font-weight: 800;
    letter-spacing: .04em; max-width: 16em; margin-bottom: 22px; line-height: 1.2;
}
.hero-sub { font-size: clamp(15px, 1.3vw, 18px); color: rgba(255, 255, 255, .72); max-width: 34em; margin-bottom: 40px; line-height: 1.9; }
.hero-dots { position: absolute; bottom: 48px; left: 0; right: 0; }
.hero-dots .wrap { display: flex; gap: 12px; }
.hero-dots i {
    width: 42px; height: 3px; background: rgba(255, 255, 255, .28); cursor: pointer;
    transition: background .3s; display: block;
}
.hero-dots i.on { background: var(--brand); }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px;
    border: 1px solid rgba(255, 255, 255, .22); color: #fff; display: flex; align-items: center;
    justify-content: center; cursor: pointer; z-index: 5; transition: all .3s; font-size: 20px;
}
.hero-arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.hero-arrow.prev { left: 34px; }
.hero-arrow.next { right: 34px; }

/* ---------- 首页：快捷入口（白底 / 细线分隔 / 红序号） ---------- */
.quick { background: var(--bg); border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-item {
    padding: 48px 36px; border-right: 1px solid var(--line);
    color: var(--ink); position: relative; overflow: hidden;
}
.quick-item:last-child { border-right: 0; }
.quick-item h3 { font-size: 20px; letter-spacing: .08em; margin-bottom: 12px; transition: color .3s; }
.quick-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.8; }
.quick-item::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
    background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.quick-item:hover { background: var(--bg-soft); }
.quick-item:hover::after { transform: scaleX(1); }
.quick-item:hover h3 { color: var(--brand); }
.quick-item .qi-idx { position: absolute; right: 26px; top: 24px; font-size: 36px; font-family: var(--serif); color: rgba(0,0,0,.05); line-height: 1; }

/* ---------- 区块标题（英文小标宽字距 + 中文大标，左对齐） ---------- */
.sec { padding: 96px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 50px; gap: 20px; flex-wrap: wrap; }
.sec-head .st { font-size: 13px; letter-spacing: .4em; color: var(--brand); text-transform: uppercase; display: block; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: .06em; font-weight: 800; }
.sec-dark .sec-head h2 { color: #fff; }
.sec-head .more { font-size: 14px; color: var(--text-2); letter-spacing: .06em; white-space: nowrap; position: relative; padding-bottom: 4px; }
.sec-head .more::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--line); transition: background .3s; }
.sec-head .more:hover { color: var(--brand); }
.sec-head .more:hover::after { background: var(--brand); }

/* ---------- 首页新闻（头条大图 + 右侧细线列表） ---------- */
.news-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; }

.news-feature { display: block; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .35s, border-color .35s; }
.news-feature:hover { box-shadow: var(--shadow); border-color: var(--brand-dim); }
.news-feature .thumb { height: 380px; background: var(--bg-soft); position: relative; overflow: hidden; }
.news-feature .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.news-feature:hover .thumb img { transform: scale(1.06); }
.news-feature .nf-body { padding: 32px 34px 36px; }
.news-feature h3 { font-size: 23px; margin-bottom: 14px; transition: color .3s; }
.news-feature:hover h3 { color: var(--brand); }
.news-feature p { color: var(--text-2); font-size: 14px; line-height: 1.9; margin: 0; }

.news-list { display: flex; flex-direction: column; }
.news-item {
    display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line);
    align-items: flex-start;
}
.news-item:first-child { padding-top: 0; }
.news-item .ni-date { width: 80px; flex: 0 0 80px; text-align: center; border-right: 1px solid var(--line); padding-right: 14px; }
.news-item .ni-date .d { font-size: 28px; font-weight: 800; font-family: var(--serif); color: var(--ink); line-height: 1.1; }
.news-item .ni-date .m { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.news-item h4 { font-size: 16px; font-weight: 500; margin-bottom: 8px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.news-item:hover h4 { color: var(--brand); }
.news-item .ni-meta { font-size: 12.5px; color: var(--muted); }

/* ---------- 关于区块（大图 + 留白 + 红序号牌） ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 66px; align-items: center; }
.about-visual { position: relative; }
.about-visual .av-main { height: 470px; background: var(--bg-soft); border-radius: 0; overflow: hidden; }
.about-visual .av-main img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .av-badge {
    position: absolute; right: -22px; bottom: 40px; background: var(--brand); color: #fff;
    padding: 26px 32px; text-align: center; box-shadow: var(--shadow);
}
.about-visual .av-badge .n { font-size: 34px; font-weight: 800; font-family: var(--serif); line-height: 1.1; }
.about-visual .av-badge .t { font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.75); }
.about-text h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 22px; letter-spacing: .06em; font-weight: 800; }
.about-text p { color: var(--text-2); line-height: 2.05; font-size: 15px; }
.about-stats { display: flex; gap: 46px; margin: 34px 0 38px; flex-wrap: wrap; }
.about-stats .as-item .n { font-size: 30px; font-weight: 800; color: var(--ink); font-family: var(--serif); line-height: 1.2; }
.about-stats .as-item .t { font-size: 13px; color: var(--muted); letter-spacing: .1em; }

/* ---------- 二维码区块 ---------- */
.qr-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.qr-item { text-align: center; }
.qr-item .box {
    width: 100%; aspect-ratio: 1; background: #fff; border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 8px;
}
.qr-item .box img { width: 100%; height: 100%; object-fit: contain; }
.qr-item .box .ph { font-size: 12px; color: #c3c9d3; letter-spacing: .1em; }
.qr-item .nm { margin-top: 12px; font-size: 13px; color: var(--text-2); }

/* ---------- 内页头部（深色大图 / 红副标 / 白字） ---------- */
.page-hero {
    height: 360px; background: linear-gradient(135deg, #2a2a2a, #141414);
    background-size: cover; background-position: center; position: relative;
    display: flex; align-items: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(15, 15, 15, .62); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(28px, 3.2vw, 42px); color: #fff; font-weight: 800; letter-spacing: .08em; margin-bottom: 12px; }
.page-hero .sub { font-size: 13px; letter-spacing: .36em; color: var(--brand); text-transform: uppercase; }

/* ---------- 面包屑 ---------- */
.crumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.crumb .wrap { display: flex; align-items: center; gap: 9px; height: 52px; color: var(--muted); flex-wrap: wrap; }
.crumb a:hover { color: var(--brand); }
.crumb .sep { color: #cfd4dc; }
.crumb .cur { color: var(--text-2); }

/* ---------- 主体两栏 ---------- */
.main-layout { display: grid; grid-template-columns: 258px 1fr; gap: 52px; padding: 62px 0 84px; align-items: start; }

/* 侧边栏 */
.side { border: 1px solid var(--line); }
.side-title { background: var(--ink); color: #fff; padding: 20px 24px; font-size: 16px; letter-spacing: .1em; }
.side-title small { display: block; font-size: 10px; letter-spacing: .28em; color: var(--brand); margin-top: 5px; text-transform: uppercase; }
.side-menu li a { display: flex; align-items: center; justify-content: space-between; padding: 15px 24px; font-size: 14.5px; border-bottom: 1px solid var(--line); color: var(--text-2); transition: all .25s; }
.side-menu li a::after { content: "›"; color: #c8ced7; font-size: 16px; }
.side-menu li a:hover { background: var(--bg-soft); color: var(--brand); padding-left: 28px; }
.side-menu li.active a { background: var(--brand-dim); color: var(--brand); font-weight: 600; border-left: 3px solid var(--brand); padding-left: 21px; }
.side-menu li.active a::after { color: var(--brand); }

.side-block { margin-top: 26px; border: 1px solid var(--line); }
.side-block h4 { padding: 16px 22px; background: var(--bg-soft); font-size: 15px; border-bottom: 1px solid var(--line); letter-spacing: .06em; }
.side-block ul { padding: 8px 0; }
.side-block li a { display: block; padding: 11px 22px; font-size: 13.5px; color: var(--text-2); line-height: 1.6; transition: color .25s; }
.side-block li a:hover { color: var(--brand); }
.side-block li .d { font-size: 12px; color: var(--muted); }

/* 内容区 */
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 34px; }
.article-head h1 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; margin-bottom: 18px; font-weight: 800; }
.article-meta { display: flex; gap: 14px 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta a { color: var(--muted); text-decoration: none; transition: color .2s; }
.article-meta a:hover { color: var(--brand); }
.meta-icon { width: 15px; height: 15px; color: var(--brand); opacity: .85; flex-shrink: 0; }
.article-cover { margin-bottom: 34px; }
.article-cover img { width: 100%; }

.rich { font-size: 16px; line-height: 2.05; color: #333; }
.rich h2 { font-size: 21px; margin: 42px 0 16px; padding-left: 14px; border-left: 3px solid var(--brand); letter-spacing: .03em; font-weight: 800; }
.rich h3 { font-size: 18px; margin: 32px 0 12px; font-weight: 700; }
.rich h4 { font-size: 16.5px; margin: 26px 0 10px; font-weight: 600; }
.rich p { margin: 0 0 1.35em; }
.rich ul, .rich ol { margin: 0 0 1.35em; padding-left: 4px; }
.rich ul li { position: relative; padding-left: 20px; margin-bottom: .6em; }
.rich ul li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }
.rich ol { counter-reset: ol; }
.rich ol li { position: relative; padding-left: 26px; margin-bottom: .6em; counter-increment: ol; }
.rich ol li::before { content: counter(ol); position: absolute; left: 0; top: .35em; font-size: 12px; color: var(--brand); font-weight: 700; }
.rich img { margin: 1.6em auto; border-radius: 2px; }
.rich blockquote { margin: 1.6em 0; padding: 18px 24px; background: var(--bg-soft); border-left: 3px solid var(--brand); color: var(--text-2); }
.rich blockquote p:last-child { margin-bottom: 0; }
.rich table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 14.5px; }
.rich table th, .rich table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.rich table th { background: var(--bg-soft); font-weight: 600; }
.rich a { color: var(--brand); text-decoration: underline; }
.rich strong { color: var(--ink); }

/* 正文视频播放（本地 mp4 直链 + iframe 嵌入通用） */
.rich .jc-video { margin: 1.8em 0; }
.rich .jc-video video {
    display: block; width: 100%; max-height: 620px; border-radius: 8px; background: #000;
    box-shadow: 0 4px 18px rgba(20, 30, 50, .12);
}
.rich .jc-video-embed { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; border-radius: 8px; overflow: hidden; }
.rich .jc-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rich video { max-width: 100%; height: auto; }
.rich iframe { max-width: 100%; }
@media (max-width: 768px) {
    .rich .jc-video video { max-height: 300px; }
}

.article-tags { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.article-tags .lb { font-size: 13px; color: var(--muted); }
.tag-chip {
    font-size: 11.5px; padding: 3px 10px; border: 1px solid var(--line);
    color: var(--muted); border-radius: 0; letter-spacing: .04em; transition: all .25s;
}
.tag-chip:hover { border-color: var(--brand); color: var(--brand); }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.article-nav a { border: 1px solid var(--line); padding: 20px 22px; font-size: 14.5px; color: var(--text-2); line-height: 1.6; transition: all .3s; }
.article-nav a:hover { border-color: var(--brand); color: var(--brand); }
.article-nav .lb { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; letter-spacing: .1em; }
.article-nav .next { text-align: right; }

/* 相关阅读 */
.related { margin-top: 62px; }
.related h3 { font-size: 19px; margin-bottom: 24px; padding-left: 13px; border-left: 3px solid var(--brand); font-weight: 800; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-card { border: 1px solid var(--line); background: #fff; padding: 22px; transition: all .3s; }
.related-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--brand-dim); }
.related-card h4 { font-size: 15px; font-weight: 500; line-height: 1.6; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.related-card:hover h4 { color: var(--brand); }
.related-card .d { font-size: 12.5px; color: var(--muted); }

/* ---------- 列表页卡片（大图 / 细线 / hover 红描边 + 缩放） ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { border: 1px solid var(--line); background: #fff; overflow: hidden; transition: all .35s; display: block; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--brand); }
.card .thumb { height: 220px; background: var(--bg-soft); overflow: hidden; position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card:hover .thumb img { transform: scale(1.07); }
.card .body { padding: 24px 24px 26px; }
.card .dt { font-size: 12.5px; color: var(--brand); letter-spacing: .08em; margin-bottom: 10px; }
.card h3 { font-size: 17px; line-height: 1.55; margin-bottom: 12px; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.card:hover h3 { color: var(--brand); }
.card p { font-size: 13.5px; color: var(--text-2); line-height: 1.85; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 列表（非卡片） */
.plain-list li { border-bottom: 1px solid var(--line); padding: 24px 0; display: flex; gap: 24px; align-items: flex-start; transition: border-color .3s; }
.plain-list li:first-child { padding-top: 0; }
.plain-list .th { width: 168px; height: 120px; flex: 0 0 168px; background: var(--bg-soft); overflow: hidden; }
.plain-list .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.plain-list li:hover .th img { transform: scale(1.06); }
.plain-list h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.55; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.plain-list li:hover h3 { color: var(--brand); }
.plain-list p { font-size: 13.5px; color: var(--text-2); line-height: 1.85; margin: 0 0 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.plain-list .mt { font-size: 12.5px; color: var(--muted); display: flex; gap: 20px; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 54px; flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex;
    align-items: center; justify-content: center; border: 1px solid var(--line);
    font-size: 14px; color: var(--text-2); background: #fff; border-radius: 0; transition: all .25s;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .cur { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.pager .dots { border: 0; color: var(--muted); }
.pager .total { border: 0; color: var(--muted); font-size: 13px; margin-left: 10px; }

/* ---------- 富文本单页 ---------- */
.page-body { max-width: 940px; }

/* ---------- 空状态（SVG 图标） ---------- */
.empty { text-align: center; padding: 90px 20px; color: var(--muted); }
.empty .ic { font-size: 48px; margin-bottom: 16px; color: #d8dde5; }
.empty .ic svg, .empty .ic .empty-icon { width: 54px; height: 54px; color: #c8cdd6; }
.empty p { margin: 0; font-size: 15px; }

/* ---------- 留言表单 ---------- */
.form-box { border: 1px solid var(--line); padding: 40px; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; }
.field label em { color: var(--brand); font-style: normal; margin-left: 3px; }
.field input, .field textarea, .field select {
    width: 100%; border: 1px solid var(--line); background: var(--bg-soft);
    padding: 12px 15px; font-size: 14.5px; font-family: var(--font); color: var(--text);
    outline: 0; transition: all .25s; border-radius: 0;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); background: #fff; }
.form-msg { margin-top: 14px; font-size: 13.5px; }
.form-msg.ok { color: #2e9e5b; }
.form-msg.err { color: var(--brand); }

/* ---------- 页脚（深黑底 / 白字 / 红点缀） ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding: 72px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.5fr; gap: 46px; padding-bottom: 52px; }
.footer h5 { color: #fff; font-size: 15px; letter-spacing: .1em; margin-bottom: 20px; }
.footer a { color: rgba(255, 255, 255, .6); }
.footer a:hover { color: var(--brand); }
.footer-links li { margin-bottom: 11px; }
.footer-brand .fb-logo { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: .08em; margin-bottom: 14px; }
.footer-brand .fb-slogan { font-size: 13px; color: rgba(255, 255, 255, .42); line-height: 1.9; margin-bottom: 20px; }
.footer-contact li { margin-bottom: 13px; display: flex; gap: 10px; line-height: 1.8; }
.footer-contact .k { color: rgba(255, 255, 255, .38); flex: 0 0 60px; }
.footer-qr { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-qr .qi { width: 84px; text-align: center; }
.footer-qr .qi .bx { width: 84px; height: 84px; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.footer-qr .qi .bx img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.footer-qr .qi .bx .ph { font-size: 10px; color: rgba(255,255,255,.25); text-align: center; padding: 4px; line-height: 1.4; }
.footer-qr .qi .nm { font-size: 11.5px; color: rgba(255, 255, 255, .45); margin-top: 7px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0;
    display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    font-size: 12.5px; color: rgba(255, 255, 255, .38);
}
.footer-bottom a { color: rgba(255, 255, 255, .38); }

/* ---------- 回到顶部 ---------- */
.to-top {
    position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px;
    background: var(--ink); color: #fff; display: none; align-items: center; justify-content: center;
    cursor: pointer; z-index: 800; border: 1px solid rgba(255, 255, 255, .12); font-size: 18px; transition: background .25s;
}
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.to-top.on { display: flex; }

/* ---------- 404 ---------- */
.err-wrap { min-height: 62vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.err-wrap .code { font-size: 96px; font-weight: 800; font-family: var(--serif); color: var(--ink); line-height: 1; letter-spacing: .04em; }
.err-wrap .code small { display: block; font-size: 14px; letter-spacing: .3em; color: var(--brand); margin-top: 14px; font-family: var(--font); font-weight: 400; }
.err-wrap p { color: var(--muted); margin: 26px 0 34px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1100px) {
    .news-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .main-layout { grid-template-columns: 1fr; gap: 34px; }
    .side { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .qr-grid { grid-template-columns: repeat(3, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .header .wrap { height: 64px; }
    .nav { display: none; }
    .header-tools .icon-btn { width: 34px; height: 34px; }
    .nav-toggle { display: flex; }

    /* 移动端汉堡菜单展开（JS 给 .nav 切换 .on） */
    .nav.on {
        display: flex; flex-direction: column;
        position: fixed; left: 0; right: 0; top: 64px; bottom: 0;
        background: #fff; z-index: 950; height: auto;
        padding: 6px 0; overflow-y: auto; border-top: 1px solid var(--line);
    }
    .nav.on > li { height: auto; display: block; }
    .nav.on > li > a {
        height: auto; padding: 16px 24px; color: var(--ink);
        border-bottom: 1px solid var(--line); justify-content: space-between;
    }
    .nav.on > li > a::after { display: none; }
    .nav.on .sub {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border-top: 0; background: var(--bg-soft);
        display: none; padding: 0; min-width: 0;
    }
    .nav.on > li:hover .sub { transform: none; }
    .sec { padding: 60px 0; }
    .quick-grid { grid-template-columns: 1fr; }
    .quick-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .news-feature .thumb { height: 240px; }
    .about-visual .av-main { height: 280px; }
    .about-visual .av-badge { right: 12px; }
    .footer-top { grid-template-columns: 1fr; gap: 34px; }
    .qr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
    .wrap { padding: 0 18px; }
    .card-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .qr-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .plain-list li { flex-direction: column; gap: 14px; }
    .plain-list .th { width: 100%; flex: none; height: 180px; }
    .article-nav { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}
