/*
 * TWP Homepage — global canvas
 * Keeps the standalone homepage at approximately 95% of the browser width,
 * even when the active WordPress theme uses a narrower content container.
 */
.twp-homepage {
    width: 95vw;
    max-width: 95vw;
    margin-left: calc(50% - 47.5vw);
    margin-right: calc(50% - 47.5vw);
    box-sizing: border-box;
    position: relative;
    overflow-x: clip;
}

.twp-homepage,
.twp-homepage * {
    box-sizing: border-box;
}

.twp-homepage > section {
    width: 100%;
    max-width: 100%;
}

/* Prevent common theme wrappers from clipping the 95% homepage canvas. */
.twp-homepage img,
.twp-homepage svg,
.twp-homepage video {
    max-width: 100%;
}

@media (max-width: 700px) {
    .twp-homepage {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }
}
