/* Local overrides for the static (non-Squarespace) build of nagy-lajos.com */

/* Native HTML5 video replaces the Squarespace player. */
.sqs-native-video .native-video-player > video {
  display: block;
  background: #000;
  object-fit: cover;
}

/* Masonry gallery: positioned by /assets/js/site.js (mirrors the Squarespace layout).
   Before the script runs, items simply stack so nothing is hidden without JS. */
.gallery-masonry .gallery-masonry-wrapper {
  display: block;
}
.gallery-masonry .gallery-masonry-item {
  margin: 0;
}
.gallery-masonry-wrapper--layout .gallery-masonry-item {
  position: absolute;
  top: 0;
  left: 0;
}
.gallery-masonry-wrapper--layout .gallery-masonry-item-wrapper {
  overflow: hidden;
}
.gallery-masonry-wrapper--layout .gallery-masonry-item img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

/* Accordion open/close transition (height is animated by site.js). */
.sqs-block-accordion .accordion-item__dropdown {
  transition: height 250ms cubic-bezier(0.66, 0, 0.34, 1);
}
