/* Root scroll must never grow wider than the device layout viewport.
   Keep horizontal scrolling inside intentional carousels and table wrappers. */
html { width:100%; max-width:100%; overflow-x:hidden; }
body { width:100%; max-width:100%; min-width:0; overflow-x:clip; }
@supports not (overflow:clip) { body { overflow-x:hidden; } }
#yamii-main-content { width:100%; max-width:100%; min-width:0; }
.yamii-header__inner,.yamii-top-hero__content,.yamii-hero-community { min-width:0; }
.yamii-hero-member-belt { contain:inline-size; }
@media(max-width:768px) {
    #yamii-main-content :is(main,section,article,aside,nav,form,fieldset) > * { min-width:0; }
    #yamii-main-content :is(input,select,textarea,iframe,video) { max-width:100%; }
    #yamii-main-content :is(input,select,textarea) { min-width:0; box-sizing:border-box; }
    #yamii-main-content :is(h1,h2,h3,p,li,dd,a) { overflow-wrap:anywhere; }
    body.home .yamii-top-hero__description,
    body.home .yamii-facility-hero .yamii-top-card__title { white-space:normal; overflow-wrap:anywhere; }
    .yamii-hero-community__actions > a { max-width:100%; min-width:0; white-space:normal; }
    .yamii-header__inner { gap:10px; }
    .yamii-logo { min-width:0; }
}
