/*
Theme Name: 御金国际
Theme URI: https://www.lingfenghq.com
Author: 御金国际团队
Author URI: https://www.lingfenghq.com
Description: 全球合规贵金属交易平台，香港金银业贸易场AA类91号行员。
Version: 1.0.0
License: GPL v2 or later
Text Domain: lingfeng
*/

/* ============================================================
   第一部分：全局样式（所有页面共用）
   ============================================================ */

/* ----- 全局重置 & 基础 ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    background: #ffffff;
}
html {
    scroll-behavior: smooth;
}

/* ----- CSS 变量 ----- */
:root {
    --main-blue: #0170c1;
    --main-red: #ed4454;
    --blue-light: rgba(1, 112, 193, 0.1);
    --blue-mid: rgba(1, 112, 193, 0.25);
    --red-light: rgba(237, 68, 84, 0.1);
    --red-mid: rgba(237, 68, 84, 0.25);
    --bg-mask: rgba(1, 112, 193, 0.7);
}

/* ----- 容器 ----- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
@media (max-width: 1280px) {
    .container {
        padding: 0 20px;
    }
}

/* ----- 动画 ----- */
@keyframes floatAnim {
    0%,100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.01); }
}
@keyframes glowPulse {
    0%,100% { box-shadow: 0 0 12px var(--blue-mid); }
    50% { box-shadow: 0 0 22px var(--blue-mid); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
    animation: fadeUp 0.7s ease-out forwards;
}
.animate-float {
    animation: floatAnim 4s ease-in-out infinite;
}
.animate-glow {
    animation: glowPulse 3s ease-in-out infinite;
}

/* ----- 玻璃效果 ----- */
.glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.glass-dark {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 15px rgba(1, 112, 193, 0.2);
}

/* ----- 按钮 ----- */
.btn-blue {
    background: #2e74e9;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--blue-mid);
    border: none;
    cursor: pointer;
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}
.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--blue-mid);
}
.btn-red {
    background: #e9302e;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--red-mid);
    border: none;
    cursor: pointer;
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}
.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--red-mid);
}

/* ----- 卡片悬停 ----- */
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(1, 112, 193, 0.15);
}

/* ----- 导航链接下划线 ----- */
.nav-item {
    position: relative;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}
.nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--main-blue);
    transition: width 0.3s ease;
}
.nav-item:hover::after {
    width: 100%;
}

/* ----- FAQ 手风琴 ----- */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}
.faq-item.active .faq-content {
    max-height: 260px;
    padding-top: 12px;
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* ----- 二维码悬停 ----- */
.qrcode-wrap {
    position: relative;
    display: inline-block;
}
.qrcode-box {
    position: absolute;
    left: 50%;
    bottom: 140%;
    transform: translateX(-50%);
    width: 130px;
    height: 130px;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 99;
}
.qrcode-box::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}
.qrcode-wrap:hover .qrcode-box {
    opacity: 1;
    visibility: visible;
    bottom: 125%;
}

/* ----- 滚动条 ----- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #021a33; }
::-webkit-scrollbar-thumb { background: var(--main-blue); border-radius: 3px; }

/* ----- 区块通用 ----- */
.section-full-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* ----- Banner ----- */
.banner-wrap {
    position: relative;
    background:  url('/img/banner.jpg') center center / cover no-repeat;
    background-blend-mode: overlay;
}
.banner-mask {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(99deg, #67676761, #00246900);*/
}

/* ----- 交易平台背景 ----- */
.platform-wrap {
    position: relative;
    background: url('/img/586.jpg') center center / cover fixed;
}
.platform-mask {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 10, 30, 0.85);
}

.advantage-bg-wrap {
    position: relative;
    /* 替换为你的贵金属/金融背景图片地址 */
    background-image: url("/img/aboutusbg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}
/* ----- 移动端菜单 ----- */
.mobile-menu {
    transition: all 0.3s ease;
}

/* ----- 颜色工具类 ----- */
.text-primary-blue { color: #0170c1; }
.text-primary-red { color: #ed4454; }
.bg-primary-blue { background-color: #0170c1; }
.bg-primary-red { background-color: #ed4454; }

/* ----- 面包屑 ----- */
.breadcrumb {
    background-color: #f1f5f9;
    padding: 12px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}
.breadcrumb a {
    color: var(--main-blue);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb span {
    color: #475569;
    margin: 0 8px;
}
.breadcrumb .current {
    color: #1e293b;
    font-weight: 500;
}


/* ============================================================
   第二部分：栏目页（category.php）特有样式
、
/* 长文本自动换行规则（面包屑+文章标题通用） */
.category-header p,
.single-article .article-title {
    overflow-wrap: break-word;
    word-break: break-all;
}
.single-article {
    overflow-x: hidden;
}

/* ============================================================ */
/* ----- 分类标题区 ----- */
.category-header {
    background: linear-gradient(135deg, #0170c1, #0286e0);
    padding: 40px 0 30px;
    margin-bottom: 40px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
}
.category-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.category-header p {
    opacity: 0.85;
    font-size: 1rem;
}

/* ----- 文章列表卡片 ----- */
.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(1, 112, 193, 0.12);
}
.post-card .post-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}
.post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.post-card:hover .post-thumbnail img {
    transform: scale(1.03);
}
.post-card .post-content {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-card .post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 10px;
}
.post-card .post-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.post-card .post-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}
.post-card .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.post-card .post-title a:hover {
    color: #0170c1;
}
.post-card .post-excerpt {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 14px;
}
.post-card .post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.post-card .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.post-card .post-tags a {
    background: #f1f5f9;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}
.post-card .post-tags a:hover {
    background: #0170c1;
    color: #fff;
}
.post-card .read-more {
    color: #0170c1;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.post-card .read-more:hover {
    gap: 8px;
    color: #0286e0;
}

/* ----- 分页导航 ----- */
.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9rem;
}
.pagination-wrap .page-numbers:hover {
    background: #f1f5f9;
}
.pagination-wrap .page-numbers.current {
    background: #0170c1;
    border-color: #0170c1;
    color: #fff;
}
.pagination-wrap .page-numbers.prev,
.pagination-wrap .page-numbers.next {
    padding: 0 16px;
}

/* ----- 侧边栏（栏目页与详情页共用） ----- */
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}
.sidebar-widget .widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}
.sidebar-widget .widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 40px;
    height: 2px;
    background: #0170c1;
}
.sidebar-widget ul {
    list-style: none;
    padding: 0;
}
.sidebar-widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f8fafc;
}
.sidebar-widget ul li:last-child {
    border-bottom: none;
}
.sidebar-widget ul li a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}
.sidebar-widget ul li a:hover {
    color: #0170c1;
}
.sidebar-widget .tag-cloud a {
    display: inline-block;
    background: #f1f5f9;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #475569;
    text-decoration: none;
    margin: 3px 4px 3px 0;
    transition: all 0.2s;
}
.sidebar-widget .tag-cloud a:hover {
    background: #0170c1;
    color: #fff;
}

/* 侧边栏搜索表单 */
.sidebar-widget .search-form {
    display: flex;
    gap: 8px;
}
.sidebar-widget .search-form input[type="search"] {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
}
.sidebar-widget .search-form input[type="search"]:focus {
    outline: none;
    border-color: #0170c1;
}
.sidebar-widget .search-form button {
    background: #0170c1;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.sidebar-widget .search-form button:hover {
    background: #0286e0;
}


/* ============================================================
   第三部分：文章详情页（single.php）特有样式
   ============================================================ */

/* ----- 文章主体 ----- */
.single-article {
    background: #fff;
    border-radius: 12px;
    padding: 40px 48px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.single-article .article-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}
.single-article .article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 14px;
}
.single-article .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    font-size: 0.9rem;
    color: #94a3b8;
}
.single-article .article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.single-article .article-meta a {
    color: #0170c1;
    text-decoration: none;
}
.single-article .article-meta a:hover {
    text-decoration: underline;
}
.single-article .article-featured-image {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
}
.single-article .article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.single-article .article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1e293b;
}
.single-article .article-content p {
    margin-bottom: 18px;
}
.single-article .article-content h2,
.single-article .article-content h3 {
    margin-top: 32px;
    margin-bottom: 14px;
    color: #0f172a;
}
.single-article .article-content h2 {
    font-size: 1.5rem;
}
.single-article .article-content h3 {
    font-size: 1.25rem;
}
.single-article .article-content ul,
.single-article .article-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}
.single-article .article-content ul li,
.single-article .article-content ol li {
    margin-bottom: 6px;
}
.single-article .article-content blockquote {
    border-left: 4px solid #0170c1;
    padding: 12px 20px;
    margin: 20px 0;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    color: #475569;
}
.single-article .article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}
.single-article .article-tags {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.single-article .article-tags .tag-label {
    font-weight: 600;
    color: #0f172a;
    margin-right: 4px;
}
.single-article .article-tags a {
    background: #f1f5f9;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}
.single-article .article-tags a:hover {
    background: #0170c1;
    color: #fff;
}

/* ----- 文章导航（上一篇/下一篇） ----- */
.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}
.article-navigation .nav-link {
    display: flex;
    flex-direction: column;
    max-width: 45%;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}
.article-navigation .nav-link:hover {
    color: #0170c1;
}
.article-navigation .nav-link .nav-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 4px;
}
.article-navigation .nav-link .nav-title {
    font-weight: 500;
    font-size: 0.95rem;
}
.article-navigation .nav-link.next {
    text-align: right;
}

/* ----- 猜你喜欢 ----- */
.related-posts {
    margin-top: 40px;
}
.related-posts .related-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}
.related-posts .related-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: #0170c1;
}
.related-posts .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.related-posts .related-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.related-posts .related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(1, 112, 193, 0.10);
}
.related-posts .related-item .related-thumb {
    height: 140px;
    overflow: hidden;
    background: #f1f5f9;
}
.related-posts .related-item .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-posts .related-item .related-info {
    padding: 12px 16px 16px;
}
.related-posts .related-item .related-info h4 {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}
.related-posts .related-item .related-info h4 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}
.related-posts .related-item .related-info h4 a:hover {
    color: #0170c1;
}
.related-posts .related-item .related-info .related-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 6px;
}

/* ----- 评论区域 ----- */
.comments-area {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #f1f5f9;
}
.comments-area .comments-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}
.comments-area .comment-list {
    list-style: none;
    padding: 0;
}
.comments-area .comment-list .comment {
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 12px;
}
.comments-area .comment-list .comment .comment-author {
    font-weight: 600;
    color: #0f172a;
}
.comments-area .comment-list .comment .comment-meta {
    font-size: 0.8rem;
    color: #94a3b8;
}
.comments-area .comment-list .comment .comment-content {
    margin-top: 6px;
    color: #475569;
}
.comments-area .comment-respond {
    margin-top: 24px;
}
.comments-area .comment-respond .comment-form input,
.comments-area .comment-respond .comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.comments-area .comment-respond .comment-form input:focus,
.comments-area .comment-respond .comment-form textarea:focus {
    outline: none;
    border-color: #0170c1;
}
.comments-area .comment-respond .comment-form textarea {
    min-height: 120px;
}
.comments-area .comment-respond .submit {
    background: #0170c1;
    color: #fff;
    padding: 10px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.comments-area .comment-respond .submit:hover {
    background: #0286e0;
}


/* ============================================================
   第四部分：响应式（所有页面统一，优化完善版）
   ============================================================ */
/* 平板及以上：栏目卡片左右横排 */
@media (min-width: 768px) {
    .post-card {
        flex-direction: row;
    }
    .post-card .post-thumbnail {
        width: 280px;
        height: 200px;
        flex-shrink: 0;
    }
    .post-card .post-content {
        padding: 20px 24px;
    }
}

/* 767px 手机/小平板 栏目页适配 */
@media (max-width: 767px) {
    .post-card .post-thumbnail {
        height: 180px;
    }
    .category-header {
        padding: 30px 16px;
        margin-bottom: 24px;
    }
    .category-header h1 {
        font-size: 1.5rem;
    }
    .category-header p {
        font-size: 0.9rem;
    }
    .sidebar-widget {
        padding: 16px 18px;
        margin-bottom: 16px;
    }
    /* 分页缩小适配 */
    .pagination-wrap {
        gap: 6px;
        margin-top: 24px;
        padding-top: 16px;
    }
    .pagination-wrap .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 0.82rem;
    }
    .pagination-wrap .page-numbers.prev,
    .pagination-wrap .page-numbers.next {
        padding: 0 10px;
    }
    /* 列表卡片内容紧凑化 */
    .post-card .post-content {
        padding: 16px 18px 18px;
    }
    .post-card .post-title {
        font-size: 1.1rem;
    }
    .post-card .post-meta {
        flex-wrap: wrap;
        gap: 8px 12px;
    }
    /* 卡片底部标签自适应换行 */
    .post-card .post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* 992px 中等屏幕 详情页适配 */
@media (max-width: 992px) {
    .single-article {
        padding: 30px 28px;
    }
    .single-article .article-title {
        font-size: 1.6rem;
    }
}

/* 768px 移动端核心修复（解决文字溢出） */
@media (max-width: 768px) {
    .single-article {
        padding: 16px 14px !important;
    }
    .single-article .article-title {
        font-size: 1.2rem !important;
        line-height: 1.4;
    }
    /* meta标签自动换行，杜绝横向溢出 */
    .single-article .article-meta {
        flex-wrap: wrap !important;
        row-gap: 8px;
        font-size: 0.8rem;
        gap: 10px;
    }
    /* 上下篇导航垂直排列 */
    .article-navigation {
        flex-direction: column;
        gap: 12px;
    }
    .article-navigation .nav-link {
        max-width: 100%;
    }
    .article-navigation .nav-link.next {
        text-align: left;
    }
    /* 相关文章双列布局 */
    .related-posts .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    /* 评论提交按钮铺满宽度，方便点击 */
    .comments-area .comment-respond .submit {
        width: 100%;
        padding: 10px 0;
    }
}

/* 480px 超小屏手机极致适配 */
@media (max-width: 480px) {
    /* 相关文章单列展示 */
    .related-posts .related-grid {
        grid-template-columns: 1fr;
    }
    /* 正文缩小字号适配窄屏 */
    .single-article .article-content {
        font-size: 0.98rem;
    }
    /* 侧边栏搜索框垂直堆叠，防止挤压 */
    .sidebar-widget .search-form {
        flex-direction: column;
    }
    /* 文章头部压缩间距 */
    .single-article .article-header {
        margin-bottom: 20px;
        padding-bottom: 16px;
    }
    /* 评论内边距缩小 */
    .comments-area .comment-list .comment {
        padding: 14px 16px;
    }
    /* 分类头部进一步压缩 */
    .category-header {
        padding: 24px 12px;
    }
}
/* ============================================================
   第五部分：FAQ 页面（page-faq.php）特有样式
   ============================================================ */

/* ----- FAQ 页面头部 ----- */
.faq-page-header {
    background: linear-gradient(135deg, #0170c1, #0286e0);
    padding: 60px 0 50px;
    text-align: center;
    color: #fff;
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.faq-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}
.faq-page-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}
.faq-page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.faq-page-header p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.faq-page-header .faq-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

/* ----- FAQ 分类标签导航 ----- */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.faq-tabs .tab-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.faq-tabs .tab-btn:hover {
    border-color: #0170c1;
    color: #0170c1;
}
.faq-tabs .tab-btn.active {
    background: #0170c1;
    border-color: #0170c1;
    color: #fff;
}

/* ----- FAQ 列表（手风琴增强版） ----- */
.faq-group {
    display: none;
    animation: fadeUp 0.5s ease-out forwards;
}
.faq-group.active {
    display: block;
}

.faq-item-enhanced {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    overflow: hidden;
}
.faq-item-enhanced:hover {
    box-shadow: 0 6px 20px rgba(1, 112, 193, 0.10);
}
.faq-item-enhanced .faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    user-select: none;
}
.faq-item-enhanced .faq-question:hover {
    background: #f8fafc;
}
.faq-item-enhanced .faq-question .q-label {
    display: inline-block;
    background: #0170c1;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    margin-right: 14px;
    flex-shrink: 0;
}
.faq-item-enhanced .faq-question h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    flex: 1;
}
.faq-item-enhanced .faq-question .faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item-enhanced .faq-question .faq-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    color: #0170c1;
}
.faq-item-enhanced.active .faq-question .faq-toggle {
    background: #0170c1;
}
.faq-item-enhanced.active .faq-question .faq-toggle svg {
    transform: rotate(180deg);
    color: #fff;
}
.faq-item-enhanced .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
}
.faq-item-enhanced.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}
.faq-item-enhanced .faq-answer p {
    color: #475569;
    line-height: 1.8;
    font-size: 0.98rem;
}
.faq-item-enhanced .faq-answer ul {
    padding-left: 20px;
    margin: 10px 0;
    color: #475569;
}
.faq-item-enhanced .faq-answer ul li {
    margin-bottom: 6px;
    list-style: disc;
}

/* ----- FAQ 底部联系区 ----- */
.faq-contact-box {
    background: linear-gradient(135deg, #f1f5f9, #e8f1fc);
    border-radius: 16px;
    padding: 40px 48px;
    text-align: center;
    margin-top: 48px;
}
.faq-contact-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.faq-contact-box p {
    color: #475569;
    margin-bottom: 20px;
}
.faq-contact-box .contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.faq-contact-box .contact-buttons .btn-outline-blue {
    background: transparent;
    border: 2px solid #0170c1;
    color: #0170c1;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.faq-contact-box .contact-buttons .btn-outline-blue:hover {
    background: #0170c1;
    color: #fff;
}


/* ============================================================
   第六部分：关于我们页面（page-about.php）特有样式
   ============================================================ */

/* ----- 关于我们页面头部 ----- */
.about-hero {
    background: linear-gradient(135deg, #0b2b40, #071a2b);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}
.about-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(1, 112, 193, 0.15);
    border-radius: 50%;
}
.about-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(237, 68, 84, 0.08);
    border-radius: 50%;
}
.about-hero .container {
    position: relative;
    z-index: 1;
}
.about-hero .about-badge {
    display: inline-block;
    background: rgba(1, 112, 193, 0.3);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #93c5fd;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.about-hero h1 span {
    color: #60a5fa;
}
.about-hero p {
    font-size: 1.15rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ----- 关于我们 - 核心数据统计 ----- */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: -40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}
.about-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}
.about-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(1, 112, 193, 0.12);
}
.about-stat-card .stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0170c1;
    line-height: 1.2;
}
.about-stat-card .stat-number .plus {
    font-size: 1.8rem;
    color: #0170c1;
}
.about-stat-card .stat-label {
    color: #475569;
    font-size: 0.95rem;
    margin-top: 6px;
    font-weight: 500;
}
.about-stat-card .stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

/* ----- 关于我们 - 内容区 ----- */
.about-content-section {
    padding: 40px 0 60px;
}
.about-content-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.about-content-section .section-subtitle {
    color: #475569;
    font-size: 1.05rem;
    max-width: 700px;
    margin-bottom: 32px;
}
.about-content-section .about-text {
    color: #334155;
    line-height: 1.9;
    font-size: 1.02rem;
}
.about-content-section .about-text p {
    margin-bottom: 18px;
}

/* ----- 关于我们 - 特色卡片网格 ----- */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 40px 0;
}
.about-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}
.about-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0170c1, #0286e0);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.about-feature-card:hover::before {
    opacity: 1;
}
.about-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(1, 112, 193, 0.10);
}
.about-feature-card .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #e8f1fc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.about-feature-card .feature-icon.blue {
    background: #e8f1fc;
}
.about-feature-card .feature-icon.red {
    background: #fde8e9;
}
.about-feature-card .feature-icon.gold {
    background: #fef3d7;
}
.about-feature-card .feature-icon.green {
    background: #dff0e6;
}
.about-feature-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}
.about-feature-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ----- 关于我们 - 监管资质展示 ----- */
.about-license {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px 48px;
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}
.about-license .license-icon {
    font-size: 3rem;
    flex-shrink: 0;
}
.about-license .license-content {
    flex: 1;
}
.about-license .license-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.about-license .license-content p {
    color: #475569;
    font-size: 0.95rem;
}
.about-license .license-badge {
    background: #0170c1;
    color: #fff;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ----- 关于我们 - 团队/价值观 ----- */
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.about-value-item {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}
.about-value-item:hover {
    border-color: #0170c1;
}
.about-value-item .value-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.about-value-item h5 {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
}
.about-value-item p {
    color: #475569;
    font-size: 0.85rem;
}

/* ----- 关于我们 - CTA底部 ----- */
.about-cta {
    background: linear-gradient(135deg, #0170c1, #0286e0);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    color: #fff;
    margin-top: 40px;
}
.about-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.about-cta p {
    opacity: 0.85;
    margin-bottom: 24px;
    font-size: 1.05rem;
}
.about-cta .btn-white {
    background: #fff;
    color: #0170c1;
    padding: 12px 36px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.about-cta .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


/* ============================================================
   第七部分：响应式（FAQ 和 关于我们）
   ============================================================ */

@media (max-width: 768px) {
    /* FAQ */
    .faq-page-header {
        padding: 40px 20px 30px;
    }
    .faq-page-header h1 {
        font-size: 2rem;
    }
    .faq-page-header p {
        font-size: 1rem;
    }
    .faq-item-enhanced .faq-question {
        padding: 16px 18px;
    }
    .faq-item-enhanced .faq-question h4 {
        font-size: 0.95rem;
    }
    .faq-item-enhanced .faq-question .q-label {
        font-size: 0.6rem;
        padding: 1px 8px;
        margin-right: 8px;
    }
    .faq-contact-box {
        padding: 28px 20px;
    }
    .faq-tabs .tab-btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    /* 关于我们 */
    .about-hero {
        padding: 50px 0 40px;
    }
    .about-hero h1 {
        font-size: 2.2rem;
    }
    .about-hero p {
        font-size: 1rem;
    }
    .about-stats-grid {
        margin-top: -20px;
        gap: 12px;
    }
    .about-stat-card .stat-number {
        font-size: 2rem;
    }
    .about-content-section .section-title {
        font-size: 1.6rem;
    }
    .about-license {
        padding: 24px 20px;
        flex-direction: column;
        text-align: center;
    }
    .about-cta {
        padding: 32px 20px;
    }
    .about-cta h3 {
        font-size: 1.4rem;
    }
    .about-features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   第八部分：栏目页（category.php）增强样式
   ============================================================ */

/* ----- 栏目页头部 - 更精致 ----- */
.category-header {
    background: linear-gradient(135deg, #0170c1 0%, #0286e0 50%, #0a4b8a 100%);
    padding: 50px 0 40px;
    margin-bottom: 48px;
    border-radius: 16px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(1, 112, 193, 0.25);
}
.category-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}
.category-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}
.category-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}
.category-header .category-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.category-header p {
    opacity: 0.9;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.category-header .breadcrumb-inner {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 4px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}
.category-header .breadcrumb-inner a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
.category-header .breadcrumb-inner a:hover {
    color: #fff;
}
.category-header .breadcrumb-inner span {
    margin: 0 8px;
    opacity: 0.5;
}

/* ----- 文章列表卡片 - 更现代 ----- */
.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}
.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(1, 112, 193, 0.12);
    border-color: rgba(1, 112, 193, 0.10);
}
.post-card .post-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    position: relative;
}
.post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}
.post-card .post-thumbnail .post-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255,255,255,0.15);
}
.post-card .post-content {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.post-card .post-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 12px;
}
.post-card .post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.post-card .post-meta .author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #475569;
}
.post-card .post-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}
.post-card .post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    background: linear-gradient(to right, #0170c1, #0170c1);
    background-size: 0 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
}
.post-card .post-title a:hover {
    color: #0170c1;
    background-size: 100% 2px;
}
.post-card .post-excerpt {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 18px;
}
.post-card .post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}
.post-card .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.post-card .post-tags a {
    background: #f1f5f9;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.post-card .post-tags a:hover {
    background: #0170c1;
    color: #fff;
    border-color: #0170c1;
    transform: translateY(-1px);
}
.post-card .read-more {
    color: #0170c1;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(1, 112, 193, 0.06);
}
.post-card .read-more:hover {
    gap: 12px;
    background: #0170c1;
    color: #fff;
}

/* ----- 分页导航美化 ----- */
.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}
.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}
.pagination-wrap .page-numbers:hover {
    background: #f1f5f9;
    border-color: #0170c1;
    transform: translateY(-2px);
}
.pagination-wrap .page-numbers.current {
    background: #0170c1;
    border-color: #0170c1;
    color: #fff;
    box-shadow: 0 4px 12px rgba(1, 112, 193, 0.3);
}
.pagination-wrap .page-numbers.prev,
.pagination-wrap .page-numbers.next {
    padding: 0 20px;
    font-weight: 600;
}
.pagination-wrap .page-numbers.dots {
    border: none;
    background: transparent;
}

/* ============================================================
   第九部分：文章详情页（single.php）增强样式
   ============================================================ */

/* ----- 文章主体 - 更精致 ----- */
.single-article {
    background: #fff;
    border-radius: 20px;
    padding: 48px 52px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    position: relative;
}
.single-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0170c1, #ed4454, #0170c1);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    border-radius: 20px 20px 0 0;
}
@keyframes gradientMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.single-article .article-header {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 2px solid #f1f5f9;
}
.single-article .article-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.single-article .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    font-size: 0.9rem;
    color: #94a3b8;
}
.single-article .article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.single-article .article-meta .author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.single-article .article-meta .author-avatar-lg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #475569;
}
.single-article .article-meta .author-name {
    font-weight: 600;
    color: #0f172a;
}
.single-article .article-meta .meta-divider {
    color: #e2e8f0;
}
.single-article .article-featured-image {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.single-article .article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.single-article .article-content {
    font-size: 1.06rem;
    line-height: 1.9;
    color: #1e293b;
}
.single-article .article-content p {
    margin-bottom: 20px;
}
.single-article .article-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: #0f172a;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}
.single-article .article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 28px 0 12px;
    color: #0f172a;
}
.single-article .article-content ul,
.single-article .article-content ol {
    margin-bottom: 20px;
    padding-left: 28px;
}
.single-article .article-content ul li,
.single-article .article-content ol li {
    margin-bottom: 8px;
}
.single-article .article-content blockquote {
    border-left: 4px solid #0170c1;
    padding: 16px 24px;
    margin: 24px 0;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    color: #334155;
    font-style: italic;
    font-size: 1.05rem;
}
.single-article .article-content blockquote p:last-child {
    margin-bottom: 0;
}
.single-article .article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.single-article .article-tags {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 2px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.single-article .article-tags .tag-label {
    font-weight: 700;
    color: #0f172a;
    margin-right: 4px;
    font-size: 0.95rem;
}
.single-article .article-tags a {
    background: #f1f5f9;
    padding: 5px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.single-article .article-tags a:hover {
    background: #0170c1;
    color: #fff;
    border-color: #0170c1;
    transform: translateY(-2px);
}

/* ----- 作者信息卡片 ----- */
.author-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 28px 32px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.author-box:hover {
    border-color: #0170c1;
    box-shadow: 0 4px 16px rgba(1, 112, 193, 0.06);
}
.author-box .author-avatar-xl {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #475569;
    flex-shrink: 0;
}
.author-box .author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.author-box .author-info p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}
.author-box .author-info .author-meta {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #94a3b8;
}
.author-box .author-info .author-meta a {
    color: #0170c1;
    text-decoration: none;
}

/* ----- 文章导航 ----- */
.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 2px solid #f1f5f9;
}
.article-navigation .nav-link {
    display: flex;
    flex-direction: column;
    max-width: 46%;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s;
    padding: 12px 20px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid transparent;
}
.article-navigation .nav-link:hover {
    color: #0170c1;
    border-color: #0170c1;
    background: #fff;
    transform: translateY(-2px);
}
.article-navigation .nav-link .nav-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 4px;
    font-weight: 500;
}
.article-navigation .nav-link .nav-title {
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.4;
}
.article-navigation .nav-link.next {
    text-align: right;
}

/* ----- 猜你喜欢 - 更精美 ----- */
.related-posts {
    margin-top: 48px;
}
.related-posts .related-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}
.related-posts .related-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0170c1, #0286e0);
    border-radius: 4px;
}
.related-posts .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}
.related-posts .related-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0,0,0,0.03);
}
.related-posts .related-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(1, 112, 193, 0.10);
    border-color: rgba(1, 112, 193, 0.10);
}
.related-posts .related-item .related-thumb {
    height: 150px;
    overflow: hidden;
    background: #f1f5f9;
}
.related-posts .related-item .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.related-posts .related-item:hover .related-thumb img {
    transform: scale(1.04);
}
.related-posts .related-item .related-info {
    padding: 14px 18px 18px;
}
.related-posts .related-item .related-info h4 {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.4;
}
.related-posts .related-item .related-info h4 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}
.related-posts .related-item .related-info h4 a:hover {
    color: #0170c1;
}
.related-posts .related-item .related-info .related-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 6px;
}

/* ----- 评论区域美化 ----- */
.comments-area {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #f1f5f9;
}
.comments-area .comments-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}
.comments-area .comment-list .comment {
    padding: 18px 24px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid #f1f5f9;
    transition: border-color 0.2s;
}
.comments-area .comment-list .comment:hover {
    border-color: #0170c1;
}
.comments-area .comment-list .comment .comment-author {
    font-weight: 700;
    color: #0f172a;
}
.comments-area .comment-list .comment .comment-meta {
    font-size: 0.8rem;
    color: #94a3b8;
}
.comments-area .comment-list .comment .comment-content {
    margin-top: 6px;
    color: #475569;
    line-height: 1.7;
}
.comments-area .comment-respond {
    margin-top: 28px;
}
.comments-area .comment-respond .comment-form input,
.comments-area .comment-respond .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.comments-area .comment-respond .comment-form input:focus,
.comments-area .comment-respond .comment-form textarea:focus {
    outline: none;
    border-color: #0170c1;
    box-shadow: 0 0 0 3px rgba(1, 112, 193, 0.10);
}
.comments-area .comment-respond .comment-form textarea {
    min-height: 130px;
}
.comments-area .comment-respond .submit {
    background: #0170c1;
    color: #fff;
    padding: 12px 32px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}
.comments-area .comment-respond .submit:hover {
    background: #0286e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(1, 112, 193, 0.3);
}

/* ============================================================
   第十部分：响应式（增强版）
   ============================================================ */

/* 栏目页响应式 */
@media (min-width: 768px) {
    .post-card {
        flex-direction: row;
    }
    .post-card .post-thumbnail {
        width: 320px;
        height: 220px;
        flex-shrink: 0;
    }
    .post-card .post-content {
        padding: 24px 28px;
    }
}
@media (max-width: 767px) {
    .post-card .post-thumbnail {
        height: 200px;
    }
    .category-header {
        padding: 36px 20px 30px;
    }
    .category-header h1 {
        font-size: 1.8rem;
    }
    .category-header .category-icon {
        font-size: 2.2rem;
    }
    .post-card .post-title {
        font-size: 1.15rem;
    }
    .post-card .post-content {
        padding: 18px 20px 22px;
    }
    .sidebar-widget {
        padding: 16px 18px;
    }
    .pagination-wrap .page-numbers {
        min-width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
}

/* 详情页响应式 */
@media (max-width: 992px) {
    .single-article {
        padding: 32px 28px;
    }
    .single-article .article-title {
        font-size: 1.8rem;
    }
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .author-box .author-info .author-meta {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .single-article {
        padding: 20px 18px;
    }
    .single-article .article-title {
        font-size: 1.5rem;
    }
    .single-article .article-meta {
        font-size: 0.8rem;
        gap: 10px 16px;
    }
    .single-article .article-meta .author-avatar-lg {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .article-navigation {
        flex-direction: column;
        gap: 14px;
    }
    .article-navigation .nav-link {
        max-width: 100%;
        padding: 10px 16px;
    }
    .article-navigation .nav-link.next {
        text-align: left;
    }
    .related-posts .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .author-box .author-avatar-xl {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}
@media (max-width: 480px) {
    .related-posts .related-grid {
        grid-template-columns: 1fr;
    }
    .single-article .article-content {
        font-size: 0.98rem;
    }
    .comments-area .comment-list .comment {
        padding: 14px 16px;
    }
}
/* 默认全部隐藏 */
.pc-bottom-float {
    display: none;
}
/* 仅PC大屏显示 */
@media (min-width: 1024px) {
    .pc-bottom-float {
        display: flex;
        align-items: center;
        justify-content: center; /* 整体按钮组水平居中 */
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        padding: 10px 0;
        /* 截图灰色半透明背景 */
        background: rgba(120,120,120,0.4);
    }

    /* 两个按钮横向并排容器 */
    .float-buttons {
        display: flex;
        gap: 30px;
    }

    /* 按钮外层蓝色圆角容器 */
    .btn-box {
        width: 350px;
        height: 60px;
        background: #4096ff;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 内层白色圆角按钮文字 */
    .btn-box a {
        width: 300px;
        height: 40px;
        background: #ffffff;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #111111;
        font-weight: 500;
        text-decoration: none;
        text-align: center;
    }

    /* hover交互变色 */
    .btn-box:hover {
        background: #2684eb;
        transition: background 0.2s ease;
    }
}

/* 手机、平板完全隐藏 */
@media (max-width: 1023px) {
    .pc-bottom-float {
        display: none !important;
    }
}