/**
 * File: msi-hero.css
 * Version: 1.0.24-dev
 * Description: Shared minimum hero height, matching Products across breakpoints.
 */
/* Existing image-only sections. The semantic msi-ui-hero-image class is opt-in
 * for future image-only hero sections. Never apply to team, posts or product images. */
:is(
    body.msi-theme.home.page #Content :is(.mcb-section-dekmbi5s,.msi-home-hero),
    body.msi-theme #Content .msi-about-hero,
    body.msi-theme.msi-faq-page #Content :is(.msi-faq-hero,.mfn-builder-content > .mcb-section:first-child:has(.column_image):not(:has(.lm-faq,.column_heading))),
    body.msi-theme.msi-clients-page #Content :is(.msi-clients-hero,.mfn-builder-content > .mcb-section:first-child:has(.column_image):not(:has(.lm-clients,.column_heading))),
    body.msi-theme.blog #Content .extra_content .mfn-builder-content > .mcb-section:first-child:has(.column_image):not(:has(.column_heading)),
    body.msi-theme #Content .msi-ui-hero-image
) .column_image .image_wrapper img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: var(--msi-hero-min-height) !important;
    max-height: none !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: var(--msi-hero-image-position, center) !important;
    box-sizing: border-box;
}
/* Plain article subheader is the actual title banner. Keep long titles natural,
 * and never apply the hero sizing to the product breadcrumb-only subheader. */
body.msi-theme.single-post #Subheader:has(.title),
body.msi-theme.blog #Subheader:has(.title) {
    box-sizing: border-box;
    min-height: var(--msi-hero-min-height);
    align-content: center;
}
