/* =======================
   BLOG – CONTENEDOR RAÍZ
======================= */
.blog-page {
    font-family: inherit;
    color: #e6e6e6;
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 100px; /* 1–2 dedos antes del footer */
}

/* =======================
   SECCIÓN INTRO BLOG
======================= */
.blog-page .blog-intro {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;        /* quitamos padding vertical */
    display: flex;
    flex-direction: column;
    gap: 120px;
    /*margin-top: 100vh;      /* desplazamos todo el blog-intro fuera de la primera pantalla */
}

/* Fila base */
.blog-page .intro-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}
/* =======================
   BLOG – HERO
======================= */
.blog-page .hero1 {
    min-height: 100vh;
    display: flex;
    justify-content: flex-start;   /* 🔑 CLAVE */
    align-items: center;
    text-align: center;

    padding: 0px 1px 0px 1px;  /* separación real del header */
    box-sizing: border-box;
}

.blog-page .hero1 .hero-content h2 {
    color: #ffffff;
    font-size: 4rem;       /* Título más grande */
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-page .hero1 .hero-content p {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.15;   /* 👈 AQUÍ controlas el espacio entre líneas */
}


/* Opcional: pequeño margen inferior para no pegarse a las intro-rows */
/*.blog-page .blog-intro {
    margin-top: 325px;
}*/

/* Fila invertida */
.blog-page .intro-row.reverse {
    grid-template-columns: 2fr 1fr;
}

/* Texto */
.blog-page .intro-text h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.blog-page .intro-text p {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 520px;
}

.blog-page .intro-link {
    display: inline-block;
    text-decoration: none;
    color: #0f1115;
    background-color: #ffffff;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-page .intro-link:hover {
    background-color: #d9d9d9;
}

/* Imagen */
.blog-page .intro-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 16px;
    filter: brightness(0.9);
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 1000px) {

    .blog-page .blog-intro {
        padding: 60px 24px;
        gap: 80px;
    }

    .blog-page .intro-row,
    .blog-page .intro-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-page .intro-image img {
        height: 260px;
    }

    .blog-page .intro-text h2 {
        font-size: 2rem;
    }
}

/* Estado inicial oculto para  reveal */
.blog-page .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

/* Cuando se añade la clase visible, aparece */
.blog-page .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
