/* ============================================================
   qiye_theme2 - 单页产品主题样式
   参考 test.html 样式：纯白背景 + 深色导航 + 金色装饰
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #1e293b;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== 顶部导航 ===== */
.header {
    background: #0b1a33;
    color: #fff;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== 顶部主导航（分类入口） ===== */
.top-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
    margin: 0 12px;
    list-style: none;
    padding: 0;
}
.top-nav li {
    margin: 0;
}
.top-nav a,
.top-nav-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.85);
    padding: 9px 18px;
    border-radius: 22px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}
.top-nav a:hover,
.top-nav-link:hover {
    color: #facc15;
    background: rgba(250, 204, 21, 0.1);
}
.top-nav a.active,
.top-nav-link.active,
.top-nav .navbar-selected,
.top-nav .navbar-selected a,
.top-nav li.active a {
    color: #facc15;
    background: rgba(250, 204, 21, 0.15);
}
/* navbar 模块输出 li 带 navbar-item 类，ul/list 默认样式重置 */
.top-nav li.navbar-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 移动端汉堡按钮（默认桌面端隐藏） */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 22px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
}
.menu-toggle:hover {
    background: rgba(250, 204, 21, 0.15);
    border-color: #facc15;
    color: #facc15;
}

/* 移动端分类抽屉 */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    max-width: 80vw;
    height: 100vh;
    background: #fff;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}
.mobile-drawer.open {
    left: 0;
}
.mobile-drawer-header {
    background: #0b1a33;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}
.drawer-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.mobile-drawer-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    flex: 1;
    overflow-y: auto;
}
.mobile-drawer-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    color: #1e293b;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}
.mobile-drawer-list li a:hover {
    background: #f8fafc;
    color: #0b1a33;
}
.mobile-drawer-list .cat-count {
    background: #eef2f6;
    color: #64748b;
    font-size: 12px;
    padding: 1px 10px;
    border-radius: 20px;
}
.mobile-drawer-foot {
    padding: 14px 20px;
    border-top: 1px solid #eef2f6;
}
.drawer-call {
    display: block;
    background: #f59e0b;
    color: #0b1a33;
    text-align: center;
    padding: 12px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
}
.drawer-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.drawer-mask.show {
    opacity: 1;
    pointer-events: auto;
}

.logo {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}
.logo span {
    color: #facc15;
}

.header-phone {
    background: #facc15;
    color: #0b1a33;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.header-phone:hover {
    background: #fde047;
}

/* ===== 首页 Hero ===== */
.page-home .hero {
    text-align: center;
    padding: 56px 0 48px;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 20px;
}
.page-home .hero h1 {
    font-size: 34px;
    font-weight: 800;
    color: #0b1a33;
    letter-spacing: 0.5px;
}
.page-home .hero p {
    color: #475569;
    font-size: 17px;
    margin-top: 14px;
}

/* ===== 双产品卡片网格 ===== */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0 16px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef2f6;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    background: #eef2f6;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.product-image .mock-device {
    width: 70%;
    height: 70%;
    background: linear-gradient(145deg, #1e293b, #334155);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.product-image .mock-device small {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

.product-body {
    padding: 18px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    color: #0b1a33;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.product-title .model {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 12px;
    border-radius: 30px;
}

.product-divider {
    width: 40px;
    height: 3px;
    background: #f59e0b;
    border-radius: 4px;
    margin: 8px 0 12px;
}

/* ===== 完整参数表格 =====
   表格是 6 行 × 2 参数对结构
   - .spec-table 本身是 block（不要用 grid，否则6行会被拆成2列错位）
   - 每个 .spec-row 是 4 列 grid：label1 | value1 | label2 | value2
   - 这样无论标签文字长短，6 行的 4 列都对齐
*/
.spec-table {
    background: #f8fafc;
    padding: 12px 14px;
    border-radius: 10px;
    margin: 2px 0 10px;
    font-size: 12px;
    border: 1px solid #eef2f6;
}
.spec-row {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 4px 12px;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #e9edf2;
}
.spec-row:last-child {
    border-bottom: none;
}
.spec-label {
    color: #64748b;
    white-space: nowrap;
}
.spec-value {
    font-weight: 600;
    color: #0b1a33;
    text-align: left;
}

/* ===== 特点标签 ===== */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 6px 0 14px;
}
.feature-tag {
    background: #eef2ff;
    color: #1e3a5f;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
}

.product-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ===== 合并按钮：获取报价 + 手机号 同一行 ===== */
.btn-primary {
    background: #f59e0b;
    color: #0b1a33;
    padding: 14px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 17px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    width: 100%;
}
.btn-primary:hover {
    background: #facc15;
    transform: translateY(-1px);
}
.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary .btn-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary .btn-phone {
    font-weight: 600;
    font-size: 16px;
    background: rgba(11, 26, 51, 0.10);
    padding: 4px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ===== 三大服务承诺 ===== */
.service-promise {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px 0 16px;
    border-top: 2px solid #eef2f6;
    margin-top: 6px;
}

.service-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    border: 1px solid #eef2f6;
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 30px;
    margin-bottom: 6px;
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    color: #0b1a33;
    margin-bottom: 4px;
}

.service-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

/* ===== 后台版权说明模块（首页底部） ===== */
.site-copyright {
    text-align: center;
    padding: 16px 12px 24px;
    color: #94a3b8;
    font-size: 13px;
    border-top: 1px solid #eef2f6;
    margin-top: 6px;
    line-height: 1.8;
    word-break: break-all;
    overflow-wrap: break-word;
}
.site-copyright a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.site-copyright a:hover {
    color: #f59e0b;
}

/* ===== 回到顶部按钮 ===== */
.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 100px;
    width: 44px;
    height: 44px;
    background: #0b1a33;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #1e3a5f;
}

/* ===== 底部浮动条 ===== */
.floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0b1a33;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
}
.floating-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    flex-wrap: wrap;
}
.floating-bar .contact-info .label {
    opacity: 0.7;
    font-size: 12px;
}
.floating-bar .contact-info .phone {
    font-weight: 700;
    font-size: 18px;
    color: #facc15;
}
.floating-bar .contact-info .wechat {
    background: #22c55e;
    padding: 3px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}
.floating-bar .btn-call {
    background: #facc15;
    color: #0b1a33;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.floating-bar .btn-call:hover {
    background: #fde047;
}

.page-footer-spacer {
    height: 85px;
}

/* ===== 内页（文章详情） ===== */
.page-article {
    padding: 30px 0 20px;
}
.page-article .article-header {
    margin-bottom: 16px;
}
.page-article .article-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #0b1a33;
    /* 防止长字符串/长标题撑开容器 */
    overflow-wrap: break-word;
    word-break: break-all;
}
.page-article .article-header .meta {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 4px;
}
.page-article .article-body {
    background: #ffffff;
    padding: 20px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    font-size: 15px;
    color: #1e293b;
    line-height: 1.8;
    /* 防止长字符串/URL/连续数字英文撑开容器 */
    overflow-wrap: break-word;
    word-break: break-word;
}
.page-article .article-body p,
.page-article .article-body li,
.page-article .article-body td,
.page-article .article-body pre,
.page-article .article-body code {
    /* 子元素也要兜底，避免长内容撑开 */
    overflow-wrap: break-word;
    word-break: break-all;
}
.page-article .article-body p {
    margin-bottom: 14px;
}
.page-article .article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

/* ===== 引流横幅 ===== */
.cta-banner {
    background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
    color: #0b1a33;
    padding: 16px 20px;
    border-radius: 12px;
    margin: 20px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
    font-weight: 700;
    font-size: 16px;
}
.cta-banner .cta-text {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cta-banner .cta-text .emoji-big {
    font-size: 24px;
}
.cta-banner .btn-cta {
    background: #0b1a33;
    color: #fff;
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.cta-banner .btn-cta:hover {
    background: #1e3a5f;
}

/* ============================================================
   ===== 移动端优化 =====
   ============================================================ */
@media (max-width: 640px) {

    .container {
        padding: 0 12px;
    }

    .header {
        padding: 10px 0;
    }
    .header .container {
        flex-direction: row;
        justify-content: space-between;
    }
    .logo {
        font-size: 15px;
    }
    .header-phone {
        font-size: 12px;
        padding: 5px 12px;
    }
    .header-phone .phone-text {
        display: none;
    }

    /* 中等屏：顶部导航挤在一起，缩字号 */
    .top-nav-link {
        font-size: 13px;
        padding: 5px 10px;
    }
}

/* 中等屏以下：顶部导航改成抽屉触发 */
@media (max-width: 900px) {
    .top-nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* 侧边栏：默认折叠，移动端变成右下半悬浮按钮（点开抽屉） */


    .page-home .hero {
        padding: 36px 0 28px;
    }
    .page-home .hero h1 {
        font-size: 26px;
    }
    .page-home .hero p {
        font-size: 15px;
        margin-top: 10px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px 0 12px;
    }

    .product-card {
        border-radius: 14px;
    }

    .product-image {
        height: 200px;
    }
    .product-image .mock-device {
        width: 60%;
        height: 60%;
        font-size: 13px;
    }

    .product-body {
        padding: 14px 14px 16px;
    }

    .product-title {
        font-size: 18px;
    }
    .product-title .model {
        font-size: 12px;
        padding: 2px 10px;
    }

    .product-divider {
        margin: 6px 0 10px;
    }

    .spec-table {
        font-size: 13px;
        padding: 10px 12px;
        border-radius: 10px;
    }
    .spec-row {
        /* 移动端改成上下两个参数对（2列） */
        grid-template-columns: auto 1fr;
        gap: 4px 10px;
        padding: 6px 0;
    }
    .spec-row:last-child {
        border-bottom: none;
    }

    .feature-tags {
        gap: 4px;
        margin: 4px 0 12px;
    }
    .feature-tag {
        font-size: 12px;
        padding: 3px 12px;
    }

    .product-actions {
        gap: 8px;
    }

    .btn-primary {
        padding: 14px 16px;
        font-size: 16px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .btn-primary .btn-phone {
        font-size: 15px;
        padding: 4px 12px;
    }

    .service-promise {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px 0 12px;
    }
    .service-item {
        padding: 16px 14px;
        border-radius: 12px;
    }
    .service-icon {
        font-size: 28px;
    }
    .service-title {
        font-size: 16px;
    }
    .service-desc {
        font-size: 14px;
    }

    .floating-bar {
        padding: 10px 14px;
        flex-direction: row;
        justify-content: space-between;
        gap: 8px;
    }
    .floating-bar .contact-info {
        gap: 8px;
        font-size: 12px;
        flex: 1;
    }
    .floating-bar .contact-info .label {
        display: none;
    }
    .floating-bar .contact-info .phone {
        font-size: 16px;
    }
    .floating-bar .contact-info .wechat {
        font-size: 11px;
        padding: 2px 10px;
    }
    .floating-bar .contact-info .work-time {
        display: none;
    }
    .floating-bar .btn-call {
        padding: 8px 18px;
        font-size: 14px;
    }

    .page-footer-spacer {
        height: 75px;
    }

    .page-article {
        padding: 20px 0 16px;
    }
    .page-article .article-header h1 {
        font-size: 19px;
    }
    .page-article .article-body {
        padding: 16px 14px;
        font-size: 15px;
    }

    .cta-banner {
        padding: 14px 16px;
        font-size: 14px;
        flex-direction: column;
        text-align: center;
    }
    .cta-banner .cta-text {
        justify-content: center;
    }
    .cta-banner .btn-cta {
        font-size: 14px;
        padding: 8px 24px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .logo {
        font-size: 13px;
    }
    .header-phone {
        font-size: 11px;
        padding: 4px 10px;
    }
    .spec-table {
        font-size: 13px;
        padding: 8px 10px;
    }
    .btn-primary {
        font-size: 14px;
        padding: 12px 14px;
    }
    .btn-primary .btn-phone {
        font-size: 13px;
        padding: 3px 10px;
    }
    .floating-bar .contact-info .phone {
        font-size: 14px;
    }
    .floating-bar .btn-call {
        font-size: 13px;
        padding: 6px 14px;
    }
}

/* ============================================================
   ===== 列表页/分类页样式 =====
   ============================================================ */
.page-list {
    padding: 20px 0 24px;
    min-height: 50vh;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    padding: 10px 0;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: #64748b;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: #f59e0b;
}
.breadcrumb .sep {
    color: #cbd5e1;
    font-size: 12px;
}
.breadcrumb .current {
    color: #0b1a33;
    font-weight: 600;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 列表标题 */
.list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 16px;
    border-bottom: 2px solid #eef2f6;
    margin-bottom: 4px;
}
.list-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0b1a33;
}
.list-header .list-count {
    font-size: 13px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 3px 12px;
    border-radius: 20px;
}

/* 文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-item {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 14px;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.article-item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    border-color: #dbeafe;
}

.article-item-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-all;
}
.article-item-title a {
    color: #0b1a33;
    transition: color 0.2s;
}
.article-item-title a:hover {
    color: #f59e0b;
}

.article-item-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.article-item-meta a {
    color: #94a3b8;
    transition: color 0.2s;
}
.article-item-meta a:hover {
    color: #f59e0b;
}

.article-item-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.article-item-read {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #f59e0b;
    transition: gap 0.2s;
}
.article-item-read:hover {
    color: #d97706;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 20px 0 10px;
    flex-wrap: wrap;
}
.page-link,
.page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.page-link {
    border: 1px solid #e2e8f0;
    color: #475569;
    background: #fff;
}
.page-link:hover {
    border-color: #f59e0b;
    color: #f59e0b;
    background: #fffbeb;
}
.page-current {
    background: #0b1a33;
    color: #fff;
    border: 1px solid #0b1a33;
}

/* 空状态 */
.empty-tip {
    text-align: center;
    padding: 60px 20px;
}
.empty-tip .empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.empty-tip p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 20px;
}
.btn-back-home {
    display: inline-block;
    background: #f59e0b;
    color: #0b1a33;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s, transform 0.1s;
}
.btn-back-home:hover {
    background: #facc15;
    transform: translateY(-1px);
}

/* ============================================================
   ===== 文章详情页（补充） =====
   ============================================================ */
.page-article {
    padding: 20px 0 24px;
}

.article-header {
    margin-bottom: 16px;
}
.article-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0b1a33;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-all;
}
.article-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 8px;
    flex-wrap: wrap;
}
.article-meta a {
    color: #94a3b8;
    transition: color 0.2s;
}
.article-meta a:hover {
    color: #f59e0b;
}

/* 上下篇导航 */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0 16px;
}
.article-nav-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    transition: all 0.2s;
}
.article-nav-item:hover {
    background: #fffbeb;
    border-color: #fde047;
    transform: translateY(-1px);
}
.article-nav-item.disabled {
    opacity: 0.5;
    cursor: default;
}
.article-nav-item.disabled:hover {
    background: #f8fafc;
    border-color: #eef2f6;
    transform: none;
}
.article-nav-prev .nav-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}
.article-nav-next .nav-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    text-align: right;
}
.article-nav-next {
    text-align: right;
}
.article-nav-item .nav-title {
    font-size: 14px;
    font-weight: 600;
    color: #0b1a33;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.article-nav-item:hover .nav-title {
    color: #f59e0b;
}

/* 返回首页提示 */
.article-back-tip {
    margin-top: 8px;
    padding: 14px 16px;
    background: #f1f5f9;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    border-left: 4px solid #f59e0b;
    color: #475569;
}
.article-back-tip a {
    font-weight: 700;
    color: #0b1a33;
    text-decoration: underline;
}
.article-back-tip a:hover {
    color: #f59e0b;
}

/* ============================================================
   ===== 404 页面 =====
   ============================================================ */
.page-404 {
    padding: 40px 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}
.not-found {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}
.not-found-code {
    font-size: 80px;
    font-weight: 900;
    color: #0b1a33;
    line-height: 1;
    margin-bottom: 8px;
}
.not-found-text {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}
.not-found-desc {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 28px;
}
.not-found-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-call-404 {
    display: inline-block;
    background: #0b1a33;
    color: #fff;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s, transform 0.1s;
}
.btn-call-404:hover {
    background: #1e3a5f;
    transform: translateY(-1px);
}

/* ============================================================
   ===== 列表页/文章页/404 移动端适配 =====
   ============================================================ */
@media (max-width: 640px) {
    .page-list {
        padding: 14px 0 20px;
    }
    .list-header h1 {
        font-size: 20px;
    }
    .list-header .list-count {
        font-size: 12px;
    }
    .article-item {
        padding: 16px 14px;
        border-radius: 12px;
    }
    .article-item-title {
        font-size: 16px;
    }
    .article-item-meta {
        gap: 10px;
        font-size: 11px;
    }
    .article-item-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-article {
        padding: 14px 0 20px;
    }
    .article-header h1 {
        font-size: 19px;
    }
    .article-meta {
        gap: 10px;
        font-size: 12px;
    }

    .article-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .article-nav-next {
        text-align: left;
    }
    .article-nav-next .nav-label {
        text-align: left;
    }

    .not-found-code {
        font-size: 60px;
    }
    .not-found-text {
        font-size: 18px;
    }
}
