/* Estilos para artículos individuales del blog */

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-block;
    color: #0B5D6A;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #28d6f1;
}

.blog-article h1 {
    font-size: 2.5em;
    color: #0B5D6A;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.95em;
    color: #666;
}

.article-meta .category {
    background: linear-gradient(135deg, #28d6f1, #0B5D6A);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
}

.article-hero {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-content {
    line-height: 1.8;
    color: #333;
}

.article-content .lead {
    font-size: 1.2em;
    color: #444;
    border-left: 4px solid #28d6f1;
    padding-left: 20px;
    margin-bottom: 30px;
}

.article-content h2 {
    font-size: 1.6em;
    color: #0B5D6A;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(40, 214, 241, 0.3);
}

.article-content h3 {
    font-size: 1.3em;
    color: #0B5D6A;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #0B5D6A;
    text-decoration: none;
    border-bottom: 1px solid #28d6f1;
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: #28d6f1;
    border-bottom-color: #0B5D6A;
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(40, 214, 241, 0.3);
    text-align: center;
}

.article-footer .btn-primario {
    color: #ffffff;
    background: linear-gradient(135deg, #28d6f1, #0B5D6A);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1em;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 214, 241, 0.4);
}

.article-footer .btn-primario:hover {
    background: linear-gradient(135deg, #0B5D6A, #28d6f1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 214, 241, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-article h1 {
        font-size: 1.8em;
    }

    .article-hero {
        height: 250px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
}
