/* Babaidibu: encabezado compacto para etiquetas del blog */

.section-hero.section-hero-category.section-hero-tag {
    height: auto;
    min-height: 0;
    padding: 190px 0 10px;
}

.section-hero.section-hero-category.section-hero-tag .container {
    max-width: 1320px;
}

.section-hero.section-hero-category.section-hero-tag .section-hero-left,
.section-hero.section-hero-category.section-hero-tag .row {
    height: auto;
    min-height: 0;
}

.section-hero.section-hero-category.section-hero-tag .section-hero-left {
    padding: 0;
}

/* La columna del texto ocupa más ancho */
.section-hero.section-hero-category.section-hero-tag .col-md-6:first-child {
    flex: 0 0 50%;
    max-width: 50%;
}

/* La columna vacía deja de ocupar espacio visual */
.section-hero.section-hero-category.section-hero-tag .col-md-6:last-child {
    display: none;
}

.section-hero.section-hero-category.section-hero-tag .hero-txt {
    margin: 0;
    padding: 0;
}

.section-hero.section-hero-category.section-hero-tag .hero-txt .pre-title {
    margin-bottom: 8px;
}

.section-hero.section-hero-category.section-hero-tag .hero-txt h1 {
    margin: 0;
    font-size: clamp(30px, 2.8vw, 46px);
    line-height: 1.05;
    max-width: min(400px, 28vw);
}

/* Ajuste en tablet/móvil */
@media (max-width: 991px) {
    .section-hero.section-hero-category.section-hero-tag {
        padding: 120px 0 8px;
    }

    .section-hero.section-hero-category.section-hero-tag .col-md-6:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .section-hero.section-hero-category.section-hero-tag .hero-txt h1 {
        font-size: clamp(28px, 5vw, 40px);
        max-width: none;
    }
}
