/* 文章详情页样式 */

/* ========== 面包屑导航优化 ========== */
#wzy .crumb {
    font-size: 13px;
    color: #b36d41;
    padding: 12px 0;
    margin-bottom: 20px;
    border-bottom: none;
}

#wzy .crumb p {
    margin: 0;
}

#wzy .crumb a {
    color: #b36d41;
    text-decoration: none;
}

#wzy .crumb a:hover {
    color: #603811;
    text-decoration: underline;
}

#wzy .crumb span {
    color: #603811;
}

/* ========== 文章标题优化 ========== */
#wzy .con_div h3 {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin: 25px 0 20px;
    line-height: 1.5;
    font-family: "Noto Serif SC", "Source Han Serif SC", serif;
    letter-spacing: 1px;
}

/* ========== 阅读信息优化 ========== */
#wzy .tp_info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 15px 0;
    border-bottom: 1px solid #e8e2d6;
    margin-bottom: 30px;
    font-size: 13px;
    color: #666;
}

#wzy .tp_info > div {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
}

#wzy .tp_info .yds {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

#wzy .tp_info .yds .title {
    float: none !important;
    display: inline-block;
    padding: 3px 10px;
    background: #f5f0e8;
    border: 1px solid #e0d5c5;
    border-radius: 3px;
    font-size: 12px;
    color: #875a3d;
    margin-right: 0 !important;
}

#wzy .tp_info .yds .num {
    float: none !important;
    color: #333;
    font-weight: 500;
}

#wzy .tp_info .txt_02,
#wzy .tp_info .txt_03,
#wzy .tp_info .time {
    color: #666;
    margin-left: 0;
    float: none !important;
}

/* 文章标题 - 通用 */
.article-title {
    font-size: 28px;
    font-weight: bold;
    color: #603811;
    text-align: center;
    margin: 30px 0 20px;
    line-height: 1.5;
    font-family: "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

/* 文章元信息 - 通用 */
.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
    border-bottom: 2px solid #e8dcc8;
    margin-bottom: 30px;
}

.meta-item {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    font-style: normal;
    color: #be8853;
}

/* 文章内容区域 */
.article-content {
    background: #f8f5ed; /* 修改为非纯白 */
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(129, 96, 63, 0.08);
    line-height: 2;
    font-size: 16px;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
    text-align: justify;
    line-height: 2;
}

.article-content p:first-of-type {
    font-size: 17px;
    font-weight: 500;
}

/* 八字信息样式 */
.bazi-info {
    background: linear-gradient(135deg, #f9f6f0 0%, #ede7d9 100%);
    padding: 25px 30px;
    border-radius: 10px;
    border: 2px solid #d4c4a8;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(129, 96, 63, 0.1);
}

.bazi-date {
    font-size: 15px;
    color: #603811;
    margin-bottom: 10px;
    font-weight: 500;
    text-indent: 0 !important;
}

.bazi-chart {
    background: #f8f5ed; /* 修改为非白色 */
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #e8dcc8;
}

.bazi-line {
    font-family: "Noto Serif SC", "Source Han Serif SC", monospace;
    font-size: 16px;
    color: #663333;
    line-height: 1.8;
    margin: 5px 0;
    text-indent: 0 !important;
}

.bazi-yunliu {
    font-size: 15px;
    color: #603811;
    margin-top: 15px;
    font-weight: 500;
    text-indent: 0 !important;
}

/* 章节标题 */
.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #81603f;
    margin: 30px 0 20px;
    padding-left: 15px;
    border-left: 4px solid #be8853;
    line-height: 1.4;
}

/* 分享区域 */
.share {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 2px solid #e8dcc8;
}

.share p {
    font-size: 15px;
    color: #603811;
    margin-right: 15px;
    font-weight: 500;
}

.bdsharebuttonbox {
    display: flex;
    gap: 10px;
}

.bdsharebuttonbox a {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    transition: all 0.3s;
}

.bdsharebuttonbox a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 面包屑导航 */
.crumb {
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    font-size: 13px !important;
    color: #999 !important;
    padding: 12px 0 !important;
    background: transparent !important;
    border-bottom: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-wrap: nowrap !important; /* 强制不换行 */
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important; /* 防止文本换行 */
    overflow: hidden !important; /* 防止溢出 */
}

.crumb a {
    color: #be8853 !important;
    font-weight: normal !important;
    transition: color 0.3s;
    text-decoration: none !important;
    padding: 0 !important;
    background: transparent !important;
    display: inline-block !important; /* 确保是行内块 */
}

.crumb a:hover {
    color: #a67543 !important;
    background: transparent !important;
}

.crumb span {
    color: #666 !important;
    font-weight: normal !important;
}

/* 文章页主容器 - 简化背景层级 */
#wzy .main {
    background: #f9f7f3;
    padding: 30px 0 60px;
    min-height: 600px;
}

#wzy .main .main_in {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

#wzy .con_div {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
}

/* 作者署名 */
.author-sign {
    text-align: right !important;
    font-style: italic;
    color: #81603f;
    margin-top: 30px !important;
    font-weight: 500;
    text-indent: 0 !important;
}

/* 响应式优化 */
@media screen and (max-width: 768px) {
    .article-title {
        font-size: 22px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .article-content {
        padding: 20px;
        font-size: 15px;
    }

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

    .section-title {
        font-size: 18px;
    }

    #wzy .con_div {
        padding: 20px;
    }
}
