/* Overrides for Cloudflare mirror — force visibility on elements whose
   default opacity/transform depends on JS that may not initialize. */

[data-animation-role] {
  opacity: 1 !important;
  transform: none !important;
}

.header,
.header-nav,
.header-nav-wrapper,
.header-nav-list,
.header-nav-item,
.header-nav-item a,
.header-nav-folder-title,
.header-title,
.header-title-text,
.header-title-logo,
.header-actions {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure menu link text is the navigation color even before JS runs */
.header .header-nav-wrapper a,
.header .header-nav-wrapper button,
.header .header-nav-folder-title,
.header .header-nav-folder-item a {
  color: var(--gradientHeaderNavigationColor, var(--solidHeaderNavigationColor, #246485)) !important;
}

/* Force block-animation elements visible (fade-in, slide-up, reveal, focus-in) */
.block-animation-fade-in,
.block-animation-slide-up,
.block-animation-reveal,
.block-animation-focus-in {
  opacity: 1 !important;
  transform: none !important;
}

/* Image lazy-load placeholders that depend on JS to reveal */
img[data-src],
img.sqs-image,
.sqs-image-content,
.fluid-image-container,
.fluid-image-component-root,
.fluid-image-animation-wrapper {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Ensure lazy-loaded images render immediately */
img[data-load="false"] {
  opacity: 1 !important;
}
