/* ===============================================
   ESTILOS PARA ARTÍCULOS INDIVIDUALES DEL BLOG
   =============================================== */

/* Contenedor principal para el artículo */
.article-full-view {
    width: 100%;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Artículo Principal */
.article-full-view .blog-article {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Cabecera del Artículo */
.article-full-view .article-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    z-index: auto !important;
    padding: 50px 60px 30px;
    background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
}

.article-full-view .article-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-full-view .article-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--dark);
}

.article-full-view .article-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    color: var(--gray);
    font-size: 0.95rem;
}

.article-full-view .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-full-view .meta-item i {
    color: var(--primary);
}

/* Imagen Destacada */
.article-full-view .article-featured-image {
    width: 100%;
    height: 450px;
    margin: 0;
    overflow: hidden;
}

.article-full-view .article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido del Artículo */
.article-full-view .article-content {
    padding: 50px 60px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-full-view .article-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #555;
    line-height: 1.7;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--gray-light);
}

.article-full-view .article-content h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.article-full-view .article-content h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-top: 35px;
    margin-bottom: 15px;
}

.article-full-view .article-content p {
    margin-bottom: 20px;
}

.article-full-view .article-content ul,
.article-full-view .article-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-full-view .article-content li {
    margin-bottom: 12px;
}

.article-full-view .article-content strong {
    color: var(--dark);
    font-weight: 600;
}

.article-full-view .article-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s;
}

.article-full-view .article-content a:hover {
    color: var(--primary-dark);
}

.article-full-view .article-callout,
.article-full-view .article-warning,
.article-full-view .article-tip,
.article-full-view .article-success {
    padding: 25px;
    margin: 35px 0;
    border-radius: var(--border-radius-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.article-full-view .article-callout {
    background: #fff8e1;
    border-left: 5px solid #ffc107;
}

.article-full-view .article-warning {
    background: #ffebee;
    border-left: 5px solid #f44336;
}

.article-full-view .article-tip {
    background: #e3f2fd;
    border-left: 5px solid #2196f3;
}

.article-full-view .article-success {
    background: #e8f5e9;
    border-left: 5px solid #4caf50;
}

.article-full-view .article-callout i,
.article-full-view .article-warning i,
.article-full-view .article-tip i,
.article-full-view .article-success i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.article-full-view .article-callout i { color: #ffc107; }
.article-full-view .article-warning i { color: #f44336; }
.article-full-view .article-tip i { color: #2196f3; }
.article-full-view .article-success i { color: #4caf50; }

/* CTA del Artículo */
.article-full-view .article-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 50px;
    text-align: center;
    margin: 50px 0;
    border-radius: var(--border-radius-md);
}

.article-full-view .article-cta h3 {
    margin: 0 0 15px 0;
    font-size: 2rem;
    color: white;
}

.article-full-view .article-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.article-full-view .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.article-full-view .article-cta .cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.article-full-view .cta-button.primary {
    background: white;
    color: var(--primary);
}

.article-full-view .cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.article-full-view .article-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Compartir en Redes */
.article-full-view .article-footer {
    padding: 40px 60px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-full-view .back-button {
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-full-view .back-button:hover {
    background: var(--primary-dark);
    transform: translateX(-5px);
}

.article-full-view .article-share {
    padding-top: 0;
    border-top: none;
    margin-top: 0;
}

.article-full-view .article-share h3,
.article-full-view .article-share h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.article-full-view .share-buttons {
    display: flex;
    gap: 10px;
}

.article-full-view .share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-full-view .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.article-full-view .share-btn.facebook { background: #1877f2; }
.article-full-view .share-btn.twitter { background: #1da1f2; }
.article-full-view .share-btn.linkedin { background: #0077b5; }
.article-full-view .share-btn.whatsapp { background: #25d366; }

/* Breadcrumbs dentro del artículo */
.article-full-view .breadcrumbs-container {
    margin-bottom: 30px;
}

.article-full-view .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.article-full-view .breadcrumbs li {
    display: flex;
    align-items: center;
}

.article-full-view .breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.article-full-view .breadcrumbs a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.article-full-view .breadcrumbs span {
    margin: 0 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .article-full-view .article-header {
        padding: 40px 30px 20px;
    }
    
    .article-full-view .article-header h1 {
        font-size: 2rem;
    }
    
    .article-full-view .article-featured-image {
        height: 300px;
    }
    
    .article-full-view .article-content {
        padding: 40px 30px;
        font-size: 1rem;
    }
    
    .article-full-view .article-content .lead {
        font-size: 1.15rem;
    }
    
    .article-full-view .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-full-view .article-cta {
        padding: 35px 25px;
    }
    
    .article-full-view .article-cta h3 {
        font-size: 1.6rem;
    }
    
    .article-full-view .article-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
    }
    
    .article-full-view .back-button {
        width: 100%;
        justify-content: center;
    }
    
    .article-full-view .article-share {
        width: 100%;
    }
    
    .article-full-view .share-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-full-view .article-header h1 {
        font-size: 1.6rem;
    }
    
    .article-full-view .article-meta {
        gap: 15px;
        font-size: 0.85rem;
    }
    
    .article-full-view .article-content {
        padding: 30px 20px;
    }
    
    .article-full-view .article-content h2 {
        font-size: 1.3rem;
    }
    
    .article-full-view .share-buttons {
        flex-wrap: wrap;
    }
    
    .article-full-view .breadcrumbs {
        font-size: 0.85rem;
    }
    
    .article-full-view .cta-buttons {
        flex-direction: column;
    }
    
    .article-full-view .cta-button {
        width: 100%;
        text-align: center;
    }
}
