/* Estilos para artículo detalle */
.articulo-detalle {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.articulo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.articulo-imagen-principal {
    margin: 2rem 0;
}

.articulo-imagen-principal img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
}

.articulo-contenido {
    line-height: 1.6;
    font-size: 1.1rem;
    text-align: justify;
}

.articulo-recursos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-pdf {
    background-color: #f7b835;
    color: #000;
    border: 2px solid #f7b835;
}

.btn-pdf:hover {
    background-color: transparent;
    color: #f7b835;
}

.btn-enlace {
    background-color: #007bff;
    color: white;
    border: 2px solid #007bff;
}

.btn-enlace:hover {
    background-color: transparent;
    color: #007bff;
}

.volver-atras {
    margin: 3rem 0;
    text-align: center;
}

.volver-atras .btn {
    background-color: #6c757d;
    color: white;
    border: 2px solid #6c757d;
}

.volver-atras .btn:hover {
    background-color: transparent;
    color: #6c757d;
}

.articulo-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    margin: 1rem 0;
}

.articulo-meta i {
    margin-right: 0.3rem;
}

@media (max-width: 768px) {
    .articulo-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .articulo-recursos {
        margin-top: 2rem;
    }
}