/* 
 * 云南震序律师事务所网站内容区域公共样式
 * 包含：文章内容区域排版、图片自适应等样式
 */

/* 内容区通用样式 */
.content {
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 文章内容区域图片自适应样式 */

/* 基本图片自适应 - 只设置最大宽度和高度自适应，不影响对齐方式 */
.content img,
div[style*="text-align: justify"] img,
[class*="content"] img {
    max-width: 100% !important;
    height: auto !important;
}

/* 确保编辑器中插入的图片自适应 */
.content p img,
.content div img {
    max-width: 100% !important;
    height: auto !important;
}

/* 处理带有固定宽高的图片 */
.content img[width],
.content img[height],
.content img[style*="width"],
.content img[style*="height"] {
    max-width: 100% !important;
    height: auto !important;
}

/* 处理行内图片和表情 */
.content img.emoji,
.content img.icon {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    height: 1.2em;
    margin: 0 2px;
}

/* 清除浮动 */
.content:after {
    content: "";
    display: table;
    clear: both;
}

/* 内容排版样式 */
.content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #002b70;
}

.content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 15px;
    color: #002b70;
}

.content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 10px;
}

.content p {
    margin-bottom: 15px;
    text-align: justify;
}

.content ul, 
.content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.content ul li, 
.content ol li {
    margin-bottom: 5px;
}

.content blockquote {
    border-left: 3px solid #f4ad03;
    padding: 10px 20px;
    background-color: #f9f9f9;
    margin: 15px 0;
    font-style: italic;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.content table th,
.content table td {
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    text-align: left;
}

.content table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

/* 响应式样式已移至template/zhenxulaw/css/responsive/content.css */