/* 基础样式 */
/* 隐藏SEO干扰标签 */
noscripta, tcenter, dfn, is, tyyt, ssmall, sup, 
time, font, ins, sdu, acronym, fss, delx, spanx,
marq, xmp, wbr, basex, datax, noindex, xitem, zx,
hx, qz, kw, xf, jx, rb, rp, divx, xdiv, yx {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    visibility: hidden !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f4f8;
    /* 更改为淡蓝色背景 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background-color: #1a4b8c;
    /* 更改为深蓝色 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

.main-nav a {
    color: #fff;
    /* 白色文字在深色背景上 */
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.current {
    color: #aed9ff;
    /* 更改为淡蓝色高亮 */
}

.main-nav .sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.main-nav li:hover .sub-nav {
    display: block;
}

.main-nav .sub-nav li {
    margin: 0;
}

.main-nav .sub-nav a {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.main-nav .sub-nav a:hover {
    background: #f0f6ff;
    color: #1a4b8c;
    /* 更改为深蓝色 */
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* 主要内容区 */
.main-content {
    margin-top: 80px;
    padding: 30px 0;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.content-main {
    flex: 1;
    min-width: 0;
    /* 防止flex子项目溢出 */
}

/* 顶部特色模块 */
.feature-section {
    margin-bottom: 30px;
    background: url('../img/pattern-bg.png') #e6f3f9;
    /* 更改为淡蓝色背景 */
    border-radius: 8px;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.feature-intro {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.site-title {
    font-size: 28px;
    color: #1a4b8c;
    /* 更改为深蓝色 */
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.site-description {
    color: #306791;
    /* 更改为中蓝色 */
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 800px;
}

.feature-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-btn {
    padding: 10px 20px;
    background: #1a4b8c;
    /* 更改为深蓝色 */
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-btn i {
    margin-right: 8px;
}

.feature-btn:hover {
    background: #2968bd;
    /* 更改为亮蓝色 */
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    border: 1px solid #d0dfe6;
    /* 更改为淡蓝灰色边框 */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(26, 75, 140, 0.2);
    /* 更改阴影颜色为蓝色 */
}

.card-link {
    display: block;
    text-decoration: none;
    color: #333;
}

.card-thumb {
    height: 160px;
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-card:hover .card-thumb img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1a4b8c;
    /* 更改为深蓝色 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-desc {
    font-size: 14px;
    color: #777;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 内容区通用样式 */
.section {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #d0dfe6;
    /* 更改为淡蓝灰色边框 */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a4b8c;
    /* 更改为深蓝色边框 */
}

.section-header h2 {
    font-size: 18px;
    color: #1a4b8c;
    /* 更改为深蓝色标题 */
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 10px;
}

.section-header h2 i {
    margin-right: 8px;
    color: inherit;
    font-size: 16px;
    background: rgba(26, 75, 140, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* 栏目标题差异化 */
.latest-section:nth-child(4n+1) .section-header h2 i {
    background: rgba(26, 75, 140, 0.15);
}

.latest-section:nth-child(4n+2) .section-header h2 i {
    background: rgba(41, 104, 189, 0.15);
}

.latest-section:nth-child(4n+3) .section-header h2 i {
    background: rgba(52, 152, 219, 0.15);
}

.latest-section:nth-child(4n+4) .section-header h2 i {
    background: rgba(93, 173, 226, 0.15);
}

/* 栏目标题增强 */
.latest-section .section-header h2:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #1a4b8c;
}

.latest-section:nth-child(4n+1) .section-header h2:after {
    background: #1a4b8c;
}

.latest-section:nth-child(4n+2) .section-header h2:after {
    background: #2968bd;
}

.latest-section:nth-child(4n+3) .section-header h2:after {
    background: #3498db;
}

.latest-section:nth-child(4n+4) .section-header h2:after {
    background: #5dade2;
}

.section-header .more {
    color: #1a4b8c;
    /* 更改为深蓝色 */
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.section-header .more:hover {
    color: #2968bd;
    /* 更改为亮蓝色 */
}

.section-header .more i {
    margin-left: 5px;
}

/* 热门推荐精选文章 */
.featured-articles {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
    gap: 20px;
}

.featured-item {
    border: 1px solid #f0e8d8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s;
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
}

.featured-link {
    display: block;
    text-decoration: none;
    color: #333;
}

.featured-image {
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-item:hover .featured-image img {
    transform: scale(1.05);
}

.featured-info {
    padding: 15px;
}

.featured-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #1a4b8c;
    /* 更改为深蓝色 */
}

.featured-desc {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 文章网格列表 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 15px;
}

.grid-item {
    background: #f0f6ff;
    /* 更改为淡蓝色背景 */
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #d0e8f0;
    /* 更改为蓝色边框 */
}

.grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(26, 75, 140, 0.1);
    /* 更改阴影颜色为蓝色 */
    background: #fff;
}

.grid-link {
    display: flex;
    text-decoration: none;
    color: #333;
    padding: 12px;
}

.grid-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-info {
    flex: 1;
    min-width: 0;
}

.grid-title {
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #1a4b8c;
    /* 更改为深蓝色 */
}

.grid-meta {
    font-size: 12px;
    color: #999;
}

.grid-meta span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.grid-meta i {
    margin-right: 4px;
    font-size: 11px;
}

/* 栏目精选文章 */
.category-featured {
    margin-bottom: 20px;
    border: 1px solid #f0e8d8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s;
}

.category-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
}

/* 文章列表紧凑版 */
.article-list-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-item {
    background: #f0f6ff;
    /* 更改为淡蓝色背景 */
    border-radius: 6px;
    border: 1px solid #d0e8f0;
    /* 更改为蓝色边框 */
    transition: all 0.3s;
}

.list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(26, 75, 140, 0.1);
    /* 更改阴影颜色为蓝色 */
    background: #fff;
}

.list-link {
    display: flex;
    padding: 12px;
    text-decoration: none;
    color: #333;
}

.list-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-title {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #1a4b8c;
    /* 更改为深蓝色 */
}

.list-meta {
    font-size: 12px;
    color: #999;
    display: flex;
}

.list-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.list-meta i {
    margin-right: 4px;
}

/* 文章列表 */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.article-list .article-item {
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #d0e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.article-list .article-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: #333;
}

.article-list .article-image {
    height: 160px;
    /* 减小高度 */
    overflow: hidden;
    position: relative;
}

.article-list .article-info {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.article-list .article-info.no-thumb {
    padding-top: 20px;
}

.article-list .article-title {
    margin-top: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #1a4b8c;
    /* 更改为深蓝色 */
}

.article-list .article-meta {
    display: flex;
    font-size: 12px;
    color: #999;
}

.article-list .article-meta span {
    margin-right: 15px;
    display: inline-block;
}

.article-list .article-meta i {
    margin-right: 5px;
}

.article-list .article-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
}

/* 侧边栏 */
.sidebar {
    width: 320px;
}

.widget {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #d0dfe6;
    /* 更改为淡蓝灰色边框 */
}

.widget-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a4b8c;
    /* 更改为深蓝色边框 */
}

.widget-header h3 {
    font-size: 16px;
    color: #1a4b8c;
    /* 更改为深蓝色 */
    display: flex;
    align-items: center;
}

.widget-header h3 i {
    margin-right: 8px;
}

/* 搜索框 */
.search-form {
    display: flex;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e6dfd0;
    border-radius: 4px;
    font-size: 14px;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: none;
    border: none;
    width: 40px;
    color: #1a4b8c;
    /* 更改为深蓝色 */
    cursor: pointer;
}

/* 八字测算工具 */
.calc-widget {
    background: #e6f0f9;
    /* 更改为淡蓝色背景 */
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #1a4b8c;
    /* 更改为深蓝色 */
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e6dfd0;
    border-radius: 4px;
}

.radio-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input {
    margin-right: 5px;
}

.btn-submit {
    width: 100%;
    padding: 10px;
    background: #1a4b8c;
    /* 更改为深蓝色 */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #2968bd;
    /* 更改为亮蓝色 */
}

/* 侧边栏列表 */
.widget-list {
    list-style: none;
}

.widget-item {
    padding: 10px 0;
    border-bottom: 1px dashed #e6dfd0;
}

.widget-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-link {
    display: flex;
    text-decoration: none;
    color: #333;
}

.widget-thumb {
    width: 80px;
    height: 60px;
    margin-right: 10px;
    overflow: hidden;
    border-radius: 4px;
}

.widget-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-info {
    flex: 1;
    min-width: 0;
}

.widget-title {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #1a4b8c;
    /* 更改为深蓝色 */
}

.widget-meta {
    font-size: 12px;
    color: #999;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 5px 10px;
    background: #f0f6ff;
    /* 更改为淡蓝色背景 */
    color: #1a4b8c;
    /* 更改为深蓝色 */
    border: 1px solid #d0e8f0;
    /* 更改为蓝色边框 */
    text-decoration: none;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s;
}

.tag-item:hover {
    background: #1a4b8c;
    /* 更改为深蓝色 */
    color: #fff;
    border-color: #1a4b8c;
    /* 更改为深蓝色 */
}

/* 友情链接 */
.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-item {
    padding: 5px 10px;
    background: #f0f6ff;
    /* 更改为淡蓝色背景 */
    color: #1a4b8c;
    /* 更改为深蓝色 */
    border: 1px solid #d0e8f0;
    /* 更改为蓝色边框 */
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
}

.link-item:hover {
    background: #1a4b8c;
    /* 更改为深蓝色 */
    color: #fff;
    border-color: #1a4b8c;
    /* 更改为深蓝色 */
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #1a4b8c;
    /* 更改为深蓝色 */
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    z-index: 999;
    text-decoration: none;
    display: none;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: #2968bd;
    /* 更改为亮蓝色 */
    color: #fff;
    transform: translateY(-5px);
}

/* 页脚 */
.footer {
    background: #0d2e56;
    /* 更改为更深的蓝色背景 */
    color: #f0f6ff;
    /* 更改为淡蓝色文字 */
    padding: 30px 0;
    margin-top: 50px;
}

.footer a {
    color: #e6dfd0;
    /* 与footer-info p相同的颜色 */
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
    /* 鼠标悬停时变为白色 */
    text-decoration: underline;
    /* 添加下划线效果 */
    transition: all 0.3s ease;
    /* 平滑过渡效果 */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 40px;
}

.footer-info p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #e6dfd0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        height: 60px;
    }

    .logo img {
        height: 40px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #8b4513;
        padding: 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 10px 0;
    }

    .main-nav .sub-nav {
        position: static;
        box-shadow: none;
        padding-left: 15px;
        background: transparent;
    }

    .main-nav .sub-nav a {
        color: #fff;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

    .main-nav .sub-nav a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #f8d78a;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .site-title {
        font-size: 24px;
    }

    .site-description {
        font-size: 14px;
    }

    .feature-buttons {
        justify-content: center;
    }

    .featured-articles {
        grid-template-columns: 1fr;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .article-list {
        grid-template-columns: 1fr;
    }

    .article-list .article-image {
        height: 150px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 15px;
    }

    .grid-item {
        margin-bottom: 0;
    }

    /* 栏目边框调整 */
    .latest-section:nth-child(4n+1),
    .latest-section:nth-child(4n+2),
    .latest-section:nth-child(4n+3),
    .latest-section:nth-child(4n+4) {
        border: none;
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .latest-section:nth-child(4n+1) {
        background-color: rgba(26, 75, 140, 0.04);
    }

    .latest-section:nth-child(4n+2) {
        background-color: rgba(41, 104, 189, 0.04);
    }

    .latest-section:nth-child(4n+3) {
        background-color: rgba(52, 152, 219, 0.04);
    }

    .latest-section:nth-child(4n+4) {
        background-color: rgba(93, 173, 226, 0.04);
    }

    /* 紧凑列表适配移动设备 */
    .article-list-compact .list-item {
        padding: 10px;
    }

    .article-list-compact .list-thumb {
        width: 70px;
        height: 50px;
    }

    /* 精选文章移动适配 */
    .category-featured {
        margin-bottom: 15px;
    }

    .featured-image {
        height: 150px;
    }

    /* 简约列表移动适配 */
    .widget-list {
        padding: 5px;
    }

    .widget-list .widget-thumb {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 20px;
    }

    .article-meta span {
        display: block;
        margin-bottom: 5px;
    }

    .article-text img,
    .article-text video,
    .article-text iframe,
    .article-text embed,
    .article-text object {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .article-section {
        border-radius: 0;
        margin-left: -15px;
        margin-right: -15px;
    }

    .related-item {
        margin-bottom: 15px;
    }

    .related-image {
        height: 120px;
    }

    /* 精选文章移动适配 */
    .featured-image {
        height: 130px;
    }

    .featured-info {
        padding: 10px 15px;
    }

    .featured-title {
        font-size: 16px;
    }

    /* 卡片布局小屏幕适配 */
    .article-list .article-item {
        margin-bottom: 15px;
    }

    .article-list .article-image {
        height: 130px;
    }

    /* 栏目标题小屏幕适配 */
    .section-header h2 {
        font-size: 16px;
    }

    .section-header h2 i {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
}

/* 重新设计上下篇导航，防止内容溢出导致左右晃动 */
.article-pagination {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.article-pagination .pagination-item {
    margin-bottom: 10px;
    overflow: hidden;
}

.article-pagination .pagination-label {
    font-weight: bold;
    color: #1a4b8c;
    /* 更改为深蓝色 */
    margin-bottom: 5px;
}

.article-pagination .pagination-title {
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
    font-size: 14px;
}

.article-pagination .pagination-title a {
    color: #666;
    text-decoration: none;
}

.article-pagination .pagination-title a:hover {
    color: #1a4b8c;
    /* 更改为深蓝色 */
    text-decoration: underline;
}

/* 确保移动端下导航也不会溢出 */
@media (max-width: 768px) {
    .article-pagination {
        width: 100%;
        box-sizing: border-box;
    }

    .article-pagination .pagination-title {
        font-size: 13px;
    }
}

/* 面包屑导航美化 */
.breadcrumb {
    background-color: #f0f6ff;
    /* 更改为淡蓝色背景 */
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #888;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #d0e8f0;
    /* 更改为蓝色边框 */
}

.breadcrumb a {
    color: #1a4b8c;
    /* 更改为深蓝色 */
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.breadcrumb a:hover {
    color: #2968bd;
    /* 更改为亮蓝色 */
    text-decoration: underline;
}

.breadcrumb i {
    margin-right: 5px;
    font-size: 12px;
}

.breadcrumb span {
    color: #666;
    font-weight: 500;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

/* 响应式面包屑导航 */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px;
        font-size: 13px;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .breadcrumb {
        background-color: transparent;
        padding: 0 0 10px 0;
        margin-bottom: 15px;
        border: none;
        border-bottom: 1px solid #f0e8d8;
        border-radius: 0;
    }
}

/* 八字测算表单样式 */
.bazi-calculator {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.calculator-form {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.result-preview {
    flex: 1;
    background: #1a5aa0;
    border-radius: 8px;
    padding: 25px;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d8e0e9;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    border-color: #1a5aa0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 90, 160, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 5px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.radio-group input {
    margin-right: 5px;
}

.btn-submit {
    width: 100%;
    background: #1a5aa0;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0d4c8c;
}

/* 结果预览部分 */
.preview-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.preview-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 14px;
}

.feature-list li i {
    margin-right: 10px;
    margin-top: 3px;
    color: #9dceff;
}

.item-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.item-button {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 5px);
    transition: background 0.3s;
}

.item-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.item-icon {
    margin-bottom: 8px;
    font-size: 20px;
    color: #9dceff;
}

.item-text {
    font-size: 13px;
}

/* 八字结果样式改进 */
.bazi-result {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background: #fff;
    z-index: 9999;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1a5aa0;
    color: #fff;
}

.result-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-result {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.result-content {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.loader {
    text-align: center;
    padding: 30px;
    font-size: 16px;
    color: #666;
}

.loader i {
    margin-right: 10px;
    color: #1a5aa0;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .bazi-calculator {
        flex-direction: column;
    }

    .calculator-form,
    .result-preview {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .item-buttons {
        flex-wrap: wrap;
    }

    .item-button {
        width: calc(50% - 5px);
    }
}

/* 紫微排盘样式 */
.paipan-info {
    background-color: #f5f9ff;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.paipan-row {
    display: flex;
    margin-bottom: 8px;
}

.paipan-row:last-child {
    margin-bottom: 0;
}

.paipan-label {
    font-weight: 600;
    color: #1a5aa0;
    width: 70px;
}

.paipan-value {
    flex: 1;
}

.paipan-gongs h5,
.paipan-dayun h5 {
    font-size: 15px;
    color: #1a5aa0;
    margin: 15px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e9f5;
}

.gong-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.gong-item {
    background: #f0f6ff;
    border: 1px solid #d0e8f0;
    border-radius: 5px;
    padding: 10px;
    width: calc(50% - 5px);
}

.gong-name {
    font-weight: 600;
    color: #1a5aa0;
    margin-bottom: 5px;
}

.gong-stars {
    font-size: 13px;
    color: #555;
}

.dayun-list {
    margin-bottom: 15px;
}

.dayun-item {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e9f5;
}

.dayun-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dayun-age {
    font-weight: 600;
    color: #1a5aa0;
    margin-right: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .gong-list {
        flex-direction: column;
    }

    .gong-item {
        width: 100%;
    }
}

.paipan-intro {
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    background-color: #f0f6ff;
    border-left: 3px solid #1a5aa0;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
}

/* 八字排盘和五行分析样式 */
.bazi-top-info {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
}

.bazi-info-table {
    width: 100%;
    border-collapse: collapse;
}

.bazi-info-table td {
    padding: 8px 12px;
    border: none;
}

.bazi-info-table .label {
    font-weight: bold;
    color: #3498db;
    width: 60px;
}

/* 八字排盘表格 */
.bazi-chart {
    margin-bottom: 25px;
    overflow-x: auto;
}

.bazi-chart-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.bazi-chart-table td {
    padding: 12px 8px;
    border: 1px solid #e0e0e0;
    min-width: 60px;
}

.bazi-chart-table .bazi-label {
    font-weight: bold;
    background-color: #f5f5f5;
    width: 80px;
}

/* 天干地支颜色 */
.tg-mu {
    color: #2ecc71;
    font-weight: bold;
}

/* 木 */
.tg-huo {
    color: #e74c3c;
    font-weight: bold;
}

/* 火 */
.tg-tu {
    color: #f39c12;
    font-weight: bold;
}

/* 土 */
.tg-jin {
    color: #95a5a6;
    font-weight: bold;
}

/* 金 */
.tg-shui {
    color: #3498db;
    font-weight: bold;
}

/* 水 */

.dz-mu {
    color: #2ecc71;
    font-weight: bold;
}

.dz-huo {
    color: #e74c3c;
    font-weight: bold;
}

.dz-tu {
    color: #f39c12;
    font-weight: bold;
}

.dz-jin {
    color: #95a5a6;
    font-weight: bold;
}

.dz-shui {
    color: #3498db;
    font-weight: bold;
}

/* 其他八字信息 */
.bazi-other-info {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
}

.bazi-other-info .info-item {
    flex: 1;
    min-width: 200px;
}

.bazi-other-info .label {
    font-weight: bold;
    color: #3498db;
}

/* 结果区域通用样式 */
.result-section {
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.result-section h4 {
    margin: 0;
    padding: 12px 15px;
    background-color: #3498db;
    color: white;
    font-size: 16px;
}

.result-section h5 {
    margin: 15px 0 10px;
    font-size: 15px;
    color: #2980b9;
}

.section-content {
    /*padding: 15px;*/
}

.section-content p {
    margin: 0 0 10px;
    line-height: 1.5;
}

/* 五行图表 */
.wuxing-barchart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px;
}

.wuxing-bar-item {
    display: flex;
    align-items: center;
}

.wuxing-name {
    width: 40px;
    font-weight: bold;
    text-align: center;
}

.wuxing-bar-container {
    flex: 1;
    height: 25px;
    background-color: #f1f1f1;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 10px;
}

.wuxing-bar {
    height: 100%;
    border-radius: 4px;
}

.wuxing-bar.jin {
    background-color: #95a5a6;
}

.wuxing-bar.mu {
    background-color: #2ecc71;
}

.wuxing-bar.shui {
    background-color: #3498db;
}

.wuxing-bar.huo {
    background-color: #e74c3c;
}

.wuxing-bar.tu {
    background-color: #f39c12;
}

.wuxing-value {
    width: 40px;
    text-align: right;
}

.wuxing-status {
    padding: 0 15px 15px;
}

.wuxing-status .status-item {
    margin-bottom: 8px;
}

.wuxing-status .label {
    font-weight: bold;
    color: #3498db;
}

/* 大运表格 */
.dayun-table-container {
    padding: 15px;
    overflow-x: auto;
}

.dayun-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.dayun-table th,
.dayun-table td {
    padding: 8px;
    border: 1px solid #e0e0e0;
}

.dayun-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* 关闭按钮优化 */
.bazi-result-preview .close-result {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.bazi-result-preview .close-result:hover {
    background-color: #c0392b;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .bazi-chart-table {
        min-width: 500px;
    }

    .dayun-table {
        min-width: 450px;
    }

    .bazi-other-info .info-item {
        min-width: 100%;
    }
}

/* 添加付费精批按钮样式 */
.premium-analysis {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background-color: #fffbeb;
    border-radius: 8px;
    border: 1px solid #ffeeba;
}

.premium-analysis p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #856404;
}

.premium-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff4d4f;
    color: white !important;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(255, 77, 79, 0.2);
}

.premium-btn:hover {
    background-color: #ff7875;
    box-shadow: 0 6px 8px rgba(255, 77, 79, 0.3);
    transform: translateY(-2px);
}

.premium-icon {
    margin-right: 5px;
    font-size: 20px;
    animation: point 1.5s infinite;
    display: inline-block;
}

@keyframes point {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* 藏干分组样式 */
.canggan-group {
    display: inline-block;
    width: 32%;
    margin-right: 1%;
    margin-bottom: 8px;
    text-align: left;
    vertical-align: top;
}

.canggan-title {
    font-weight: bold;
    color: #3498db;
    margin-right: 5px;
}

/* 确保在移动设备上显示正常 */
@media (max-width: 768px) {
    .canggan-group {
        width: 49%;
    }
}

@media (max-width: 480px) {
    .canggan-group {
        width: 100%;
        margin-right: 0;
    }
}

/* 藏干表格样式 */
.canggan-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-top: 8px;
}

.canggan-table td {
    padding: 6px 4px;
    text-align: center;
    border: none;
    width: 25%;
    vertical-align: top;
}

.canggan-table tr:first-child td {
    font-weight: bold;
    color: #3498db;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 4px;
}

.canggan-table tr:not(:first-child) td {
    padding-top: 2px;
    padding-bottom: 2px;
}

/* 移动设备适配 */
@media (max-width: 768px) {
    .canggan-table {
        font-size: 0.9em;
    }

    .canggan-table tr:first-child td {
        font-size: 0.95em;
    }
}

/* 藏干项目样式 */
.cg-item {
    margin: 3px 0;
    padding: 2px 0;
    text-align: center;
}

/* 调整藏干和地支行之间的间距 */
.bazi-chart-table tr:nth-child(3) {
    border-bottom: 1px solid #e0e0e0;
}

/* 分页样式 */
.pagination {
    margin: 30px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    padding: 8px 14px;
    min-width: 38px;
    height: 38px;
    border-radius: 4px;
    background-color: #fff;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pagination a:hover {
    background-color: #f0f6ff;
    color: #2c80ff;
    border-color: #c1d3f6;
}

.pagination span.current {
    background-color: #2c80ff;
    color: #fff;
    border-color: #2c80ff;
    font-weight: bold;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.pagination .prev,
.pagination .next {
    padding: 8px 15px;
}

.pagination .ellipsis {
    border: none;
    background: transparent;
}

/* 移动端响应式分页 */
@media (max-width: 768px) {
    .pagination {
        margin: 20px 0;
    }

    .pagination a,
    .pagination span {
        padding: 6px 10px;
        min-width: 32px;
        height: 32px;
        margin: 0 2px;
        font-size: 13px;
    }

    .pagination .prev,
    .pagination .next {
        padding: 6px 10px;
    }

    /* 在较小屏幕上隐藏一些页码 */
    .pagination .page-numbers:nth-child(n+8):nth-child(-n+12) {
        display: none;
    }
}

/* 工具表格样式 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 5px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f0f6ff;
    border-radius: 6px;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #d8e6f9;
    text-align: center;
}

.tool-item:hover {
    background-color: #2c80ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 128, 255, 0.2);
}

.tool-item i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #2c80ff;
    transition: color 0.3s;
}

.tool-item:hover i {
    color: white;
}

.tool-item span {
    font-size: 14px;
    font-weight: 500;
}

/* 增强不同的列表样式 */
/* 风格1：紧凑列表 强化 */
.article-list-compact .list-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.article-list-compact .list-item:hover {
    transform: translateX(5px);
    border-left: 3px solid #1a4b8c;
}

.article-list-compact .list-title {
    font-weight: 500;
}

/* 风格2：网格布局 强化 */
.article-grid .grid-item {
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.article-grid .grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(26, 75, 140, 0.15);
}

.article-grid .grid-title {
    font-weight: 500;
    color: #1a4b8c;
}

/* 风格3：卡片布局 强化 */
.article-list .article-item {
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.article-list .article-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 15px rgba(26, 75, 140, 0.15);
}

.article-list .article-title {
    margin-top: 5px;
    font-weight: 600;
}

.article-list .article-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* 风格4：简约列表 强化 */
.widget-list {
    border-radius: 8px;
    overflow: hidden;
    background: #f8fbff;
    padding: 8px;
}

.widget-list .widget-item {
    transition: all 0.25s ease;
    border-radius: 6px;
    border-bottom: 1px dashed #e0e8f5;
    padding: 12px 8px;
}

.widget-list .widget-item:hover {
    background: #f0f6ff;
    padding-left: 15px;
}

.widget-list .widget-title {
    font-weight: 500;
    color: #1a4b8c;
}

.widget-list .widget-meta {
    font-size: 12px;
    color: #888;
}

/* 为不同栏目添加视觉差异 */
.latest-section:nth-child(4n+1) {
    border-left: 4px solid #1a4b8c;
    padding-left: 15px;
}

.latest-section:nth-child(4n+2) {
    border-top: 4px solid #2968bd;
    padding-top: 15px;
}

.latest-section:nth-child(4n+3) {
    border-right: 4px solid #3498db;
    padding-right: 15px;
}

.latest-section:nth-child(4n+4) {
    border-bottom: 4px solid #5dade2;
    padding-bottom: 15px;
}

/* 栏目标题样式增强 */
.latest-section:nth-child(4n+1) .section-header {
    border-bottom-color: #1a4b8c;
}

.latest-section:nth-child(4n+2) .section-header {
    border-bottom-color: #2968bd;
}

.latest-section:nth-child(4n+3) .section-header {
    border-bottom-color: #3498db;
}

.latest-section:nth-child(4n+4) .section-header {
    border-bottom-color: #5dade2;
}

/* 精选文章卡片增强 */
.category-featured {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(26, 75, 140, 0.2);
}

.featured-info {
    padding: 15px 20px;
}

.featured-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a4b8c;
}

.featured-desc {
    color: #666;
    line-height: 1.6;
}

/* 文章内容页响应式样式 */
.article-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.article-content {
    line-height: 1.8;
}

.article-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-title {
    font-size: 28px;
    color: #1a4b8c;
    /* 更改为深蓝色 */
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    color: #888;
    font-size: 14px;
}

.article-meta span {
    margin-right: 15px;
    display: inline-block;
}

.article-meta i {
    margin-right: 5px;
}

.article-summary {
    background-color: #f0f6ff;
    /* 更改为淡蓝色背景 */
    padding: 15px;
    border-left: 4px solid #1a4b8c;
    /* 更改为深蓝色边框 */
    margin-bottom: 20px;
    color: #666;
}

.article-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    width: 100%;
    overflow: hidden;
}

/* 文章内容表格样式 */
.article-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.article-text table thead {
    background-color: #1a4b8c;
    color: white;
}

.article-text table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #d0dfe6;
}

.article-text table tbody tr {
    transition: all 0.3s;
}

.article-text table tbody tr:nth-child(even) {
    background-color: #f0f6ff;
}

.article-text table tbody tr:hover {
    background-color: #e3f2fd;
}

.article-text table td {
    padding: 10px 15px;
    border: 1px solid #d0dfe6;
    vertical-align: middle;
}

/* 响应式表格样式 */
@media (max-width: 768px) {
    .article-text table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .article-text table th,
    .article-text table td {
        padding: 8px 10px;
    }
}

/* 修复风格对比，统一热门推荐和栏目精选图文样式 */
.featured-articles .featured-item,
.category-featured {
    border: 1px solid #e0e6ef;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.featured-articles .featured-item:hover,
.category-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(26, 75, 140, 0.15);
}

.featured-articles .featured-image,
.category-featured .featured-image {
    height: 180px;
    overflow: hidden;
}

.featured-articles .featured-image img,
.category-featured .featured-image img,
.article-list .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.featured-articles .featured-item:hover .featured-image img,
.category-featured:hover .featured-image img,
.article-list .article-item:hover .article-image img {
    transform: scale(1.05);
}

.featured-articles .featured-info,
.category-featured .featured-info {
    padding: 15px;
}

/* 媒体查询优化 */
@media (max-width: 992px) {
    .article-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-list {
        grid-template-columns: 1fr;
    }

    .featured-articles .featured-image,
    .category-featured .featured-image,
    .article-list .article-image {
        height: 150px;
    }
}

@media (max-width: 576px) {

    .featured-articles .featured-image,
    .category-featured .featured-image,
    .article-list .article-image {
        height: 130px;
    }
}

/* 调整卡片间距和内边距 */
.article-list {
    margin-top: 15px;
}

/* 风格统一 */
.featured-title,
.article-list .article-title {
    color: #1a4b8c;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 600;
    margin-bottom: 10px;
}

.featured-desc,
.article-list .article-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}