/* ====== ESTILOS GENERALES PARA BLOG ====== */

.blog-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ====== PORTADA DEL BLOG: Imagen de cada tarjeta ====== */
.blog-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* ====== DETALLE DEL POST: Imagen principal ====== */
.blog-post img {
    max-width: 500px;       /* Puedes ajustar este valor */
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ====== Contenido del post ====== */
.blog-post .contenido {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
}

/* ====== Botón volver ====== */
.btn-outline-success {
    border-color: #28a745;
    color: #28a745;
    transition: all 0.2s ease-in-out;
}

.btn-outline-success:hover {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

/* ====== Hover general para enlaces ====== */
a:hover {
    color: orange !important;
}
