/* Footer UX Block photo rotation: only the selected footer element gets this class. */
body.wiweb-fbr-enabled #footer.wiweb-fbr-target,
body.wiweb-fbr-enabled #footer .wiweb-fbr-target {
  position: relative !important;
  isolation: isolate;
}
body.wiweb-fbr-enabled #footer.wiweb-fbr-target > .wiweb-fbr-layer,
body.wiweb-fbr-enabled #footer .wiweb-fbr-target > .wiweb-fbr-layer {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 0;
  background-position: var(--wiweb-fbr-position, center center) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  transition: opacity 850ms ease-in-out;
}
body.wiweb-fbr-enabled #footer .wiweb-fbr-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--wiweb-fbr-overlay, rgba(8,26,58,.30));
}
/* Cover/remove only original UX Block backgrounds; do not hide any image/content
   or nested sections used for the actual footer banners and content. */
body.wiweb-fbr-enabled.wiweb-fbr-scope-ux #footer .wiweb-fbr-target,
body.wiweb-fbr-enabled.wiweb-fbr-scope-full #footer.wiweb-fbr-target {
  background-color: transparent !important;
  background-image: none !important;
}
body.wiweb-fbr-enabled #footer .wiweb-fbr-target > .section-bg,
body.wiweb-fbr-enabled #footer .wiweb-fbr-target > .section-bg-container,
body.wiweb-fbr-enabled #footer .wiweb-fbr-target > .section-bg-overlay {
  visibility: hidden !important;
}
body.wiweb-fbr-enabled #footer.wiweb-fbr-target > :not(.wiweb-fbr-layer):not(.section-bg):not(.section-bg-container):not(.section-bg-overlay),
body.wiweb-fbr-enabled #footer .wiweb-fbr-target > :not(.wiweb-fbr-layer):not(.section-bg):not(.section-bg-container):not(.section-bg-overlay) {
  position: relative;
  z-index: 1;
}
/* If targeting the full footer, also disable only its top-level background
   surfaces, otherwise they can obscure the rotating image underneath. */
body.wiweb-fbr-enabled.wiweb-fbr-scope-full #footer.wiweb-fbr-target > section.section {
  background: transparent !important;
  background-image: none !important;
}
body.wiweb-fbr-enabled.wiweb-fbr-scope-full #footer.wiweb-fbr-target > section.section > .section-bg,
body.wiweb-fbr-enabled.wiweb-fbr-scope-full #footer.wiweb-fbr-target > section.section > .section-bg-container {
  visibility: hidden !important;
}
@media (prefers-reduced-motion: reduce) {
  body.wiweb-fbr-enabled #footer .wiweb-fbr-layer { transition: none !important; }
}
