/*! mmolltomgdl.com header (white bar, blue accent). Markup: inc/mmh-header.php. Menu: Appearance > Menus > "Header - Primary". */
@font-face{font-family:"LUC Inter";src:url(/wp-content/plugins/lab-unit-converter/assets/fonts/luc-inter.woff2) format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:"LUC Jakarta";src:url(/wp-content/plugins/lab-unit-converter/assets/fonts/luc-jakarta.woff2) format("woff2");font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2122,U+2212}

.mmhd{
  --mmhd-h:76px;--mmhd-ink:#0f2240;--mmhd-text:#24364b;--mmhd-muted:#5f6f82;--mmhd-line:#dde6f0;--mmhd-soft:#f6f9fc;
  --mmhd-b50:#eef5ff;--mmhd-blue:#1769e0;--mmhd-blue6:#1257c2;
  --mmhd-f:"LUC Inter",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --mmhd-hf:"LUC Jakarta","LUC Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--mmhd-line);
  font-family:var(--mmhd-f);color:var(--mmhd-text);-webkit-font-smoothing:antialiased;transition:box-shadow .2s;
}
.admin-bar .mmhd{top:32px}
@media (max-width:782px){.admin-bar .mmhd{top:46px}}
.mmhd.is-scrolled{box-shadow:0 6px 20px rgba(15,34,64,.08)}
.mmhd *,.mmhd *::before,.mmhd *::after{box-sizing:border-box}
.mmhd a{color:inherit;text-decoration:none;box-shadow:none}
.mmhd ul{list-style:none;margin:0;padding:0}
.mmhd li{margin:0;padding:0}
.mmhd button{font:inherit;cursor:pointer;margin:0;text-transform:none;letter-spacing:normal;box-shadow:none;min-height:0;-webkit-appearance:none;appearance:none}
.mmhd a:focus-visible,.mmhd button:focus-visible,.mmhd input:focus-visible{outline:2px solid var(--mmhd-blue);outline-offset:2px;border-radius:8px}
.mmhd svg{flex:none}

.mmhd .mmhd__skip{position:absolute;left:12px;top:-64px;z-index:3;background:#0f2f57;color:#fff;padding:10px 14px;border-radius:8px;font:600 14px/1 var(--mmhd-f)}
.mmhd .mmhd__skip:focus{top:8px}

.mmhd__bar{position:relative;display:flex;align-items:center;gap:20px;max-width:1180px;height:var(--mmhd-h);margin:0 auto;padding:0 24px}
.mmhd .mmhd__brand{display:inline-flex;align-items:center;flex:none;margin-right:auto;line-height:0;color:var(--mmhd-ink);font:800 20px/1 var(--mmhd-hf)}
.mmhd__brand img{display:block;height:44px;width:auto;max-width:none}

/* desktop: panel contents sit in the bar */
.mmhd__panel{display:contents}
.mmhd__nav{order:1}
.mmhd__list{display:flex;align-items:center;gap:4px}
.mmhd .mmhd__link{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--mmhd-ink);font:600 15px/1 var(--mmhd-f);white-space:nowrap}
.mmhd .mmhd__link:hover,.mmhd .mmhd__has-sub:hover>.mmhd__sub-btn,.mmhd .mmhd__has-sub.is-open>.mmhd__sub-btn,.mmhd .mmhd__link[aria-current=page]{background:var(--mmhd-b50);color:var(--mmhd-blue6)}
.mmhd__chev{width:16px;height:16px;transition:transform .15s}
.mmhd__has-sub:hover .mmhd__chev,.mmhd__has-sub.is-open .mmhd__chev{transform:rotate(180deg)}

.mmhd__has-sub{position:relative}
.mmhd__sub{display:none;position:absolute;top:100%;left:50%;z-index:5;width:440px;margin-top:8px;padding:8px;background:#fff;border:1px solid var(--mmhd-line);border-radius:16px;transform:translateX(-50%);box-shadow:0 1px 2px rgba(15,34,64,.05),0 18px 40px rgba(15,34,64,.14)}
.mmhd__sub::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.mmhd__has-sub:hover>.mmhd__sub,.mmhd__has-sub:focus-within>.mmhd__sub,.mmhd__has-sub.is-open>.mmhd__sub{display:block}
.mmhd .mmhd__sub-a{display:flex;align-items:center;gap:14px;padding:12px;border-radius:12px}
.mmhd .mmhd__sub-a:hover{background:var(--mmhd-soft)}
.mmhd__ic{flex:none;width:44px;height:44px;border-radius:12px;background:var(--ic-bg,#eef5ff) var(--ic,none) center/22px no-repeat}
.mmhd__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.mmhd__t{font:800 15px/1.3 var(--mmhd-hf);color:var(--mmhd-ink)}
.mmhd__d{font-size:13.5px;line-height:1.4;color:var(--mmhd-muted)}
.mmhd__all{margin-top:6px;padding:12px 12px 8px;border-top:1px solid var(--mmhd-line)}
.mmhd .mmhd__all a{display:inline-flex;align-items:center;gap:8px;color:var(--mmhd-blue6);font:700 14px/1.2 var(--mmhd-f)}
.mmhd .mmhd__all a::after{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.mmhd-i-zap{--ic-bg:#fff1e3;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea7a14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E")}
.mmhd-i-sun{--ic-bg:#fff6dc;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a06a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E")}
.mmhd-i-flask{--ic-bg:#e6f6f3;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 9a2 2 0 0 0 2 3h10a2 2 0 0 0 2-3l-5-9V3M7.5 14h9'/%3E%3C/svg%3E")}

.mmhd .mmhd__search-btn{order:2;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--mmhd-line);border-radius:12px;background:#fff;color:var(--mmhd-ink)}
.mmhd .mmhd__search-btn:hover,.mmhd.is-search .mmhd__search-btn{background:var(--mmhd-b50);color:var(--mmhd-blue6)}
.mmhd__search-btn svg,.mmhd__go svg{width:20px;height:20px}
.mmhd .mmhd__cta{order:3;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:10px;background:var(--mmhd-blue);color:#fff;font:700 15px/1 var(--mmhd-f);white-space:nowrap}
.mmhd .mmhd__cta:hover{background:var(--mmhd-blue6);color:#fff}
.mmhd .mmhd__burger{display:none}

/* search popover (desktop) */
.mmhd__search{display:none;position:absolute;top:calc(100% + 8px);right:24px;z-index:6;width:min(420px,calc(100vw - 32px));padding:10px;background:#fff;border:1px solid var(--mmhd-line);border-radius:14px;box-shadow:0 1px 2px rgba(15,34,64,.05),0 18px 40px rgba(15,34,64,.14);order:9}
.mmhd.is-search .mmhd__search{display:block}
.mmhd__lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mmhd__sf{display:flex;gap:8px;width:100%}
.mmhd .mmhd__sf input{flex:1;min-width:0;min-height:44px;margin:0;padding:0 14px;border:1px solid var(--mmhd-line);border-radius:10px;background:#fff;box-shadow:none;color:var(--mmhd-ink);font:500 16px/1.2 var(--mmhd-f)}
.mmhd .mmhd__sf input:focus{border-color:var(--mmhd-blue);box-shadow:0 0 0 3px rgba(23,105,224,.15);outline:0}
.mmhd .mmhd__go{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:var(--mmhd-blue);color:#fff}

@media (max-width:1100px) and (min-width:961px){
  .mmhd__bar{gap:12px}
  .mmhd .mmhd__link{padding:0 10px}
  .mmhd .mmhd__cta{padding:0 16px}
}

/* tablet and phone: slide-down panel */
@media (max-width:960px){
  .mmhd{--mmhd-h:68px}
  .mmhd__bar{gap:12px;padding:0 20px}
  .mmhd__brand img{height:40px}
  .mmhd .mmhd__search-btn{display:none}
  .mmhd .mmhd__burger{order:5;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--mmhd-line);border-radius:12px;background:#fff;color:var(--mmhd-ink)}
  .mmhd__burger svg{width:22px;height:22px}
  .mmhd__burger .mmhd__x{display:none}
  .mmhd__burger[aria-expanded=true] .mmhd__m{display:none}
  .mmhd__burger[aria-expanded=true] .mmhd__x{display:block}

  .mmhd__panel{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;height:calc(100vh - var(--mmhd-h));height:calc(100dvh - var(--mmhd-h));padding:16px 20px 24px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border-top:1px solid var(--mmhd-line)}
  .mmhd.is-open .mmhd__panel{display:flex}
  html.mmhd-lock{overflow:hidden}

  .mmhd__search{display:block;position:static;order:0;width:auto;padding:0;border:0;border-radius:0;box-shadow:none}
  .mmhd__lbl{position:static;display:block;width:auto;height:auto;overflow:visible;clip:auto;margin-bottom:6px;font:600 13px/1.2 var(--mmhd-f);color:var(--mmhd-ink)}
  .mmhd__nav{order:1;margin:12px 0 20px;border-top:1px solid var(--mmhd-line)}
  .mmhd__list{flex-direction:column;align-items:stretch;gap:0}
  .mmhd .mmhd__link{width:100%;justify-content:space-between;min-height:56px;padding:0 4px;border-radius:0;border-bottom:1px solid var(--mmhd-line);background:transparent;font-size:17px}
  .mmhd .mmhd__link:hover,.mmhd .mmhd__has-sub:hover>.mmhd__sub-btn{background:transparent;color:var(--mmhd-ink)}
  .mmhd .mmhd__link[aria-current=page],.mmhd .mmhd__has-sub.is-open>.mmhd__sub-btn{background:transparent;color:var(--mmhd-blue6)}
  .mmhd__chev{width:20px;height:20px;color:var(--mmhd-muted)}
  .mmhd__has-sub:hover .mmhd__chev{transform:none}
  .mmhd__has-sub.is-open .mmhd__chev{transform:rotate(180deg)}

  .mmhd .mmhd__sub{position:static;width:auto;margin:0;padding:4px 0 6px;transform:none;background:var(--mmhd-soft);border:0;border-bottom:1px solid var(--mmhd-line);border-radius:0;box-shadow:none}
  .mmhd__sub::before{display:none}
  .mmhd .mmhd__has-sub:hover>.mmhd__sub,.mmhd .mmhd__has-sub:focus-within>.mmhd__sub{display:none}
  .mmhd .mmhd__has-sub.is-open>.mmhd__sub{display:block}
  .mmhd .mmhd__sub-a{gap:12px;min-height:56px;padding:6px 4px 6px 12px;border-radius:0}
  .mmhd__ic{width:36px;height:36px;border-radius:10px;background-size:20px}
  .mmhd__t{font-size:15.5px;font-weight:700}
  .mmhd__d{font-size:13px;line-height:1.35}
  .mmhd__all{margin:0;padding:0 4px 0 12px;border-top:0}
  .mmhd .mmhd__all a{min-height:48px;font-size:14.5px}

  .mmhd .mmhd__cta{order:3;width:100%;min-height:52px;margin-top:auto;border-radius:12px;font-size:16px}
}
@media (max-width:380px){.mmhd__brand img{height:34px}}
@media (prefers-reduced-motion:reduce){.mmhd,.mmhd__chev{transition:none}}
