/* Shared by homepage and inner-page headers; no catalogue or document selectors. */
body.clx-hp-shell .clx-arrangement-corrected .clx-hp-navrow{display:flex;gap:18px;flex-wrap:nowrap}
body.clx-hp-shell .clx-arrangement-corrected .clx-hp-mobile{display:block;flex-shrink:0}
body.clx-hp-shell .clx-hp-shortcuts,body.clx-hp-shell .clx-hp-contact-links{display:flex;align-items:center;gap:16px;white-space:nowrap}
body.clx-hp-shell .clx-hp-shortcuts a,body.clx-hp-shell .clx-hp-contact-links a{font-size:13px;font-weight:600;padding-block:18px}
body.clx-hp-shell .clx-arrangement-corrected .clx-hp-search{margin-inline:auto}
body.clx-hp-shell .clx-arrangement-corrected .clx-hp-browse{flex-shrink:0}
body.clx-hp-shell .clx-hp-header .clx-hp-top>*{order:initial;grid-row:1}
body.clx-hp-shell .clx-logo-center .clx-hp-brand{grid-column:2;justify-self:center}
body.clx-hp-shell .clx-logo-center .clx-hp-utility{grid-column:1}
body.clx-hp-shell .clx-logo-center .clx-hp-tools{grid-column:3}
body.clx-hp-shell .clx-logo-left .clx-hp-top{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)}
body.clx-hp-shell .clx-logo-left .clx-hp-brand{grid-column:1;justify-self:start}
body.clx-hp-shell .clx-logo-left .clx-hp-utility{grid-column:2;justify-content:center}
body.clx-hp-shell .clx-logo-left .clx-hp-tools{grid-column:3}
body.clx-hp-shell .clx-logo-right .clx-hp-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
body.clx-hp-shell .clx-logo-right .clx-hp-brand{grid-column:3;justify-self:end}
body.clx-hp-shell .clx-logo-right .clx-hp-utility{grid-column:1}
body.clx-hp-shell .clx-logo-right .clx-hp-tools{grid-column:2;justify-content:center}
body.clx-hp-shell-home5 .clx-hp-header{background:#fff;color:#222}
body.clx-hp-shell .clx-arrangement-corrected .clx-hp-drawer{inset:12px 12px auto auto;width:min(350px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 24px);padding:18px;border-radius:14px}
body.clx-hp-shell .clx-arrangement-corrected .clx-hp-drawer nav a{min-height:44px;padding:11px 42px 11px 0!important;font-size:14px!important;line-height:1.5!important;letter-spacing:0}
@media(max-width:1350px){
 body.clx-hp-shell .clx-arrangement-corrected .clx-hp-shortcuts,body.clx-hp-shell .clx-arrangement-corrected .clx-hp-contact-links{display:none}
}
@media(max-width:900px){
 body.clx-hp-shell .clx-hp-header .clx-hp-top{grid-template-columns:minmax(0,1fr) auto;gap:12px}
 body.clx-hp-shell .clx-hp-header .clx-hp-brand{grid-column:1;justify-self:start;max-width:100%}
 body.clx-hp-shell .clx-hp-header .clx-hp-tools{grid-column:2;justify-content:flex-end;max-width:180px}
 body.clx-hp-shell .clx-logo-right .clx-hp-top{grid-template-columns:auto minmax(0,1fr)}
 body.clx-hp-shell .clx-logo-right .clx-hp-brand{grid-column:2;justify-self:end}
 body.clx-hp-shell .clx-logo-right .clx-hp-tools{grid-column:1;justify-content:flex-start}
 body.clx-hp-shell .clx-logo-center .clx-hp-brand{justify-self:center}
 body.clx-hp-shell .clx-hp-header .clx-hp-utility{display:none}
 body.clx-hp-shell .clx-arrangement-corrected .clx-hp-navrow{gap:12px}
}
@media(max-width:600px){
 body.clx-hp-shell .clx-hp-header .clx-hp-tools{max-width:120px;gap:8px}
 body.clx-hp-shell .clx-hp-header .clx-hp-brand img{max-width:100%;width:145px;height:auto}
 body.clx-hp-shell .clx-hp-header .clx-hp-extra-tools{gap:4px}
}

/* Explicit shortcut colours override inherited header/link treatments. */
body.clx-hp-shell .clx-hp-header.clx-arrangement-corrected .clx-hp-shortcuts a,
body.clx-hp-shell .clx-hp-header.clx-arrangement-corrected .clx-hp-shortcuts a:visited,
body.clx-hp-shell .clx-hp-header.clx-arrangement-corrected .clx-hp-shortcuts a:hover,
body.clx-hp-shell .clx-hp-header.clx-arrangement-corrected .clx-hp-shortcuts a:focus{color:#000!important;-webkit-text-fill-color:#000!important;text-transform:none!important;text-shadow:none;opacity:1}

/* Classic's white header uses dark controls on home and inner pages. */
body.clx-hp-shell-home5 .clx-hp-header .clx-hp-top{border-color:#e9e9e9}
body.clx-hp-shell-home5 .clx-hp-header .clx-hp-tools,
body.clx-hp-shell-home5 .clx-hp-header .clx-hp-utility,
body.clx-hp-shell-home5 .clx-hp-header .clx-hp-navrow{color:#222}
body.clx-hp-shell-home5 .clx-hp-header .clx-hp-tools>a svg,
body.clx-hp-shell-home5 .clx-hp-header .clx-hp-utility>a svg,
body.clx-hp-shell-home5 .clx-hp-header .clx-hp-navrow>details>summary svg{color:#222!important;stroke:#222!important}
body.clx-hp-shell-home5 .clx-hp-header .clx-hp-extra-tools select{color:#222!important;background:#fff!important;border-color:#ddd!important}
