.body-hub{max-width:1500px}.hub-heading{display:flex;gap:18px;justify-content:space-between;align-items:center;margin:10px 0 16px}.hub-heading h1{font-size:clamp(26px,3vw,38px);margin:0}.hub-heading p{margin:4px 0;font-size:15px;color:#56717b}.hub-menu{display:flex;align-items:center;gap:22px;background:#fff;padding:12px 16px;border:1px solid #d4e0e4;border-radius:12px 12px 0 0}.hub-modes{display:flex;border-radius:8px;overflow:hidden;background:#e8eff1}.hub-modes button{border:0;padding:12px 20px;background:transparent;font:inherit;font-weight:700;color:#264552;cursor:pointer}.hub-modes button[aria-pressed=true]{background:#183d4a;color:white}.hub-menu label{display:flex;align-items:center;gap:12px;flex:1;font-size:14px;font-weight:700}.hub-menu select{font:inherit;padding:10px;border:1px solid #aec4cb;border-radius:7px;flex:1;min-width:0;color:#183d4a;background:#fff}.hub-bottom{display:flex;gap:20px;justify-content:space-between;margin:10px 0;font-size:13px}.hub-bottom details{max-width:600px}.hub-bottom a{color:#345763}.hub-more{display:flex;gap:18px;flex-wrap:wrap;margin-top:10px}.body-hub+.site-footer{margin-top:12px}
.body-hub.site-main{padding-top:10px;padding-bottom:0}.hub-heading{margin:4px 0 10px}.hub-heading h1{font-size:30px}.hub-bottom{margin:6px 0}
/* Rammen får innholdets høyde fra body-hub.js; startverdien gjelder til ressursen er lastet. */
#resource-frame{display:block;width:100%;height:900px;border:1px solid #d4e0e4;border-top:0;background:#f2f6f7;border-radius:0 0 12px 12px}
.hub-fullscreen{flex-shrink:0;border:1px solid #aec4cb;background:#fff;color:#183d4a;border-radius:7px;padding:10px 14px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.hub-fullscreen:hover{background:#eef4f5}
@media(max-width:700px){.hub-menu{flex-direction:column;align-items:stretch;gap:10px}.hub-modes button{flex:1;padding:11px 12px}.hub-menu label{display:block}.hub-menu select{display:block;width:100%;margin-top:6px}.hub-heading{display:block}.hub-bottom{flex-direction:column}.hub-heading h1{font-size:25px}}
/* Fokusmodus (fullskjerm): rammen fyller skjermen, menyen ligger øverst i panelet til høyre. */
body.hub-locked{overflow:hidden}
.hub-focus{position:fixed;inset:0;z-index:1000;background:#eef3f4;margin:0}
.hub-focus #resource-frame{position:absolute;inset:0;width:100%;height:100%!important;border:0;border-radius:0}
.hub-focus .hub-menu{display:none}
.hub-focus.hub-drawer .hub-menu{display:flex;position:absolute;top:0;right:0;z-index:2;width:var(--drawer-w,420px);box-sizing:border-box;flex-direction:column;align-items:stretch;gap:10px;border:0;border-left:1px solid #d4e0e4;border-bottom:1px solid #e1e9ec;border-radius:0;padding:14px 16px}
.hub-focus .hub-menu label{display:block}.hub-focus .hub-menu select{display:block;width:100%;margin-top:6px;box-sizing:border-box}
.hub-focus .hub-modes button{flex:1}.hub-focus .hub-fullscreen{display:none}