#site-header.mz-clean-header {
  --mz-header-ink: #182630;
  --mz-header-green: #1c563d;
  --mz-header-cream: #f8f5ed;
  --mz-header-line: #c9d3c9;
  color: var(--mz-header-ink);
  background: var(--mz-header-cream);
  border-bottom: 1px solid var(--mz-header-line);
  box-shadow: none;
  overflow: visible;
}
#site-header.mz-clean-header .el-header-inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  max-width: 1440px;
  min-height: 66px;
  padding: 8px clamp(16px, 4vw, 48px);
  margin: 0 auto;
  gap: clamp(14px, 2.3vw, 32px);
}
.mz-clean-header .el-brand { flex: 0 0 auto; min-width: 0; }
.mz-clean-header .el-brand-home { display: flex; align-items: center; min-height: 44px; }
#site-header.mz-clean-header .custom-logo { display: block; width: clamp(125px, 13vw, 174px); height: auto; max-height: none; }
.mz-nav-primary, .mz-nav-controls, .mz-nav-desktop, .mz-nav-mobile-actions {
  display: flex; align-items: center; gap: 8px;
}
.mz-nav-primary { flex: 1 1 auto; gap: clamp(10px, 2vw, 26px); }
.mz-nav-controls { flex: 0 0 auto; }
.mz-clean-header :is(.mz-nav-primary a,.mz-nav-login,.mz-nav-join,.mz-nav-donate,.mz-nav-account>summary,.mz-nav-mobile>summary) {
  display: inline-flex; box-sizing: border-box; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; border-radius: 9px; color: var(--mz-header-ink); text-decoration: none;
  font: 650 .92rem/1.3 system-ui,sans-serif; white-space: nowrap;
}
.mz-clean-header .mz-nav-primary a { padding: 6px 0; }
.mz-clean-header .mz-nav-primary a:hover { color: var(--mz-header-green); text-decoration: underline; text-underline-offset: 4px; }
.mz-clean-header .mz-nav-login, .mz-clean-header .mz-nav-account>summary { padding: 6px 10px; }
.mz-clean-header .mz-nav-join { padding: 6px 17px; background: var(--mz-header-green); color: #fff; }
.mz-clean-header .mz-nav-join:hover { background: #123e2c; }
.mz-clean-header .mz-nav-join:active { background: #0d3022; }
.mz-clean-header .mz-nav-donate { padding: 6px 12px; margin-inline-start: 4px; color: var(--mz-header-green); border: 1px solid var(--mz-header-line); }
.mz-clean-header :is(.mz-nav-login,.mz-nav-donate,.mz-nav-account>summary,.mz-nav-mobile>summary):hover { background: #e9eee4; }
.mz-clean-header :is(a,summary,button):focus-visible { outline: 2px solid var(--mz-header-green); outline-offset: 3px; }
.mz-clean-header :is(.mz-nav-account,.mz-nav-mobile)>summary { cursor: pointer; list-style: none; }
.mz-clean-header :is(.mz-nav-account,.mz-nav-mobile)>summary::-webkit-details-marker { display: none; }
.mz-clean-header .mz-nav-account { position: relative; }
.mz-clean-header .mz-nav-account:not([open])>ul { display:none; }
.mz-clean-header .mz-nav-account>ul, .mz-clean-header .mz-nav-mobile-panel {
  z-index: 100; background: var(--mz-header-cream); border: 1px solid var(--mz-header-line);
  border-radius: 12px; padding: 10px; box-shadow: 0 10px 24px #18263018;
}
.mz-clean-header .mz-nav-account>ul { position:absolute; inset-block-start:100%; inset-inline-end:0; min-width:190px; list-style:none; margin:4px 0 0; }
.mz-clean-header .mz-nav-account li a { display:flex; align-items:center; min-height:44px; padding:4px 9px; color:var(--mz-header-ink); }
.mz-clean-header .mz-nav-account li a:hover { background:#e9eee4; }
.mz-clean-header .mz-nav-mobile { display: none; }
#site-header.mz-clean-header .mz-at-trigger { display:flex; align-items:center; gap:6px; min-height:44px; padding:6px 9px; border-radius:9px; background:transparent; border:0; box-shadow:none; }
#site-header.mz-clean-header .mz-at-current { display:inline; }
.mz-clean-header .mz-at-globe { display:inline-grid; place-items:center; font-size:0; flex:0 0 17px; }
.mz-clean-header .mz-at-globe::before {
  content:""; width:17px; height:17px; background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (max-width: 1099px) {
  #site-header.mz-clean-header .el-header-inner { min-height: 60px; gap: 6px; padding-inline: clamp(12px, 3vw, 30px); }
  .mz-clean-header .mz-nav-primary, .mz-clean-header .mz-nav-desktop { display: none; }
  .mz-clean-header .mz-nav-mobile { display: block; }
  .mz-clean-header .mz-nav-mobile>summary { width:44px; }
  .mz-clean-header .mz-nav-mobile:not([open])>.mz-nav-mobile-panel { display:none; }
  .mz-clean-header .mz-nav-mobile-panel { display:grid; position:absolute; inset-block-start:100%; inset-inline-end:12px; width:min(340px, calc(100vw - 24px)); box-sizing:border-box; max-height:calc(100dvh - 70px); overflow:auto; }
  .mz-clean-header .mz-nav-mobile-panel>a { display:flex; align-items:center; min-height:44px; padding:6px 10px; color:var(--mz-header-ink); font-weight:650; }
  .mz-clean-header .mz-nav-mobile-actions { flex-wrap:wrap; gap:6px; border-top:1px solid var(--mz-header-line); margin-top:6px; padding-top:8px; }
  .mz-clean-header .mz-nav-mobile-actions .mz-nav-account>ul { position:static; box-shadow:none; }
}
@media (max-width: 430px) {
  #site-header.mz-clean-header .custom-logo { width: clamp(102px, 29vw, 126px); }
  .mz-clean-header .mz-nav-controls { gap: 2px; }
  #site-header.mz-clean-header .mz-at-trigger { padding-inline:4px; gap:4px; }
  #site-header.mz-clean-header .mz-at-current { max-width:80px; overflow-wrap:anywhere; white-space:normal; }
}


#site-header.mz-clean-header .el-brand .el-brand-home img.custom-logo { width: clamp(125px, 13vw, 174px) !important; height:auto !important; }
#site-header.mz-clean-header .mz-at-trigger { max-width:none !important; width:auto !important; }
#site-header.mz-clean-header .mz-at-globe { display:inline-grid !important; }
#site-header.mz-clean-header .mz-at-chevron { display:inline !important; }
@media (max-width:430px){
  #site-header.mz-clean-header .el-brand .el-brand-home img.custom-logo { width:clamp(102px,29vw,126px) !important; }
  #site-header.mz-clean-header .mz-at-popover { position:fixed; inset:60px 12px auto auto !important; width:min(320px,calc(100vw - 24px)) !important; max-width:calc(100vw - 24px) !important; }
}
