/* Página de artículo: /blog/{slug} */

body.serif { font-family: Georgia, serif; }
.container.narrow { max-width: 800px; }

.site-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    margin-bottom: 40px;
}
.site-header .inner { max-width: 800px; margin: 0 auto; }
.site-header img { height: 100px; width: auto; display: block; }

.back-link { display: inline-block; margin-bottom: 40px; }

.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 30px; }

.article-hero {
    width: 100%; max-height: 420px; object-fit: cover; display: block;
    border-radius: 12px; margin-bottom: 32px;
}

.article-header { margin-bottom: 40px; }
.article-header h1 { font-size: 42px; line-height: 1.3; margin-bottom: 20px; }

.meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.meta strong { color: var(--link); font-weight: normal; }

/* Contenido del artículo */
.content { line-height: 1.8; font-size: 16px; margin-bottom: 60px; word-wrap: break-word; }
.content p { margin-bottom: 20px; }
.content h2 { font-size: 28px; margin: 40px 0 20px 0; }
.content h3 { font-size: 22px; margin: 32px 0 16px 0; }
.content ul, .content ol { margin: 0 0 20px 28px; }
.content li { margin-bottom: 6px; }
.content blockquote {
    margin: 0 0 20px 0; padding: 8px 20px;
    border-left: 4px solid var(--accent-gold); color: var(--text-secondary); font-style: italic;
}
.content a { text-decoration: underline; }

/* Relacionados */
.related, .comments { border-top: 2px solid var(--border); padding-top: 40px; margin-top: 60px; }
.related h2, .comments h2 { font-size: 24px; margin-bottom: 30px; }

.related-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.related-card {
    background: var(--surface); border: 1px solid var(--border);
    padding: 20px; border-radius: 8px; transition: border-color 300ms, box-shadow 300ms;
}
.related-card:hover { border-color: var(--accent-gold); box-shadow: 0 4px 12px rgba(199, 168, 106, 0.15); }
.related-card h3 { font-size: 16px; margin-bottom: 10px; }
.related-card p { font-size: 12px; color: var(--text-secondary); }

/* Comentarios */
.comment-form-box {
    background: var(--surface); border: 1px solid var(--border);
    padding: 30px; border-radius: 8px; margin-bottom: 40px;
}
.comment-form-box h3 { font-size: 18px; margin-bottom: 20px; }
.comment-form { display: flex; flex-direction: column; gap: 15px; }
.comment-form .field { width: 100%; }
.comment-form textarea.field { resize: vertical; }
.comment-feedback {
    display: none; margin-top: 15px; padding: 15px; border-radius: 4px;
    background: var(--surface); border: 1px solid var(--accent-gold); color: var(--accent-gold);
}

.comment-list { display: flex; flex-direction: column; gap: 20px; }
.comment {
    background: var(--surface); padding: 20px; border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}
.comment-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.comment-author { font-size: 16px; }
.comment-date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.comment p { line-height: 1.6; }
.comments-empty { color: var(--muted); text-align: center; padding: 20px; }

@media (max-width: 600px) {
    .article-header h1 { font-size: 32px; }
    .site-header img { height: 70px; }
}
