/* Correção de tipografia - Remove alturas de viewport */

/* Reset global de h1 e p que possam ter vh */
h1, h2, h3, h4, h5, h6, p {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* Títulos e subtítulos */
.page-title,
.page-subtitle {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* Container do header */
.page-header {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
}

/* Específico para BCB */
.bcb-page-container .page-header,
.bcb-page-container .page-title,
.bcb-page-container .page-subtitle {
    height: auto !important;
    min-height: 0 !important;
}

/* Remove qualquer vh-100 que possa ter sido aplicado */
.vh-100 {
    height: auto !important;
    min-height: 0 !important;
}

/* Estilo correto para títulos */
.page-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 5px 0;
    padding: 0;
}

.page-subtitle {
    font-family: 'Source Serif Pro', serif;
    font-size: 14px;
    line-height: 1.4;
    color: #6B5D54;
    margin: 0 0 10px 0;
    padding: 0;
}

/* Header com espaçamento adequado */
.page-header {
    padding: 15px 0;
    margin-bottom: 15px;
}

/* Debug - remover depois */
.page-title,
.page-subtitle,
.page-header {
    /* border: 1px dashed blue; */
}