/* HUMANAS JA - AJUSTES FINAIS DA PAGINA DE MATERIAL */

/* Titulos longos devem quebrar em linhas sem invadir a viewport. */
[data-material-id] h1 {
    white-space: normal !important;
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    text-wrap: balance;
    font-size: clamp(3rem, 5vw, 6.2rem) !important;
    line-height: 0.92 !important;
}

/* Em notebooks e janelas menores, reduz um pouco antes de chegar ao mobile. */
@media (max-width: 1500px) {
    [data-material-id] h1 {
        font-size: clamp(2.7rem, 4.7vw, 5.2rem) !important;
        line-height: 0.94 !important;
    }
}

@media (max-width: 1100px) {
    [data-material-id] h1 {
        font-size: clamp(2.4rem, 6vw, 4.3rem) !important;
    }
}

@media (max-width: 720px) {
    [data-material-id] h1 {
        font-size: clamp(2.1rem, 10vw, 3.5rem) !important;
        line-height: 0.96 !important;
    }
}
/* FIM - AJUSTES FINAIS DA PAGINA DE MATERIAL */