/* ============================================================
 * DXView · 足球资讯模板样式（对标参照站类名体系，四主题四布局）
 * 结构：变量与主题 → 基础 → 头部 → HERO → 区块与卡片 → 百科卡
 *       → 列表/详情/单页 → 侧栏 → 标签/搜索 → 页脚 → 404 → 响应式
 * ============================================================ */

/* ---------- 主题 1：海洋深蓝 × 珊瑚橙 ---------- */
body[data-theme="1"] {
    --dxBg: #f5f7fc;
    --dxInk: #0b1a2f;
    --dxInk2: #1e3a5f;
    --dxAcc: #ffb347;
    --dxAcc2: #f57c00;
    --dxAccSoft: rgba(255, 179, 71, 0.14);
    --dxAccFg: #b45d00;
    --dxHero1: #0b1a2f;
    --dxHero2: #1e3a5f;
    --dxHeroGrad: linear-gradient(135deg, #0b1a2f 0%, #1e3a5f 100%);
    --dxCard: #ffffff;
    --dxLine: #eef2f9;
    --dxBody: #1f2a44;
    --dxMute: #475569;
    --dxNav: #e0e8f0;
    --dxNavHover: #ffb347;
    --dxChipBg: #0b1a2f;
    --dxChipFg: #ffffff;
    --dxFooterFg: #a0b3cc;
    --dxShadow: 0 8px 18px rgba(0, 0, 0, 0.04);
    --dxShadowHi: 0 14px 28px rgba(0, 0, 0, 0.06);
    --dxRadius: 24px;
}
/* ---------- 主题 2：墨林深绿 × 麦金 ---------- */
body[data-theme="2"] {
    --dxBg: #f4f8f2;
    --dxInk: #12240f;
    --dxInk2: #2c4a24;
    --dxAcc: #ffd166;
    --dxAcc2: #d9a514;
    --dxAccSoft: rgba(217, 165, 20, 0.15);
    --dxAccFg: #7a5a06;
    --dxHero1: #12240f;
    --dxHero2: #2c4a24;
    --dxHeroGrad: linear-gradient(135deg, #12240f 0%, #2c4a24 100%);
    --dxCard: #ffffff;
    --dxLine: #e7efe3;
    --dxBody: #22301e;
    --dxMute: #4d5f47;
    --dxNav: #dfeadb;
    --dxNavHover: #ffd166;
    --dxChipBg: #12240f;
    --dxChipFg: #ffffff;
    --dxFooterFg: #a9c0a0;
    --dxShadow: 0 8px 18px rgba(18, 36, 15, 0.05);
    --dxShadowHi: 0 14px 28px rgba(18, 36, 15, 0.08);
    --dxRadius: 18px;
}
/* ---------- 主题 3：酒红庄园 × 玫金 ---------- */
body[data-theme="3"] {
    --dxBg: #faf5f4;
    --dxInk: #2a1020;
    --dxInk2: #55223d;
    --dxAcc: #e8b04b;
    --dxAcc2: #c46b3a;
    --dxAccSoft: rgba(196, 107, 58, 0.13);
    --dxAccFg: #9c4f22;
    --dxHero1: #2a1020;
    --dxHero2: #55223d;
    --dxHeroGrad: linear-gradient(135deg, #2a1020 0%, #55223d 100%);
    --dxCard: #ffffff;
    --dxLine: #f1e4e2;
    --dxBody: #33202b;
    --dxMute: #6d5560;
    --dxNav: #f0dfe6;
    --dxNavHover: #e8b04b;
    --dxChipBg: #2a1020;
    --dxChipFg: #ffffff;
    --dxFooterFg: #c7a4b0;
    --dxShadow: 0 8px 18px rgba(42, 16, 32, 0.05);
    --dxShadowHi: 0 14px 28px rgba(42, 16, 32, 0.08);
    --dxRadius: 28px;
}
/* ---------- 主题 4：石墨夜空 × 冰青 ---------- */
body[data-theme="4"] {
    --dxBg: #f2f6fa;
    --dxInk: #101a33;
    --dxInk2: #24406e;
    --dxAcc: #4fd1c5;
    --dxAcc2: #2b9db3;
    --dxAccSoft: rgba(43, 157, 179, 0.13);
    --dxAccFg: #16697a;
    --dxHero1: #101a33;
    --dxHero2: #24406e;
    --dxHeroGrad: linear-gradient(135deg, #101a33 0%, #24406e 100%);
    --dxCard: #ffffff;
    --dxLine: #e4ecf5;
    --dxBody: #1c2b3f;
    --dxMute: #4a6076;
    --dxNav: #d7e3f2;
    --dxNavHover: #4fd1c5;
    --dxChipBg: #101a33;
    --dxChipFg: #ffffff;
    --dxFooterFg: #94aecb;
    --dxShadow: 0 8px 18px rgba(16, 26, 51, 0.05);
    --dxShadowHi: 0 14px 28px rgba(16, 26, 51, 0.08);
    --dxRadius: 14px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--dxBg);
    color: var(--dxBody);
    line-height: 1.6;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- 头部（参照站 site-header 同构） ---------- */
.site-header {
    background: var(--dxInk);
    padding: 16px 0;
    border-bottom: 3px solid var(--dxAcc);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
    width: 48px; height: 48px;
    background: linear-gradient(145deg, var(--dxAcc), var(--dxAcc2));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 22px;
    color: var(--dxInk);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
    flex-shrink: 0;
}
.logo-text { color: #ffffff; font-size: 24px; font-weight: 700; letter-spacing: 1px; }
.logo-text span { color: var(--dxAcc); }
.nav-links { display: flex; gap: 28px; flex-wrap: wrap; }
.nav-links a {
    color: var(--dxNav);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: 0.2s;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.on {
    color: var(--dxNavHover);
    border-bottom-color: var(--dxNavHover);
}

/* ---------- HERO（参照站 hero 同构） ---------- */
.hero {
    background: var(--dxHeroGrad);
    border-radius: 28px;
    margin: 32px 0;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 20px 30px -8px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute; right: -80px; top: -80px;
    width: 260px; height: 260px; border-radius: 50%;
    background: var(--dxAcc); opacity: 0.08; pointer-events: none;
}
.hero-content { max-width: 580px; position: relative; z-index: 1; }
.hero-content h1 {
    font-size: 42px; font-weight: 800;
    color: #ffffff; line-height: 1.2; margin-bottom: 20px;
}
.hero-content h1 i { color: var(--dxAcc); font-style: normal; }
.hero-content p { color: #cbd5e1; font-size: 18px; margin-bottom: 28px; }
.hero-btn {
    background: var(--dxAcc);
    border: none; color: var(--dxInk);
    font-weight: 700; padding: 14px 36px;
    border-radius: 60px; font-size: 18px;
    display: inline-block; text-decoration: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}
.hero-btn:hover { transform: translateY(-3px); }
.hero-image {
    width: 300px; height: 220px;
    border-radius: 24px;
    background-color: var(--dxInk2);
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    position: relative; z-index: 1;
}
/* 布局变体的 HERO 形态差异 */
body.lay-b .hero { border-radius: 12px; flex-direction: row-reverse; }
body.lay-b .hero-image { border-radius: 999px 24px 999px 24px; width: 260px; height: 260px; }
body.lay-c .hero { border-radius: 0 60px 0 60px; }
body.lay-c .hero-image { border-radius: 999px; }
body.lay-d .hero { border-radius: 28px; border: 1px solid rgba(255,255,255,0.08); }
body.lay-d .hero-image { border-radius: 10px; width: 340px; }

/* ---------- 区块标题与栅格（参照站 section-title/grid 同构） ---------- */
main > section, .sec-live, .sec-worldcup, .sec-league, .sec-stars, .sec-data, .sec-about { margin-bottom: 12px; }
.section-title {
    font-size: 32px; font-weight: 700;
    margin: 40px 0 24px 0;
    border-left: 6px solid var(--dxAcc);
    padding-left: 20px;
    color: var(--dxInk);
}
.grid-3, .grid-4 { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
body.lay-c .grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
body.lay-d .grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ---------- 卡片（参照站 card 同构） ---------- */
.card {
    background: var(--dxCard);
    border-radius: var(--dxRadius);
    padding: 20px;
    box-shadow: var(--dxShadow);
    transition: 0.2s ease;
    border: 1px solid var(--dxLine);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--dxShadowHi); }
.card-img {
    height: 140px;
    background: #d9e2ef;
    border-radius: calc(var(--dxRadius) - 8px);
    margin-bottom: 18px;
    background-size: cover;
    background-position: center;
    background-color: var(--dxInk2);
}
.card-img-link { display: block; text-decoration: none; }
.card h3 { font-size: 20px; margin-bottom: 8px; color: var(--dxInk); line-height: 1.35; }
.card h3 a { text-decoration: none; transition: color 0.2s; }
.card h3 a:hover { color: var(--dxAcc2); }
.card p { color: var(--dxMute); font-size: 15px; }
.badge {
    display: inline-block;
    background: var(--dxAccSoft);
    color: var(--dxAccFg);
    font-size: 13px; font-weight: 600;
    padding: 2px 12px; border-radius: 30px;
    margin-bottom: 10px;
}
.score-chip {
    background: var(--dxChipBg);
    color: var(--dxChipFg);
    font-weight: 700;
    padding: 2px 14px; border-radius: 40px;
    font-size: 14px;
    display: inline-block;
    white-space: nowrap;
}
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.news-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 14px; padding-top: 12px;
    border-top: 1px dashed var(--dxLine);
    font-size: 13px; color: var(--dxMute);
}
.nm-hot { white-space: nowrap; }

/* ---------- 球星百科卡（参照站 wiki-card 同构） ---------- */
.wiki-card { background: var(--dxCard); border-radius: var(--dxRadius); padding: 20px; box-shadow: var(--dxShadow); border: 1px solid var(--dxLine); transition: 0.2s ease; }
.wiki-card:hover { transform: translateY(-4px); box-shadow: var(--dxShadowHi); }
.wiki-row { display: flex; gap: 20px; flex-wrap: wrap; }
.wiki-avatar-link { flex-shrink: 0; text-decoration: none; }
.wiki-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: var(--dxInk2);
    background-size: cover;
    background-position: center top;
    border: 3px solid var(--dxAccSoft);
}
.wiki-content { flex: 1; min-width: 220px; }
.wiki-content h4 { font-size: 20px; margin-bottom: 6px; color: var(--dxInk); }
.wiki-content h4 a { text-decoration: none; }
.wiki-content h4 a:hover { color: var(--dxAcc2); }
.wiki-content p { color: var(--dxMute); font-size: 15px; }

/* ---------- 关于区块 ---------- */
.about-card { max-width: 920px; }
.about-card h2 { color: var(--dxInk); }

/* ---------- 页头/面包屑 ---------- */
.page-head { margin: 34px 0 8px; }
.page-head h1 { font-size: 34px; color: var(--dxInk); margin-bottom: 8px; }
.page-head p { color: var(--dxMute); max-width: 860px; }
.breadcrumb { margin-top: 26px; font-size: 14px; color: var(--dxMute); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--dxAcc2); }
.breadcrumb a { text-decoration: none; color: var(--dxAccFg); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 双栏布局 ---------- */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; margin-top: 22px; }
.layout-2col .grid-3.is-list { grid-template-columns: repeat(2, 1fr); }
.main-col { min-width: 0; }

/* ---------- 详情页 ---------- */
.article-wrap { padding: 30px 28px; }
.article-title { font-size: 30px; line-height: 1.35; color: var(--dxInk); margin-bottom: 14px; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 8px 18px;
    font-size: 14px; color: var(--dxMute);
    padding-bottom: 14px; border-bottom: 1px solid var(--dxLine);
    margin-bottom: 20px;
}
.article-meta a { color: var(--dxAccFg); text-decoration: none; }
.article-meta time { font-style: normal; }
.article-content { font-size: 16.5px; color: var(--dxBody); }
.article-content h2, .article-content h3 { color: var(--dxInk); margin: 26px 0 12px; line-height: 1.4; }
.article-content h2 { font-size: 22px; border-left: 5px solid var(--dxAcc); padding-left: 14px; }
.article-content h3 { font-size: 19px; }
.article-content p { margin: 0 0 16px; }
.article-content img {
    display: block; margin: 18px auto;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
    max-width: 100%; height: auto;
}
.article-content ul, .article-content ol { margin: 0 0 16px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
    background: var(--dxAccSoft);
    border-left: 5px solid var(--dxAcc);
    border-radius: 0 14px 14px 0;
    padding: 14px 18px; margin: 18px 0;
    color: var(--dxInk);
}
.article-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.article-tags strong { color: var(--dxInk); }
.article-tags a {
    background: var(--dxAccSoft); color: var(--dxAccFg);
    padding: 4px 14px; border-radius: 30px; text-decoration: none;
}
.article-tags a:hover { background: var(--dxAcc); color: var(--dxInk); }
.updown { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.updown a {
    display: block; background: var(--dxCard); border: 1px solid var(--dxLine);
    border-radius: 14px; padding: 12px 16px; text-decoration: none;
    font-size: 14px; color: var(--dxBody);
}
.updown a:hover { border-color: var(--dxAcc); }
.ud-label { display: block; font-size: 12px; color: var(--dxAccFg); margin-bottom: 4px; }
.related { margin-top: 28px; }
.related h2 { font-size: 22px; color: var(--dxInk); border-left: 6px solid var(--dxAcc); padding-left: 14px; margin-bottom: 18px; }
.cta-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    background: var(--dxHeroGrad); border-radius: 18px;
    padding: 22px 26px; margin-top: 24px; color: #fff;
}
.cta-banner h2 { font-size: 22px; margin-bottom: 4px; }
.cta-banner p { color: #cbd5e1; }
.btn-main {
    background: var(--dxAcc); color: var(--dxInk);
    padding: 12px 28px; border-radius: 60px;
    text-decoration: none; font-weight: 700; display: inline-block;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.btn-ghost {
    border: 2px solid var(--dxAcc); color: var(--dxAcc);
    padding: 10px 26px; border-radius: 60px;
    text-decoration: none; font-weight: 700; display: inline-block;
}

/* ---------- 分页（Pagination::create_links 输出 page-control/pagination/page-item/page-link） ---------- */
.pager { margin-top: 26px; text-align: center; }
.pager .list-unstyled { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.pager .page-item .page-link {
    display: inline-block; min-width: 40px; padding: 8px 12px;
    background: var(--dxCard); border: 1px solid var(--dxLine); border-radius: 10px;
    text-decoration: none; color: var(--dxBody);
}
.pager .page-item.active .page-link { background: var(--dxInk); border-color: var(--dxInk); color: var(--dxAcc); font-weight: 700; }
.pager .page-item.disabled .page-link { opacity: 0.5; }
.pager a.page-link:hover { border-color: var(--dxAcc); color: var(--dxAccFg); }

/* ---------- 栏目 SEO 块 ---------- */
.cat-seo h3 { color: var(--dxInk); margin-bottom: 8px; }

/* ---------- 侧栏 ---------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget h3 { font-size: 18px; color: var(--dxInk); margin-bottom: 14px; border-left: 4px solid var(--dxAcc); padding-left: 10px; }
.rank-list { list-style: none; counter-reset: rk; }
.rank-list li { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--dxLine); }
.rank-list li:last-child { border-bottom: 0; }
.rank-list .no {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px;
    background: var(--dxAccSoft); color: var(--dxAccFg);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
}
.rank-list li:nth-child(-n+3) .no { background: var(--dxInk); color: var(--dxAcc); }
.rank-list .t { flex: 1; min-width: 0; }
.rank-list .t a { text-decoration: none; font-size: 14.5px; color: var(--dxBody); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list .t a:hover { color: var(--dxAcc2); }
.rank-list time { font-size: 12px; color: var(--dxMute); flex-shrink: 0; }
.line-list { list-style: none; }
.line-list li { padding: 8px 0; border-bottom: 1px dashed var(--dxLine); font-size: 14.5px; }
.line-list li:last-child { border-bottom: 0; }
.line-list a { text-decoration: none; color: var(--dxBody); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-list a:hover { color: var(--dxAcc2); }
.line-list time { font-size: 12px; color: var(--dxMute); }
.side-search { display: flex; gap: 8px; }
.side-search input {
    flex: 1; min-width: 0;
    border: 1px solid var(--dxLine); border-radius: 30px;
    padding: 9px 16px; font-size: 14px; background: var(--dxBg); color: var(--dxBody);
}
.side-search input:focus { outline: 2px solid var(--dxAcc); border-color: transparent; }
.side-search button {
    border: 0; border-radius: 30px; padding: 9px 18px;
    background: var(--dxInk); color: var(--dxAcc);
    font-weight: 700; cursor: pointer;
}
.side-tip { font-size: 13px; color: var(--dxMute); margin-top: 10px; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chips a {
    background: var(--dxAccSoft); color: var(--dxAccFg);
    padding: 4px 14px; border-radius: 30px;
    text-decoration: none; font-size: 13.5px;
}
.tag-chips a:hover { background: var(--dxAcc); color: var(--dxInk); }

/* ---------- 标签云 / 搜索面板 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a {
    background: var(--dxBg); color: var(--dxBody);
    border: 1px solid var(--dxLine);
    padding: 6px 16px; border-radius: 40px; text-decoration: none; font-size: 15px;
    transition: 0.2s;
}
.tag-cloud a:hover { background: var(--dxInk); color: var(--dxAcc); border-color: var(--dxInk); }
.tag-cloud a small { margin-left: 6px; opacity: 0.6; font-size: 12px; }
.cloud-tip { font-size: 13.5px; color: var(--dxMute); margin-top: 14px; }
.search-panel { margin-bottom: 8px; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form input {
    flex: 1; min-width: 220px;
    border: 1px solid var(--dxLine); border-radius: 40px;
    padding: 12px 20px; font-size: 15px; background: var(--dxBg); color: var(--dxBody);
}
.search-form input:focus { outline: 2px solid var(--dxAcc); border-color: transparent; }
.search-form button {
    border: 0; border-radius: 40px; padding: 12px 30px;
    background: var(--dxAcc); color: var(--dxInk);
    font-weight: 700; font-size: 15px; cursor: default;
}
.empty-tip h3 { color: var(--dxInk); }
.fresh-sec { margin-top: 30px; }
.tag-cloud-wrap { margin-top: 26px; }

/* ---------- 页脚（参照站 footer 同构） ---------- */
.footer {
    background: var(--dxInk);
    margin-top: 60px;
    padding: 36px 0 26px;
    border-radius: 32px 32px 0 0;
    color: var(--dxFooterFg);
    text-align: center;
}
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; text-align: left; margin-bottom: 26px; }
.footer-brand .logo-text { font-size: 20px; margin-bottom: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-kw { margin-top: 10px; font-size: 13px; color: var(--dxAcc); }
.footer-nav h4 { color: #ffffff; font-size: 16px; margin-bottom: 12px; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; font-size: 14px; }
.footer-nav a { color: var(--dxFooterFg); text-decoration: none; }
.footer-nav a:hover { color: var(--dxAcc); }
.footer-line { font-size: 14px; }
.footer-tags { margin-top: 10px; font-size: 14px; }
.footer-links { margin-top: 6px; font-size: 14px; }
.footer-links a { color: var(--dxAcc); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.back-to-top {
    position: fixed; right: 22px; bottom: 26px; z-index: 50;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--dxInk); color: var(--dxAcc);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    border: 1px solid var(--dxAcc);
}
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- 404 ---------- */
.err-page {
    min-height: 70vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 40px 20px;
}
.err-code { font-size: 110px; font-weight: 800; color: var(--dxInk); line-height: 1; }
.err-page h1 { font-size: 28px; color: var(--dxInk); margin: 18px 0 10px; }
.err-tip { color: var(--dxMute); max-width: 560px; margin-bottom: 26px; }
.err-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.err-btns .btn-ghost { color: var(--dxInk); border-color: var(--dxInk); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .layout-2col { grid-template-columns: 1fr; }
    .sidebar { flex-direction: row; flex-wrap: wrap; }
    .sidebar .widget { flex: 1 1 300px; }
}
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero { flex-direction: column; text-align: center; padding: 32px 20px; }
    .hero-content h1 { font-size: 32px; }
    .hero-image { margin-top: 30px; width: 240px; height: 180px; }
    .hero-btn { margin-bottom: 6px; }
    .section-title { font-size: 26px; margin: 30px 0 18px; }
    .updown { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .grid-3, .grid-4, .layout-2col .grid-3.is-list { grid-template-columns: 1fr; }
    .nav-links { gap: 12px; margin-top: 12px; }
    .header-inner { flex-direction: column; align-items: flex-start; }
    .logo-text { font-size: 20px; overflow-wrap: anywhere; }
    .container { padding: 0 14px; }
    .hero { margin: 18px 0; }
    .hero-content h1 { font-size: 26px; }
    .hero-content p { font-size: 15px; }
    .article-wrap { padding: 20px 16px; }
    .article-title { font-size: 23px; }
    .footer { border-radius: 20px 20px 0 0; }
    .footer-cols { grid-template-columns: 1fr; gap: 18px; }
    .section-title { font-size: 22px; }
    .back-to-top { right: 12px; bottom: 14px; width: 40px; height: 40px; }
}
