/* 内容区域样式 */
.post-body {
    padding: 20px;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部区域 */
.header-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.typing-container {
    margin-bottom: 20px;
}

.logo-container {
    margin-top: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* 打字效果 */
.dizangwang {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 28px;
    height: 50px;
    font-weight: normal;
    text-align: center;
    color: #8b0000;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* 区域标题 */
.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8d4b5;
}

.section-title h2, .section-title h3 {
    margin: 0;
    font-size: 22px;
    color: #8b4513;
    font-weight: 600;
}

.title-icon {
    font-size: 24px;
    margin-right: 10px;
}

/* 语录区域 */
.yulu-section {
    margin-bottom: 40px;
}

.yulustype {
    background: linear-gradient(135deg, #fff9f0 0%, #f5f0e6 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #d4a76a;
}

.yulu-item {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.yulu-item:hover {
    transform: translateY(-3px);
}

.yulu-content {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.yulu-link {
    display: inline-block;
    padding: 8px 16px;
    background: #d4a76a;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.yulu-link:hover {
    background: #b38b5b;
    transform: translateX(5px);
}

/* 主网格布局 */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* 左侧内容 */
.content-left {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.fojing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.fojing-item {
    display: block;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
    border-left: 4px solid #d4a76a;
}

.fojing-item:hover {
    background: #e9ecef;
    color: #8b4513;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 右侧分类区域 */
.content-right {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.category-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.category-item {
    background: #fafafa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.category-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-links a {
    padding: 10px 15px;
    background: white;
    border-radius: 6px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid #d4a76a;
}

.category-links a:hover {
    background: #f0f0f0;
    color: #8b4513;
    transform: translateX(3px);
}

/* 推荐区域 */
.recommend-section {
    margin-bottom: 40px;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.recommend-item {
    padding: 15px;
    background: linear-gradient(135deg, #fff9f0 0%, #f5f0e6 100%);
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e8d4b5;
}

.recommend-item:hover {
    background: linear-gradient(135deg, #f5f0e6 0%, #e8d4b5 100%);
    color: #8b4513;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.1);
}

/* 回向偈区域 */
.prayer-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.prayer-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .post-body {
        padding: 15px;
    }
    
    .main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header-section {
        padding: 20px 0;
        margin-bottom: 30px;
    }
    
    .dizangwang {
        font-size: 22px;
        height: 40px;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .fojing-grid {
        grid-template-columns: 1fr;
    }
    
    .recommend-grid {
        grid-template-columns: 1fr;
    }
    
    .yulustype {
        padding: 20px;
    }
    
    .yulu-item {
        padding: 15px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .post-body {
        padding: 10px;
    }
    
    .dizangwang {
        font-size: 18px;
        height: 35px;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .section-title h2 {
        font-size: 18px;
    }
    
    .yulu-content {
        font-size: 14px;
    }
}