/* ALTARA site header (ops/site-header.mjs), loaded by every page. Self-contained: its colors live on .hd,
   so it looks the same on pages that use site.css and on the article pages that carry their own CSS. */
.hd{--hd-ink:#0c0a09;--hd-body:#44403c;--hd-muted:#78716c;--hd-hair:#e7e5e4;--hd-hair-soft:#f0efed;--hd-hair-strong:#d6d3d1;--hd-bg:#f5f5f5;
  position:sticky;top:0;z-index:60;background:rgba(245,245,245,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--hd-hair);font-family:"Inter",-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.hd *{box-sizing:border-box}
.hd-in{max-width:1440px;margin:0 auto;padding:0 clamp(16px,2.4vw,32px);min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}
.hd-l,.hd-r{display:flex;align-items:center;gap:8px;min-width:0}
.hd-r{justify-content:flex-end}
.hd-logo{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 8px;text-decoration:none}
.hd-logo img{display:block;height:20px;width:auto}

.hd-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;margin:0;padding:0 16px;border:1px solid var(--hd-hair);border-radius:9999px;
  background:#fff;color:var(--hd-ink);font-family:inherit;font-size:14.5px;font-weight:500;line-height:1;letter-spacing:0;text-decoration:none;white-space:nowrap;cursor:pointer;
  transition:background-color .15s,border-color .15s}
.hd-pill:hover{background:var(--hd-hair-soft);border-color:var(--hd-hair-strong);color:var(--hd-ink)}
.hd-pill:focus-visible,.hd-burger:focus-visible,.hd-menu a:focus-visible,.hd-sheet a:focus-visible{outline:2px solid var(--hd-ink);outline-offset:2px}
.hd-pill[aria-current="page"],.hd-dd.is-here>.hd-pill{border-color:var(--hd-ink)}
.hd-pill svg{transition:transform .15s}
.hd-lang{padding:0 14px;font-size:13px;font-weight:600;letter-spacing:.6px}
.hd-dark{background:var(--hd-ink);border-color:var(--hd-ink);color:#fff}
.hd-dark:hover{background:#292524;border-color:#292524;color:#fff}

.hd-dd{position:relative}
.hd-menu{display:none;position:absolute;left:0;top:calc(100% + 10px);min-width:320px;padding:8px;background:#fff;border:1px solid var(--hd-hair);
  border-radius:18px;box-shadow:0 18px 44px rgba(12,10,9,.10)}
.hd-menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.hd-menu a{display:block;padding:10px 12px;border-radius:12px;color:var(--hd-ink);text-decoration:none}
.hd-menu a:hover{background:var(--hd-bg)}
.hd-menu b{display:block;font-size:14.5px;font-weight:600;line-height:1.3}
.hd-menu small{display:block;margin-top:2px;color:var(--hd-muted);font-size:13px;line-height:1.4}
.hd-menu .hd-all{margin-top:4px;font-size:14px;font-weight:500;border-top:1px solid var(--hd-hair-soft);border-radius:0 0 12px 12px}
.hd-dd>.hd-pill[aria-expanded="true"]+.hd-menu{display:block}
.hd-dd>.hd-pill[aria-expanded="true"] svg{transform:rotate(180deg)}
@media (hover:hover) and (pointer:fine){.hd-dd:hover>.hd-menu{display:block}.hd-dd:hover>.hd-pill svg{transform:rotate(180deg)}}

.hd-burger{display:none;width:40px;height:40px;padding:0;border:1px solid var(--hd-hair);border-radius:9999px;background:#fff;color:var(--hd-ink);
  align-items:center;justify-content:center;cursor:pointer}
.hd-sheet{display:none}

@media (max-width:1100px){
  .hd-in{display:flex;justify-content:space-between;min-height:64px}
  .hd-l,.hd-hide{display:none!important}
  .hd-logo{padding:0}
  .hd-burger{display:inline-flex}
  .hd.open .hd-sheet{display:block}
  .hd-sheet{position:absolute;left:0;right:0;top:100%;max-height:calc(100vh - 64px);overflow:auto;padding:4px clamp(16px,3vw,32px) 24px;
    background:var(--hd-bg);border-bottom:1px solid var(--hd-hair)}
  .hd-sh{margin:18px 0 2px;color:var(--hd-muted);font-size:12px;font-weight:600;letter-spacing:.8px;text-transform:uppercase}
  .hd-sh:empty{margin:10px 0 0}
  .hd-sheet>a{display:block;padding:12px 0;border-bottom:1px solid var(--hd-hair-soft);color:var(--hd-ink);font-size:16px;font-weight:500;text-decoration:none}
  .hd-row{display:flex;gap:8px;margin-top:18px}
  .hd-sheet .hd-wide{display:flex;width:100%;height:48px;margin-top:12px;padding:0 16px;border:1px solid var(--hd-ink);color:#fff;font-size:15px}
}
@media (max-width:400px){.hd-r .hd-dark{padding:0 12px;font-size:13.5px}}
@media (max-width:340px){.hd-r .hd-dark{display:none}}
@media (prefers-reduced-motion:reduce){.hd *{transition:none!important}}
