.portal-profile-header.wrap{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px clamp(10px,2vw,28px);margin:0;padding-block:5px;background:#fff;box-shadow:0 2px 12px #0000000b;transition:transform .2s ease}
.portal-profile-header.header-hidden:not(:focus-within){transform:translateY(-105%)}
.portal-profile-header .profile-brand{display:grid;gap:0;justify-items:start;line-height:1.2}
.portal-profile-header .profile-animated-logo{display:block;width:clamp(130px,16vw,210px);height:auto}
.portal-profile-header .id-portal-wordmark{display:block;width:100%;height:auto}
.portal-profile-header .profile-brand>span:last-child{font-size:.7rem;margin:0}
.portal-profile-header .profile-header-actions{gap:clamp(4px,1vw,14px)}
.portal-profile-header .profile-header-actions>a,.portal-profile-header .profile-header-actions>button{min-width:36px;min-height:44px;gap:2px}
.portal-profile-header .profile-header-actions svg{width:20px;height:20px}
.header-search{position:relative;width:100%;max-width:640px;margin-inline:auto}
.header-search form{display:flex;align-items:center;gap:6px;padding:3px 5px 3px 13px;border:1px solid #d7d7d9;border-radius:8px}
.header-search input{width:100%;min-width:0;border:0;background:transparent;font:inherit;padding:6px}
.header-search button{min-height:36px;padding:0 10px;color:inherit;font-weight:600}
.header-search-results{position:absolute;top:calc(100% + 5px);inset-inline:0;max-height:55vh;overflow:auto;background:#fff;padding:8px;border:1px solid #ddd;box-shadow:0 6px 18px #0002;border-radius:8px}
.header-search-results a{display:block;padding:9px 10px;text-decoration:underline;text-underline-offset:3px}
.header-search-results p{margin:4px 10px;font-size:.9rem}
.portal-profile .portal-hero{margin-inline:calc(-1 * var(--portal-gutter));border-radius:0}
.portal-hero .portal-hero-cat{background:#000}
.portal-hero .portal-hero-cat .portal-hero-image img{object-fit:contain;object-position:center}
.portal-hero .portal-hero-cat .portal-hero-image::after{display:none}
.portal-hero .portal-hero-cat .portal-hero-copy,.portal-hero .portal-hero-cat .eyebrow,.portal-hero .portal-hero-cat h2{color:#fff}
.portal-hero .portal-hero-cat .portal-hero-copy>a{background:#fff;color:#171717}
@media(max-width:760px){
 .portal-profile-header.wrap{grid-template-columns:minmax(0,1fr) auto}
 .portal-profile-header .profile-brand>span:last-child{display:none}
 .header-search{grid-row:2;grid-column:1/-1;max-width:none}
 .portal-profile-header .profile-header-actions span{display:none}
 .portal-hero .portal-hero-cat .portal-hero-image{height:clamp(180px,55vw,330px)}
}
@media(prefers-reduced-motion:reduce){.portal-profile-header.wrap{transition:none}}
