/* Force all images to be visible and loaded */
img[data-src] {
  opacity: 1 !important;
  visibility: visible !important;
}

img.loaded, img[data-load="false"] {
  opacity: 1 !important;
}

/* Gallery fixes */
.sqs-gallery-design-grid-slide,
.sqs-gallery-block-grid .sqs-gallery-design-grid-slide {
  opacity: 1 !important;
  visibility: visible !important;
}

.sqs-gallery-block-grid .slide {
  opacity: 1 !important;
}

/* Content visibility */
.sqs-block-content,
.sqs-layout,
.Main,
#page,
#canvas,
#site {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Remove font loading animation */
html.wf-loading * {
  animation: none !important;
}

/* Image block fixes */
.image-block-outer-wrapper,
.image-block-wrapper {
  opacity: 1 !important;
}

/* Slideshow/gallery wrapper */
.sqs-gallery-block-slideshow,
.sqs-gallery-block-grid {
  opacity: 1 !important;
}

/* Ensure proper image sizing */
img.thumb-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
