/* ==========================================================================
   金砖出海服务平台 —— 全站样式
   风格：专业咨询蓝（主）+ 金砖橙（点缀）
   适配：手机 / 平板 / 电脑一套代码
   ========================================================================== */

:root {
    --blue-900: #0b2f52;
    --blue-800: #0d3f6e;
    --blue-700: #10477f;
    --blue-600: #185fa5;
    --blue-500: #2a76c4;
    --blue-100: #e8f0f9;
    --blue-50: #f4f8fc;

    --brick: #d1622a;
    --brick-dark: #a94e1f;
    --brick-light: #fdf1e9;

    --green: #0f6e56;
    --green-light: #e6f5ef;
    --amber: #b7791f;
    --amber-light: #fdf6e6;
    --red: #c0392b;
    --red-light: #fdedeb;

    --gray-900: #1c2833;
    --gray-700: #3e4c59;
    --gray-500: #7b8794;
    --gray-300: #cbd2d9;
    --gray-200: #e4e8ed;
    --gray-100: #f0f2f5;
    --gray-50: #f7f9fb;
    --white: #fff;

    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 2px 12px rgba(11, 47, 82, .07);
    --shadow-lg: 0 8px 28px rgba(11, 47, 82, .12);
    --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-900);
    background: var(--gray-50);
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.clearfix::after { content: ""; display: table; clear: both; }

/* ---------------- 顶部导航 ---------------- */
.topbar {
    background: var(--blue-900);
    color: rgba(255,255,255,.82);
    font-size: 12px;
}
.topbar .wrap { display: flex; justify-content: space-between; height: 34px; align-items: center; }
.topbar a { color: rgba(255,255,255,.82); margin-left: 16px; }
.topbar a:hover { color: #fff; }
.topbar .tb-right a:first-child { margin-left: 0; }

.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 1px 4px rgba(11,47,82,.05);
}
.header .wrap { display: flex; align-items: center; height: 62px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-mark {
    width: 34px; height: 34px; border-radius: 8px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
    color: #fff; font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    letter-spacing: -.5px;
}
.logo-txt b { display: block; font-size: 17px; color: var(--blue-900); letter-spacing: .5px; line-height: 1.2; }
.logo-txt span { display: block; font-size: 11px; color: var(--gray-500); }

.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav a {
    padding: 8px 15px; border-radius: var(--radius-sm);
    color: var(--gray-700); font-size: 14px; font-weight: 500;
    white-space: nowrap;
}
.nav a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav a.on { background: var(--blue-600); color: #fff; }

.header-search { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hsearch { position: relative; }
.hsearch input {
    width: 180px; padding: 7px 30px 7px 12px;
    border: 1px solid var(--gray-200); border-radius: 18px;
    font-size: 13px; background: var(--gray-50); outline: none;
    transition: .2s;
}
.hsearch input:focus { border-color: var(--blue-500); background: #fff; width: 210px; }
.hsearch button {
    position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border: 0; background: none;
    color: var(--gray-500); font-size: 13px;
}
.btn-join {
    display: inline-block; padding: 7px 16px; border-radius: 18px;
    background: var(--brick); color: #fff; font-size: 13px; font-weight: 500;
    white-space: nowrap;
}
.btn-join:hover { background: var(--brick-dark); color: #fff; }

.nav-m { display: none; }

/* ---------------- 页头 banner ---------------- */
.page-head {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600) 60%, var(--blue-700));
    color: #fff; padding: 30px 0;
}
.page-head h1 { font-size: 24px; font-weight: 600; letter-spacing: .5px; }
.page-head p { color: rgba(255,255,255,.8); margin-top: 6px; font-size: 13px; }
.crumb { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 8px; }
.crumb a { color: rgba(255,255,255,.85); }

/* ---------------- 通用板块 ---------------- */
.sec { padding: 34px 0; }
.sec-alt { background: var(--white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.sec-head h2 {
    font-size: 19px; font-weight: 600; color: var(--blue-900);
    padding-left: 11px; position: relative;
}
.sec-head h2::before {
    content: ""; position: absolute; left: 0; top: 4px;
    width: 4px; height: 18px; background: var(--brick); border-radius: 2px;
}
.sec-head .more { font-size: 13px; color: var(--gray-500); }
.sec-head .more:hover { color: var(--blue-600); }
.sec-sub { font-size: 12px; color: var(--gray-500); margin-top: -12px; margin-bottom: 14px; }

/* 网格 */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }

/* 卡片 */
.card {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 16px;
    transition: .2s;
}
.card:hover { border-color: var(--blue-500); box-shadow: var(--shadow); }

/* ---------------- 国家卡片 ---------------- */
.ctry-card {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 14px 15px;
    display: block; transition: .2s;
}
.ctry-card:hover { border-color: var(--blue-500); box-shadow: var(--shadow); transform: translateY(-2px); }
.ctry-top { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.ctry-flag { font-size: 24px; line-height: 1; }
.ctry-name { font-size: 15px; font-weight: 600; color: var(--blue-900); }
.ctry-name small { display: block; font-size: 11px; color: var(--gray-500); font-weight: 400; }
.ctry-tag {
    margin-left: auto; font-size: 10px; padding: 2px 7px; border-radius: 9px;
    background: var(--brick-light); color: var(--brick-dark); font-weight: 500;
}
.ctry-tag.partner { background: var(--blue-50); color: var(--blue-700); }
.ctry-meta { font-size: 12px; color: var(--gray-500); line-height: 1.9; }
.ctry-meta span { color: var(--gray-700); font-weight: 500; }

/* ---------------- 服务模块卡片 ---------------- */
.svc-mod {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 18px 16px; text-align: center; display: block; transition: .2s;
}
.svc-mod:hover { border-color: var(--brick); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.svc-ico {
    width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 12px;
    background: var(--blue-50); color: var(--blue-600);
    display: flex; align-items: center; justify-content: center;
    font-size: 21px;
}
.svc-mod:hover .svc-ico { background: var(--brick-light); color: var(--brick); }
.svc-mod h3 { font-size: 15px; font-weight: 600; color: var(--blue-900); margin-bottom: 5px; }
.svc-mod p { font-size: 12px; color: var(--gray-500); line-height: 1.65; min-height: 40px; }
.svc-mod .cnt { margin-top: 8px; font-size: 12px; color: var(--blue-600); font-weight: 500; }

/* ---------------- 服务卡片 ---------------- */
.svc-card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.svc-card:hover { border-color: var(--blue-500); box-shadow: var(--shadow-lg); }
.svc-card .bd { padding: 14px 15px; flex: 1; display: flex; flex-direction: column; }
.svc-badge {
    display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px;
    background: var(--blue-50); color: var(--blue-700); margin-bottom: 7px;
}
.svc-badge.rec { background: var(--brick-light); color: var(--brick-dark); }
.svc-card h3 { font-size: 15px; font-weight: 600; color: var(--blue-900); margin-bottom: 6px; }
.svc-card .desc {
    font-size: 13px; color: var(--gray-500); line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 43px;
}
.svc-card .ctys { margin: 9px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.svc-card .ctys span {
    font-size: 11px; padding: 1px 7px; border-radius: 3px;
    background: var(--gray-100); color: var(--gray-700);
}
.svc-card .ft {
    margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--gray-200);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: var(--gray-500);
}
.svc-card .price { color: var(--brick); font-weight: 600; }

/* ---------------- 资讯列表 ---------------- */
.news-list li {
    padding: 13px 0; border-bottom: 1px dashed var(--gray-200);
    display: flex; gap: 12px; align-items: baseline;
}
.news-list li:last-child { border-bottom: 0; }
.news-list .dt { font-size: 12px; color: var(--gray-500); flex-shrink: 0; width: 42px; }
.news-list .ttl { flex: 1; font-size: 14px; color: var(--gray-900); }
.news-list .ttl:hover { color: var(--blue-600); }
.news-list .cat {
    font-size: 11px; color: var(--blue-600); background: var(--blue-50);
    padding: 1px 7px; border-radius: 3px; flex-shrink: 0;
}

/* 头条 */
.top-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.top-main {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--gray-200); display: block;
}
.top-main .img { height: 260px; background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); position: relative; }
.top-main .noimg {
    height: 100%; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.9); font-size: 15px; font-weight: 500;
    background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
}
.top-main .bd { padding: 18px 20px; }
.top-main h2 { font-size: 20px; font-weight: 600; color: var(--blue-900); margin-bottom: 8px; line-height: 1.45; }
.top-main h2:hover { color: var(--blue-600); }
.top-main p { font-size: 13px; color: var(--gray-500); line-height: 1.75; }
.top-side { display: flex; flex-direction: column; gap: 10px; }
.top-side li {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 11px 14px; display: flex; gap: 10px; align-items: flex-start;
}
.top-side li:hover { border-color: var(--blue-500); }
.top-side .n {
    width: 20px; height: 20px; border-radius: 4px; background: var(--gray-100);
    color: var(--gray-500); font-size: 11px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.top-side li:nth-child(1) .n { background: var(--brick); color: #fff; }
.top-side li:nth-child(2) .n { background: #e8834a; color: #fff; }
.top-side li:nth-child(3) .n { background: var(--blue-500); color: #fff; }
.top-side .tt { font-size: 13.5px; line-height: 1.6; flex: 1; }
.top-side .tt:hover { color: var(--blue-600); }

/* 快讯滚动 */
.brief-bar {
    background: var(--blue-900); color: #fff; border-radius: var(--radius);
    padding: 0 16px; display: flex; align-items: center; gap: 14px;
    height: 44px; overflow: hidden;
}
.brief-bar .lb {
    font-size: 12px; font-weight: 600; background: var(--brick);
    padding: 3px 10px; border-radius: 12px; flex-shrink: 0;
}
.brief-track { flex: 1; overflow: hidden; position: relative; height: 44px; }
.brief-track ul { position: absolute; animation: rollup 26s linear infinite; }
.brief-track li { font-size: 13px; line-height: 44px; height: 44px; opacity: .9; }
.brief-track li:hover { opacity: 1; }
@keyframes rollup { 0%{top:0} 100%{top:-2400px} }
.brief-track:hover ul { animation-play-state: paused; }

/* 补贴台账 */
.subsidy-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.subsidy-table th {
    text-align: left; padding: 9px 11px; background: var(--gray-100);
    color: var(--gray-700); font-weight: 600; font-size: 12px;
    border-bottom: 1px solid var(--gray-200); white-space: nowrap;
}
.subsidy-table td { padding: 9px 11px; border-bottom: 1px solid var(--gray-100); }
.subsidy-table tr:hover td { background: var(--blue-50); }
.st {
    display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 3px; font-weight: 500;
}
.st-todo { background: var(--red-light); color: var(--red); }
.st-submitted { background: var(--amber-light); color: var(--amber); }
.st-confirmed { background: var(--green-light); color: var(--green); }
.st-rejected { background: var(--gray-100); color: var(--gray-500); }
.dl-soon { color: var(--red); font-weight: 600; }

/* 日历 */
.cal-item {
    display: flex; gap: 12px; padding: 11px 0;
    border-bottom: 1px dashed var(--gray-200);
}
.cal-item:last-child { border: 0; }
.cal-date {
    flex-shrink: 0; width: 52px; text-align: center;
    background: var(--blue-50); border-radius: var(--radius-sm); padding: 6px 0;
}
.cal-date b { display: block; font-size: 17px; color: var(--blue-600); line-height: 1.2; }
.cal-date span { font-size: 10px; color: var(--gray-500); }
.cal-tt { font-size: 13.5px; line-height: 1.6; }
.cal-dc { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* 热榜 */
.rank li {
    display: flex; gap: 10px; padding: 8px 0;
    border-bottom: 1px dashed var(--gray-200); align-items: baseline;
}
.rank li:last-child { border: 0; }
.rank .n { color: var(--brick); font-weight: 700; font-size: 13px; width: 18px; flex-shrink: 0; }
.rank .t { flex: 1; font-size: 13.5px; line-height: 1.55; }
.rank .v { font-size: 11px; color: var(--gray-500); flex-shrink: 0; }

/* ---------------- 文章详情 ---------------- */
.article-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.article {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 30px 34px;
}
.article h1 { font-size: 25px; font-weight: 600; color: var(--blue-900); line-height: 1.45; margin-bottom: 14px; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px;
    color: var(--gray-500); padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200); margin-bottom: 22px;
}
.article-body { font-size: 15px; line-height: 1.95; color: var(--gray-900); }
.article-body p { margin-bottom: 16px; }
.article-body h2 { font-size: 19px; font-weight: 600; color: var(--blue-900); margin: 26px 0 12px; }
.article-body h3 { font-size: 16.5px; font-weight: 600; color: var(--blue-800); margin: 20px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body ul li { list-style: disc; margin-bottom: 7px; }
.article-body ol li { list-style: decimal; margin-bottom: 7px; }
.article-body img { border-radius: var(--radius-sm); margin: 12px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.article-body th { background: var(--blue-50); padding: 9px 11px; text-align: left; border: 1px solid var(--gray-200); color: var(--blue-800); }
.article-body td { padding: 9px 11px; border: 1px solid var(--gray-200); }
.article-body blockquote {
    border-left: 3px solid var(--brick); background: var(--gray-50);
    padding: 12px 16px; margin: 16px 0; color: var(--gray-700); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body a { text-decoration: underline; }

/* 数据表（国家档案用） */
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th {
    background: var(--blue-50); color: var(--blue-800); font-weight: 600;
    padding: 11px 14px; text-align: left; border: 1px solid var(--gray-200);
    width: 132px; white-space: nowrap;
}
.data-table td { padding: 11px 14px; border: 1px solid var(--gray-200); line-height: 1.8; }
.data-table tr:nth-child(even) td { background: var(--gray-50); }

/* 侧栏 */
.side { position: sticky; top: 78px; }
.side-box {
    background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
}
.side-box h3 {
    font-size: 14px; font-weight: 600; color: #fff; background: var(--blue-700);
    padding: 10px 14px;
}
.side-box .bd { padding: 12px 14px; }
.side-box li {
    padding: 7px 0; border-bottom: 1px dashed var(--gray-200);
    display: flex; gap: 8px; align-items: baseline;
}
.side-box li:last-child { border: 0; }
.side-box li a { font-size: 13px; flex: 1; line-height: 1.6; }
.side-box li .n { color: var(--brick); font-weight: 700; font-size: 12px; }

/* 标签页 */
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--blue-100); margin-bottom: 18px; flex-wrap: wrap; }
.tabs a {
    padding: 9px 20px; font-size: 14px; color: var(--gray-500);
    border-bottom: 2px solid transparent; margin-bottom: -2px; font-weight: 500;
}
.tabs a:hover { color: var(--blue-600); }
.tabs a.on { color: var(--blue-600); border-bottom-color: var(--blue-600); }

/* 筛选栏 */
.filters {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 14px 16px; margin-bottom: 16px;
}
.filters .fl {
    display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
    padding: 6px 0; font-size: 13px;
}
.filters .fl .lb { color: var(--gray-500); width: 62px; flex-shrink: 0; }
.filters .fl a {
    padding: 3px 11px; border-radius: 13px; font-size: 12.5px;
    color: var(--gray-700); background: var(--gray-100);
}
.filters .fl a:hover { background: var(--blue-100); color: var(--blue-700); }
.filters .fl a.on { background: var(--blue-600); color: #fff; }
.filters .fl a.partner { background: var(--blue-50); color: var(--blue-700); }

/* 二维码咨询 */
.qr-box {
    background: var(--gray-50); border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 18px; text-align: center;
}
.qr-box img { width: 148px; height: 148px; margin: 0 auto 10px; border-radius: 8px; background: #fff; padding: 6px; border: 1px solid var(--gray-200); }
.qr-box .tt { font-size: 14px; font-weight: 600; color: var(--blue-900); }
.qr-box .dc { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* 表单 */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--gray-700); margin-bottom: 5px; font-weight: 500; }
.field label .req { color: var(--red); }
.field input[type=text], .field input[type=password], .field input[type=date],
.field input[type=datetime-local], .field input[type=number], .field select, .field textarea {
    width: 100%; padding: 9px 12px; border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
    outline: none; transition: .15s; background: #fff;
}
.field textarea { resize: vertical; min-height: 80px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(24,95,165,.1);
}
.field .hint { font-size: 11.5px; color: var(--gray-500); margin-top: 4px; }
.field.full { grid-column: 1 / -1; }

.chk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.chk {
    display: flex; align-items: center; gap: 5px; padding: 6px 9px;
    border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    font-size: 13px; cursor: pointer; transition: .15s;
}
.chk:hover { border-color: var(--blue-500); }
.chk input { margin: 0; cursor: pointer; }
.chk.on { background: var(--blue-50); border-color: var(--blue-500); color: var(--blue-700); }

/* 按钮 */
.btn {
    display: inline-block; padding: 9px 22px; border-radius: var(--radius-sm);
    border: 0; font-size: 14px; font-weight: 500; cursor: pointer;
    background: var(--blue-600); color: #fff; transition: .15s;
}
.btn:hover { background: var(--blue-700); color: #fff; }
.btn-brick { background: var(--brick); }
.btn-brick:hover { background: var(--brick-dark); }
.btn-ghost { background: #fff; color: var(--blue-600); border: 1px solid var(--blue-500); }
.btn-ghost:hover { background: var(--blue-50); }
.btn-sm { padding: 5px 13px; font-size: 12.5px; }
.btn-gray { background: var(--gray-100); color: var(--gray-700); }
.btn-gray:hover { background: var(--gray-200); color: var(--gray-900); }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: #a03024; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* 提示条 */
.alert {
    padding: 11px 15px; border-radius: var(--radius-sm); font-size: 13.5px;
    margin-bottom: 16px; display: flex; gap: 9px; align-items: flex-start;
}
.alert-ok { background: var(--green-light); color: var(--green); border: 1px solid #b8e5d3; }
.alert-err { background: var(--red-light); color: var(--red); border: 1px solid #f7c1c1; }
.alert-warn { background: var(--amber-light); color: var(--amber); border: 1px solid #f7dfae; }
.alert-info { background: var(--blue-50); color: var(--blue-700); border: 1px solid #c9dcf2; }
.alert b { font-weight: 600; }

/* 分页 */
.pager { display: flex; gap: 5px; justify-content: center; margin: 26px 0; flex-wrap: wrap; }
.pager a, .pager span {
    padding: 6px 13px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    font-size: 13px; background: #fff; color: var(--gray-700); min-width: 36px; text-align: center;
}
.pager a:hover { border-color: var(--blue-500); color: var(--blue-600); }
.pager .cur { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.pager .dots { border: 0; background: none; color: var(--gray-500); }

/* 空状态 */
.empty { text-align: center; padding: 50px 20px; color: var(--gray-500); }
.empty .ico { font-size: 40px; opacity: .3; margin-bottom: 10px; }
.empty p { font-size: 14px; }
.empty a { display: inline-block; margin-top: 14px; }

/* 右下角二维码浮窗 */
.float-qr {
    position: fixed; right: 20px; bottom: 24px; z-index: 900;
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 12px; width: 132px; text-align: center;
    transition: .25s;
}
.float-qr img { width: 100px; height: 100px; margin: 0 auto 7px; padding: 4px; background: var(--gray-50); border-radius: 6px; }
.float-qr .tt { font-size: 12.5px; font-weight: 600; color: var(--blue-900); line-height: 1.4; }
.float-qr .dc { font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.float-qr .close {
    position: absolute; top: -8px; right: -8px; width: 22px; height: 22px;
    border-radius: 50%; background: var(--gray-500); color: #fff; border: 0;
    font-size: 13px; line-height: 1; display: none;
}
.float-qr.collapsed { width: auto; padding: 9px 13px; }
.float-qr.collapsed img, .float-qr.collapsed .dc { display: none; }
.float-qr.collapsed .close { display: block; }
.float-qr .trigger {
    display: none; width: 52px; height: 52px; border-radius: 50%;
    background: var(--brick); color: #fff; border: 0; font-size: 11px;
    flex-direction: column; align-items: center; justify-content: center; line-height: 1.3;
}
.float-qr.collapsed .tt { display: none; }
.float-qr.collapsed .trigger { display: flex; }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--blue-900); color: rgba(255,255,255,.7); padding: 34px 0 0; margin-top: 30px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 24px; padding-bottom: 26px; }
.footer h4 { font-size: 14px; color: #fff; margin-bottom: 12px; font-weight: 600; }
.footer li { margin-bottom: 7px; font-size: 13px; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }
.footer .logo-txt b { color: #fff; }
.footer .logo-txt span { color: rgba(255,255,255,.5); }
.footer-desc { font-size: 13px; line-height: 1.85; margin-top: 11px; }
.footer-bot {
    border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0;
    font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bot a { margin-left: 16px; }

/* 响应式 */
@media (max-width: 1024px) {
    .article-wrap { grid-template-columns: 1fr; }
    .side { position: static; }
    .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
    .g6 { grid-template-columns: repeat(3, 1fr); }
    .g5 { grid-template-columns: repeat(3, 1fr); }
    .g4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .header-search { display: none; }
    .nav {
        display: none;
        position: absolute; top: 62px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--gray-200);
        flex-direction: column; align-items: stretch; padding: 8px 16px 14px;
        box-shadow: var(--shadow-lg); gap: 0;
    }
    .nav.open { display: flex; }
    .nav a { padding: 11px 8px; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
    .header .wrap { position: relative; }
    .nav-m {
        display: flex; align-items: center; gap: 5px; margin-left: auto;
        background: none; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
        padding: 6px 11px; font-size: 13px; color: var(--gray-700);
    }
    .topbar .tb-left { display: none; }

    .top-grid { grid-template-columns: 1fr; }
    .top-main .img { height: 180px; }
    .g3, .g2 { grid-template-columns: repeat(2, 1fr); }
    .sec { padding: 24px 0; }
    .page-head h1 { font-size: 20px; }
    .article { padding: 20px 18px; }
    .article h1 { font-size: 20px; }
    .article-body { font-size: 14.5px; }
    .form-grid { grid-template-columns: 1fr; }
    .chk-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 18px; }
    .float-qr { width: auto; padding: 9px 13px; }
    .float-qr img, .float-qr .dc, .float-qr .tt { display: none; }
    .float-qr .trigger { display: flex; }
}

@media (max-width: 560px) {
    .g2, .g3, .g4, .g5, .g6 { grid-template-columns: 1fr; }
    .chk-grid { grid-template-columns: 1fr 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .topbar { display: none; }
    .logo-txt span { display: none; }
    .sec-head h2 { font-size: 17px; }
    .filters .fl .lb { width: 100%; }
    .subsidy-table { font-size: 12px; }
    .subsidy-table th, .subsidy-table td { padding: 7px 6px; }
}

/* 打印 */
@media print {
    .header, .topbar, .footer, .float-qr, .nav-m, .pager { display: none !important; }
    body { background: #fff; }
}
