.gallery-popup>button.thumb{width:100%;--thumb-aspect:716/480;--thumb-radius:24px;color:var(--color-white);display:flex;align-items:flex-end;justify-content:space-between;padding:clamp(16px,1.6129032258vw,24px) clamp(16px,2.688172043vw,40px);text-align:left;gap:24px}.gallery-popup .has-bg-overlay>.bg-image:before{background:linear-gradient(180deg,transparent 47.5%,#000)}.gallery-popup .embla{-ms-grid-row:1;-ms-grid-column:1;grid-area:main}.gallery-popup .embla__container{display:flex;max-width:100vw;height:100%}.gallery-popup .embla__container .embla__slide{padding:24px;display:flex;align-items:center;justify-content:center;flex:0 0 100%}.gallery-popup .embla__container .embla__slide img{max-width:100%;max-height:100%}.gallery-popup .carousel__thumbs{-ms-grid-row:2;-ms-grid-column:1;grid-area:thumbs;padding:0 var(--body-padding);padding-bottom:24px;display:flex;justify-content:center}.gallery-popup .carousel__thumbs>.embla__container{display:flex;gap:12px;width:130px}.gallery-popup .carousel__thumbs>.embla__container>.embla__slide{flex:0 0 130px}.gallery-popup .dialog-close{position:absolute;top:10px;right:10px;transform:none}.gallery-popup .carousel__thumbs .embla__slide{--thumb-aspect:130/100;--thumb-radius:8px;opacity:.5;border:2px solid transparent}.gallery-popup .carousel__thumbs .embla__slide.is-active{opacity:1;border-color:var(--color-white)}.gallery-popup dialog{width:100%;height:100%;max-width:none;max-height:none;background:none}.gallery-popup dialog .carousel__controls{position:absolute;top:50%;transform:translateY(calc(-50% - 100px));right:0;left:0;padding:0 var(--body-padding)}.gallery-popup dialog .carousel__nav{width:100%;justify-content:space-between}.gallery-popup dialog .carousel{height:100%;display:grid;grid-template-areas:"main" "thumbs";grid-template-rows:calc(100dvh - 100px) 100px}