/* Additions that replace what Squarespace's scripts used to do. */
html { visibility: visible !important; }
#projectPages:not(.has-project) { display: none !important; }
.project-controls #projectNav a { color: inherit; border: 0; }
#projectThumbs .content-fill { overflow: hidden; }
#projectThumbs .content-fill img,
.sqs-image-shape-container-element img,
.sqs-gallery-block-slideshow .slide img,
.sqs-video-overlay img {
  position: absolute !important; top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important; max-width: none !important;
  object-fit: cover; opacity: 1 !important; visibility: visible !important;
}
.sqs-video-overlay { opacity: 1 !important; overflow: hidden; cursor: pointer; }
.sqs-video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.sqs-gallery-block-slideshow .sqs-gallery { position: relative; overflow: hidden; height: 0; }
.sqs-gallery-block-slideshow .slide {
  position: absolute !important; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; z-index: 1; transition: opacity .6s ease; cursor: pointer;
}
.sqs-gallery-block-slideshow .slide.sqs-active-slide { opacity: 1; z-index: 2; }
.sqs-gallery-block-slideshow .sqs-gallery-meta-container .meta { display: none; }
.sqs-gallery-block-slider .sqs-gallery {
  display: flex; overflow-x: auto; aspect-ratio: 2 / 1; scrollbar-width: none; cursor: pointer;
}
.sqs-gallery-block-slider .sqs-gallery::-webkit-scrollbar { display: none; }
.sqs-gallery-block-slider .sqs-gallery img {
  flex: none; height: 100% !important; width: auto !important; max-width: none !important;
  opacity: 1 !important; visibility: visible !important;
}
.sqs-gallery-block-stacked img {
  display: block; width: 100% !important; height: auto !important; opacity: 1 !important; visibility: visible !important;
}
