/* Galerie klientek v0.7.1 - six independent photographic layouts.
   All rules are client-only and loaded AFTER previous template/theme styles.
   Never modifies gallery data, customer choices, lightbox or the editor. */
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) main.spr-client{
 width:100%!important;max-width:1420px!important;min-width:0!important;
 margin-inline:auto!important;box-sizing:border-box!important;
}
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .spr-gallery-images{
 min-width:0!important;align-items:start!important;align-content:start!important;
}
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .spr-gallery-images>.spr-photo{
 position:relative!important;min-width:0!important;min-height:0!important;
 height:auto!important;align-self:start!important;overflow:hidden!important;
 box-sizing:border-box!important;
}
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .spr-gallery-images>.spr-photo[hidden]{
 display:none!important;
}
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .spr-gallery-images .spr-image-open{
 display:block!important;width:100%!important;height:auto!important;
 min-height:0!important;padding:0!important;overflow:hidden!important;
}
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .spr-gallery-images .spr-image-open img{
 display:block!important;width:100%!important;max-width:100%!important;
 height:auto!important;max-height:none!important;min-height:0!important;
 object-position:center!important;box-sizing:border-box!important;
}
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .spr-gallery-images .spr-photo-info,
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .spr-gallery-images .spr-photo-note{
 flex:0 0 auto!important;min-height:0!important;height:auto!important;
 box-sizing:border-box!important;
}
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .zgs-hero{
 width:100%!important;min-width:0!important;max-width:100%!important;
 box-sizing:border-box!important;overflow:hidden!important;
}
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .zgs-hero-copy{
 min-width:0!important;box-sizing:border-box!important;position:relative!important;z-index:1!important;
}
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .zgs-hero-title{
 overflow-wrap:break-word!important;word-break:normal!important;
}
/* WEDDING ATELIER - a flowing bridal album.
   CSS columns are deliberate: no grid row stretching, no top/bottom letterboxing. */
body.spr-root.zgs-client.zgs-template-wedding .spr-grid.spr-gallery-images{
 display:block!important;columns:3 260px!important;
 column-gap:19px!important;grid-template-columns:none!important;
 grid-auto-flow:initial!important;grid-auto-rows:auto!important;
}
body.spr-root.zgs-client.zgs-template-wedding .spr-gallery-images>.spr-photo{
 display:inline-flex!important;flex-direction:column!important;width:100%!important;
 margin:0 0 19px!important;vertical-align:top!important;
 break-inside:avoid!important;-webkit-column-break-inside:avoid!important;
 grid-column:auto!important;grid-row:auto!important;transform:none!important;
 background:#fffdf9!important;border:1px solid #e5dcd0!important;
 border-radius:3px!important;box-shadow:0 7px 20px #493a2914!important;
}
body.spr-root.zgs-client.zgs-template-wedding .spr-gallery-images .spr-image-open{
 background:#fffdf9!important;
}
body.spr-root.zgs-client.zgs-template-wedding .spr-gallery-images .spr-image-open img{
 aspect-ratio:auto!important;object-fit:contain!important;
}
body.spr-root.zgs-client.zgs-template-wedding .spr-gallery-images .spr-photo-info{
 border-top:1px solid #eadfd0!important;background:#fffdf9!important;
}
body.spr-root.zgs-client.zgs-template-wedding .spr-gallery-images .spr-photo-note{
 background:#fffdf9!important;
}
body.spr-root.zgs-client.zgs-template-wedding .zgs-section-heading{
 font:italic 400 clamp(26px,3vw,37px)/1.2 Georgia,serif!important;
 margin:36px 0 26px!important;
}
body.spr-root.zgs-client.zgs-template-wedding .zgs-hero{
 min-height:clamp(350px,66vh,680px)!important;border:7px solid #fffdf8!important;
 border-radius:2px!important;
}
body.spr-root.zgs-client.zgs-template-wedding .zgs-hero-copy{
 width:min(780px,90%)!important;max-width:90%!important;
}
body.spr-root.zgs-client.zgs-template-wedding .zgs-hero-title{
 font:italic 400 clamp(38px,5.7vw,86px)/1.06 Georgia,serif!important;
 letter-spacing:-.03em!important;
}
/* STUDIO WHITE - contemporary exhibition contact sheet, uniform 4:5 frames. */
body.spr-root.zgs-client.zgs-template-studio{
 --zg-bg:#fafafa;--zg-panel:#fff;--zg-text:#293431;
 --zg-edge:#d6dbd8;--zg-accent:#405e56;--zg-gap:16px;
}
body.spr-root.zgs-client.zgs-template-studio .zgs-hero{
 display:flex!important;flex-direction:row!important;min-height:360px!important;
 background:#f3f6f4!important;border:1px solid #e0e6e3!important;
 border-radius:2px!important;
}
body.spr-root.zgs-client.zgs-template-studio .zgs-hero-copy{
 flex:1 1 55%!important;width:55%!important;max-width:55%!important;
 order:0!important;padding:clamp(24px,4vw,58px)!important;text-align:left!important;
}
body.spr-root.zgs-client.zgs-template-studio .zgs-hero-photo{
 flex:0 0 45%!important;order:1!important;position:relative!important;
 inset:auto!important;align-self:stretch!important;width:45%!important;
 height:auto!important;min-height:350px!important;z-index:0!important;
}
body.spr-root.zgs-client.zgs-template-studio .zgs-hero-photo img{
 filter:none!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-studio .zgs-hero-title{
 font:300 clamp(31px,4vw,59px)/1.1 Arial,sans-serif!important;
 letter-spacing:-.05em!important;color:#20332e!important;
}
body.spr-root.zgs-client.zgs-template-studio .zgs-hero-subtitle{color:#596a65!important}
body.spr-root.zgs-client.zgs-template-studio .spr-grid.spr-gallery-images{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:15px!important;grid-auto-flow:row!important;
}
body.spr-root.zgs-client.zgs-template-studio .spr-gallery-images>.spr-photo{
 grid-column:auto!important;grid-row:auto!important;
 border-radius:0!important;background:#fff!important;
 border:1px solid #e1e4e2!important;box-shadow:none!important;
}
body.spr-root.zgs-client.zgs-template-studio .spr-gallery-images .spr-image-open img{
 aspect-ratio:4/5!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-studio .spr-gallery-images .spr-photo-info{
 background:#fff!important;
}
body.spr-root.zgs-client.zgs-template-studio .zgs-section-heading{
 font:600 13px/1.5 Arial,sans-serif!important;text-transform:uppercase!important;
 letter-spacing:.22em!important;
}
/* EDITORIAL - magazine spreads, every seventh image takes a full-width feature. */
body.spr-root.zgs-client.zgs-template-editorial{
 --zg-bg:#efe9df;--zg-panel:#fbf7f0;--zg-gap:20px;
}
body.spr-root.zgs-client.zgs-template-editorial .zgs-hero{
 display:flex!important;flex-direction:row!important;
 min-height:460px!important;background:#e8e0d3!important;border-radius:0!important;
}
body.spr-root.zgs-client.zgs-template-editorial .zgs-hero-copy{
 flex:0 0 43%!important;order:0!important;width:43%!important;max-width:43%!important;
 padding:clamp(25px,4.4vw,67px)!important;text-align:left!important;
}
body.spr-root.zgs-client.zgs-template-editorial .zgs-hero-photo{
 flex:1 1 57%!important;order:1!important;position:relative!important;inset:auto!important;
 width:57%!important;height:auto!important;align-self:stretch!important;z-index:0!important;
}
body.spr-root.zgs-client.zgs-template-editorial .zgs-hero-photo img{filter:none!important}
body.spr-root.zgs-client.zgs-template-editorial .zgs-hero-title{
 font:italic 400 clamp(35px,4.5vw,68px)/1.04 Georgia,serif!important;
 color:#403329!important;
}
body.spr-root.zgs-client.zgs-template-editorial .zgs-hero-subtitle{color:#776653!important}
body.spr-root.zgs-client.zgs-template-editorial .spr-grid.spr-gallery-images{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:23px!important;grid-auto-flow:row dense!important;
}
body.spr-root.zgs-client.zgs-template-editorial .spr-gallery-images>.spr-photo{
 grid-column:span 1!important;grid-row:auto!important;
 border-radius:0!important;border:0!important;
 box-shadow:none!important;background:#fbf7f0!important;
}
body.spr-root.zgs-client.zgs-template-editorial .spr-gallery-images>.spr-photo:nth-child(7n+1){
 grid-column:span 2!important;
}
body.spr-root.zgs-client.zgs-template-editorial .spr-gallery-images .spr-image-open img{
 aspect-ratio:4/5!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-editorial .spr-gallery-images>.spr-photo:nth-child(7n+1) .spr-image-open img{
 aspect-ratio:16/8.5!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-editorial .spr-gallery-images .spr-photo-info{
 border-top:1px solid #d9cbbb!important;
}
body.spr-root.zgs-client.zgs-template-editorial .zgs-section-heading{
 font:italic 400 clamp(26px,3vw,39px)/1.2 Georgia,serif!important;
 text-align:left!important;justify-content:flex-start!important;
}
/* CINEMA - dark widescreen frames in two-column film strips, full-width openers. */
body.spr-root.zgs-client.zgs-template-cinema{
 --zg-bg:#0b1018;--zg-panel:#111923;--zg-text:#f2f1e9;
 --zg-edge:#334453;--zg-accent:#eab27b;--zg-gap:20px;
}
body.spr-root.zgs-client.zgs-template-cinema .zgs-hero{
 min-height:clamp(290px,57vh,560px)!important;border:0!important;
 border-radius:0!important;
}
body.spr-root.zgs-client.zgs-template-cinema .zgs-hero-photo img{
 filter:brightness(.48) contrast(1.1) saturate(.88)!important;
}
body.spr-root.zgs-client.zgs-template-cinema .zgs-hero-title{
 font:800 clamp(34px,5vw,78px)/1.02 Arial,sans-serif!important;
 text-transform:uppercase!important;letter-spacing:.06em!important;color:#fff!important;
}
body.spr-root.zgs-client.zgs-template-cinema .spr-grid.spr-gallery-images{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:23px 16px!important;grid-auto-flow:row!important;
}
body.spr-root.zgs-client.zgs-template-cinema .spr-gallery-images>.spr-photo{
 grid-column:span 1!important;grid-row:auto!important;
 border-radius:0!important;background:#111923!important;
 border:1px solid #2e3d4b!important;
}
body.spr-root.zgs-client.zgs-template-cinema .spr-gallery-images>.spr-photo:nth-child(9n+1){
 grid-column:span 2!important;
}
body.spr-root.zgs-client.zgs-template-cinema .spr-gallery-images .spr-image-open{
 border-top:9px solid #05080c!important;border-bottom:9px solid #05080c!important;
 box-sizing:border-box!important;
}
body.spr-root.zgs-client.zgs-template-cinema .spr-gallery-images .spr-image-open img{
 aspect-ratio:16/9!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-cinema .spr-gallery-images>.spr-photo:nth-child(9n+1) .spr-image-open img{
 aspect-ratio:21/9!important;
}
body.spr-root.zgs-client.zgs-template-cinema .spr-gallery-images .spr-photo-info{
 background:#111923!important;border-top:1px solid #283643!important;
}
body.spr-root.zgs-client.zgs-template-cinema .zgs-section-heading{
 font:700 clamp(20px,2.3vw,31px)/1.25 Arial,sans-serif!important;
 letter-spacing:.18em!important;text-transform:uppercase!important;
}
/* BLUSH - warm scrapbook with softly tilted polaroid frames. */
body.spr-root.zgs-client.zgs-template-blush{
 --zg-bg:#faedef;--zg-panel:#fff9f8;--zg-gap:24px;
}
body.spr-root.zgs-client.zgs-template-blush .zgs-hero{
 display:flex!important;flex-direction:row!important;
 min-height:430px!important;background:#f9e4ea!important;
 border-radius:28px!important;border:1px solid #eccbd8!important;
}
body.spr-root.zgs-client.zgs-template-blush .zgs-hero-copy{
 flex:1 1 54%!important;order:0!important;width:54%!important;max-width:54%!important;
 padding:clamp(25px,4vw,60px)!important;text-align:left!important;
}
body.spr-root.zgs-client.zgs-template-blush .zgs-hero-photo{
 flex:0 0 43%!important;order:1!important;position:relative!important;inset:auto!important;
 align-self:center!important;width:43%!important;height:320px!important;min-height:0!important;
 margin-right:2%!important;z-index:0!important;
 border:12px solid white!important;border-bottom-width:24px!important;
 transform:rotate(3deg)!important;box-shadow:0 18px 38px #8c566425!important;
}
body.spr-root.zgs-client.zgs-template-blush .zgs-hero-photo img{
 filter:none!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-blush .zgs-hero-title{
 font:italic 400 clamp(36px,4vw,65px)/1.08 Georgia,serif!important;
 color:#65374a!important;
}
body.spr-root.zgs-client.zgs-template-blush .zgs-hero-subtitle{color:#815c6b!important}
body.spr-root.zgs-client.zgs-template-blush .spr-grid.spr-gallery-images{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:31px 22px!important;grid-auto-flow:row!important;padding:14px 9px 22px!important;
}
body.spr-root.zgs-client.zgs-template-blush .spr-gallery-images>.spr-photo{
 grid-column:auto!important;grid-row:auto!important;
 border-radius:2px!important;background:#fff!important;border:9px solid #fff!important;
 border-bottom-width:13px!important;box-shadow:0 10px 22px #7e42521b!important;
 transform:rotate(-.65deg)!important;
}
body.spr-root.zgs-client.zgs-template-blush .spr-gallery-images>.spr-photo:nth-child(even){
 transform:rotate(.65deg)!important;
}
body.spr-root.zgs-client.zgs-template-blush .spr-gallery-images .spr-image-open img{
 aspect-ratio:4/5!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-blush .spr-gallery-images .spr-photo-info{
 background:#fff!important;
}
body.spr-root.zgs-client.zgs-template-blush .zgs-section-heading{
 font:italic 400 clamp(26px,3vw,37px)/1.2 Georgia,serif!important;
}
/* OCEAN - small navigable photo mosaic, landscape accent tiles. */
body.spr-root.zgs-client.zgs-template-ocean{
 --zg-bg:#e8f5f7;--zg-panel:#fff;--zg-gap:8px;
}
body.spr-root.zgs-client.zgs-template-ocean .zgs-hero{
 display:flex!important;min-height:285px!important;border-radius:21px!important;
 background:#d8ecf1!important;
}
body.spr-root.zgs-client.zgs-template-ocean .zgs-hero-photo{
 left:auto!important;right:0!important;width:42%!important;
 clip-path:ellipse(74% 95% at 88% 50%)!important;
}
body.spr-root.zgs-client.zgs-template-ocean .zgs-hero-photo img{filter:none!important}
body.spr-root.zgs-client.zgs-template-ocean .zgs-hero-copy{
 width:58%!important;max-width:58%!important;padding:clamp(22px,3vw,42px)!important;
}
body.spr-root.zgs-client.zgs-template-ocean .zgs-hero-title{
 font:650 clamp(29px,3.5vw,51px)/1.12 Arial,sans-serif!important;
 color:#1f4b5b!important;letter-spacing:-.045em!important;
}
body.spr-root.zgs-client.zgs-template-ocean .zgs-hero-subtitle{color:#527786!important}
body.spr-root.zgs-client.zgs-template-ocean .spr-grid.spr-gallery-images{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 gap:9px!important;grid-auto-flow:row dense!important;
}
body.spr-root.zgs-client.zgs-template-ocean .spr-gallery-images>.spr-photo{
 grid-column:span 1!important;grid-row:auto!important;
 background:#fff!important;border:1px solid #cbdde5!important;
 border-radius:5px!important;box-shadow:none!important;
}
body.spr-root.zgs-client.zgs-template-ocean .spr-gallery-images>.spr-photo:nth-child(9n+1){
 grid-column:span 2!important;
}
body.spr-root.zgs-client.zgs-template-ocean .spr-gallery-images .spr-image-open img{
 aspect-ratio:1!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-ocean .spr-gallery-images>.spr-photo:nth-child(9n+1) .spr-image-open img{
 aspect-ratio:2/1!important;
}
body.spr-root.zgs-client.zgs-template-ocean .spr-gallery-images .spr-photo-info{
 background:#fff!important;
}
body.spr-root.zgs-client.zgs-template-ocean .zgs-section-heading{
 font:600 14px/1.5 Arial,sans-serif!important;letter-spacing:.16em!important;
 text-transform:uppercase!important;
}
/* Tablet and phone breakpoints retain selection controls and show clear photo previews. */
@media(max-width:1050px){
 body.spr-root.zgs-client.zgs-template-wedding .spr-grid.spr-gallery-images{
  columns:2 220px!important;
 }
 body.spr-root.zgs-client.zgs-template-studio .spr-grid.spr-gallery-images{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 body.spr-root.zgs-client.zgs-template-ocean .spr-grid.spr-gallery-images{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
}
@media(max-width:700px){
 body.spr-root.zgs-client.zgs-template-wedding .spr-grid.spr-gallery-images{
  columns:2 170px!important;column-gap:9px!important;
 }
 body.spr-root.zgs-client.zgs-template-wedding .spr-gallery-images>.spr-photo{
  margin-bottom:10px!important;
 }
 body.spr-root.zgs-client.zgs-template-studio .spr-grid.spr-gallery-images{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
 }
 body.spr-root.zgs-client.zgs-template-editorial .spr-grid.spr-gallery-images{
  gap:11px!important;
 }
 body.spr-root.zgs-client.zgs-template-cinema .spr-grid.spr-gallery-images{
  gap:13px 8px!important;
 }
 body.spr-root.zgs-client.zgs-template-blush .spr-grid.spr-gallery-images{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px 11px!important;padding:8px 5px 15px!important;
 }
 body.spr-root.zgs-client.zgs-template-ocean .spr-grid.spr-gallery-images{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
 }
 body.spr-root.zgs-client.zgs-template-ocean .spr-gallery-images>.spr-photo:nth-child(9n+1){
  grid-column:span 2!important;
 }
 body.spr-root.zgs-client:is(.zgs-template-studio,.zgs-template-editorial,.zgs-template-blush) .zgs-hero{
  display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;
 }
 body.spr-root.zgs-client:is(.zgs-template-studio,.zgs-template-editorial,.zgs-template-blush) .zgs-hero-photo{
  order:0!important;flex:0 0 auto!important;width:100%!important;
  height:230px!important;min-height:230px!important;
  margin:0!important;transform:none!important;
 }
 body.spr-root.zgs-client:is(.zgs-template-studio,.zgs-template-editorial,.zgs-template-blush) .zgs-hero-copy{
  order:1!important;flex:1 1 auto!important;width:100%!important;max-width:100%!important;
  padding:23px!important;
 }
 body.spr-root.zgs-client.zgs-template-ocean .zgs-hero-photo{
  opacity:.35!important;width:58%!important;
 }
 body.spr-root.zgs-client.zgs-template-ocean .zgs-hero-copy{
  width:90%!important;max-width:90%!important;
 }
 body.spr-root.zgs-client.zgs-template-editorial .spr-gallery-images .spr-image-open img{
  aspect-ratio:4/5!important;
 }
 body.spr-root.zgs-client.zgs-template-editorial .spr-gallery-images>.spr-photo:nth-child(7n+1) .spr-image-open img{
  aspect-ratio:16/10!important;
 }
}
@media(max-width:440px){
 body.spr-root.zgs-client.zgs-template-wedding .spr-grid.spr-gallery-images{
  columns:1!important;
 }
 body.spr-root.zgs-client.zgs-template-cinema .spr-grid.spr-gallery-images{
  grid-template-columns:1fr!important;
 }
 body.spr-root.zgs-client.zgs-template-cinema .spr-gallery-images>.spr-photo:nth-child(9n+1){
  grid-column:span 1!important;
 }
 body.spr-root.zgs-client.zgs-template-editorial .spr-grid.spr-gallery-images{
  grid-template-columns:1fr!important;
 }
 body.spr-root.zgs-client.zgs-template-editorial .spr-gallery-images>.spr-photo:nth-child(7n+1){
  grid-column:span 1!important;
 }
 body.spr-root.zgs-client.zgs-template-blush .spr-gallery-images>.spr-photo{
  transform:none!important;
 }
}


/* Template chooser: miniature previews now communicate composition, not only colour. */
body.spr-root .zgs-swatch-wedding>span{
 grid-template-columns:1.35fr .8fr!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;
 gap:4px!important;
}
body.spr-root .zgs-swatch-wedding>span em:first-child{grid-row:span 2!important;}
body.spr-root .zgs-swatch-wedding>span em:nth-child(n+2){grid-column:auto!important;}
body.spr-root .zgs-swatch-studio>span{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:7px!important;padding:5px!important;background:#f5f6f3!important;
}
body.spr-root .zgs-swatch-studio>span em{
 border:3px solid #fff!important;border-bottom-width:6px!important;
 box-shadow:0 1px 4px #0002!important;
}
body.spr-root .zgs-swatch-editorial>span{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:4px!important;
}
body.spr-root .zgs-swatch-editorial>span em:first-child{
 grid-column:span 2!important;grid-row:span 1!important;
}
body.spr-root .zgs-swatch-cinema>span{
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-template-rows:repeat(2,minmax(0,1fr))!important;
 gap:5px!important;background:#0c1018!important;padding:5px 3px!important;
 border-top:3px dashed #c1a078!important;border-bottom:3px dashed #c1a078!important;
}
body.spr-root .zgs-swatch-cinema>span em:first-child{
 grid-column:span 2!important;
}
body.spr-root .zgs-swatch-cinema>span em:last-child{display:block!important;}
body.spr-root .zgs-swatch-blush>span{
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:7px!important;padding:4px!important;
}
body.spr-root .zgs-swatch-blush>span em{
 border:3px solid white!important;border-bottom-width:9px!important;
 box-shadow:0 3px 5px #8c56652b!important;transform:rotate(-3deg)!important;
}
body.spr-root .zgs-swatch-blush>span em:nth-child(even){
 transform:rotate(4deg)!important;
}
body.spr-root .zgs-swatch-ocean>span{
 grid-template-columns:2fr 1fr 1fr!important;gap:3px!important;
}
body.spr-root .zgs-swatch-ocean>span em:first-child{
 grid-column:span 1!important;
}


/* Highest-priority card image rules prevent old "masonry" nth-child crops from
   leaking through when the customer switches between design presets. */
body.spr-root.zgs-client:is(.zgs-template-wedding,.zgs-template-studio,.zgs-template-editorial,.zgs-template-cinema,.zgs-template-blush,.zgs-template-ocean) .spr-grid.spr-gallery-images>.spr-photo .spr-image-open img{
 width:100%!important;height:auto!important;max-height:none!important;
 min-height:0!important;display:block!important;object-position:center!important;
}
body.spr-root.zgs-client.zgs-template-wedding .spr-grid.spr-gallery-images>.spr-photo .spr-image-open img{
 aspect-ratio:auto!important;object-fit:contain!important;
}
body.spr-root.zgs-client.zgs-template-studio .spr-grid.spr-gallery-images>.spr-photo .spr-image-open img{
 aspect-ratio:4/5!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-editorial .spr-grid.spr-gallery-images>.spr-photo .spr-image-open img{
 aspect-ratio:4/5!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-editorial .spr-grid.spr-gallery-images>.spr-photo:nth-child(7n+1) .spr-image-open img{
 aspect-ratio:16/8.5!important;
}
body.spr-root.zgs-client.zgs-template-cinema .spr-grid.spr-gallery-images>.spr-photo .spr-image-open img{
 aspect-ratio:16/9!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-cinema .spr-grid.spr-gallery-images>.spr-photo:nth-child(9n+1) .spr-image-open img{
 aspect-ratio:21/9!important;
}
body.spr-root.zgs-client.zgs-template-blush .spr-grid.spr-gallery-images>.spr-photo .spr-image-open img{
 aspect-ratio:4/5!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-ocean .spr-grid.spr-gallery-images>.spr-photo .spr-image-open img{
 aspect-ratio:1!important;object-fit:cover!important;
}
body.spr-root.zgs-client.zgs-template-ocean .spr-grid.spr-gallery-images>.spr-photo:nth-child(9n+1) .spr-image-open img{
 aspect-ratio:2/1!important;
}
@media(max-width:700px){
 body.spr-root.zgs-client.zgs-template-editorial .spr-grid.spr-gallery-images>.spr-photo:nth-child(7n+1) .spr-image-open img{
  aspect-ratio:16/10!important;
 }
}
