/* Shared page-banner heading standard. */
#subheader .container h1,
#subheader .container h2 {
    max-width: 100%;
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.015em;
}

@media (min-width: 992px) {
    #subheader .container h1,
    #subheader .container h2 {
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    #subheader .container h1,
    #subheader .container h2 {
        font-size: clamp(2rem, 5vw, 2.5rem);
        overflow-wrap: anywhere;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    /* Compact public-page heroes on phones while retaining all page context. */
    #subheader:not(.s2) {
        padding: 80px 0 28px !important;
    }
}

@media (max-width: 575px) {
    #subheader .container h1,
    #subheader .container h2 {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }
}
