/* Shared frontend/editor styles; loaded with a file version in editor iframes. */
.zb-section.zb-project-starter{max-width:1440px;margin-inline:auto;padding:32px 22px 80px;color:var(--wp--preset--color--ink,#1d1b1a);font-family:var(--wp--preset--font-family--body,Karla,Arial,sans-serif)}
.zb-project-starter>.zb-project-starter-hero{width:100%;aspect-ratio:12/5;margin:0 0 32px;overflow:hidden}
.zb-project-starter-hero img{display:block;width:100%;height:100%;object-fit:cover}
.zb-project-starter .zb-project-starter-summary{margin:0;padding:0 clamp(0px,6.7vw,96px)}
.zb-project-starter .zb-project-starter-title{margin:0 0 45px;padding:0;color:var(--wp--preset--color--ink,#1d1b1a);font-family:var(--wp--preset--font-family--display,'tt-travels-next',Arial,sans-serif);font-size:clamp(32px,4.2vw,60px)!important;font-weight:500;line-height:1.12;letter-spacing:0}
.zb-project-starter .zb-project-starter-details{align-items:flex-start;gap:clamp(30px,4vw,55px);margin:0 0 50px}
.zb-project-starter .zb-project-starter-details>.wp-block-column{margin:0;min-width:0}
.zb-project-starter .zb-project-starter-details h2{font:600 18px/1.3 var(--wp--preset--font-family--body,Karla,Arial,sans-serif);letter-spacing:0;text-transform:uppercase;margin:0 0 16px}
.zb-project-starter .zb-project-starter-details p{font:400 16px/1.3 var(--wp--preset--font-family--body,Karla,Arial,sans-serif);margin:0 0 12px}
.zb-project-starter .zb-project-starter-details p+h2{margin-top:34px}
.zb-project-starter .zb-project-starter-gallery{margin:0;gap:20px}
/* Edit the single real post title in its visual position below the cover. */
.editor-styles-wrapper:has(.zb-project-starter):has(.wp-block-zoe-project-title) .editor-post-title,.editor-styles-wrapper:has(.zb-project-starter):has(.wp-block-zoe-project-title) .editor-post-title__block{display:none}
@media(max-width:781px){
 .zb-section.zb-project-starter{padding:25px 22px 60px}
 .zb-project-starter .zb-project-starter-summary{padding-inline:0}
 .zb-project-starter .zb-project-starter-title{margin-bottom:28px}
 .zb-project-starter .zb-project-starter-details{gap:28px}
 .zb-project-starter .zb-project-starter-details p{font-size:15px}
}
/* Explicit choices override legacy masonry wrappers, in the editor and frontend. */
.wp-block-gallery.zb-gallery-layout-grid,
.wp-block-gallery.zb-gallery-layout-stacked{display:grid!important;columns:auto!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.wp-block-gallery.zb-gallery-layout-masonry{display:block!important;columns:2!important;column-gap:20px}
.wp-block-gallery.zb-gallery-layout-grid.columns-1{grid-template-columns:1fr}
.wp-block-gallery.zb-gallery-layout-grid.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.wp-block-gallery.zb-gallery-layout-grid.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.wp-block-gallery.zb-gallery-layout-stacked{grid-template-columns:1fr!important}
.wp-block-gallery.zb-gallery-layout-masonry.columns-1{columns:1!important}
.wp-block-gallery.zb-gallery-layout-masonry.columns-3{columns:3!important}
.wp-block-gallery.zb-gallery-layout-masonry.columns-4{columns:4!important}
.wp-block-gallery[class*="zb-gallery-layout-"]>.wp-block-image{width:100%!important;min-width:0;max-width:none!important;grid-column:auto!important;margin:0!important;align-self:start}
.wp-block-gallery.zb-gallery-layout-masonry>.wp-block-image{display:block!important;break-inside:avoid;margin-bottom:20px!important}
.wp-block-gallery[class*="zb-gallery-layout-"]>.wp-block-image img{display:block;width:100%;height:auto;object-fit:contain}
.zb-auto-next-project{margin:30px max(22px,calc((100vw - 1340px)/2)) 80px;padding-top:30px;border-top:1px solid currentColor}
.zb-auto-next-project a{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 24px;text-decoration:none;font:500 clamp(18px,2vw,28px)/1.3 var(--wp--preset--font-family--body,Karla,Arial,sans-serif)}
.zb-auto-next-project a:hover,.zb-auto-next-project a:focus-visible{color:var(--wp--preset--color--burgundy,#741035);text-decoration:none}
.zb-auto-next-name{font-size:.75em}
@media(max-width:680px){.wp-block-gallery.zb-gallery-layout-grid:not(.columns-1){grid-template-columns:repeat(2,minmax(0,1fr))}.wp-block-gallery.zb-gallery-layout-masonry:not(.columns-1){columns:2!important}.zb-auto-next-project{margin-bottom:50px}}
.wp-block-gallery[class*="zb-gallery-layout-"]{--zb-gallery-columns:2}
.wp-block-gallery.zb-gallery-columns-1{--zb-gallery-columns:1}
.wp-block-gallery.zb-gallery-columns-3{--zb-gallery-columns:3}
.wp-block-gallery.zb-gallery-columns-4{--zb-gallery-columns:4}
.wp-block-gallery.zb-gallery-layout-grid{grid-template-columns:repeat(var(--zb-gallery-columns),minmax(0,1fr))}
.wp-block-gallery.zb-gallery-layout-masonry{columns:var(--zb-gallery-columns)!important}
/* Gutenberg's nested image wrappers need the same layout on their inner canvas. */
.editor-styles-wrapper .wp-block-gallery[class*="zb-gallery-layout-"]:has(>.block-editor-inner-blocks){display:block!important;columns:auto!important}
.editor-styles-wrapper .wp-block-gallery.zb-gallery-layout-grid>.block-editor-inner-blocks>.block-editor-block-list__layout,
.editor-styles-wrapper .wp-block-gallery.zb-gallery-layout-stacked>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:repeat(var(--zb-gallery-columns),minmax(0,1fr));gap:20px}
.editor-styles-wrapper .wp-block-gallery.zb-gallery-layout-stacked>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-columns:1fr}
.editor-styles-wrapper .wp-block-gallery.zb-gallery-layout-masonry>.block-editor-inner-blocks>.block-editor-block-list__layout{display:block;columns:var(--zb-gallery-columns);column-gap:20px}
.editor-styles-wrapper .wp-block-gallery[class*="zb-gallery-layout-"]>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block-image{width:100%!important;margin:0!important;break-inside:avoid}
@media(max-width:680px){.wp-block-gallery[class*="zb-gallery-layout-"]:not(.zb-gallery-columns-1){--zb-gallery-columns:2}}
.zb-auto-next-project{display:flex;align-items:flex-start;justify-content:space-between;gap:30px}
.zb-auto-next-project .zb-project-previous{justify-content:flex-start;text-align:left}
.zb-auto-next-project .zb-project-next{justify-content:flex-end;text-align:right;margin-left:auto}
@media(max-width:680px){.zb-auto-next-project{flex-direction:column;gap:25px}.zb-auto-next-project a{font-size:18px}.zb-auto-next-project .zb-project-next{margin-left:0;justify-content:flex-start;text-align:left}}
/* Responsive Vimeo embeds, shared by both project languages. */
.zb-project-videos{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(20px,3vw,40px);margin-top:clamp(20px,3vw,40px)}
.zb-project-videos>.zb-project-video{width:100%;min-width:0;margin:0!important;overflow:hidden}
.zb-project-video iframe{display:block;max-width:100%}
/* Mixed project media: image and named video groups can be freely reordered. */
.zb-project-mixed-media{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin:0}
.zb-project-mixed-media>.wp-block-image,.zb-project-mixed-media>.zb-project-video-item{width:100%;min-width:0;margin:0!important}
.zb-project-mixed-media>.wp-block-image img{display:block;width:100%;height:auto}
.zb-project-video-item>.zb-project-video{margin:0!important}
.editor-styles-wrapper .zb-project-mixed-media:has(>.block-editor-inner-blocks){display:block}
.editor-styles-wrapper .zb-project-mixed-media>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
/* Optional project website CTA; empty URL stays editor-only. */
.zb-project-website-wrap{display:flex;width:100%;justify-content:center;align-items:center;box-sizing:border-box;margin:0;padding:0 0 clamp(48px,5vw,72px);text-align:center}
.zb-project-website-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:7px 12px;border-radius:100px;background:var(--wp--preset--color--blue,#b6daf1);color:var(--wp--preset--color--ink,#1d1b1a);font:500 clamp(16px,1.74vw,25px)/1.15 var(--wp--preset--font-family--body,Karla,Arial,sans-serif);text-transform:uppercase;text-decoration:none;transition:background .2s,color .2s}
.zb-project-website-arrow{display:block;flex:none;width:14px;height:14px;background:currentColor;-webkit-mask:url('./arrow-small.svg') center/contain no-repeat;mask:url('./arrow-small.svg') center/contain no-repeat}
.zb-project-website-button:hover,.zb-project-website-button:focus-visible{background:var(--wp--preset--color--burgundy,#741035);color:var(--wp--preset--color--cream,#f4ede5);text-decoration:none}
.zb-project-website-editor-wrap{display:grid;gap:10px;width:min(100%,720px);margin:clamp(40px,5vw,72px) auto;padding:16px;border:1px solid #a9a29c;border-radius:8px;background:#fff;color:#1d1b1a;font:400 14px/1.4 Karla,Arial,sans-serif}
.zb-project-website-editor-heading{margin:0;font-weight:700}
.zb-project-website-editor-fields{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(240px,1.2fr);gap:12px}
.zb-project-website-editor-fields .components-base-control{margin:0;min-width:0}
.zb-project-website-editor-fields .components-base-control__label{font-weight:600}
.zb-project-website-editor-fields input{width:100%;min-height:40px}
.zb-project-website-editor-help{margin:0;color:#5d5956;font-size:12px}
.zb-project-website-editor{display:inline-flex;align-items:center;gap:9px;justify-self:center;padding:7px 12px;border-radius:100px;background:#b6daf1;color:#1d1b1a;font:500 18px/1.15 Karla,Arial,sans-serif;text-transform:uppercase}
@media(max-width:600px){.zb-project-website-editor-fields{grid-template-columns:1fr}}
