
/* Smart Menu Builder 1.6.0 — mint header and mobile drawer */
.cbhmb-header{position:relative;z-index:9999;width:100%;padding:8px 18px;background:var(--cbh-page);box-sizing:border-box;font-family:var(--cbh-font-family,inherit);color:#17231f}
.cbhmb-header *{box-sizing:border-box}
.cbhmb-header.is-sticky{position:sticky;top:0}
.cbhmb-shell{position:relative;max-width:var(--cbh-width);min-height:var(--cbh-height);margin:0 auto;padding:8px 14px;display:flex;align-items:center;gap:24px;background:linear-gradient(110deg,rgba(214,244,231,.96),rgba(237,249,243,.94));border:1px solid rgba(255,255,255,.82);border-radius:var(--cbh-radius);backdrop-filter:blur(var(--cbh-blur));-webkit-backdrop-filter:blur(var(--cbh-blur));box-shadow:0 8px 24px rgba(25,91,65,.08)}
.cbhmb-brand{display:flex;align-items:center;gap:10px;flex:0 0 auto;text-decoration:none!important;color:#17231f!important;font-weight:800;font-size:16px;line-height:1.05;max-width:230px}
.cbhmb-brand img,.cbhmb-brand-mark{width:var(--cbh-logo);height:var(--cbh-logo);object-fit:contain;border-radius:12px;flex:0 0 auto}
.cbhmb-brand-mark{display:grid;place-items:center;background:#087b5c;color:white;font-size:25px}
.cbhmb-desktop-nav{display:flex;align-items:center;justify-content:center;gap:18px;flex:1;min-width:0}
.cbhmb-menu{display:flex;align-items:center;justify-content:center;gap:var(--cbh-gap);list-style:none;margin:0!important;padding:0!important}
.cbhmb-menu li{position:relative;list-style:none;margin:0;padding:0}
.cbhmb-menu a{display:flex;align-items:center;gap:7px;padding:10px 12px;color:var(--cbh-text);font-size:var(--cbh-font);font-weight:650;text-decoration:none!important;border-radius:24px;white-space:nowrap;transition:background .18s,color .18s}
.cbhmb-menu a:hover,.cbhmb-menu .current-menu-item>a,.cbhmb-menu .current_page_item>a{background:var(--cbh-hover);color:var(--cbh-accent)}
.cbhmb-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:190px;padding:8px!important;margin:5px 0 0!important;background:#fff;border:1px solid var(--cbh-border);border-radius:14px;box-shadow:0 12px 28px rgba(0,0,0,.1);z-index:10000}
.cbhmb-menu li:hover>.sub-menu,.cbhmb-menu li:focus-within>.sub-menu{display:block}
.cbhmb-menu .sub-menu a{white-space:normal}
.cbhmb-header-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}
.cbhmb-profile{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;border:1px solid rgba(255,255,255,.9);border-radius:999px;background:rgba(255,255,255,.78);color:#075b47!important;text-decoration:none!important;font-size:14px;font-weight:750;white-space:nowrap;box-shadow:0 2px 8px rgba(12,93,65,.04)}
.cbhmb-profile:hover{background:#fff;color:#087b5c!important}
.cbhmb-profile-icon{font-size:18px;line-height:1}
.cbhmb-toggle{display:none;width:42px;height:42px;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(255,255,255,.6);cursor:pointer;padding:0}
.cbhmb-toggle span{display:block;width:18px;height:2px;background:#075b47;border-radius:3px;transition:transform .2s,opacity .2s}
.cbhmb-header .sub-menu{list-style:none}
.cbhmb-header a:focus-visible,.cbhmb-toggle:focus-visible,.cbhmb-close:focus-visible{outline:2px solid var(--cbh-accent);outline-offset:3px}
.cbhmb-drawer-backdrop{position:fixed;inset:0;background:rgba(12,32,25,.34);z-index:100000;opacity:0;transition:opacity .22s}
.cbhmb-drawer{display:none}
.cbhmb-header.has-shadow .cbhmb-shell{box-shadow:0 8px 24px rgba(26,79,59,.12)}
.cbhmb-transparent-outer{background:transparent!important}
@media(max-width:1100px){.cbhmb-shell{gap:12px}.cbhmb-menu{gap:4px}.cbhmb-menu a{padding:9px 8px}.cbhmb-brand{max-width:170px}}
@media(max-width:1024px){
 .cbhmb-header{padding:8px 10px;background:transparent}
 .cbhmb-shell{min-height:58px;padding:7px 10px 7px 12px;justify-content:space-between;gap:10px}
 .cbhmb-brand{max-width:calc(100% - 100px);gap:9px}
 .cbhmb-brand img,.cbhmb-brand-mark{width:min(var(--cbh-logo),40px);height:min(var(--cbh-logo),40px)}
 .cbhmb-brand>span:last-child{font-size:16px}
 .cbhmb-desktop-nav{display:none}
 .cbhmb-header-actions{gap:8px}
 .cbhmb-profile{width:42px;height:42px;padding:0;font-size:0;gap:0}
 .cbhmb-profile-icon{font-size:18px}
 .cbhmb-toggle{display:flex;flex:0 0 42px}
 .cbhmb-drawer-backdrop{display:block;visibility:hidden;pointer-events:none}
 .cbhmb-drawer{display:flex;position:fixed;z-index:100001;top:0;right:0;left:0;width:100vw;max-width:none;height:100vh;height:100dvh;min-height:100%;padding:calc(20px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));background:#fff;box-shadow:none;flex-direction:column;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;transform:translateX(100%);visibility:hidden;transition:transform .25s ease,visibility .25s}
 .cbhmb-header.is-open .cbhmb-drawer{transform:translateX(0);visibility:visible}
 .cbhmb-header.is-open .cbhmb-drawer-backdrop{visibility:visible;pointer-events:auto;opacity:1}
 .cbhmb-drawer-head{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:0 8px 18px;border-bottom:1px solid #e8efeb}
 .cbhmb-drawer-head .cbhmb-brand{max-width:calc(100% - 55px)}
 .cbhmb-drawer-head .cbhmb-brand img,.cbhmb-drawer-head .cbhmb-brand-mark{width:28px;height:28px;border-radius:8px}
 .cbhmb-drawer-head .cbhmb-brand>span:last-child{font-size:15px}
 .cbhmb-close{width:36px;height:36px;min-width:36px;flex:0 0 36px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;padding:0;background:#e7f4ed;color:#075b47;font-size:25px;line-height:1;cursor:pointer}
 .cbhmb-drawer-nav{width:100%;padding:10px 0 0}
 .cbhmb-drawer-menu{display:flex!important;flex-direction:column;align-items:stretch;gap:0!important;width:100%;padding:0!important;margin:0!important}
 .cbhmb-drawer-menu>li{border-bottom:1px solid #e8efeb}
 .cbhmb-drawer-menu>li>a{position:relative;min-height:57px;padding:15px 8px!important;border-radius:0!important;color:#202a26!important;font-size:16px!important;font-weight:650!important}
 .cbhmb-drawer-menu>li>a:hover,.cbhmb-drawer-menu>li.current-menu-item>a{background:transparent!important;color:#075b47!important}
 .cbhmb-drawer-menu>li>a:before{content:none!important;display:none!important}
 .cbhmb-drawer-menu>li>a{gap:0}
 .cbhmb-drawer-menu>li.menu-item-has-children>a:after{content:"";width:8px;height:8px;margin-left:auto;border-right:2px solid #7e8984;border-bottom:2px solid #7e8984;transform:rotate(45deg);margin-right:3px;margin-top:-4px}
 .cbhmb-drawer-menu .sub-menu{display:none!important;position:static!important;min-width:0!important;margin:0!important;padding:0 0 8px 38px!important;border:0!important;box-shadow:none!important;background:transparent!important}
 .cbhmb-drawer-menu li.submenu-open>.sub-menu{display:block!important}
 .cbhmb-drawer-menu .sub-menu a{padding:9px 8px!important;font-size:14px!important;white-space:normal}
 .cbhmb-promo{display:block;margin:24px 0 14px;padding:18px;border:1px solid #d9eee3;border-radius:18px;background:#edf8f2}
 .cbhmb-promo-icon{width:44px;height:44px;display:grid;place-items:center;margin-bottom:12px;border-radius:50%;background:#fff}
 .cbhmb-promo-icon svg{width:21px;height:21px;fill:none;stroke:#087b5c;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .cbhmb-promo h3{margin:0 0 5px;color:#202a26;font-size:16px;line-height:1.35;font-weight:750}
 .cbhmb-promo p{margin:0 0 16px;color:#6a7771;font-size:14px;line-height:1.4}
 .cbhmb-google-button{width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:10px;padding:11px 14px;border:1px solid #c9e0d5;border-radius:10px;background:#fff;color:#202a26!important;text-decoration:none!important;font-size:15px;font-weight:750;box-shadow:0 1px 2px rgba(20,60,40,.04)}
 .cbhmb-google-button:hover{background:#fbfefc;border-color:#9bcbb5}
 .cbhmb-google-g{font-family:Arial,sans-serif;font-size:19px;font-weight:800;background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);background-clip:text;-webkit-background-clip:text;color:transparent}
 .cbhmb-social-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:6px;margin-top:0}
 .cbhmb-social-grid>a{min-height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px 3px;border:1px solid #e0e7e3;border-radius:12px;background:#fff;color:#26312c!important;text-decoration:none!important;font-size:10px;font-weight:650;white-space:nowrap}
 .cbhmb-social-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#fff;font-family:Arial,sans-serif;font-size:18px;font-weight:800}
 .cbhmb-facebook{background:#1877f2}.cbhmb-youtube{background:#f00;font-size:12px}.cbhmb-instagram{background:radial-gradient(circle at 30% 105%,#fdf497 0,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%);font-size:23px}.cbhmb-play{background:#f5f7f6;color:#34a853;border:1px solid #dce5df;font-size:13px}
 body.cbhmb-drawer-open{overflow:hidden}
}
@media(min-width:1025px){.cbhmb-drawer,.cbhmb-drawer-backdrop{display:none!important}}
@media(prefers-reduced-motion:reduce){.cbhmb-header *{transition:none!important;scroll-behavior:auto!important}}

/* Profile icon / current-user avatar */
.cbhmb-profile-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;overflow:hidden}
.cbhmb-profile-icon svg{display:block;width:22px;height:22px}
.cbhmb-profile-icon .cbhmb-avatar{display:block;width:100%;height:100%;max-width:100%;border-radius:50%;object-fit:cover}
@media(max-width:820px){.cbhmb-profile-icon{width:24px;height:24px;flex-basis:24px}.cbhmb-profile-icon .cbhmb-avatar{width:24px;height:24px}}

/* Navigation & action buttons (v1.6.2) */
.cbhmb-action-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 13px;border:1px solid var(--cbh-action-border);border-radius:var(--cbh-action-radius);background:var(--cbh-action-bg);color:var(--cbh-action-text)!important;font-size:var(--cbh-action-font);font-weight:700;line-height:1.2;text-decoration:none!important;white-space:nowrap;transition:background .18s,color .18s,border-color .18s}
.cbhmb-action-button:hover,.cbhmb-action-button:focus-visible{background:var(--cbh-action-hover-bg);color:var(--cbh-action-hover-text)!important}
.cbhmb-language-actions{display:flex;align-items:center;gap:5px}
.cbhmb-drawer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:20px 0 0;padding:14px 0;border-top:1px solid #e8efeb;border-bottom:1px solid #e8efeb}
.cbhmb-drawer-actions .cbhmb-donate-button{flex:1}
@media(max-width:820px){.cbhmb-header-actions>.cbhmb-language-actions,.cbhmb-header-actions>.cbhmb-donate-button{display:none}}

/* Apply the saved per-button Profile and Login/Register design controls. */
.cbhmb-profile-action{background:var(--cbh-profile-bg);color:var(--cbh-profile-text)!important;border-color:var(--cbh-profile-border);border-radius:var(--cbh-profile-radius);font-size:var(--cbh-profile-font)}
.cbhmb-profile-action:hover{background:var(--cbh-profile-hover-bg);color:var(--cbh-profile-hover-text)!important}
.cbhmb-signin-pill{background:var(--cbh-login-bg);color:var(--cbh-login-text)!important;border-color:var(--cbh-login-border);border-radius:var(--cbh-login-radius);font-size:var(--cbh-login-font)}
.cbhmb-signin-pill:hover{background:var(--cbh-login-hover-bg);color:var(--cbh-login-hover-text)!important}

/* v1.6.3 action icon alignment */
.cbhmb-profile-icon,.cbhmb-donate-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;line-height:0}.cbhmb-profile-icon svg,.cbhmb-donate-icon{width:22px;height:22px;display:block}

/* Language switcher — compact segmented pill (reference-matched) */
.cbhmb-language-actions{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-height:40px;
  padding:4px;
  border:1px solid #c9e8da;
  border-radius:999px;
  background:rgba(239,250,245,.92);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.9);
}
.cbhmb-language-actions .cbhmb-language-button,
.cbhmb-language-actions .cbhmb-language-button:visited{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  min-height:20px;
  padding:8px 14px;
  border:1px solid transparent!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#63736c!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1!important;
  box-shadow:none;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.cbhmb-language-actions .cbhmb-language-button:first-child{
  background:#fff!important;
  color:#075b47!important;
  border-color:rgba(255,255,255,.95)!important;
  box-shadow:0 2px 5px rgba(19,85,61,.13),0 1px 2px rgba(19,85,61,.06);
}
.cbhmb-language-actions .cbhmb-language-button:not(:first-child):hover,
.cbhmb-language-actions .cbhmb-language-button:not(:first-child):focus-visible{
  background:rgba(255,255,255,.62)!important;
  color:#075b47!important;
}
.cbhmb-language-actions .cbhmb-language-button:first-child:hover{
  background:#fff!important;
  color:#075b47!important;
}
.cbhmb-drawer-languages{width:max-content;max-width:100%;}
@media(max-width:820px){
  .cbhmb-drawer-languages{margin:0 auto;}
}


/* Tablet and mobile: compact icon-only navigation actions.
   Keep language abbreviations visible (BN / EN) as in the supplied reference. */
@media(max-width:1024px){
  .cbhmb-header-actions .cbhmb-donate-button{
    width:42px;min-width:42px;height:42px;min-height:42px;padding:0;gap:0;
    justify-content:center;border-radius:50%;font-size:0;
  }
  .cbhmb-header-actions .cbhmb-donate-button .cbhmb-donate-label{display:none!important;}
  .cbhmb-header-actions .cbhmb-language-actions{gap:3px;}
  .cbhmb-header-actions .cbhmb-language-button{
    min-width:40px;width:40px;height:40px;min-height:40px;padding:0;
    justify-content:center;font-size:0!important;
  }
  .cbhmb-header-actions .cbhmb-language-button .cbhmb-language-label{
    display:inline!important;font-size:11px!important;line-height:1;font-weight:800;
  }
  .cbhmb-header-actions .cbhmb-profile{
    width:42px;height:42px;min-width:42px;min-height:42px;padding:0;gap:0;font-size:0;
  }
}
@media(max-width:820px){
  .cbhmb-header-actions .cbhmb-language-actions{display:inline-flex!important;}
  .cbhmb-header-actions .cbhmb-donate-button{display:inline-flex!important;}
}

/* Editable Mobile Drawer profile promotion styles */
.cbhmb-promo{background:var(--cbh-promo-bg,#f2faf6)!important}
.cbhmb-promo h3{color:var(--cbh-promo-title,#17243b)!important;font-size:var(--cbh-promo-title-size,18px)!important}
.cbhmb-promo p{color:var(--cbh-promo-desc,#68758a)!important;font-size:var(--cbh-promo-desc-size,13px)!important}
.cbhmb-promo .cbhmb-google-button{color:var(--cbh-promo-btn,#fff)!important;background:var(--cbh-promo-btn-bg,#087b5c)!important;font-size:var(--cbh-promo-btn-size,14px)!important}

/* Social media brand icons and balanced responsive drawer grid (v1.7.3) */
@media(max-width:1024px){
 .cbhmb-social-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;margin:0;padding:10px}
 .cbhmb-social-grid>a{min-width:0;min-height:76px;gap:7px;padding:9px 3px;border:1px solid #dce7e1;border-radius:13px;background:#fff;color:#26312c!important;font-size:10px;line-height:1.2;font-weight:700;white-space:normal;text-align:center;overflow:hidden}
 .cbhmb-social-grid>a:hover{border-color:#a9d6c2;background:#f8fcfa;transform:translateY(-1px)}
 .cbhmb-social-icon{width:30px;height:30px;min-width:30px;display:grid;place-items:center;overflow:hidden;border-radius:50%;color:#fff;background:#68758a}
 .cbhmb-social-icon svg{display:block;width:18px;height:18px;max-width:18px;max-height:18px;fill:currentColor;stroke:none}
 .cbhmb-facebook{background:#1877f2}.cbhmb-youtube{background:#ff0033}.cbhmb-whatsapp{background:#25d366}.cbhmb-instagram{background:radial-gradient(circle at 30% 105%,#fdf497 0,#fd5949 48%,#d6249f 72%,#285aeb 100%)}
 .cbhmb-instagram svg{fill:none;stroke:#fff;stroke-width:1.8}.cbhmb-instagram .cbhmb-icon-dot{fill:#fff;stroke:none}
 .cbhmb-linkedin{background:#0a66c2}.cbhmb-pinterest{background:#bd081c}.cbhmb-play{background:#fff;border:1px solid #e1e8e3;color:#34a853}.cbhmb-play svg{width:19px;height:19px;max-width:19px;max-height:19px;fill:currentColor}.cbhmb-play svg path:nth-child(1){fill:#34a853}.cbhmb-play svg path:nth-child(2){fill:#4285f4}.cbhmb-play svg path:nth-child(3){fill:#fbbc04}.cbhmb-play svg path:nth-child(4){fill:#ea4335}
 .cbhmb-reddit{background:#ff4500}.cbhmb-tiktok{background:#111}.cbhmb-custom-social{background:#087b5c}
 .cbhmb-custom-social svg{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}
@media(max-width:360px){.cbhmb-social-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
