/* css/article_detail.css */

.article-detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.article-detail-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-detail-meta {
    color: #999;
    font-size: 0.95em;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.article-detail-meta span i {
    color: #EE0000;
    margin-right: 5px;
}

.article-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
    margin-bottom: 50px;
}

.article-content p {
    margin-bottom: 1em;
}

.article-content strong {
    color: #333;
}

.article-content em {
    font-style: italic;
    color: #666;
}

.article-content h2, .article-content h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.article-content ul, .article-content ol {
    margin-bottom: 1em;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 0.5em;
}

.article-image {
    text-align: center;
    margin: 30px 0;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-image span {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #777;
}

blockquote {
    background-color: #f8f8f8;
    border-left: 5px solid #EE0000;
    margin: 20px 0;
    padding: 15px 20px;
    font-style: italic;
    color: #555;
    border-radius: 6px;
}

blockquote p {
    margin-bottom: 0.5em;
}

blockquote i {
    color: #EE0000;
    margin: 0 5px;
}

.comments-section {
    background-color: #fafafa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comments-section .section-title {
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    min-height: 100px;
    resize: vertical;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.comment-form textarea:focus {
    border-color: #EE0000;
}

.comment-form button {
    background-color: #EE0000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.comment-form button:hover {
    background-color: #cc0000;
}

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

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-author {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.comment-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.comment-meta {
    font-size: 0.85em;
    color: #999;
}

@media (max-width: 768px) {
    .article-detail-title {
        font-size: 2em;
    }

    .article-detail-meta {
        flex-direction: column;
        gap: 10px;
    }

    .comment-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-avatar {
        margin-bottom: 10px;
    }
} 