/* WH_HOME_OVERFLOW_FIX_V1 — responsive, true full-width header without 100vw. */
/* The homepage shell is full width; its main content retains its previous max-width. */
html[data-wh-layout="index"] body > .site {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Override the earlier 100vw / negative-margin full-bleed rules. */
html[data-wh-layout="index"] body > .site > header.topbar,
html[data-wh-layout="index"] body > .site > header.wh-standard-header,
html[data-wh-layout="index"] body > .site > nav.feature-nav,
html[data-wh-layout="index"] body > .site > nav.wh-feature-menu {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html[data-wh-layout="index"] body > .site > main {
    box-sizing: border-box;
    width: 100%;
    max-width: 1400px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

html[data-wh-layout="index"] body > .site > footer {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1100px) {
    html[data-wh-layout="index"] body > .site > main {
        width: calc(100% - 2 * var(--wh-rsp-outer-gap, 24px));
        max-width: var(--wh-rsp-max, 1440px);
    }
    html[data-wh-layout="index"] body > .site > footer {
        width: calc(100% - 2 * var(--wh-rsp-outer-gap, 24px) - 40px);
        max-width: 1400px;
    }
}

@media (max-width: 550px) {
    html[data-wh-layout="index"] body > .site > main {
        padding-left: 10px;
        padding-right: 10px;
    }
    html[data-wh-layout="index"] body > .site > footer {
        width: calc(100% - 20px);
    }
}
