/* ============================================
   深蓝金资讯门户模板 V2 - 参照 jamvacuum 风格
   多色分区: 藏青Hero / 深色关于 / 淡紫功能 /
   墨绿安全 / 浅蓝精选 / 粉橙口碑 / 渐变CTA
   ============================================ */

:root {
    --navy: #24407e;
    --navy-deep: #101828;
    --navy-card: #1b2540;
    --teal: #0f2027;
    --lavender: #a5a7f5;
    --cyan: #e0f4fb;
    --peach: #fdeae2;
    --gold: #f5b400;
    --orange: #f5a623;
    --red: #d6304a;
    --blue: #2f6bff;
    --green: #27ae60;
    --ink: #1f2937;
    --gray: #6b7280;
    --muted: #9ca3af;
    --line: #e5e7eb;
    --white: #ffffff;
    --bg: #f5f7fa;
    --shadow-sm: 0 2px 8px rgba(31,41,55,0.06);
    --shadow-md: 0 4px 18px rgba(31,41,55,0.10);
    --shadow-lg: 0 10px 36px rgba(31,41,55,0.14);
    --radius: 12px;
    --transition: all 0.3s ease;
    --font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

/* === Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.4; color: var(--ink); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* === Header (藏青顶栏) === */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(31,41,55,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo a { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: 1px; }
.logo-img { width: 40px; height: 40px; object-fit: contain; display: block; }
.site-logo a:hover { color: var(--orange); }
.main-nav ul { display: flex; align-items: center; }
.main-nav ul li { position: relative; }
.main-nav ul li a {
    display: block;
    padding: 20px 18px;
    color: #212529;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}
.main-nav ul li a:hover,
.main-nav ul li.active a {
    color: var(--blue);
    border-bottom-color: var(--blue);
    background: rgba(47,107,255,0.06);
}
.main-nav ul li .dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 180px;
    background: #fff; border-radius: 0 0 8px 8px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition); z-index: 1001;
}
.main-nav ul li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav ul li .dropdown-menu li a { padding: 12px 20px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 14px; }
.main-nav ul li .dropdown-menu li a:hover { background: var(--bg); color: var(--orange); }
.main-nav ul li .dropdown-menu li:last-child a { border-bottom: none; }
.header-cta .btn-login {
    padding: 8px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
    color: #fff; background: var(--navy);
}
.header-cta .btn-login:hover { background: var(--blue); color: #fff; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.mobile-toggle span { width: 24px; height: 2px; background: #212529; border-radius: 2px; }

/* === Hero (藏青大色块 + 斜切底边) === */
.hero-banner {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 90px 0 120px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}
.hero-title { font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: 0.5px; }
.hero-sub { max-width: 880px; margin: 20px auto 36px; color: rgba(255,255,255,0.92); font-size: 16px; line-height: 2; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pill-btn {
    display: inline-block; background: #fff; color: var(--navy);
    padding: 12px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.pill-btn:hover { transform: translateY(-2px); color: var(--navy); box-shadow: 0 8px 22px rgba(0,0,0,0.25); }

/* === 分区标题 === */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 30px; font-weight: 800; color: var(--ink); }
.sec-head p { margin-top: 10px; color: var(--gray); font-size: 14px; }
.sec-head .sec-icon { color: var(--gold); margin-right: 8px; }
.sec-head.on-dark h2 { color: #fff; }
.sec-head.on-dark p { color: rgba(255,255,255,0.55); }

/* === 关于区 (深色) === */
.sec-about { background: var(--navy-deep); padding: 80px 0; }
.about-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    margin-bottom: 70px;
}
.about-row:last-child { margin-bottom: 0; }
.about-media { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,0.35); }
.about-sub { position: absolute; right: 14px; bottom: 14px; width: 40%; border-radius: 10px; overflow: hidden; border: 3px solid rgba(255,255,255,0.9); box-shadow: 0 10px 26px rgba(0,0,0,0.45); }
.about-text h3 { color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.about-text p { color: rgba(255,255,255,0.78); line-height: 2.1; text-align: justify; font-size: 15px; }
.link-gold { color: var(--gold); font-weight: 600; }
.link-gold:hover { color: #ffd34d; }

/* === 功能区 (淡紫 + 白色横卡) === */
.sec-features { background: linear-gradient(180deg, #a6a3ee 0%, #aed4f0 60%, #bfe2f6 100%); padding: 80px 0; }
.feature-card {
    background: #f8fafc; border-radius: 24px; padding: 52px 56px;
    display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: center;
    margin-bottom: 40px; box-shadow: 0 10px 30px rgba(31,41,55,0.10);
}
.feature-card:last-child { margin-bottom: 0; }
.feature-text h3 { font-size: 24px; color: var(--navy); margin-bottom: 18px; font-weight: 800; }
.feature-text h3 a { color: var(--navy); }
.feature-text h3 a:hover { color: var(--orange); }
.feature-text p { color: var(--gray); line-height: 2; font-size: 15px; }
.link-more { color: var(--blue); font-weight: 600; }
.feature-media { position: relative; border-radius: 12px; overflow: hidden; background: #eef1f6; }
.feature-media img { border-radius: 12px; }

/* === 安全区 (墨绿) === */
.sec-security { background: var(--teal); padding: 80px 0; color: #fff; }
.sec-security .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.sec-left h2 { color: #fff; font-size: 28px; margin-bottom: 18px; }
.sec-left > p { color: rgba(255,255,255,0.75); line-height: 1.9; margin-bottom: 26px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 14px; color: rgba(255,255,255,0.92); }
.check-list li::before {
    content: '✔'; position: absolute; left: 0; top: 3px;
    width: 20px; height: 20px; line-height: 20px; text-align: center;
    background: var(--green); color: #fff; border-radius: 50%; font-size: 12px;
}
.sec-right { text-align: center; }
.lock-circle {
    width: 150px; height: 150px; margin: 0 auto 22px;
    border: 2px solid rgba(255,255,255,0.35); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 44px;
}
.sec-right p { color: rgba(255,255,255,0.45); font-size: 14px; }

/* === 精选推荐 (浅蓝 + 文章卡) === */
.sec-featured { background: var(--cyan); padding: 70px 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-md); transition: var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb { position: relative; overflow: hidden; }
.post-thumb a { display: block; height: 100%; }
.thumb-banner {
    position: absolute; left: 6%; right: 6%; top: 26%;
    background: rgba(214,48,74,0.78); color: #fff;
    font-size: 13px; line-height: 1.7; padding: 8px 12px; text-align: center;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-body { padding: 20px 22px; }
.post-body h3 {
    font-size: 17px; line-height: 1.5; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--orange); }
.post-excerpt {
    color: var(--gray); font-size: 13.5px; line-height: 1.8; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-foot { display: flex; justify-content: space-between; align-items: center; }
.post-date { color: var(--muted); font-size: 13px; }
.btn-readmore {
    border: 1px solid var(--orange); color: var(--orange);
    padding: 6px 16px; border-radius: 6px; font-size: 13px;
}
.btn-readmore:hover { background: var(--orange); color: #fff; }

/* === 口碑区 (粉橙) === */
.sec-reviews { background: linear-gradient(120deg, #fce7d5 0%, #fadadd 100%); padding: 80px 0; }
.review-grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.review-grid .review-card { flex: 1 1 300px; max-width: 400px; }
.review-card { background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 8px 24px rgba(31,41,55,0.08); }
.review-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; position: relative; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-head h4 { font-size: 16px; color: #2b2b2b; margin-bottom: 4px; font-weight: 700; }
.stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.review-card > p { color: var(--gray); font-size: 14px; line-height: 1.9; }

/* === CTA (绿黄渐变) === */
.sec-cta { background: linear-gradient(120deg, #9dc49f 0%, #ecd06f 100%); padding: 70px 0; }
.cta-card {
    background: #fff; border-radius: 16px; max-width: 720px; margin: 0 auto;
    padding: 48px 40px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-card h2 { font-size: 26px; margin-bottom: 16px; }
.cta-card > p { color: var(--gray); font-size: 14px; line-height: 1.9; }
.search-inline { display: flex; gap: 12px; max-width: 520px; margin: 26px auto 0; }
.search-inline input[type="text"] {
    flex: 1; padding: 12px 20px; border: 1px solid var(--line);
    border-radius: 999px; font-size: 14px; outline: none;
}
.search-inline input[type="text"]:focus { border-color: var(--blue); }
.pill-btn-blue {
    background: var(--blue); color: #fff; border: none; border-radius: 999px;
    padding: 12px 26px; font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.pill-btn-blue:hover { transform: scale(1.03); box-shadow: 0 6px 18px rgba(47,107,255,0.35); }
.cta-media { width: 260px; margin: 26px auto; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 26px rgba(31,41,55,0.18); }
.cta-media img { display: block; width: 100%; height: auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.cta-actions .pill-btn-blue, .cta-actions .pill-btn-outline { display: inline-block; line-height: 1.6; }
.pill-btn-outline {
    display: inline-block; padding: 11px 26px; border: 1px solid var(--ink);
    border-radius: 999px; color: var(--ink); background: #fff; font-size: 14px;
}
.pill-btn-outline:hover { background: var(--ink); color: #fff; }

/* === 最新资讯 (常规内容+侧栏) === */
.sec-latest { padding: 60px 0; }
.content-wrapper { display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
.main-content { min-width: 0; }
.sidebar { min-width: 0; }

/* 分类标题条 */
.category-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--navy);
}
.category-header h3 { font-size: 20px; color: var(--ink); position: relative; padding-left: 14px; }
.category-header h3::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 20px; background: linear-gradient(180deg, var(--gold), var(--orange)); border-radius: 2px;
}
.category-header .more-link { font-size: 13px; color: var(--muted); }
.category-header .more-link:hover { color: var(--orange); }
.category-section { margin-bottom: 40px; }

/* 横排文章列表项 */
.article-list-item {
    display: flex; gap: 20px; padding: 20px; background: #fff;
    border-radius: var(--radius); margin-bottom: 16px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: var(--transition);
}
.article-list-item:hover { box-shadow: var(--shadow-md); border-color: rgba(245,166,35,0.4); transform: translateX(4px); }
.article-list-item .item-thumb { flex-shrink: 0; width: 200px; border-radius: 8px; overflow: hidden; position: relative; }
.article-list-item .item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.article-list-item .item-body h4 {
    font-size: 17px; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-list-item .item-body h4 a { color: var(--ink); }
.article-list-item .item-body h4 a:hover { color: var(--orange); }
.article-list-item .item-body .item-desc {
    font-size: 13px; color: var(--gray); margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-list-item .item-body .item-meta { font-size: 12px; color: var(--muted); display: flex; gap: 16px; }

/* 文章网格卡 (相关推荐等) */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.article-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: var(--transition);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(245,166,35,0.4); }
.article-card .card-thumb { position: relative; overflow: hidden; }
.article-card .card-info { padding: 16px 18px; }
.article-card .card-info h4 {
    font-size: 15px; margin-bottom: 10px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card .card-info h4 a { color: var(--ink); }
.article-card .card-info h4 a:hover { color: var(--orange); }
.article-card .card-footer-meta {
    display: flex; justify-content: space-between; font-size: 12px; color: var(--muted);
    padding-top: 10px; border-top: 1px solid var(--line);
}

/* === 侧栏组件 === */
.widget {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); margin-bottom: 24px; overflow: hidden;
}
.widget-title {
    padding: 16px 20px; font-size: 16px; font-weight: 700; color: var(--ink);
    border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(36,64,126,0.03), rgba(245,180,0,0.05));
}
.widget-title::before {
    content: ''; width: 4px; height: 18px;
    background: linear-gradient(180deg, var(--gold), var(--orange)); border-radius: 2px;
}
.widget-body { padding: 16px 20px; }
.widget-body ul li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.widget-body ul li:last-child { border-bottom: none; }
.widget-body ul li a { font-size: 14px; color: var(--ink); display: block; line-height: 1.6; }
.widget-body ul li a:hover { color: var(--orange); padding-left: 4px; }
.widget-body ul li .item-date { font-size: 12px; color: var(--muted); margin-top: 4px; }
.widget-hot-list li { display: flex; align-items: flex-start; gap: 12px; }
.widget-hot-list li .hot-num {
    flex-shrink: 0; width: 22px; height: 22px; line-height: 22px; text-align: center;
    font-size: 12px; font-weight: 700; border-radius: 4px; background: var(--bg); color: var(--muted);
}
.widget-hot-list li:nth-child(1) .hot-num { background: var(--gold); color: #fff; }
.widget-hot-list li:nth-child(2) .hot-num { background: #ff8c00; color: #fff; }
.widget-hot-list li:nth-child(3) .hot-num { background: var(--navy); color: #fff; }
.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tags a {
    display: inline-block; padding: 6px 14px; font-size: 13px; color: var(--gray);
    background: var(--bg); border-radius: 999px; border: 1px solid var(--line);
}
.widget-tags a:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* === 面包屑 === */
.breadcrumb-nav { padding: 16px 0; font-size: 13px; color: var(--muted); }
.breadcrumb-nav a { color: var(--gray); }
.breadcrumb-nav a:hover { color: var(--orange); }

/* === 文章详情 === */
.article-detail {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); padding: 40px;
}
.article-detail .detail-header { margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-detail .detail-header h1 { font-size: 26px; line-height: 1.5; margin-bottom: 16px; }
.article-detail .detail-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--muted); }
.article-detail .detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.article-detail .detail-tags a {
    padding: 4px 12px; font-size: 12px; background: var(--bg);
    border-radius: 999px; color: var(--gray); border: 1px solid var(--line);
}
.article-detail .detail-tags a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.article-detail .detail-body { font-size: 16px; line-height: 2; color: var(--ink); }
.article-detail .detail-body p { margin-bottom: 16px; }
.article-detail .detail-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.article-detail .detail-body h2, .article-detail .detail-body h3 {
    margin: 24px 0 12px; padding-left: 12px; border-left: 4px solid var(--gold);
}
.article-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line);
}
.article-nav .nav-item { padding: 16px 20px; background: var(--bg); border-radius: 8px; }
.article-nav .nav-item:hover { background: rgba(245,180,0,0.08); }
.article-nav .nav-item p { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.article-nav .nav-item a {
    font-size: 14px; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-nav .nav-item a:hover { color: var(--orange); }
.article-nav .nav-item.next { text-align: right; }
.related-section { margin-top: 40px; }
.related-section h3 { font-size: 18px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }

/* === 分页 === */
.pagination-wrap { display: flex; justify-content: center; padding: 30px 0; }
.pagination-wrap ul { display: flex; gap: 6px; }
.pagination-wrap ul li a, .pagination-wrap ul li span {
    display: block; padding: 8px 14px; font-size: 14px; border-radius: 6px;
    border: 1px solid var(--line); color: var(--gray); background: #fff; transition: var(--transition);
}
.pagination-wrap ul li a:hover { border-color: var(--orange); color: var(--orange); }
.pagination-wrap ul li.active a, .pagination-wrap ul li.active span {
    background: linear-gradient(135deg, var(--gold), var(--orange)); border-color: var(--gold); color: #fff;
}

/* === 搜索 === */
.search-section {
    background: #fff; border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line); margin-bottom: 30px;
}
.search-form { display: flex; gap: 12px; max-width: 600px; margin: 0 auto; }
.search-form input[type="text"] {
    flex: 1; padding: 12px 20px; border: 2px solid var(--line);
    border-radius: 999px; font-size: 14px; outline: none;
}
.search-form input[type="text"]:focus { border-color: var(--gold); }
.search-form button, .search-form input[type="submit"] {
    padding: 12px 28px; background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #fff; border: none; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer;
}

/* === 标签页 === */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 0; }
.tags-cloud a {
    display: inline-block; padding: 10px 20px; background: #fff; border: 1px solid var(--line);
    border-radius: 999px; font-size: 14px; color: var(--gray);
}
.tags-cloud a:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); transform: translateY(-2px); }
.tag-detail-header {
    display: flex; align-items: center; gap: 20px; padding: 30px;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); margin-bottom: 24px;
}
.tag-detail-header .tag-icon {
    width: 64px; height: 64px; background: var(--navy); border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--gold);
}
.tag-detail-header .tag-info h2 { font-size: 22px; margin-bottom: 6px; }
.tag-detail-header .tag-info p { font-size: 14px; color: var(--gray); }

/* === 页脚 (深色四栏) === */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 50px 0 40px; }
.footer-col h4 {
    font-size: 16px; color: #fff; margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid var(--gold); display: inline-block;
}
.footer-col p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.6); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-brand .footer-logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-bottom {
    padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center; font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold); }
.footer-friends { padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-friends ul { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
.footer-friends ul li a { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-friends ul li a:hover { color: var(--gold); }

/* === 自定义页 === */
.diy-page { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.diy-page h1 { font-size: 26px; text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }

/* === 工具 === */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* === 响应式 === */
@media (max-width: 992px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid .review-card { max-width: none; }
    .about-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
    .feature-card { grid-template-columns: 1fr; }
    .sec-security .inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .article-list-item .item-thumb { width: 150px; }
}
@media (max-width: 768px) {
    .header-inner { height: 56px; }
    .main-nav {
        display: none; position: absolute; top: 56px; left: 0; right: 0;
        background: var(--navy); padding: 16px; box-shadow: var(--shadow-lg);
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .main-nav ul li a { padding: 12px 16px; border-bottom: none; }
    .main-nav ul li .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.06); }
    .main-nav ul li .dropdown-menu li a { color: rgba(255,255,255,0.75); }
    .mobile-toggle { display: flex; }
    .hero-banner { padding: 50px 0 80px; }
    .hero-title { font-size: 24px; }
    .sec-head h2 { font-size: 24px; }
    .post-grid { grid-template-columns: 1fr; }
    .article-list-item { flex-direction: column; }
    .article-list-item .item-thumb { width: 100%; }
    .footer-main { grid-template-columns: 1fr; gap: 30px; }
    .article-nav { grid-template-columns: 1fr; }
    .article-detail { padding: 24px 16px; }
    .article-detail .detail-header h1 { font-size: 20px; }
    .cta-card { padding: 32px 20px; }
    .search-inline { flex-direction: column; }
    .search-form { flex-direction: column; }
    .about-sub { width: 45%; }
    .feature-card { padding: 28px; gap: 24px; }
}

/* === MIP 本地渲染垫片样式 === */
mip-img { display: block; position: relative; overflow: hidden; }
mip-img img { display: block; width: 100%; height: auto; object-fit: cover; }
#backTop { display: none; position: fixed; right: 18px; bottom: 80px; z-index: 999; width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--navy); color: #fff; font-size: 18px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,0.25); align-items: center; justify-content: center; }
#backTop:hover { background: var(--blue); }
