
/* Custom visual builder */
body.spr-root .zgb-editor{min-width:0}.zgb-editor-heading{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:start;margin-bottom:20px}
body.spr-root .zgb-editor-heading h2{font:400 27px Georgia,serif;color:#f3dfc5;margin:0 0 7px}body.spr-root .zgb-editor-heading p{color:#c2b29f;font-size:12px;line-height:1.6;max-width:590px;margin:0}
body.spr-root .zgb-editor-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}body.spr-root .zgb-editor-actions label{display:flex;gap:8px;align-items:center;color:#ead7c0;font-size:12px}
body.spr-root .zgb-columns{display:grid;grid-template-columns:minmax(225px,295px) minmax(0,1fr);gap:18px}
body.spr-root .zgb-settings{display:flex;flex-direction:column;gap:13px;min-width:0}body.spr-root .zgb-settings section{display:grid;gap:13px;border:1px solid #554838;background:#201b17;border-radius:8px;padding:16px}
body.spr-root .zgb-settings h3{font:400 18px Georgia,serif;color:#f7e7d3;margin:0;border-bottom:1px solid #554738;padding-bottom:10px}
body.spr-root .zgb-settings label{display:grid;gap:6px;min-width:0;color:#dbc8b6;font-size:12px}
body.spr-root .zgb-settings :is(select,textarea){background:#14110f;color:#f8e6ce;padding:9px 10px;min-height:38px;border:1px solid #665440;border-radius:5px;width:100%;box-sizing:border-box}
body.spr-root .zgb-settings textarea{resize:vertical}body.spr-root .zgb-settings input[type=range]{width:100%;accent-color:#d3b48c}
body.spr-root .zgb-settings output{color:#e7c69d;font-weight:700}body.spr-root .zgb-settings>p{font-size:12px;line-height:1.6;color:#c4ac91}
body.spr-root .zgb-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.spr-root .zgb-colors input{width:100%;height:41px;background:#16120f;padding:2px;border:1px solid #76624c;border-radius:4px}
body.spr-root .zgb-preview{border-radius:8px;border:1px solid #564533;background:#181410;padding:12px;min-width:0}body.spr-root .zgb-preview-label{font:600 11px Arial,sans-serif;letter-spacing:.12em;color:#c2a785;padding:5px 5px 12px}
body.spr-root .zgb-preview-list{display:flex;flex-direction:column;gap:var(--zgb-gap,16px);padding:14px;background:var(--zgb-bg);color:var(--zgb-text);font-family:var(--zgb-font);border-radius:var(--zgb-radius)}
body.spr-root .zgb-block{border:1px solid transparent;background:var(--zgb-panel);border-radius:var(--zgb-radius);overflow:hidden;cursor:grab}
body.spr-root .zgb-block:hover{border-color:var(--zgb-accent)}body.spr-root .zgb-block.dragging{opacity:.5}
body.spr-root .zgb-block-handle{padding:7px 11px;display:flex;justify-content:space-between;gap:10px;background:#eae1d8;color:#695a4e;font:600 11px Arial,sans-serif;align-items:center}
body.spr-root .zgb-block-handle button{background:#fff;border:1px solid #c9b6a1;border-radius:4px;padding:3px 12px;margin-left:5px;color:#5b4b3c;cursor:pointer}
body.spr-root .zgb-sample-hero{position:relative;isolation:isolate;display:grid;place-items:center;text-align:center;min-height:190px;color:#fff;background:#5c5650}
body.spr-root .zgb-sample-hero img{position:absolute;z-index:-1;width:100%;height:100%;object-fit:cover;filter:brightness(.5)}
body.spr-root .zgb-sample-hero strong{font:400 clamp(20px,3vw,39px)/1.2 var(--zgb-font);padding:16px}
body.spr-root .zgb-sample-intro{padding:20px;text-align:center;font-size:13px;line-height:1.6;margin:0}
body.spr-root .zgb-sample-tools{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;padding:17px;font:600 11px Arial,sans-serif}
body.spr-root .zgb-sample-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--zgb-gap);padding:10px}
body.spr-root .zgb-sample-grid img,body.spr-root .zgb-sample-grid i{width:100%;height:108px;object-fit:cover;display:block;background:#aaa}
body.spr-root .zgb-sample-end{padding:20px;text-align:center;font-size:13px}body.spr-root .zgb-sample-end span{background:var(--zgb-accent);color:#fff;display:inline-block;padding:10px;margin-left:12px}
body.spr-root .zgb-preview-list[data-hero=split] .zgb-sample-hero{min-height:140px;grid-template-columns:1fr 1fr;background:var(--zgb-panel);color:var(--zgb-text)}
body.spr-root .zgb-preview-list[data-hero=split] .zgb-sample-hero img{position:relative;grid-column:2;grid-row:1;z-index:0;filter:none}
body.spr-root .zgb-preview-list[data-hero=split] .zgb-sample-hero strong{grid-column:1;grid-row:1}
body.spr-root .zgb-preview-list[data-hero=minimal] .zgb-sample-hero{min-height:95px}
body.spr-root .zgb-preview-list[data-hero=none] [data-zgb-block=hero]{display:none}
body.spr-root .zgb-preview-list[data-layout=large] .zgb-sample-grid{grid-template-columns:repeat(2,1fr)}
body.spr-root .zgb-preview-list[data-layout=compact] .zgb-sample-grid{grid-template-columns:repeat(4,1fr);gap:4px}
body.spr-root .zgb-preview-list[data-layout=slider] .zgb-sample-grid{grid-template-columns:repeat(3,1fr)}
body.spr-root .zgb-preview-list[data-layout=slider] .zgb-sample-grid img:first-child{grid-column:span 3;height:200px;object-fit:contain;background:#151515}
body.spr-root .zgb-status{font-size:12px;color:#d8c3a7;padding:12px 5px;line-height:1.6}.zgb-status.saved{color:#93d0a1!important}
body.spr-root.zgs-client.zgs-template-custom{--zg-bg:#f6f3ef;--zg-panel:#fff;--zg-text:#302c29;--zg-muted:#615950;--zg-edge:#d5cbc0;--zg-accent:#a17c5c;--zg-on:#fff;--zg-head:var(--zg-bg);--zg-radius:7px;--zg-gap:16px;color-scheme:light!important}
body.spr-root.zgs-client.zgs-template-custom .spr-client.zgb-reorder{display:flex!important;flex-direction:column!important;align-items:stretch}
body.spr-root.zgs-client.zgs-template-custom .zgb-client-intro{padding:18px 20px;margin:0 auto;text-align:center;max-width:850px;font-size:17px;line-height:1.7;color:var(--zg-text)}
body.spr-root.zgs-client.zgs-template-custom .zgs-hero{text-align:var(--zgb-align);min-height:450px;justify-content:center}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=none] .zgs-hero{display:none!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=minimal] .zgs-hero{min-height:175px}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=split] .zgs-hero{min-height:360px;flex-direction:row-reverse;background:var(--zg-panel)}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=split] .zgs-hero-photo{position:relative;z-index:0;width:50%;height:360px;flex-shrink:0}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=split] .zgs-hero-photo img{filter:none}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=split] .zgs-hero-shade{display:none}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=split] .zgs-hero-copy{width:50%}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=split] .zgs-hero-title,body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=split] .zgs-hero-subtitle{color:var(--zg-text)!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-font=sans] .zgs-hero-title{font-family:Arial,sans-serif!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-font=modern] .zgs-hero-title{font-family:Arial,sans-serif!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.08em!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=compact] .spr-grid{grid-template-columns:repeat(5,1fr)}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=large] .spr-grid{grid-template-columns:repeat(2,1fr)}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=grid] .spr-grid{grid-template-columns:repeat(4,1fr)}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=masonry] .spr-grid{grid-template-columns:repeat(3,1fr)}
body.spr-root.zgs-client.zgs-template-custom .spr-grid{gap:var(--zg-gap)!important}
@media(max-width:1050px){body.spr-root .zgb-columns{grid-template-columns:1fr}body.spr-root .zgb-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){body.spr-root .zgb-settings{grid-template-columns:1fr}body.spr-root .zgb-editor-actions{width:100%}body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=split] .zgs-hero{flex-direction:column}body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=split] .zgs-hero-photo{width:100%;height:210px}body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=compact] .spr-grid,body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=masonry] .spr-grid,body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=grid] .spr-grid{grid-template-columns:repeat(2,1fr)}}


/* Custom editor design upgrades v0.7.1 */
body.spr-root .zgs-custom-spotlight{display:flex;gap:17px;align-items:center;flex-wrap:wrap;margin:12px 0 17px;padding:13px 15px;border:2px solid #d2aa75;border-radius:12px;background:linear-gradient(115deg,#3b3024,#211b16)}
body.spr-root .zgs-custom-spotlight>.zgs-preset{flex:0 1 185px;min-width:160px;border-color:#dbb78b;background:#2c241c}
body.spr-root .zgs-custom-spotlight .zgs-feature-info{flex:1;min-width:180px;display:grid;gap:6px}
body.spr-root .zgs-custom-spotlight .zgs-feature-info strong{font-size:17px;color:#f5dcbc}
body.spr-root .zgs-custom-spotlight .zgs-feature-info p{margin:0;font-size:12px;line-height:1.6;color:#eedfcf}
body.spr-root .zgs-custom-spotlight .zgs-feature-info small{color:#c6ae91}
body.spr-root .zgs-custom-status{font-size:12px!important;color:#e4bd91!important}
body.spr-root .zgb-palettes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
body.spr-root .zgb-palette{padding:3px;min-width:0;height:43px;cursor:pointer;background:#171410;border:1px solid #806950;border-radius:6px}
body.spr-root .zgb-palette span{display:block;width:100%;height:31px;border-radius:3px;background:linear-gradient(135deg,var(--p1) 0 35%,var(--p2) 35% 60%,var(--p3) 60% 80%,var(--p4) 80%)}
body.spr-root .zgb-palette.active{outline:2px solid #efc58d;outline-offset:1px}
body.spr-root .zgb-palette:focus-visible{outline:3px solid white}
body.spr-root .zgb-sample-grid :is(img,i){border-radius:var(--zgb-photo-radius,0px)}
body.spr-root .zgb-preview-list .zgb-sample-hero{display:flex;align-items:center;justify-content:center}
body.spr-root .zgb-preview-list .zgb-sample-hero strong{position:relative;z-index:2;max-width:75%;text-align:center}
body.spr-root .zgb-preview-list[data-align=left] .zgb-sample-hero,body.spr-root .zgb-preview-list[data-align=bottom-left] .zgb-sample-hero{justify-content:flex-start}
body.spr-root .zgb-preview-list[data-align=right] .zgb-sample-hero,body.spr-root .zgb-preview-list[data-align=bottom-right] .zgb-sample-hero{justify-content:flex-end}
body.spr-root .zgb-preview-list[data-align^="bottom-"] .zgb-sample-hero{align-items:flex-end}
body.spr-root .zgb-preview-list[data-align=left] .zgb-sample-hero strong,body.spr-root .zgb-preview-list[data-align=bottom-left] .zgb-sample-hero strong{text-align:left}
body.spr-root .zgb-preview-list[data-align=right] .zgb-sample-hero strong,body.spr-root .zgb-preview-list[data-align=bottom-right] .zgb-sample-hero strong{text-align:right}
body.spr-root .zgb-preview-list[data-hero=framed] .zgb-sample-hero{border:12px solid #faf8ee}
body.spr-root .zgb-preview-list[data-hero=panorama] .zgb-sample-hero{min-height:110px}
body.spr-root .zgb-preview-list[data-hero=collage] .zgb-sample-hero{background:linear-gradient(90deg,#69635e 55%,#a79f94 55%)}
body.spr-root .zgb-preview-list[data-hero=editorial] .zgb-sample-hero{background:var(--zgb-panel);color:var(--zgb-text);justify-content:flex-start}
body.spr-root .zgb-preview-list[data-hero=editorial] .zgb-sample-hero img{width:55%;right:0;left:auto;filter:none}
body.spr-root .zgb-preview-list[data-hero=editorial] .zgb-sample-hero strong{max-width:45%;width:45%}
body.spr-root .zgb-preview-list[data-hero=overlay] .zgb-sample-hero{justify-content:flex-start}
body.spr-root .zgb-preview-list[data-layout=grid] .zgb-sample-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.spr-root .zgb-preview-list[data-layout=masonry] .zgb-sample-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:62px;grid-auto-flow:dense}
body.spr-root .zgb-preview-list[data-layout=masonry] .zgb-sample-grid>*{height:100%;min-height:0}
body.spr-root .zgb-preview-list[data-layout=masonry] .zgb-sample-grid>:first-child{grid-row:span 2}
body.spr-root .zgb-preview-list[data-layout=masonry] .zgb-sample-grid>:nth-child(2){grid-column:span 2}
body.spr-root .zgb-preview-list[data-layout=collage] .zgb-sample-grid{grid-template-columns:repeat(4,1fr);grid-auto-rows:66px}
body.spr-root .zgb-preview-list[data-layout=collage] .zgb-sample-grid>*{height:100%}
body.spr-root .zgb-preview-list[data-layout=collage] .zgb-sample-grid>:first-child{grid-column:span 2;grid-row:span 2}
body.spr-root .zgb-preview-list[data-layout=filmstrip] .zgb-sample-grid{grid-template-columns:repeat(4,1fr);gap:6px;padding:19px 10px;background:#191919;border-top:6px dotted #bbb;border-bottom:6px dotted #bbb}
body.spr-root .zgb-preview-list[data-layout=filmstrip] .zgb-sample-grid>*{height:95px}
body.spr-root .zgb-preview-list[data-layout=polaroid] .zgb-sample-grid{grid-template-columns:repeat(2,1fr);gap:17px;background:#ded7d0}
body.spr-root .zgb-preview-list[data-layout=polaroid] .zgb-sample-grid>*{box-sizing:border-box;height:125px;padding:8px 8px 25px;background:white}
body.spr-root .zgb-preview-list[data-layout=polaroid] .zgb-sample-grid>:nth-child(odd){transform:rotate(-3deg)}
body.spr-root .zgb-preview-list[data-layout=polaroid] .zgb-sample-grid>:nth-child(even){transform:rotate(3deg)}
body.spr-root .zgb-preview-list[data-layout=justified] .zgb-sample-grid{grid-template-columns:repeat(6,1fr);gap:7px}
body.spr-root .zgb-preview-list[data-layout=justified] .zgb-sample-grid>*{grid-column:span 2}
body.spr-root .zgb-preview-list[data-layout=justified] .zgb-sample-grid>:first-child,body.spr-root .zgb-preview-list[data-layout=justified] .zgb-sample-grid>:nth-child(2){grid-column:span 3}
body.spr-root .zgb-preview-list[data-layout=diagonal] .zgb-sample-grid{grid-template-columns:repeat(2,1fr);gap:10px;padding-bottom:30px}
body.spr-root .zgb-preview-list[data-layout=diagonal] .zgb-sample-grid>:nth-child(even){transform:translateY(22px)}
/* Gallery overrides limited to client view AND active Custom */
body.spr-root.zgs-client.zgs-template-custom{--zgb-photo-radius:0px;background:var(--zg-bg)!important}
body.spr-root.zgs-client.zgs-template-custom :is(.spr-photo,.spr-panel,.spr-client-help,.spr-sticky,.spr-stat-grid>div,.spr-filter,.spr-button){border-radius:var(--zg-radius)!important}
body.spr-root.zgs-client.zgs-template-custom :is(.spr-image-open,.spr-image-open img){border-radius:var(--zgb-photo-radius)!important}
body.spr-root.zgs-client.zgs-template-custom .zgs-hero{justify-content:center!important;align-items:center!important;text-align:center}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-align=left] .zgs-hero,body.spr-root.zgs-client.zgs-template-custom[data-zgb-align=bottom-left] .zgs-hero{justify-content:flex-start!important;text-align:left!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-align=right] .zgs-hero,body.spr-root.zgs-client.zgs-template-custom[data-zgb-align=bottom-right] .zgs-hero{justify-content:flex-end!important;text-align:right!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-align^="bottom-"] .zgs-hero{align-items:flex-end!important}
body.spr-root.zgs-client.zgs-template-custom .zgs-hero-copy{width:min(700px,80%);max-width:80%;position:relative}
body.spr-root.zgs-client.zgs-template-custom .zgs-hero :is(.zgs-hero-title,.zgs-hero-subtitle){text-align:inherit}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=framed] .zgs-hero{min-height:490px;border:17px solid var(--zg-panel)!important;box-shadow:0 16px 30px #0002}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=panorama] .zgs-hero{min-height:240px}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=overlay] .zgs-hero{min-height:500px}
body.spr-root.zgs-client.zgs-template-custom .zgb-cover-collage{display:none}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=collage] .zgs-hero{min-height:510px}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=collage] .zgs-hero-photo{right:42%}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=collage] .zgb-cover-collage{position:absolute;inset:0 0 0 58%;display:grid;grid-template-columns:repeat(2,1fr);gap:4px;z-index:-1}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=collage] .zgb-cover-collage img{width:100%;height:100%;object-fit:cover;min-height:0;filter:brightness(.7)}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=collage] .zgb-cover-collage img:first-child{grid-row:span 2}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=editorial] .zgs-hero{min-height:420px;flex-direction:row-reverse;background:var(--zg-panel)}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=editorial] .zgs-hero-photo{position:relative;z-index:0;width:52%;height:420px;flex-shrink:0}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=editorial] .zgs-hero-photo img{filter:none}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=editorial] .zgs-hero-shade{display:none}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=editorial] .zgs-hero-copy{max-width:48%;width:48%;padding:22px}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero=editorial] .zgs-hero :is(.zgs-hero-title,.zgs-hero-subtitle){color:var(--zg-text)!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=grid] .spr-grid.spr-gallery-images{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=grid] .spr-grid.spr-gallery-images .spr-photo{grid-column:auto!important;grid-row:auto!important;transform:none!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=masonry] .spr-grid.spr-gallery-images{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:dense}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=masonry] .spr-grid.spr-gallery-images .spr-photo:nth-child(7n+1){grid-column:span 2!important;grid-row:span 2!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=collage] .spr-grid.spr-gallery-images{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-flow:dense}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=collage] .spr-grid.spr-gallery-images .spr-photo{grid-column:span 2}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=collage] .spr-grid.spr-gallery-images .spr-photo:nth-child(8n+1){grid-column:span 4;grid-row:span 2}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=collage] .spr-grid.spr-gallery-images .spr-photo:nth-child(8n+5),body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=collage] .spr-grid.spr-gallery-images .spr-photo:nth-child(8n+6){grid-column:span 3}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=justified] .spr-grid.spr-gallery-images{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=justified] .spr-grid.spr-gallery-images .spr-photo{grid-column:span 2}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=justified] .spr-grid.spr-gallery-images .spr-photo:nth-child(5n+1),body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=justified] .spr-grid.spr-gallery-images .spr-photo:nth-child(5n+2){grid-column:span 3}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=filmstrip] .spr-grid.spr-gallery-images{grid-template-columns:repeat(4,minmax(0,1fr))!important;background:#181818;padding:20px 9px;border-top:8px dotted #aaa;border-bottom:8px dotted #aaa}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=polaroid] .spr-grid.spr-gallery-images{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:25px 14px;background:#e9e1d7}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=polaroid] .spr-grid.spr-gallery-images .spr-photo{background:white!important;border:10px solid #fff!important;border-bottom-width:26px!important;box-shadow:0 12px 24px #0003!important;border-radius:0!important;transform:rotate(-2deg)}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=polaroid] .spr-grid.spr-gallery-images .spr-photo:nth-child(even){transform:rotate(2deg)}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=diagonal] .spr-grid.spr-gallery-images{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding-bottom:44px}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=diagonal] .spr-grid.spr-gallery-images .spr-photo:nth-child(3n+2){transform:translateY(30px)}
@media(max-width:900px){body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=collage] .spr-grid.spr-gallery-images{grid-template-columns:repeat(2,1fr)!important}body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=collage] .spr-grid.spr-gallery-images .spr-photo:nth-child(n){grid-column:span 1;grid-row:auto}body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=collage] .spr-grid.spr-gallery-images .spr-photo:nth-child(8n+1){grid-column:span 2}}
@media(max-width:680px){body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=masonry] .spr-grid.spr-gallery-images,body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=justified] .spr-grid.spr-gallery-images,body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=filmstrip] .spr-grid.spr-gallery-images,body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=diagonal] .spr-grid.spr-gallery-images,body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=polaroid] .spr-grid.spr-gallery-images{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=masonry] .spr-grid.spr-gallery-images .spr-photo:nth-child(7n+1){grid-column:span 2!important;grid-row:auto!important}body.spr-root.zgs-client.zgs-template-custom[data-zgb-layout=diagonal] .spr-grid.spr-gallery-images .spr-photo:nth-child(n){transform:none}}


/* v0.7.0 - one image by default; extra cover collage only for a saved Custom collage design */
body.spr-root.zgs-client .zgs-hero>.zgb-cover-collage{display:none!important}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero="collage"] .zgs-hero>.zgb-cover-collage{
 display:grid!important;position:absolute!important;
 inset:0 0 0 58%!important;max-width:42%!important;min-width:0!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 grid-template-rows:repeat(2,minmax(0,1fr))!important;
 gap:4px!important;z-index:-1!important;overflow:hidden!important;
}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero="collage"] .zgs-hero>.zgb-cover-collage img{
 display:block!important;width:100%!important;height:100%!important;
 min-width:0!important;min-height:0!important;object-fit:cover!important;
}
body.spr-root.zgs-client .zgs-hero{
 width:100%;max-width:100%;min-width:0;
 box-sizing:border-box;
}
body.spr-root.zgs-client .zgs-hero-copy{min-width:0;box-sizing:border-box;}
body.spr-root.zgs-client .zgs-hero-title{overflow-wrap:normal;word-break:normal;hyphens:auto;}
@media(max-width:650px){
 body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero="collage"] .zgs-hero>.zgb-cover-collage{inset:0 0 0 66%!important;max-width:34%!important}
 body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero="collage"] .zgs-hero-copy{
  width:66%!important;max-width:66%!important;
  padding:20px!important;
 }
 body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero="collage"] .zgs-hero-title{font-size:clamp(25px,6vw,42px)!important}
}


/* v0.7.0b: preserve readable title and full gallery width across all presets */
body.spr-root.zgs-client main.spr-client{
 width:100%!important;min-width:0!important;
 box-sizing:border-box!important;margin-inline:auto!important;
}
body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero="collage"] .zgs-hero-copy{
 position:relative!important;
 flex:0 1 58%!important;max-width:58%!important;min-width:0!important;
 z-index:1!important;box-sizing:border-box!important;
}
@media(max-width:650px){
 body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero="collage"] .zgs-hero>.zgb-cover-collage{
  display:none!important;
 }
 body.spr-root.zgs-client.zgs-template-custom[data-zgb-hero="collage"] .zgs-hero-copy{
  flex:1 1 100%!important;width:100%!important;max-width:100%!important;
  padding:clamp(20px,6vw,34px)!important;
 }
}
