/* Local adjustments for the rebuilt static site.
 * Only covers behaviour whose original stylesheet/JS was never archived. */

/* --- justified image gallery -------------------------------------------------
 * UAEL hides the gallery until its bundled justifiedgallery.js measures and
 * absolutely positions every tile. That script was not captured by the Wayback
 * Machine, so assets/js/uael-justified-gallery.js reproduces the layout.
 * These rules undo the pre-layout hidden state so the tiles are never invisible,
 * and restore the caption/hover styling the library would have applied. */
.uael-img-gallery-wrap.uael-img-justified-wrap .uael-grid-item {
  position: absolute;
  display: block;
  overflow: hidden;
  opacity: 1;
}

.uael-img-gallery-wrap.uael-img-justified-wrap .uael-grid-item-content {
  opacity: 1;
}

.uael-img-gallery-wrap.uael-img-justified-wrap .uael-grid-img-thumbnail img {
  opacity: 1;
}

/* Without the library's lightbox JS, captions sit permanently hidden anyway. */
.uael-img-gallery-wrap .uael-grid-img-caption {
  display: none;
}
