/* ==================================================== */
/* ESTILOS DE LA SECCIÓN DE BLOG                        */
/* ==================================================== */
.blog-main-section {
    padding: 80px 0 110px 0;
    background-color: #fafbfc;
}

/* Grid de 3 Columnas Exactas */
.blog-grid-3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Tarjeta de Blog Estilizada */
.blog-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 25px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.07);
}

/* Contenedor de la miniatura en la tarjeta */
.blog-card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img-wrapper img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #2b231d;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Botón Ver Más con acento amarillo institucional */
.btn-ver-mas {
    display: inline-block;
    background-color: #e6b33d;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(230, 179, 61, 0.3);
}

.btn-ver-mas:hover {
    background-color: #cc9f32;
    transform: translateY(-2px);
}

.no-blogs-msg {
    grid-column: span 3;
    text-align: center;
    font-size: 16px;
    color: #888;
    padding: 40px;
}

/* ================= RESPONSIVE BLOG GRID ================= */
@media (max-width: 1024px) {
    .blog-grid-3cols {
        grid-template-columns: repeat(2, 1fr);
    }
    .no-blogs-msg {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .blog-grid-3cols {
        grid-template-columns: 1fr;
    }
    .no-blogs-msg {
        grid-column: span 1;
    }
}