/* Smith Digital Public Navbar V6 — no .topbar/.navbar/.brand collisions.
 * A single independent component for home, login, register, blog and blog articles.
 */
.sdgpub-header,.sdgpub-header *{box-sizing:border-box!important}
.sdgpub-header{
  --sdgpub-bg:#f8faff;--sdgpub-text:#102345;--sdgpub-muted:#647796;
  --sdgpub-border:#dce6f4;--sdgpub-hover:#eaf1ff;--sdgpub-surface:#fff;
  position:sticky!important;top:0!important;left:0!important;z-index:990!important;
  display:block!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;min-height:0!important;height:auto!important;
  background:var(--sdgpub-bg)!important;color:var(--sdgpub-text)!important;
  border:0!important;border-bottom:1px solid var(--sdgpub-border)!important;
  box-shadow:0 3px 16px rgba(16,40,85,.025)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  line-height:1.25!important;letter-spacing:normal!important;isolation:isolate;
  -webkit-font-smoothing:antialiased;
}
html:is([data-theme="dark"],[data-smith-theme="dark"],[data-landing-theme="dark"]) .sdgpub-header{
  --sdgpub-bg:#070e1c;--sdgpub-text:#edf3ff;--sdgpub-muted:#a7b9d4;
  --sdgpub-border:#263957;--sdgpub-hover:#13253e;--sdgpub-surface:#142239;
}
.sdgpub-header .sdgpub-inner{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:clamp(12px,1.2vw,20px)!important;
  margin:0 auto!important;padding:0 8px!important;
  width:calc(100% - 48px)!important;max-width:1380px!important;
  height:78px!important;min-height:78px!important;max-height:78px!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.sdgpub-header a{text-decoration:none!important;box-shadow:none!important}
.sdgpub-header .sdgpub-brand{
  display:flex!important;align-items:center!important;flex:0 0 auto!important;
  gap:11px!important;min-width:0!important;margin:0!important;padding:0!important;
  white-space:nowrap!important;color:var(--sdgpub-text)!important;background:transparent!important;
}
.sdgpub-header .sdgpub-logo{
  display:block!important;flex:0 0 46px!important;object-fit:contain!important;
  width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;
  max-height:46px!important;border:0!important;border-radius:13px!important;
  box-shadow:0 7px 20px rgba(51,87,214,.2)!important;
}
.sdgpub-header .sdgpub-brand-label{display:flex!important;flex-direction:column!important;
  align-items:flex-start!important;gap:3px!important;margin:0!important;padding:0!important}
.sdgpub-header .sdgpub-name{
  display:block!important;margin:0!important;padding:0!important;
  color:var(--sdgpub-text)!important;font-size:18px!important;line-height:1.15!important;
  font-weight:850!important;letter-spacing:-.045em!important;
}
.sdgpub-header .sdgpub-subtitle{
  display:block!important;margin:0!important;padding:0!important;
  color:var(--sdgpub-muted)!important;font-size:9px!important;line-height:1.5!important;
  letter-spacing:.14em!important;font-weight:800!important;
}
.sdgpub-header .sdgpub-links{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:1 1 auto!important;min-width:0!important;gap:clamp(12px,1.4vw,25px)!important;
  position:static!important;width:auto!important;height:auto!important;
  opacity:1!important;visibility:visible!important;transform:none!important;
  margin:0!important;padding:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
.sdgpub-header .sdgpub-links>a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;margin:0!important;padding:0!important;border:0!important;
  color:var(--sdgpub-muted)!important;font-size:12px!important;font-weight:760!important;
  line-height:1.25!important;white-space:nowrap!important;background:transparent!important;
  transition:color .2s ease!important;
}
.sdgpub-header .sdgpub-links>a:hover,.sdgpub-header .sdgpub-links>a[aria-current="page"]{
  color:#4b90ff!important;
}
.sdgpub-header .sdgpub-actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex:0 0 auto!important;gap:12px!important;margin:0!important;padding:0!important;
  background:transparent!important;
}
.sdgpub-header .sdgpub-login{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:40px!important;color:var(--sdgpub-text)!important;font-size:12px!important;
  font-weight:760!important;margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;white-space:nowrap!important;
}
.sdgpub-header .sdgpub-register{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;margin:0!important;padding:0 17px!important;
  color:var(--sdgpub-text)!important;font-size:12px!important;line-height:1.2!important;
  font-weight:800!important;border:1px solid var(--sdgpub-border)!important;
  border-radius:11px!important;background:var(--sdgpub-surface)!important;
  white-space:nowrap!important;box-shadow:none!important;
}
.sdgpub-header .sdgpub-register:hover{border-color:#3776e8!important;transform:translateY(-1px)!important}
.sdgpub-header .sdgpub-mobile-auth{display:none!important}
.sdgpub-header .sdgpub-menu{
  display:none!important;align-items:center!important;justify-content:center!important;
  flex:none!important;width:42px!important;height:42px!important;
  border-radius:11px!important;border:1px solid var(--sdgpub-border)!important;
  background:var(--sdgpub-surface)!important;color:var(--sdgpub-text)!important;
  font-size:21px!important;cursor:pointer!important;
}
.sdgpub-header :is(a,button):focus-visible{outline:3px solid #5b9dff!important;outline-offset:3px!important}
.sdgpub-backdrop{position:fixed!important;inset:0!important;z-index:980!important;background:rgba(5,17,39,.52)!important}
.sdgpub-backdrop[hidden]{display:none!important}
@media(max-width:1170px){
  .sdgpub-header .sdgpub-inner{width:calc(100% - 34px)!important;gap:10px!important}
  .sdgpub-header .sdgpub-links{gap:12px!important}
  .sdgpub-header .sdgpub-name{font-size:16px!important}
  .sdgpub-header .sdgpub-actions{gap:8px!important}
}
@media(max-width:1020px){
  .sdgpub-header .sdgpub-links{
    display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;
    width:100%!important;max-width:none!important;z-index:1000!important;margin:0!important;
    padding:14px max(20px,calc((100vw - 680px)/2)) 20px!important;
    max-height:calc(100dvh - 78px)!important;overflow:auto!important;
    flex-direction:column!important;align-items:stretch!important;gap:2px!important;
    background:var(--sdgpub-bg)!important;border-bottom:1px solid var(--sdgpub-border)!important;
    box-shadow:0 14px 32px rgba(3,22,57,.12)!important;
  }
  .sdgpub-header .sdgpub-links.show{display:flex!important}
  .sdgpub-header .sdgpub-links>a{
    display:flex!important;justify-content:flex-start!important;min-height:43px!important;
    padding:11px 13px!important;border-radius:11px!important;font-size:14px!important;
    color:var(--sdgpub-text)!important;
  }
  .sdgpub-header .sdgpub-links>a:hover{background:var(--sdgpub-hover)!important}
  .sdgpub-header .sdgpub-menu{display:flex!important}
  .sdgpub-header .sdgpub-mobile-auth{
    display:flex!important;gap:12px!important;margin:9px 0 0!important;padding:8px 0 0!important;
    border-top:1px solid var(--sdgpub-border)!important;
  }
  .sdgpub-header .sdgpub-mobile-auth a{
    display:flex!important;justify-content:center!important;align-items:center!important;flex:1!important;
    min-height:42px!important;text-align:center!important;padding:10px 14px!important;
    border:1px solid var(--sdgpub-border)!important;border-radius:10px!important;
    color:var(--sdgpub-text)!important;font-size:13px!important;font-weight:760!important;
  }
  .sdgpub-header .sdgpub-mobile-auth a:last-child{
    background:linear-gradient(110deg,#2969e9,#514fe0)!important;color:#fff!important;border-color:transparent!important;
  }
}
@media(max-width:760px){
  .sdgpub-header .sdgpub-inner{height:70px!important;min-height:70px!important;max-height:70px!important;
    width:calc(100% - 24px)!important;padding:0 4px!important}
  .sdgpub-header .sdgpub-logo{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;
    max-height:40px!important;flex-basis:40px!important}
  .sdgpub-header .sdgpub-name{font-size:15px!important}
  .sdgpub-header .sdgpub-subtitle{font-size:8px!important}
  .sdgpub-header .sdgpub-login,.sdgpub-header .sdgpub-register{display:none!important}
  .sdgpub-header .sdgpub-actions{gap:7px!important}
  .sdgpub-header .sdgpub-links{max-height:calc(100dvh - 70px)!important}
}
@media(max-width:380px){
  .sdgpub-header .sdgpub-inner{width:calc(100% - 16px)!important}
  .sdgpub-header .sdgpub-brand{gap:7px!important}
  .sdgpub-header .sdgpub-name{font-size:13px!important}
  .sdgpub-header .sdgpub-subtitle{font-size:7px!important}
  .sdgpub-header .sdgpub-logo{width:35px!important;height:35px!important;min-width:35px!important;max-width:35px!important;
    max-height:35px!important;flex-basis:35px!important}
  .sdgpub-header .sdgpub-actions{gap:5px!important}
  .sdgpub-header .sdgpub-menu{width:38px!important;height:38px!important}
}
@media(prefers-reduced-motion:reduce){.sdgpub-header *{transition:none!important}}
