/* 统一内容区域样式 - 用于协会简介和协会动态下的二级菜单页面 */

/* 主内容区域样式 - 与现代化页面保持一致 */
.main-content-area {
    padding: 40px 0;
    background-color: #f8f9fa;
}

/* 内容包装器 - 统一所有二级菜单页面的白色背景区域 */
.content-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 16px;
    transition: font-size var(--transition);
}

/* 确保文章内容区域在content-wrapper中正确显示 */
.content-wrapper .container {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.content-wrapper .main-content {
    padding: 20px 0 40px;
}

/* 页面标题样式 - 统一所有页面的标题样式 */
.page-header {
    padding: 30px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.header-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
    font-style: italic;
}

/* 文章样式优化 */
.content-wrapper .article {
    border: none;
    box-shadow: none;
    margin: 0;
}

.content-wrapper .article-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(46, 125, 50, 0.1);
}

.content-wrapper .article-title {
    color: #2E7D32;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.content-wrapper .article-content {
    line-height: 1.8;
    color: #2D3748;
    font-size: 1.1rem;
    padding: 1rem 0;
}

.content-wrapper .article-content p {
    margin-bottom: 1.8rem;
    text-align: justify;
}

.content-wrapper .article-content h2 {
    color: #2E7D32;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2.5rem 0 1.2rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(46, 125, 50, 0.2);
}

.content-wrapper .article-content h3 {
    color: #4CAF50;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.content-wrapper .article-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content-area {
        padding: 20px 0;
    }
    
    .content-wrapper {
        padding: 0 15px;
        border-radius: 8px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-wrapper .article-title {
        font-size: 1.8rem;
    }
}