.ep-studio-gallery{display:block;width:100%;color:inherit}
.ep-studio-gallery[hidden],.ep-studio-gallery [hidden],.ep-studio-gallery-native[hidden]{display:none!important}
.ep-studio-gallery__rail{display:flex;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.ep-studio-gallery__rail::-webkit-scrollbar{display:none}
.ep-studio-gallery__slide{position:relative;display:block;flex:0 0 100%;min-width:0;aspect-ratio:4/5;padding:0;border:0;background:#eeebea;cursor:zoom-in;scroll-snap-align:start}
.ep-studio-gallery__slide::after{content:'+';position:absolute;top:1.2rem;left:1.2rem;background:#fff;color:#222;border-radius:50%;font-size:2rem;line-height:3rem;width:3rem;height:3rem}
.ep-studio-gallery__slide img{display:block;width:100%;height:100%;object-fit:contain}
.ep-studio-gallery__dots,.ep-studio-gallery__zoom-nav{display:flex;justify-content:center;align-items:center;gap:.4rem;padding:.5rem}
.ep-studio-gallery__dots button,.ep-studio-gallery__zoom-nav button,.ep-studio-gallery__close{min-width:3.6rem;min-height:3.6rem;border:0;background:transparent;color:#221f20;font:inherit;cursor:pointer;font-size:2.2rem}
.ep-studio-gallery__dots button span{display:block;margin:auto;width:.75rem;height:.75rem;border-radius:50%;background:#8f8989}
.ep-studio-gallery__dots button[aria-current=true] span{background:#221f20;transform:scale(1.28)}
.ep-studio-gallery__note{margin:0 1rem .75rem;text-align:center;font-size:1.2rem;line-height:1.4}
.ep-studio-gallery__dialog{width:min(740px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:1rem;border:0;border-radius:1rem;background:#f8f5f3;color:#221f20}
.ep-studio-gallery__dialog::backdrop{background:#201a20b3}
.ep-studio-gallery__dialog img{width:100%;height:min(70dvh,680px);display:block;object-fit:contain}
.ep-studio-gallery__close{position:absolute;top:.7rem;right:.7rem;background:white;border-radius:50%}
@media(min-width:750px){.ep-studio-gallery__slide{aspect-ratio:1/1.1}}
