/* v2.8.0 — current full-name logo across the detached home and SWELL headers.
   The new versioned logo file avoids old Media Library/CDN logo cache URLs. */
.cse-site-full-name{display:none!important}
.cse-v280-logo-link{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;max-width:100%!important;text-decoration:none!important}
.cse-v280-logo-link picture{display:block!important;max-width:100%!important;line-height:0!important}
.cse-v280-logo-link .cse-v280-logo-img{display:block!important;width:auto!important;max-width:min(275px,100%)!important;max-height:78px!important;height:auto!important;object-fit:contain!important;opacity:1!important}
.cse-detached-home .cse-detached-brand .cse-v280-logo-link{max-width:275px!important}
.cse-detached-home .cse-detached-brand .cse-v280-logo-img{max-width:275px!important;max-height:78px!important}
.cse-detached-home .cse-detached-header-inner{min-height:84px!important}
/* SWELL versions can use their own logo option instead of get_custom_logo().
   If so, cover just that old image/link with the same new logo, no HTML rewriting. */
body:not(.cse-detached-home) #header .c-headLogo a:not(.cse-v280-logo-link),
body:not(.cse-detached-home) #header .l-header__logo a:not(.cse-v280-logo-link),
body:not(.cse-detached-home) .l-header .c-headLogo a:not(.cse-v280-logo-link){
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  min-width:180px!important;min-height:60px!important;
  background-image:url('cse-site-logo-fullname-v280.webp')!important;
  background-repeat:no-repeat!important;background-position:center left!important;
  background-size:contain!important;font-size:0!important;
}
body:not(.cse-detached-home) #header .c-headLogo a:not(.cse-v280-logo-link) img,
body:not(.cse-detached-home) #header .l-header__logo a:not(.cse-v280-logo-link) img,
body:not(.cse-detached-home) .l-header .c-headLogo a:not(.cse-v280-logo-link) img{visibility:hidden!important}
@media(max-width:780px){
  .cse-detached-home .cse-detached-header-inner{min-height:66px!important}
  .cse-detached-home .cse-detached-brand .cse-v280-logo-link{max-width:min(230px,100%)!important}
  .cse-detached-home .cse-detached-brand .cse-v280-logo-img{max-width:min(230px,100%)!important;max-height:59px!important}
  body:not(.cse-detached-home) #header .c-headLogo a:not(.cse-v280-logo-link),
  body:not(.cse-detached-home) #header .l-header__logo a:not(.cse-v280-logo-link),
  body:not(.cse-detached-home) .l-header .c-headLogo a:not(.cse-v280-logo-link){min-width:160px!important;min-height:48px!important;max-width:220px!important}
  .cse-v280-logo-link .cse-v280-logo-img{max-width:min(230px,100%)!important;max-height:59px!important}
}
