/* FlyForms — the "Made by the people behind" logo strip (logostrip.py).
   Default: the solid black logo, faint. Hover: the full-colour logo at 100%. White band.
   Selectors carry .theme-whistler … img so they outrank whistler.css's ".wh-logos img" rule
   (which turns every logo black at 72%). */
.theme-whistler .wh-logos { --band: #fff; }

.theme-whistler .wh-logos .lg { position: relative; display: block; flex: none; line-height: 0; cursor: default; }
.theme-whistler .wh-logos .lg img { display: block; height: calc(28px * var(--s, 1)); width: auto; max-width: none; filter: none; }
@media (min-width: 768px) { .theme-whistler .wh-logos .lg img { height: calc(34px * var(--s, 1)); } }   /* --s: each logo's optical size (logostrip.py) */
.theme-whistler .wh-logos .lg img.lg-solid { opacity: .26; transition: opacity .3s ease; }
.theme-whistler .wh-logos .lg img.lg-color {   /* exactly the black logo's box */
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .3s ease;
}
.theme-whistler .wh-logos .lg:hover img.lg-color { opacity: 1; }
.theme-whistler .wh-logos .lg:hover img.lg-solid { opacity: 0; }

/* WP Hive (not in the Figma file): its own logo, turned solid black by a filter. */
.theme-whistler .wh-logos .lg-filter img { filter: brightness(0); opacity: .26; transition: opacity .3s ease, filter .3s ease; }
.theme-whistler .wh-logos .lg-filter:hover img { filter: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .theme-whistler .wh-logos .lg img { transition: none; }
}

/* About: room under the hero's code card, so its shadow is not cut off by the hero band's edge. */
.theme-whistler .wh-hero-about { padding-bottom: 80px; }

/* The moving strip stays inside the content area (the same width as the sections around it) and fades
   out at its edges, instead of running to the screen's edges. Home and About. */
.theme-whistler .wh-logos .flyforms-strip {
  width: min(calc(100% - 2 * var(--wh-gutter, 24px)), 1495px); margin-inline: auto;
}
