/* /facts document boundary; nested carousels keep their own horizontal scroll. */
html:has(#zhFeedBootstrap) {
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}
body.facts-page:has(#zhFeedBootstrap) {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}
/* clip contains visual overflow without creating a second scrolling container. */
@supports (overflow-x: clip) {
    html:has(#zhFeedBootstrap),
    body.facts-page:has(#zhFeedBootstrap) { overflow-x: clip; }
}
body.facts-page:has(#zhFeedBootstrap) .page,
body.facts-page:has(#zhFeedBootstrap) #container,
body.facts-page:has(#zhFeedBootstrap) #container > .fcu-card,
body.facts-page:has(#zhFeedBootstrap) .fcu-collapsed {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}
body.facts-page:has(#zhFeedBootstrap) #container > .fcu-card .fcu-title,
body.facts-page:has(#zhFeedBootstrap) #container > .fcu-card .fcu-feed-excerpt {
    overflow-wrap: anywhere;
}
@media (max-width: 768px) {
    body.facts-page:has(#zhFeedBootstrap) #container > .fcu-card .fcu-avatar {
        right: 0 !important;
    }
}

/* Keep the website's desktop max-width and automatic side margins. */
body.facts-page:has(#zhFeedBootstrap) .page-wrap {
    box-sizing: border-box;
    min-width: 0;
}
