/* =====================================================
   HeaderBlog — Cabecera del blog
   ===================================================== */

.hbl-section {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    margin-bottom: 2rem;
    background: linear-gradient(92deg, #ffffff 0%, #d6eff2 100%);
}

/* ── Imagen derecha ───────────────────────────────── */
.hbl-imagen {
    flex-shrink: 0;
    height: 280px;
    width: auto;
    object-fit: contain;
    object-position: right bottom;
    align-self: flex-end;
}

/* ── Contenido ───────────────────────────────────── */
.hbl-content {
    padding: 48px 0 48px 7.5%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 55%;
}

.hbl-titulo {
    font-family: "Lexend Deca", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    color: var(--color3);
    margin: 0;
    line-height: 1.2;
}

.hbl-subtitulo {
    font-family: "Lexend Deca", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 250;
    color: var(--color3);
    margin: 0;
}

.hbl-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 10px 18px;
    border: 1.5px solid var(--color1);
    border-radius: 20px;
    font-family: "Lexend Deca", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 300;
    color: var(--neutro2);
    background: transparent;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 767px) {
    .hbl-section {
        min-height: 160px;
        flex-direction: column;
        padding: 0px;
        background: linear-gradient(182deg, rgba(255, 255, 255, 0.56) 51.92%, rgba(0, 93, 104, 0.48) 100%);
    }

    .hbl-content {
        max-width: 90%;
        padding: 24px 0 24px 0%;
    }

    .hbl-titulo {
        font-size: 24px;
        font-style: normal;
        font-weight: 900;
    }

    .hbl-badge{
        font-size: 14px;
        font-style: normal;
        font-weight: 300;
        padding: 5px 12px;
    }

    .hbl-subtitulo {
        font-size: 16px;
        font-style: normal;
        font-weight: 250;
    }

    .hbl-imagen {
        max-height: 160px;
    }
}
