.hj-site-gallery-ready.wp-block-gallery {
  display:flex; flex-wrap:nowrap; gap:0; overflow-x:auto; scroll-snap-type:x mandatory;
  scrollbar-width:none; border-radius:12px 12px 0 0; margin-block-end:0;
  background:#151820;
}
.hj-site-gallery-ready.wp-block-gallery::-webkit-scrollbar,
.hj-site-gallery-thumbs::-webkit-scrollbar { display:none; }
.hj-site-gallery-ready.wp-block-gallery.has-nested-images > figure.wp-block-image:not(#individual-image) {
  flex:0 0 100%; width:100%; margin:0; scroll-snap-align:start;
  display:flex; flex-direction:column; justify-content:center;
}
.hj-site-gallery-ready.wp-block-gallery.has-nested-images > figure.wp-block-image:not(#individual-image) img {
  display:block; width:100%; height:auto; aspect-ratio:16 / 10; object-fit:contain;
}
.hj-site-gallery-ready.wp-block-gallery.has-nested-images > figure.wp-block-image figcaption {
  position:static; background:none; color:#fff; padding:.5rem 1rem; font-family:var(--wp--preset--font-family--roboto, Roboto, sans-serif);
}
.hj-site-gallery-controls {
  --hj-gallery-accent:var(--wp--preset--color--hj-yellow,#ffcf00);
  box-sizing:border-box;
  margin-block-start:0 !important; margin-block-end:1.5rem; margin-inline:auto;
  background:#20242e; color:#fff; border-radius:0 0 12px 12px;
  display:flex; align-items:center; justify-content:space-between; gap:clamp(.5rem,2vw,1rem);
  padding:.5rem clamp(.5rem,2vw,.9rem);
  font:600 .875rem/1.2 var(--wp--preset--font-family--poppins,Poppins,Arial,sans-serif);
}
.hj-site-gallery-controls.alignwide { max-width:var(--wp--style--global--wide-size,1100px); }
.hj-site-gallery-controls[hidden] { display:none; }
.hj-site-gallery-thumbs { display:flex; gap:6px; padding:3px; overflow-x:auto; min-width:0; scrollbar-width:none; }
.hj-site-gallery-controls button {
  box-sizing:border-box; font:inherit; color:inherit; cursor:pointer; margin:0; background:transparent;
}
.hj-site-gallery-thumbs button { flex:0 0 58px; height:44px; padding:2px; border:2px solid transparent; border-radius:7px; opacity:.68; }
.hj-site-gallery-thumbs button:hover, .hj-site-gallery-thumbs button[aria-current=true] { opacity:1; }
.hj-site-gallery-thumbs button[aria-current=true] { border-color:var(--hj-gallery-accent); }
.hj-site-gallery-thumbs img { display:block; width:100%; height:100%; object-fit:cover; border-radius:3px; }
.hj-site-gallery-nav { display:flex; align-items:center; flex:none; gap:4px; }
.hj-site-gallery-nav button {
  display:grid; place-items:center; border:0; border-radius:7px; width:44px; height:44px; padding:0; background:#353a47;
}
.hj-site-gallery-nav button:not([aria-disabled=true]):hover { background:var(--hj-gallery-accent); color:#191919; }
.hj-site-gallery-nav button[aria-disabled=true] { opacity:.45; cursor:default; }
.hj-site-gallery-nav i { width:9px; height:9px; border:solid currentColor; border-width:2px 2px 0 0; transform:translateX(-2px) rotate(45deg); }
.hj-site-gallery-nav button:first-child i { transform:translateX(2px) rotate(-135deg); }
.hj-site-gallery-controls output { min-width:5ch; padding-inline:3px; text-align:center; font-variant-numeric:tabular-nums; }
.hj-site-gallery-controls button:focus-visible, .hj-site-gallery-ready:focus-visible { outline:2px solid #ffcf00; outline-offset:1px; }
@media (max-width:420px) {
  .hj-site-gallery-thumbs button { flex-basis:48px; }
  .hj-site-gallery-ready.wp-block-gallery.has-nested-images > figure.wp-block-image:not(#individual-image) img { aspect-ratio:4 / 3; }
}
