/* Interior photography is panoramic on desktop. Small screens lead with the page task. */
body .widgetSectionInnerPageSlider > .sls-new-widget-section {
    height: clamp(250px, 24vw, 410px) !important;
    min-height: 0 !important;
    position: relative;
    overflow: hidden;
}
body .widgetSectionInnerPageSlider .sls-background-holder,
body .widgetSectionInnerPageSlider .sls-video-background {
    background-size: cover !important;
    background-position: center 32% !important;
    background-attachment: scroll !important;
    object-fit: cover;
    object-position: center 32%;
}
body .widgetSectionInnerPageSlider .sls-overlay {
    position: relative;
    height: 100% !important;
    min-height: 0 !important;
    background: linear-gradient(90deg, rgba(12,32,37,.76), rgba(12,32,37,.44) 43%, transparent 76%) !important;
}
body .widgetSectionInnerPageSlider .sls-overlay-mid-div.container {
    position: absolute !important;
    inset: auto 0 0 !important;
    height: auto !important;
    transform: none !important;
}
body .widgetSectionInnerPageSlider .sls-inner-widget { padding: 28px 0 !important; }
body .widgetSectionInnerPageSlider h2 {
    color: white;
    text-align: left;
    margin: 0;
    max-width: 21ch;
    font-size: clamp(28px, 3.2vw, 52px);
    line-height: 1.12;
}
@media (max-width: 767px) {
    body .widgetSectionInnerPageSlider > .sls-new-widget-section,
    body .widgetSectionInnerPageSlider .sls-overlay,
    body .widgetSectionInnerPageSlider .sls-overlay-mid-div.container {
        position: static !important;
        height: auto !important;
        min-height: 0 !important;
        background: #12394c !important;
    }
    body .widgetSectionInnerPageSlider :is(.sls-background-holder, .sls-video-background) { display: none !important; }
    body .widgetSectionInnerPageSlider .sls-inner-widget { padding: 20px 0 !important; }
    body .widgetSectionInnerPageSlider h2 { font-size: 24px; max-width: none; }
}
@media (max-width: 767px) {
    /* Calculator widgets already introduce the tool with their own heading. */
    .main-container:has([data-render-widget="mortgageCalculatorWidget"]) > .widgetSectionInnerPageSlider { display: none; }
}
