
/* ============================================
   BLOG ARTICLE - MEDIUM STYLE
   ============================================ */

.blog-article-detail {
    background: #ffffff;
    min-height: 100vh;
}

.blog-article-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Imagen Hero */
.blog-article-hero-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
}

.blog-article-hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.95) 100%);
    pointer-events: none;
}

.blog-article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contenido del artículo */
.blog-article-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;
}

/* Categoría */
.blog-article-category {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

/* Título */
.blog-article-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Metadata del autor */
.blog-article-meta {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.blog-article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar svg {
    width: 24px;
    height: 24px;
    color: white;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
}

.article-date {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Divisor */
.blog-article-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 2rem 0;
}

/* Cuerpo del artículo */
.blog-article-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    font-family: Georgia, 'Times New Roman', serif;
    text-align: left;
    margin-top: 2rem;
}

.blog-article-body p {
    margin-bottom: 1.5rem;
}

.blog-article-body strong {
    font-weight: 600;
    color: var(--primary);
}

.blog-article-body em {
    font-style: italic;
}

/* Footer del artículo */
.blog-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-back svg {
    width: 18px;
    height: 18px;
}

.btn-back:hover {
    background: var(--muted);
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-article-hero-image {
        height: 300px;
    }
    
    .blog-article-content {
        padding: 2rem 1rem;
    }
    
    .blog-article-title {
        font-size: 1.75rem;
    }
    
    .blog-article-body {
        font-size: 1rem;
    }
    
    .blog-article-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-back,
    .blog-article-footer .btn {
        width: 100%;
        justify-content: center;
    }
}
