/*
Theme Name: Modown Child
Theme URI: http://example.com/modown-child/
Description: Modown Child Theme
Author: Your Name
Author URI: http://example.com
Template: modown
Version: 1.0.0
*/

/* 继承父主题样式 */
@import url("../modown/style.css");

/* 添加您的自定义CSS样式 */

/* 文章标题居中 */
.centered-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 30px 0;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
}

/* 文章内容居中 */
.centered-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
    font-size: 1.1rem;
}

.centered-content p,
.centered-content ul,
.centered-content ol {
    margin-bottom: 1.5rem;
}

.centered-content img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 美化评论区域 */
.comment-area-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.comments-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 15px;
    width: 50px;
    height: 50px;
}

.comment-author .fn {
    font-weight: 600;
    color: #2c3e50;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.comment-content {
    line-height: 1.6;
}

.comment-respond {
    margin-top: 40px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.comment-form textarea {
    min-height: 150px;
}

.comment-form input[type="submit"] {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.comment-form input[type="submit"]:hover {
    background: #2980b9;
}

/* 导航样式保持不变 */
.site-header {
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .centered-title {
        font-size: 2rem;
    }
    
    .centered-content {
        padding: 0 15px;
    }
    
    .comment-area-wrapper {
        padding: 20px;
    }
}