img.pathway-brand-logo{width:270px!important;max-width:100%!important;height:auto!important;object-fit:contain;object-position:left center}.elementor-widget-image:has(.pathway-brand-logo){width:100%;max-width:300px}header strong:has(.pathway-brand-logo){display:block;background:#fff;padding:8px 12px;border-radius:8px}@media(max-width:767px){img.pathway-brand-logo{width:230px!important;min-width:0}.elementor-widget-image:has(.pathway-brand-logo){max-width:250px}}

/* One-row header, matched to the approved logo's navy canvas. */
:root { --pws-header-bg: #102341; }
.pws-compact-header,
.pws-compact-header .xpro-theme-builder-header-nav {
  background: var(--pws-header-bg) !important;
  color: #fff;
}
.pws-compact-header { position: sticky; top: 0; z-index: 9500; }
.pws-compact-header .pws-header-sticky { position: static; }
.pws-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 30px;
}
.pws-header-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
  line-height: 0;
  text-decoration: none;
  border-radius: 4px;
}
.pws-header-brand:focus-visible {
  outline: 2px solid #4dd5b0;
  outline-offset: 6px;
}
img.pathway-brand-logo {
  vertical-align: middle;
  image-rendering: auto;
  background: transparent;
}
.pws-header-brand img {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
  transition: filter .18s ease;
}
.pws-header-brand:hover img {
  filter: brightness(1.04) drop-shadow(0 1px 2px rgba(0,0,0,.18));
}
img.pathway-footer-logo {
  display: block;
  width: 240px !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 0 0 6px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
}
img.pathway-header-logo {
  display: block;
  width: auto !important;
  height: 56px !important;
  max-width: 100% !important;
  object-fit: contain;
  object-position: left center;
}
.pws-compact-header .static-nav { flex: 1 1 auto; min-width: 0; }
.pws-compact-header .static-nav .nav-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 24px;
  width: auto;
}
.pws-compact-header .static-nav .nav-items > a,
.pws-compact-header .static-nav .pages-menu > summary { white-space: nowrap; }
.pws-compact-header .static-nav .menu-button { display: none; }
.pws-header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 5px;
  background: #ff6f31;
  color: #102341 !important;
  font: 700 14px/1.4 'DM Sans', Arial, sans-serif;
  white-space: nowrap;
  text-decoration: none;
}
.pws-header-cta:hover { background: #ffb37a; }
@media (max-width: 1100px) {
  .pws-compact-header .static-nav { flex: 0 0 auto; margin-left: auto; }
  .pws-compact-header .static-nav .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .pws-compact-header .static-nav .nav-items {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 40px));
    padding: 14px;
    background: #fff;
    border: 1px solid #d8e2e7;
    border-radius: 8px;
    box-shadow: 0 12px 30px #0003;
    z-index: 9600;
  }
  .pws-compact-header .static-nav.open .nav-items {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .pws-compact-header .static-nav .nav-items > a,
  .pws-compact-header .static-nav .pages-menu > summary {
    color: #102341;
    border-bottom: 1px solid #d8e2e7;
    padding: 13px 0;
  }
  .pws-compact-header .static-nav .pages-menu > div {
    position: static;
    min-width: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }
}
@media (max-width: 767px) {
  .pws-header-row { gap: 16px; padding: 12px 20px; }
  img.pathway-header-logo { height: 48px !important; }
  .pws-header-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) { .pws-header-brand img { transition: none; } }

