body#page-mod-resource-view #page.drawers .main-inner{max-width:none!important;width:100%;padding-left:16px!important;padding-right:16px!important}
body#page-mod-resource-view #page-header{max-width:none!important;padding-bottom:4px!important}
body#page-mod-resource-view #page-header h1{font-size:clamp(20px,1.8vw,28px);line-height:1.25;margin-bottom:6px}
/* Nothing extra above the document: no activity icon, no description text. */
body#page-mod-resource-view #page-header .activityiconcontainer,
body#page-mod-resource-view .page-header-image,
body#page-mod-resource-view .activity-header .activity-description,
body#page-mod-resource-view .resourcecontent + .resourcedetails,
body#page-mod-resource-view .activity-header:empty{display:none!important}
body#page-mod-resource-view #region-main{padding:0!important}
body#page-mod-resource-view .resourcecontent{width:100%;padding:0!important;margin:6px 0!important}
body#page-mod-resource-view #resourceobject{display:block;width:100%!important;max-width:none!important;height:calc(100dvh - 190px)!important;min-height:480px}
@media(max-width:767px){body#page-mod-resource-view #page.drawers .main-inner{padding-left:8px!important;padding-right:8px!important}body#page-mod-resource-view #resourceobject{height:calc(100dvh - 150px)!important;min-height:360px}}
