/**
 * Estilos personalizados para el blog
 * Mantiene la coherencia visual con el resto del sitio
 */

/* Estilos para la navegación de entradas (siguiente/anterior) */
.nav-links {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.nav-previous,
.nav-next {
    max-width: 48%;
}

.nav-previous a,
.nav-next a {
    display: inline-block;
    color: #2563eb; /* blue-600 */
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #1e40af; /* blue-800 */
}

/* Estilos para el contenido de los posts */
.blog .container {
    max-width: 1200px !important;
}

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

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.post-content h2 {
    font-size: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
}

.post-content h4 {
    font-size: 1.125rem;
}

.post-content ul,
.post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-content a {
    color: #2563eb; /* blue-600 */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: #1e40af; /* blue-800 */
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.25rem;
}

/* Estilos para comentarios */
.comments-area {
    margin-top: 2rem;
}

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

.comment {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9fafb; /* gray-50 */
    border-radius: 0.25rem;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author .avatar {
    margin-right: 0.75rem;
    border-radius: 50%;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #6b7280; /* gray-500 */
    margin-bottom: 0.5rem;
}

.comment-content p {
    margin-bottom: 0.75rem;
}

.comment-reply-link {
    font-size: 0.875rem;
    color: #2563eb; /* blue-600 */
}

.comment-form-comment label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db; /* gray-300 */
    border-radius: 0.25rem;
}

.form-submit input[type="submit"] {
    background-color: #2563eb; /* blue-600 */
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit input[type="submit"]:hover {
    background-color: #1e40af; /* blue-800 */
}
