/* Shph v1.9.6 — theme-aware logos with natural aspect ratio and context sizing */
.shph-theme-logo{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  width:auto;
  height:auto;
  line-height:0;
  flex:0 1 auto;
}
.shph-theme-logo__image{
  display:block;
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:center;
}
.shph-theme-logo__image--night{display:none}
html[data-theme="dark"] .shph-theme-logo__image--day,
html[data-admin-theme="dark"] .shph-theme-logo__image--day,
body.dark-only .shph-theme-logo__image--day{display:none}
html[data-theme="dark"] .shph-theme-logo__image--night,
html[data-admin-theme="dark"] .shph-theme-logo__image--night,
body.dark-only .shph-theme-logo__image--night{display:block}

.navbar-brand{min-width:0}
.navbar-brand .shph-public-brand-logo{justify-content:flex-start}
.navbar-brand .shph-public-brand-logo .shph-theme-logo__image{max-width:clamp(118px,18vw,214px);max-height:46px}
.footer-logo .shph-footer-brand-logo{justify-content:flex-start}
.footer-logo .shph-footer-brand-logo .shph-theme-logo__image{max-width:min(230px,68vw);max-height:58px}

.shph-admin-brand,
.shph-admin-mobile-brand{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  width:auto;
  min-width:0;
  height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--shph-heading);
  text-decoration:none;
  overflow:visible;
  box-shadow:none;
}
.shph-admin-brand .shph-admin-brand-logo{justify-content:flex-start}
.shph-admin-brand .shph-theme-logo__image{max-width:clamp(118px,15vw,210px);max-height:38px}
.shph-admin-brand-fallback{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border-radius:9px;background:linear-gradient(135deg,var(--theme-deafult),var(--theme-secondary));color:#fff;font-size:16px;font-weight:850}
.shph-admin-brand>strong{min-width:0;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.shph-admin-brand:hover,.shph-admin-brand:focus-visible,.shph-admin-mobile-brand:hover,.shph-admin-mobile-brand:focus-visible{color:var(--shph-heading);background:transparent;box-shadow:none;transform:none}
.shph-admin-brand:focus-visible,.shph-admin-mobile-brand:focus-visible{outline:2px solid color-mix(in srgb,var(--theme-deafult) 48%,transparent);outline-offset:4px}

.shph-admin-mobile-brand{display:none}
.shph-admin-mobile-brand .shph-theme-logo__image{max-width:clamp(88px,28vw,142px);max-height:36px}
.shph-admin-mobile-brand .shph-admin-brand-fallback{width:31px;height:31px;font-size:14px}

.shph-auth-brand .shph-auth-theme-logo{justify-content:center}
.shph-auth-brand .shph-auth-theme-logo .shph-theme-logo__image{max-width:min(220px,68vw);max-height:64px}
.shph-auth-brand.has-theme-logo{display:flex;justify-content:center;margin-bottom:20px}

/* The dark footer intentionally uses the Night logo asset. */
.site-footer .shph-theme-logo__image--day{display:none}
.site-footer .shph-theme-logo__image--night{display:block}

@media(max-width:1199.98px) and (min-width:992px){
  .navbar-brand .shph-public-brand-logo .shph-theme-logo__image{max-width:clamp(116px,17vw,184px);max-height:42px}
  .shph-admin-brand .shph-theme-logo__image{max-width:clamp(108px,13vw,174px);max-height:36px}
}
@media(max-width:991.98px){
  .shph-admin-mobile-brand{display:inline-flex}
  .navbar-brand .shph-public-brand-logo .shph-theme-logo__image{max-width:min(184px,46vw);max-height:42px}
}
@media(max-width:575.98px){
  .navbar-brand .shph-public-brand-logo .shph-theme-logo__image{max-width:min(154px,44vw);max-height:38px}
  .footer-logo .shph-footer-brand-logo .shph-theme-logo__image{max-height:50px}
  .shph-admin-mobile-brand .shph-theme-logo__image{max-width:108px;max-height:34px}
}
