/* Opt-in page headers shared by Solution landings and setup screens.
 * Colors, content, audience and action availability remain owned by each page.
 * No fixed height or text truncation: translations and zoom can grow naturally.
 */
.compact-page-header {
    --compact-page-header-title-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
    --compact-page-header-padding: clamp(1.25rem, 2.5vw, 2rem);
    min-width: 0;
    overflow-wrap: anywhere;
}

.compact-page-header--setup {
    --compact-page-header-title-size: clamp(1.5rem, 1.25rem + 1vw, 1.75rem);
    --compact-page-header-padding: 1rem 1.25rem;
}

/* Higher specificity than framework utilities, including responsive utilities. */
.compact-page-header.compact-page-header__spacing,
.compact-page-header .compact-page-header__spacing {
    padding-block: var(--compact-page-header-padding);
}

.compact-page-header .compact-page-header__title {
    margin-block: 0.5rem 0;
    font-size: var(--compact-page-header-title-size);
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.compact-page-header .compact-page-header__lead {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.compact-page-header .compact-page-header__eyebrow {
    margin-block: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.compact-page-header .compact-page-header__actions,
.compact-page-header [data-section="legal-decision-action-group"],
.compact-page-header [data-section="legal-hero-benefits"] {
    margin-top: 1rem;
}

.compact-page-header .compact-page-header__actions > a,
.compact-page-header [data-section="legal-decision-action-group"] > a {
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
}
