body.nucb-central-header-active .nucbo-header,
body.nucb-central-header-active .wp-site-blocks>header,
body.nucb-central-header-active #masthead,
body.nucb-central-header-active .site-header,
body.nucb-central-header-active header.site-header,
body.nucb-central-header-active .main-header,
body.nucb-central-header-active .header-wrapper{display:none!important}
.nucb-global-header{position:sticky;top:0;z-index:99990;width:100%;background:#fffefa;border-bottom:1px solid #e6ebee;box-shadow:0 3px 14px rgba(11,45,75,.025)}
body.admin-bar .nucb-global-header{top:32px}
.nucb-global-header-inner{width:min(1320px,calc(100% - 48px));min-height:86px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:26px}
.nucb-global-brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none!important}
.nucb-global-brand img{width:65px;height:65px;object-fit:contain;display:block}
.nucb-brand-text{font:800 15px Manrope,Arial,sans-serif;letter-spacing:-.3px;color:#0b2d4b}
.nucb-brand-text small{display:block;font-size:8px;letter-spacing:3px;color:#c18a00;margin-top:3px}
.nucb-global-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,1.7vw,25px)}
.nucb-global-nav a{font-family:'Hind Siliguri',Arial,sans-serif;font-size:15px;font-weight:600;color:#142b43;text-decoration:none!important;white-space:nowrap;transition:color .18s ease}
.nucb-global-nav a:hover,.nucb-global-nav a.active{color:#c18a00}
.nucb-global-toggle{display:none;border:1px solid #e1e8ed;background:#fff;border-radius:8px;width:44px;height:42px;padding:9px;cursor:pointer}
.nucb-global-toggle span{display:block;height:2px;background:#0b2d4b;margin:5px 0;border-radius:2px}
@media(max-width:1050px){.nucb-global-header-inner{min-height:78px;width:calc(100% - 34px)}.nucb-global-brand img{width:57px;height:57px}.nucb-global-nav{gap:11px}.nucb-global-nav a{font-size:13px}}
@media(max-width:800px){.nucb-global-header-inner{min-height:70px}.nucb-global-brand img{width:53px;height:53px}.nucb-global-toggle{display:block}.nucb-global-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fffefa;padding:8px 22px 17px;border-top:1px solid #e6ebee;box-shadow:0 16px 24px rgba(11,45,75,.1);flex-direction:column;align-items:stretch;gap:0}.nucb-global-nav.open{display:flex}.nucb-global-nav a{padding:10px 4px;border-bottom:1px solid #edf0f2;font-size:15px}.nucb-global-nav a:last-child{border-bottom:0}}
@media(max-width:782px){body.admin-bar .nucb-global-header{top:46px}}


/* Responsive refinement v1.0.3: shared header on internal pages */
.nucb-global-header,.nucb-global-header *{box-sizing:border-box}
.nucb-global-header{width:100%;max-width:100%}
.nucb-global-header-inner{position:relative;min-width:0}
.nucb-global-brand{min-width:0}
.nucb-global-nav{min-width:0}
.nucb-global-nav a{line-height:1.5}
.nucb-global-toggle{flex:0 0 44px;align-items:center;justify-content:center}
@media(min-width:1025px){
 .nucb-global-header-inner{width:min(1320px,calc(100% - 64px))}
 .nucb-global-nav{display:flex!important}
}
@media(min-width:801px) and (max-width:1024px){
 .nucb-global-header-inner{width:calc(100% - 40px);min-height:76px;gap:16px}
 .nucb-global-brand img{width:54px;height:54px}
 .nucb-global-toggle{display:flex}
 .nucb-global-nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:100000;background:#fffefa;padding:10px 20px 17px;border:1px solid #e6ebee;box-shadow:0 16px 25px rgba(11,45,75,.1);flex-direction:column;align-items:stretch;gap:0}
 .nucb-global-nav.open{display:flex}
 .nucb-global-nav a{padding:11px 4px;border-bottom:1px solid #edf0f2;font-size:16px}
 .nucb-global-nav a:last-child{border-bottom:0}
}
@media(max-width:800px){
 .nucb-global-header-inner{width:calc(100% - 32px);min-height:68px;gap:12px}
 .nucb-global-brand img{width:50px;height:50px}
 .nucb-global-toggle{display:flex}
 .nucb-global-nav{top:100%;left:-16px;right:-16px;width:auto;max-height:calc(100vh - 90px);overflow-y:auto;padding:8px 20px 16px}
 .nucb-global-nav a{padding:11px 4px;font-size:15px;white-space:normal}
}
@media(max-width:782px){body.admin-bar .nucb-global-header{top:46px}}
@media(max-width:360px){.nucb-global-header-inner{width:calc(100% - 24px)}}


/* Header visual refinement v1.0.4: larger logo and centered desktop navigation */
.nucb-global-header-inner{display:grid;grid-template-columns:minmax(110px,1fr) auto minmax(110px,1fr);justify-content:initial;gap:20px;min-height:104px}
.nucb-global-brand{grid-column:1;justify-self:start}
.nucb-global-brand img{width:82px;height:82px}
.nucb-global-nav{grid-column:2;justify-self:center;justify-content:center;gap:clamp(17px,2vw,30px)}
.nucb-global-nav a{font-size:17px}
.nucb-global-toggle{grid-column:3;justify-self:end}
@media(min-width:801px) and (max-width:1100px){
 .nucb-global-header-inner{grid-template-columns:80px minmax(0,1fr);min-height:88px}
 .nucb-global-brand{grid-column:1}
 .nucb-global-brand img{width:68px;height:68px}
 .nucb-global-toggle{grid-column:2;display:flex}
 .nucb-global-nav{grid-column:1/-1;justify-self:stretch}
}
@media(max-width:800px){
 .nucb-global-header-inner{display:flex;justify-content:space-between;min-height:72px}
 .nucb-global-brand img{width:60px;height:60px}
}
@media(max-width:560px){
 .nucb-global-header-inner{min-height:68px}
 .nucb-global-brand img{width:56px;height:56px}
}

/* Single-header architecture: Central Header is the only site navigation */
body.nucb-central-header-active .nucbh-header,
body.nucb-central-header-active header.nucbh-header{
  display:none!important;
}

/* Logo size correction v1.0.7 – match the marked desktop header area */
.nucb-global-header-inner{
  grid-template-columns:150px minmax(0,1fr) 150px;
  min-height:140px;
}
.nucb-global-brand{
  width:132px;
  height:132px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.nucb-global-brand img{
  display:block;
  width:126px!important;
  height:126px!important;
  max-width:none;
  max-height:none;
  object-fit:contain;
}
.nucb-global-nav{
  grid-column:2;
  justify-self:center;
  align-self:center;
  flex-wrap:wrap;
}
@media(min-width:801px) and (max-width:1100px){
  .nucb-global-header-inner{
    grid-template-columns:94px minmax(0,1fr);
    min-height:100px;
  }
  .nucb-global-brand{width:88px;height:88px}
  .nucb-global-brand img{width:84px!important;height:84px!important}
}
@media(max-width:800px){
  .nucb-global-header-inner{min-height:72px}
  .nucb-global-brand{width:62px;height:62px}
  .nucb-global-brand img{width:60px!important;height:60px!important}
}
@media(max-width:560px){
  .nucb-global-header-inner{min-height:68px}
  .nucb-global-brand{width:58px;height:58px}
  .nucb-global-brand img{width:56px!important;height:56px!important}
}


/* Header compact + logo zoom v1.0.8 */
.nucb-global-header{overflow:visible}
.nucb-global-header-inner{
  min-height:108px!important;
  grid-template-columns:160px minmax(0,1fr) 40px!important;
  gap:18px!important;
  overflow:visible;
}
.nucb-global-brand{
  width:150px!important;
  height:108px!important;
  overflow:visible!important;
}
.nucb-global-brand img{
  width:150px!important;
  height:150px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  transform:scale(1.12);
  transform-origin:center center;
}
.nucb-global-nav{gap:clamp(16px,1.9vw,28px)!important}
.nucb-global-nav a{font-size:18px!important}
@media(min-width:801px) and (max-width:1100px){
  .nucb-global-header-inner{
    min-height:88px!important;
    grid-template-columns:112px minmax(0,1fr)!important;
  }
  .nucb-global-brand{width:108px!important;height:88px!important}
  .nucb-global-brand img{width:112px!important;height:112px!important}
}
@media(max-width:800px){
  .nucb-global-header-inner{
    min-height:68px!important;
    width:calc(100% - 28px)!important;
  }
  .nucb-global-brand{width:74px!important;height:68px!important}
  .nucb-global-brand img{width:78px!important;height:78px!important}
}
@media(max-width:560px){
  .nucb-global-header-inner{min-height:64px!important}
  .nucb-global-brand{width:68px!important;height:64px!important}
  .nucb-global-brand img{width:74px!important;height:74px!important}
}


/* v1.0.9 – use the supplied transparent NU Certificate Bangladesh logo */
.nucb-global-brand{
  background:transparent!important;
}
.nucb-global-brand img{
  background:transparent!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* v1.1.0: accessible right-side mobile/tablet drawer */
.nucb-global-header{z-index:100020;overflow:visible}
.nucb-global-header-inner{position:relative}
.nucb-global-toggle{display:none;grid-column:3;justify-self:end;align-items:center;justify-content:center;width:46px;height:44px;padding:9px;background:#fffefa;border:1px solid #dce5eb;border-radius:9px;box-shadow:0 3px 12px rgba(11,45,75,.06)}
.nucb-global-toggle span{display:block;width:23px;height:2.5px;margin:3px 0;background:#0b2d4b;border-radius:3px;transition:transform .2s,opacity .2s}
.nucb-menu-overlay{position:fixed;inset:0;z-index:100030;background:rgba(4,20,34,.48);opacity:0;visibility:hidden;transition:opacity .22s,visibility .22s}
.nucb-menu-overlay.is-visible{opacity:1;visibility:visible}
.nucb-global-nav .nucb-menu-close{display:none}
@media(min-width:801px) and (max-width:1100px){
 .nucb-global-header-inner{grid-template-columns:minmax(100px,150px) minmax(0,1fr) 54px!important;min-height:96px!important}
 .nucb-global-toggle{display:flex!important;grid-column:3}
 .nucb-global-nav{display:flex;position:fixed!important;top:0;right:0;left:auto!important;bottom:0;width:min(390px,86vw);height:100vh;height:100dvh;max-height:none!important;overflow-y:auto;z-index:100040;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0!important;padding:76px 26px 28px!important;background:#fffefa;border-left:1px solid #e4eaf0;box-shadow:-18px 0 45px rgba(5,28,48,.16);transform:translateX(105%);visibility:hidden;transition:transform .26s ease,visibility .26s ease}
 .nucb-global-nav.open{display:flex!important;transform:translateX(0);visibility:visible}
 .nucb-global-nav a{display:block;padding:15px 5px!important;border-bottom:1px solid #edf0f2;font-size:17px!important;white-space:normal}
 .nucb-global-nav .nucb-menu-close{display:flex;position:absolute;top:18px;right:20px;width:40px;height:40px;align-items:center;justify-content:center;border:1px solid #e1e8ed;border-radius:9px;background:#fff;color:#0b2d4b;font-size:28px;line-height:1;cursor:pointer}
}
@media(max-width:800px){
 .nucb-global-header-inner{display:flex!important;justify-content:space-between!important;min-height:70px!important;width:calc(100% - 28px)!important;gap:12px!important}
 .nucb-global-brand{flex:0 0 auto}
 .nucb-global-toggle{display:flex!important;flex:0 0 46px;grid-column:auto}
 .nucb-global-nav{display:flex!important;position:fixed!important;top:0;right:0;left:auto!important;bottom:0;width:min(340px,86vw);height:100vh;height:100dvh;max-height:none!important;overflow-y:auto;z-index:100040;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0!important;padding:76px 24px 28px!important;margin:0!important;background:#fffefa;border-left:1px solid #e4eaf0;box-shadow:-18px 0 45px rgba(5,28,48,.16);transform:translateX(105%);visibility:hidden;transition:transform .26s ease,visibility .26s ease}
 .nucb-global-nav.open{display:flex!important;transform:translateX(0);visibility:visible}
 .nucb-global-nav a{display:block;width:100%;padding:14px 5px!important;border-bottom:1px solid #edf0f2;font-size:16px!important;line-height:1.6;white-space:normal}
 .nucb-global-nav .nucb-menu-close{display:flex;position:absolute;top:17px;right:18px;width:40px;height:40px;align-items:center;justify-content:center;border:1px solid #e1e8ed;border-radius:9px;background:#fff;color:#0b2d4b;font-size:28px;line-height:1;cursor:pointer}
 body.nucb-menu-open{overflow:hidden}
}
@media(max-width:782px){body.admin-bar .nucb-global-header{top:46px}}

/* Keep the three footer link/contact columns side-by-side on phones.
   The about/brand block remains full width above them. */
@media(max-width:560px){
 .nucbh-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
 .nucbh-footer-about{grid-column:1/-1!important}
 .nucbh-footer-grid>div:not(.nucbh-footer-about){min-width:0!important;overflow-wrap:anywhere;word-break:normal}
 .nucbh-footer-grid h3{font-size:11px!important;line-height:1.5!important;margin:3px 0 10px!important}
 .nucbh-footer-grid>div:not(:first-child)>a{font-size:10px!important;line-height:1.6!important;margin:8px 0!important;overflow-wrap:anywhere}
 .nucbh-footer-grid{padding-top:32px!important;padding-bottom:28px!important}
}
