/* ========== 主要内容区域 ========== */
.main-layout {
    width: 1200px;
    margin: 0 auto;
    padding: 25px 15px;
    position: relative;
    z-index: 2;
}

.content-card {
    /* 替换：奶油木色渐变背景 */
    background: linear-gradient(135deg, #f0e8d8, #e8e0c8);
    /* 替换：浅木色边框 */
    border: 1px solid rgba(168, 136, 96, 0.35);
    border-radius: 8px;
    padding: 35px;
    /* 替换：暖调阴影 */
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15);
    position: relative;
    width:100%;
}
.content-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* 替换：暖调渐变（浅杏色+奶油黄+珊瑚红） */
    background: linear-gradient(90deg, #e69a88, #f0d99c, #e87a6f);
    border-radius: 8px 8px 0 0;
}
.content-card a{
    /* 替换：深木纹文字色 */
    color:#584830;
    transition: color 0.3s;
}
.content-card a:hover {
    color: #e87a6f;
}

.content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    /* 替换：浅木色分隔线 */
    border-bottom: 1px solid rgba(168, 136, 96, 0.25);
}

.content-title {
    /* 替换：浅杏色标题 */
    color: #e69a88;
    font-size: 28px;
    text-align: center;
    margin-bottom: 15px;
    /* 替换：奶油黄文字阴影 */
    text-shadow: 0 0 10px rgba(240, 217, 156, 0.6);
}

.content-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 14px;
    /* 替换：中木纹文字色 */
    color: #786040;
    flex-wrap: wrap; /* 移动端适配 */
}

.content-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.content-meta span::before {
    /* 替换：浅杏色图标 */
    color: #e69a88;
    font-size: 14px;
}

.content-type::before { content: "🗺️"; }
.content-update::before { content: "📅"; }
.content-author::before { content: "✍️"; }

.content-body {
    font-size: 16px;
    /* 替换：深木纹文字色 */
    color: #584830;
    line-height: 1.8; /* 提升可读性 */
}

.content-section {
    margin-bottom: 30px;
}

.section-title {
    /* 替换：浅杏色标题 */
    color: #e69a88;
    font-size: 22px;
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    /* 新增：左侧装饰线（和全局风格统一） */
    border-left: 4px solid #e69a88;
}

.section-title::before {
    content: "★";
    /* 替换：浅杏色图标 */
    color: #e69a88;
    font-size: 18px;
}

.content-body p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.content-body ul {
    margin: 15px 0 15px 30px;
    list-style: disc;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body strong {
    /* 替换：浅木色强调 */
    color: #a88860;
    /* 替换：奶油黄文字阴影 */
    text-shadow: 0 0 5px rgba(240, 217, 156, 0.4);
}

/* ========== 下一篇/相关推荐模块 (新增) ========== */
.related-articles {
    margin-top: 40px;
    padding-top: 30px;
    /* 替换：浅木色分隔线 */
    border-top: 1px solid rgba(168, 136, 96, 0.25);
}

.related-title {
    /* 替换：浅杏色标题 */
    color: #e69a88;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
    /* 新增：左侧装饰线 */
    border-left: 4px solid #e69a88;
}

.related-title::before {
    content: "🔗";
    font-size: 18px;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.related-item {
    /* 替换：浅奶油色背景 */
    background: linear-gradient(135deg, rgba(240, 232, 216, 0.9), rgba(232, 224, 200, 0.8));
    /* 替换：浅木色边框 */
    border: 1px solid rgba(168, 136, 96, 0.2);
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.related-item:hover {
    /* 替换：暖调hover阴影 */
    box-shadow: 0 6px 20px rgba(168, 136, 96, 0.2);
    transform: translateY(-3px);
    /* 替换：浅杏色hover边框 */
    border-color: rgba(230, 154, 136, 0.6);
}
.related-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* 替换：暖调渐变 */
    background: linear-gradient(90deg, #e69a88, #f0d99c, #e87a6f);
    border-radius: 8px 8px 0 0;
}

.related-item a {
    text-decoration: none;
    /* 替换：浅杏色标题 */
    color: #e69a88;
}

.related-item-title {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
    height:50px;
    /* 新增：文字阴影 */
    text-shadow: 0 0 4px rgba(168, 136, 96, 0.15);
}

.related-item-desc {
    font-size: 14px;
    /* 替换：中木纹文字色 */
    color: #786040;
    line-height: 1.6;
    height:67px;
}