/* Shared brand signature on Hero images. The original photographs stay reusable. */
main :is(.home-hero,.p02-hero,.about-hero,.solutions-overview-hero,
  .category-hero__figure,.solution-hero-media,
  .blog-hero,.b02-hero-visual,header.b05-hero figure,.d01-main-photo):has(img) {
  position: relative;
}

main :is(.home-hero,.p02-hero,.solutions-overview-hero,.category-hero__figure,
  .solution-hero-media,.blog-hero,
  .b02-hero-visual,header.b05-hero figure,.d01-main-photo):has(img)::after,
main :is(.about-hero,.faq-hero-media,.contact-hero-media):has(img)::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: clamp(12px,1.7vw,24px);
  right: clamp(12px,1.7vw,24px);
  bottom: auto;
  left: auto;
  width: clamp(100px,10vw,148px);
  height: clamp(30px,3vw,44px);
  box-sizing: border-box;
  border-radius: 4px;
  background: rgba(255,255,255,.92) url("brand/logo-horizontal-color.svg") center / 86% auto no-repeat;
  pointer-events: none;
}

/* On stacked layouts the image follows the hero copy. */
@media (max-width: 900px) {
  main .solutions-overview-hero.solutions-overview-hero:has(img)::after {
    top: auto;
    bottom: 12px;
  }
}
@media (max-width: 760px) {
  main .blog-hero.blog-hero:has(img)::after {
    top: auto;
    bottom: 12px;
  }
}
