/* 全局重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础页面样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f8f8f8;
}

/* 文章头部样式 */
.article-header {
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.title {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #000;
}

.author-info {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 14px;
}

/* 文章主体内容样式 */
.content {
    padding: 15px;
    background: #fff;
}

/* 文本样式 */
p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    color: #333;
}

/* 标题样式系统 */
h2 {
    font-size: 22px;
    font-weight: bold;
    margin: 25px 0 18px;
    color: #f85959;
    background-color: #fff9e6;
    padding: 12px;
    border-radius: 6px;
    line-height: 1.5;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 15px;
    color: #f85959;
    line-height: 1.4;
}

/* 列表样式 */
ul {
    margin-bottom: 18px;
    padding-left: 20px;
}

li {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #333;
}

/* 强调文本样式 */
.highlight-text {
    background-color: #fff9e6;
    padding: 15px;
    border-radius: 6px;
    margin: 18px 0;
    font-size: 18px;
    color: #f20808;
    font-weight: bold;
    border: 1px solid #ffeb3b;
}

/* 图片容器样式 */
.image-section {
    margin: 15px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 文章图片样式 */
.article-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 0;
    transition: transform 0.3s ease;
}

/* 评论区图片样式 */
.reply-image {
    max-width: 180px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 8px;
    display: block;
}

/* 头像样式优化 */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* 评论区样式 */
.comments-section {
    margin-top: 20px;
    background: #fff;
    padding: 15px;
}

.comment-list {
    margin-top: 15px;
}

/* 评论头部样式 */
.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

/* 单条评论样式 */
.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.comment-content {
    flex: 1;
}

/* 评论信息样式 */
.comment-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    position: relative;
}

/* 用户信息样式 */
.username {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.location, .date {
    color: #666;
    font-size: 14px;
}

/* 评论操作区样式 */
.comment-actions {
    position: absolute;
    right: 0;
    display: flex;
    gap: 12px;
    color: #666;
    font-size: 14px;
}

/* 评论文本样式 */
.comment-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* 回复区域样式 */
.reply-list {
    margin-top: 10px;
    margin-left: 35px;
}

.reply-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* 按钮样式 */
.add-wechat-btn {
    padding: 18px !important;
    font-size: 20px !important;
}

.add-wechat-btn .zaax-wxh {
    font-size: 32px !important;
    padding: 12px 30px !important;
}

/* 响应式布局适配 */
@media (max-width: 768px) {
    .content {
        padding: 10px;
    }
    
    /*section {
        padding: 10px 0;
        margin-bottom: 10px;
    }*/
    
    /* 移动端图片优化 */
    .image-section {
        margin: 10px 0;
    }
    
    .article-image {
        border-radius: 6px;
    }
    
    .reply-image {
        max-width: 140px;
        margin-top: 6px;
    }
    
    .avatar {
        width: 32px;
        height: 32px;
    }
    
    /* 文字大小调整 */
    p, li {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    h2 {
        font-size: 20px;
        padding: 10px;
        margin: 12px 0 10px;
    }
    
    h3 {
        font-size: 18px;
        margin: 8px 0 10px;
    }
    
    .comment-text {
        font-size: 15px;
    }
}

/* 动画效果 */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(42, 174, 103, 0.7);
    }
    
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 6px rgba(42, 174, 103, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(42, 174, 103, 0);
    }
}