/* refactor-index-119.css */
/* Keep Campus Library PHP popup below the fixed main navigation header. */
#campusPageIframeModal.campus-page-iframe-modal{
  top:var(--library-fixed-header-height, 72px)!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  height:auto!important;
}
#campusPageIframeModal .campus-page-iframe-backdrop{
  inset:0!important;
}
#campusPageIframeModal .campus-page-iframe-shell{
  top:16px!important;
  height:calc(100% - 32px)!important;
  max-height:calc(100% - 32px)!important;
}
@media(max-width:700px){
  #campusPageIframeModal .campus-page-iframe-shell{
    top:0!important;
    bottom:0!important;
    height:100%!important;
    max-height:100%!important;
  }
  #campusPageIframeModal #campusPageIframe{
    height:100%!important;
    max-height:100%!important;
  }
}

/* refactor-index-120.css */
/* Final responsive header: university/login strip stays above Library header on all devices. */
.topbar{
  position:fixed!important;
  top:0!important;left:0!important;right:0!important;width:100%!important;
  z-index:2147483001!important;
  margin:0!important;
}
.site-header.modern-header,header.site-header.modern-header{
  position:fixed!important;
  top:var(--library-topbar-height,38px)!important;
  left:0!important;right:0!important;width:100%!important;
  z-index:2147483000!important;
}
@media(max-width:700px){
  .topbar .container.topbar-inner{
    min-height:34px!important;
    height:34px!important;
    padding:0 13px!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
  }
  .topbar-brand{font-size:10px!important;line-height:1.1!important;white-space:nowrap!important;}
  .topbar-links{display:flex!important;gap:0!important;flex-wrap:nowrap!important;margin-left:auto!important;}
  .topbar-links a{display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:10px!important;white-space:nowrap!important;}
  .modern-header .nav-wrap{
    min-height:62px!important;
    height:62px!important;
    padding:6px 13px!important;
    gap:8px!important;
  }
  .modern-header .brand-image-style{gap:8px!important;}
  .modern-header .brand-seal{width:126px!important;min-width:126px!important;max-width:126px!important;height:46px!important;flex:0 0 126px!important;}
  .modern-header .brand-seal img{width:126px!important;max-width:126px!important;height:auto!important;}
  .modern-header .brand-divider{display:block!important;height:34px!important;}
  .modern-header .library-word{display:block!important;font-size:14px!important;line-height:1.05!important;white-space:normal!important;}
  .modern-header .hamburger-btn{flex:0 0 42px!important;width:42px!important;height:42px!important;margin-left:auto!important;}
}
@media(max-width:480px){
  .modern-header .brand-seal{width:112px!important;min-width:112px!important;max-width:112px!important;flex-basis:112px!important;}
  .modern-header .brand-seal img{width:112px!important;max-width:112px!important;}
  .modern-header .library-word{font-size:12px!important;}
}
@media(max-width:390px){
  .topbar-brand{font-size:9px!important;}
  .topbar-links a{font-size:9px!important;}
  .modern-header .brand-seal{width:105px!important;min-width:105px!important;max-width:105px!important;flex-basis:105px!important;}
  .modern-header .brand-seal img{width:105px!important;max-width:105px!important;}
  .modern-header .library-word{font-size:11px!important;}
}
