/* Institutional page heroes. Visual defaults follow Documents > Printing.
   Pages retain their grid/flex layout and may set these variables for special cases. */
.theme-hero.theme-hero {
    --hero-padding: 28px;
    --hero-icon-size: 36px;
    --hero-icon-width: 36px;
    --hero-icon-gap: 18px;
    --hero-title-size: 25px;
    background: linear-gradient(135deg, var(--theme-hero-start) 0%, var(--theme-hero-middle) 54%, var(--theme-hero-end) 100%);
    color: #fff;
    border: 0;
    border-radius: 6px;
    margin-bottom: 24px;
}
.theme-hero.theme-hero .theme-hero-body,
.theme-hero.theme-hero-direct { padding: var(--hero-padding); }
.theme-hero .theme-hero-identity {
    position: relative;
    padding-left: calc(var(--hero-icon-width) + var(--hero-icon-gap)) !important;
    min-width: 0;
    min-height: 48px;
}
.theme-hero-identity > .theme-hero-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--hero-icon-width, 36px);
    color: #fff;
    font-size: var(--hero-icon-size, 36px);
    line-height: 1;
    pointer-events: none;
}
.theme-hero .theme-hero-title {
    color: #fff !important;
    font-size: var(--hero-title-size) !important;
    font-weight: 700 !important;
    line-height: 1.3;
    margin: 8px 0 !important;
    letter-spacing: normal;
    overflow-wrap: anywhere;
}
.theme-hero .theme-hero-eyebrow {
    display: block;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.6;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 !important;
}
.theme-hero .theme-hero-subtitle {
    color: #dce8f2 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 !important;
    opacity: 1;
    overflow-wrap: anywhere;
}
/* Bootstrap rows have negative gutters; keep the visible icon at the banner inset. */
.theme-hero .row > .theme-hero-identity {
    padding-left: calc(var(--hero-icon-width) + var(--hero-icon-gap) + 15px) !important;
}
.theme-hero .row > .theme-hero-identity > .theme-hero-icon { left: 15px; }
/* Documents can also use a direct icon/title/actions flex layout. */
.document-settings-hero > .document-settings-icon {
    font-size: 36px;
    align-self: center;
    flex-shrink: 0;
    line-height: 1;
}
@media (max-width: 767px) {
    .theme-hero.theme-hero { --hero-padding: 20px; --hero-title-size: 22px; --hero-icon-gap: 12px; }
}
