/* Approved horizontal identity: source proportions, light/dark variants, compact mobile. */
#adept-sketch .adept-masthead{--ad-logo-size:clamp(280px,26cqi,360px);min-height:126px;padding-block:20px}
#adept-sketch .adept-masthead .ad-brand{width:var(--ad-logo-size);max-width:100%;display:block}
#adept-sketch .ad-brand-mark{display:block;max-width:100%}
#adept-sketch .adept-masthead .ad-brand .ad-logo{display:block;width:100%;height:auto;object-fit:contain}
#adept-sketch .ad-brand-mark-dark{display:none}
#adept-sketch[data-appearance="dark"] .ad-brand-mark-light{display:none}
#adept-sketch[data-appearance="dark"] .ad-brand-mark-dark{display:block}
@media(prefers-color-scheme:dark){
 #adept-sketch[data-appearance="auto"] .ad-brand-mark-light{display:none}
 #adept-sketch[data-appearance="auto"] .ad-brand-mark-dark{display:block}
}
#adept-sketch .adnew-brand{display:block}
#adept-sketch .adnew-brand>a{display:block;width:min(100%,320px);margin-bottom:24px}
#adept-sketch .adnew-brand .ad-logo,#adept-sketch .ad-footer-brand-button .ad-logo{width:100%;height:auto;object-fit:contain;display:block}
#adept-sketch .ad-footer-brand-button{display:block;float:none;width:min(100%,320px);margin:0 0 24px}
#adept-sketch .adnew-brand h2{margin:0}
@container adept (max-width:1279px){
 #adept-sketch .adept-masthead{--ad-logo-size:min(380px,86cqi);min-height:0;padding-block:16px;gap:20px}
}
@media(max-width:599px){
 #adept-sketch .adept-masthead{--ad-logo-size:min(340px,84vw);padding-block:14px;gap:18px}
 #adept-sketch .adnew-brand>a{margin-bottom:20px}
}

/* Wide displays: scale the three masthead columns together; keep <=1920px unchanged. */
@container adept (min-width:1921px){
 #adept-sketch .adept-masthead{
  --ad-logo-size:clamp(360px,18.75cqi,720px);
  column-gap:clamp(32px,1.666667cqi,64px);
  max-width:3760px;margin-inline:auto;
 }
 #adept-sketch .adept-masthead .ad-header-campaign{
  width:clamp(728px,37.916667cqi,1456px);
 }
 #adept-sketch .adept-masthead .ad-header-campaign :is(.ad-admin-ad,.adept-campaign){width:100%}
 #adept-sketch .adept-masthead .ad-header-campaign :is(.ad-admin-ad-content,.adept-campaign) img{width:100%;height:auto}
}
