/* Opt-in, outlined company-name lockups; keep the whole identity stationary. */
body .site-header .brand.brand-lockup,
body .site-footer .brand.brand-lockup {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  gap: 0;
  min-width: 0;
  max-width: 100%;
}
body .site-header .brand.brand-lockup img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
  transition: none;
}
body .site-footer .brand.brand-lockup img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
  transition: none;
}
.brand-lockup .brand-accessible-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.template-t06 .brand.brand-lockup img { filter: none; }
body.template-t06 .v5-footer-signature img { filter: brightness(0) invert(1); }
/* Keep a complete company lockup readable inside the t08 vertical rail. */
@media (min-width: 761px) {
  body.template-t08 .site-header.nav-rail { width: 252px; padding-inline: 24px; }
  body.template-t08.nav-style-rail :is(main, .site-footer) { margin-left: 252px; }
  body.template-t08 .site-header .brand.brand-lockup { width: 204px; max-width: 100%; }
  body.template-t08 .site-header .brand.brand-lockup img { width: 204px; }
}
@media (max-width: 540px) {
  body .site-header .brand.brand-lockup { max-width: calc(100% - 68px); }
  body .site-header .brand.brand-lockup img { width: 224px; }
  body .site-footer .brand.brand-lockup img { width: 240px; }
}
