/* Shared responsive foundation. Loaded after the legacy theme layers. */
.rc-site img,.rc-site video{max-width:100%;height:auto}
.rc-site :is(.rc-content,.rc-workspace-main,.form-item){min-width:0}
.rc-site :is(input,select,textarea){box-sizing:border-box;max-width:100%}
.rc-site :is(h1,h2,h3,p,dd){overflow-wrap:anywhere}
.rc-site [hidden]{display:none!important}
@media(max-width:1024px){
 html body:has(.rc-site) .rc-site{padding-top:0!important}
 html body .dialog-off-canvas-main-canvas{margin-top:0!important}
 html body .rc-site .rc-topbar{position:sticky!important;top:var(--drupal-displace-offset-top,0px)!important;height:auto!important;z-index:100!important}
 html body .rc-site .rc-topbar__inner.rc-topbar-inner{flex-wrap:wrap!important;height:auto!important}
 html body .rc-site .rc-search.rc-search-wrap{min-width:0!important;flex:1 1 100%!important;max-width:100%!important}
 html body .rc-site .rc-search.rc-search-wrap input{flex:1 1 0!important;width:0!important;min-width:0!important}
 html body .rc-site .rc-search.rc-search-wrap button{position:static!important;flex:0 0 auto!important;min-height:44px;padding:8px!important}
 html body .rc-site .rc-profile-sticky-nav{top:var(--rc-mobile-header-height,180px)!important;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
 html body .rc-context-drawer[data-rc-split-drawer] [data-rc-split-panel]{top:calc(var(--rc-mobile-header-height,180px) + var(--drupal-displace-offset-top,0px) + 8px)!important;bottom:max(8px,env(safe-area-inset-bottom))!important;max-height:none!important}
}
@media(max-width:767px){
 html body .rc-site .rc-container.rc-layout{margin:0 auto!important;padding:16px 12px!important;width:100%!important;box-sizing:border-box}
 html body .rc-site .rc-top-icons.rc-topbar-icons{flex-wrap:wrap!important;gap:4px!important}
 html body .rc-site .rc-main-menu.rc-top-nav{overflow-x:auto;white-space:nowrap;max-width:100%;padding-bottom:4px}
 html body .rc-site :is(.rc-top-icons a,.rc-top-icons button,.rc-main-menu a,.rc-user-dropdown>button,.rc-add-dropdown>button){min-height:44px;min-width:44px}
 html body .rc-site :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px!important;min-height:44px}
 html body .rc-site :is(.form-actions,.rc-workspace-actions,.rc-profile-actions--header){display:flex;flex-wrap:wrap;gap:8px}
 html body .rc-site :is(.form-actions .button,.rc-workspace-actions>a){min-height:44px;white-space:normal}
 html body .rc-site :is(.rc-researcher-profile-page,.rc-private-workspace,.rc-control-centre){width:100%!important;margin:12px auto!important;padding:12px!important}
 html body .rc-site .rc-profile-overview{grid-template-columns:minmax(0,1fr)!important}
 html body .rc-site .rc-profile-sticky-nav a{flex-shrink:0;min-height:44px;display:inline-flex;align-items:center}
 html body .rc-site :is(.rc-user-menu,.rc-add-menu){max-width:calc(100vw - 24px);max-height:65dvh;overflow-y:auto;box-sizing:border-box}
 html body .rc-site :is(dialog,.ui-dialog){max-width:calc(100vw - 24px)!important;box-sizing:border-box}
 .rc-mobile-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;margin-block:16px}
 .rc-mobile-table-scroll>table{display:table!important;min-width:600px;width:100%;overflow:visible!important}
 .rc-mobile-table-scroll:focus-visible{outline:3px solid #175ec7;outline-offset:2px}
 html body .rc-site .rc-context-drawer-toggle{width:44px!important;min-height:48px!important}
}
@media(prefers-reduced-motion:reduce){.rc-site *{scroll-behavior:auto!important}.rc-site [data-rc-split-panel]{transition:none!important}}
