/* Only layout refinements and sketch details not expressible by core block styles.
   Brand tokens and typography live in theme.json; all copy/media live in blocks. */
html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0}*{box-sizing:border-box}
.wp-site-blocks{padding:0}.wp-site-blocks>header,.wp-site-blocks>footer{margin:0}
main>.wp-block-post-content{margin:0}.wp-block-post-content>.kulkids-section{margin-block:0}
.kulkids-section,.site-footer{padding:clamp(76px,8vw,132px) max(6vw,calc((100vw - 1400px)/2));position:relative;scroll-margin-top:90px}
.kulkids-header{padding:18px max(6vw,calc((100vw - 1400px)/2));min-height:86px;backdrop-filter:blur(14px);gap:24px}
.wp-site-blocks>header{position:sticky;top:0;z-index:20;box-shadow:0 1px 0 #27272a12}
.brand{width:145px;flex-shrink:0;margin:0}.brand img{border-radius:0;width:145px;height:auto}
.kulkids-header .wp-block-navigation{font-size:12px;gap:clamp(12px,1.7vw,28px)}
p{overflow-wrap:break-word}h1,h2,h3,h4{text-wrap:balance}a:focus-visible,button:focus-visible{outline:3px solid #116a78;outline-offset:5px}
.section-label{font-size:14px;margin-bottom:26px!important}.section-lead,.lead{font-size:clamp(20px,2vw,28px);line-height:1.5}
.hero{padding-top:66px;padding-bottom:68px;background-image:linear-gradient(#116a7806 1px,transparent 1px),linear-gradient(90deg,#116a7806 1px,transparent 1px);background-size:32px 32px}
.hero>.wp-block-columns{align-items:center}.hero>.wp-block-columns>.wp-block-column:first-child{flex-basis:57%!important}.hero>.wp-block-columns>.wp-block-column:last-child{flex-basis:43%!important}
.hero h1 span{display:block}.hero-story{margin-top:70px;padding-top:32px;border-top:1px solid #27272a20}.hero-story p{font-size:16px}
.principles h2{font-size:clamp(30px,3.6vw,52px)}
.principle-number{border:1px solid #8b9e9e;border-radius:48%;width:46px;height:46px;text-align:center;line-height:46px}
.principle-steps strong{color:var(--wp--preset--color--teal);display:block}.principles-note{font-size:clamp(18px,1.65vw,23px);margin-top:50px}
.goal .wp-block-columns{align-items:center}
.goal::before,.mitmachen::before,.voices::before,.site-footer::before{content:'';position:absolute;inset:-27px 0 auto;height:28px;background:inherit;border-radius:60% 45% 0 0 / 100% 95% 0 0;pointer-events:none}
.goal-list{border-top:1px solid #a2bfc344;padding-top:22px}.drawn-word,.is-style-pencil-underline{position:relative;text-decoration:underline;text-decoration-color:var(--wp--preset--color--teal);text-decoration-thickness:2px;text-underline-offset:.15em}
.music-card{padding-top:65px}.atelier-closing{text-align:center;font-size:clamp(17px,1.7vw,23px);margin-top:65px}
.development{border-top:1px solid #27272a18}.development-steps>div,.is-style-sketch-card{padding:27px 30px;border:1px solid #b6cbce;border-radius:16px 24px 18px 15px;box-shadow:4px 6px 0 #18373c08}
.development-steps>div:nth-child(2){border-color:#dbc5d2}.development-steps>div:nth-child(3){border-color:#c6d1b8}
.development-steps strong{font-size:25px;font-weight:400}.school-year{font-size:14px;font-weight:700;color:#274d55}.facts>div{border-top:1px solid #94b4b844;padding-block:15px}.facts p{margin-block:4px}
.interest-form{border-left:1px solid #94b4b866;padding-left:4vw}.interest-form h3{font-size:28px}.wpforms-container input,.wpforms-container select,.wpforms-container textarea{font-family:inherit!important}.wpforms-container .wpforms-submit{background:#82084d!important;color:white!important;border:0!important;border-radius:12px!important;font-family:inherit!important}
.timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.timeline>div{padding:24px;border:1px solid #b6cbce;border-radius:16px 24px 18px 15px}.timeline>div>p:first-child{color:var(--wp--preset--color--teal);font-size:28px}
.practice{padding-block:92px}.practice-quotes{max-width:1100px}.support h2{font-size:clamp(32px,4vw,56px)}.support-method h3{font-size:26px}.support-method-label{font-size:14px}.support-bank-detail{font-size:15px;overflow-wrap:anywhere}.support-method-qr img{width:212px;border-radius:0}
.organisation-facts{margin-block:40px}.organisation-team{margin-top:90px}.organisation-team-heading{max-width:900px}.organisation-team-heading h3{font-size:clamp(30px,4vw,54px)}.organisation-person{text-align:center}.organisation-person img{width:255px;aspect-ratio:1;object-fit:cover;border-radius:0}.organisation-person:nth-child(2) img{border-radius:32px}.organisation-person:nth-child(3) img{border-radius:50%}.organisation-person h4{font-size:24px}.organisation-person p{font-size:14px;margin-block:8px}
.site-footer{padding-bottom:25px}.site-footer a{color:white}.contact-copy h2{font-size:clamp(38px,5vw,70px)}.footer-address h3,.footer-nav h3{font-size:20px}.contact-mail{font-size:clamp(19px,2.6vw,34px)}.footer-bottom{border-top:1px solid #ffffff30;padding-top:25px;margin-top:55px;font-size:12px}.footer-legal{display:flex;gap:24px}
.wp-block-gallery{gap:20px!important}.wp-block-gallery img{border-radius:20px}
@media(max-width:1000px){.kulkids-header .wp-block-navigation__responsive-container-open{display:flex}.kulkids-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}.hero> .hero-copy{padding-top:40px}.hero> .wp-block-kulkids-sketch-scene{top:30px}.hero h1{font-size:clamp(38px,5.2vw,64px)}}
@media(max-width:781px){.kulkids-section,.site-footer{padding:64px 6vw}.hero>.hero-copy{width:100%;padding-top:0}.hero>.wp-block-kulkids-sketch-scene{position:relative;top:auto;right:auto;width:100%;max-width:440px;margin:24px auto}.hero-story{margin-top:28px}.hero h1 span{white-space:normal}.music-card{padding-top:0}.interest-form{border-left:0;padding-left:0}.timeline{grid-template-columns:1fr}.goal .wp-block-kulkids-sketch-scene{max-width:360px;margin:auto}.organisation-team{margin-top:60px}.wp-block-columns{margin-bottom:0}.footer-legal{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
.editor-styles-wrapper .hero>.wp-block-kulkids-sketch-scene{position:relative;right:auto;top:auto}.editor-styles-wrapper .hero>.hero-copy{width:100%;padding:0}

/* Decorative paths follow the editable native sections. */
.principle-route{position:relative}.principle-connector{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.principle-connector path{stroke:#8b9e9e;stroke-width:1.6}.principle-number{position:relative;background:white;z-index:1}.organisation-divider{display:block;width:100%;height:clamp(120px,18vw,240px);margin-bottom:40px;overflow:visible}.organisation-divider path{stroke:#88a9ae;stroke-width:1.35;vector-effect:non-scaling-stroke}.wp-block-navigation a.is-reading{color:var(--wp--preset--color--bordeaux)}
.organisation-team-grid>.wp-block-columns>.wp-block-column:nth-child(2) img{border-radius:32px}.organisation-team-grid>.wp-block-columns>.wp-block-column:nth-child(3) img{border-radius:50%}
@media(max-width:781px){.principle-steps>.wp-block-columns>.wp-block-column>.wp-block-group{display:grid;grid-template-columns:46px 1fr;gap:24px;align-items:start}.principle-steps .principle-number{margin:0}.principle-steps>.wp-block-columns>.wp-block-column>.wp-block-group>p+ p{margin-top:0}.organisation-divider{height:130px}}

/* Blueprint motion/hover belongs to the childtheme, never the WP Additional CSS field. */
.drawn-word{text-decoration:none;display:inline-block;position:relative}.drawn-word .word-stroke{position:absolute;width:110%;height:.2em;left:-5%;bottom:-.1em;overflow:visible;pointer-events:none}.word-stroke path{fill:none;stroke:var(--wp--preset--color--teal);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ink-underline{position:relative;display:inline-block}.ink-underline svg{width:100%;height:13px;position:absolute;left:0;bottom:-9px;overflow:visible;pointer-events:none}.ink-underline path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .65s cubic-bezier(.22,.61,.36,1)}.atelier-card h3.ink-visible path,.ink-underline:focus-visible path{stroke-dashoffset:0}
[data-scroll-draw]{stroke-dasharray:1;stroke-dashoffset:1}.scene-hero>figure:nth-of-type(3){transform:translate(calc(var(--mx,0)*8px),calc(var(--my,0)*6px)) rotate(-16deg)}.scene-hero>figure:nth-of-type(4){transform:translate(calc(var(--mx,0)*-7px),calc(var(--my,0)*6px)) rotate(7deg)}.scene-hero>figure:nth-of-type(5){transform:translate(calc(var(--mx,0)*9px),calc(var(--my,0)*-6px)) rotate(-9deg)}
.atelier-card [data-kulkids="photo-slider"]{--rest-angle:-2.5deg;--hover-angle:-3.8deg;border-radius:24px 33px 25px 38px;transform:translate(calc(var(--mx,0)*4px),calc(var(--my,0)*3px)) rotate(var(--rest-angle));transition:transform .55s cubic-bezier(.2,.8,.2,1);margin-bottom:34px;box-shadow:0 14px 28px #18373c0b}.atelier-card .kulkids-slides{overflow:hidden;border-radius:inherit}.atelier-card .kulkids-slides img{border-radius:0}.music-card [data-kulkids="photo-slider"]{--rest-angle:2.5deg;--hover-angle:3.8deg;border-radius:32px 20px 35px 24px}.theater-card [data-kulkids="photo-slider"]{--rest-angle:-1.5deg;--hover-angle:-2.8deg}.atelier-card h3{width:fit-content}
.wp-block-button__link{transition:background-color .2s,box-shadow .2s,transform .2s}.wp-block-button__link span[aria-hidden],.site-footer .contact-mail span{display:inline-block;transition:transform .25s ease}.organisation-facts a,.organisation-person a,.footer-nav a,.footer-legal a{display:inline-block;transition:color .2s,transform .25s}
@media(hover:hover) and (pointer:fine){.wp-block-navigation a:hover path{stroke-dashoffset:0}.wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 6px 16px #27272a12;background:#68063e}.wp-block-button__link:hover span[aria-hidden]{transform:translate(3px,-2px)}.organisation-facts a:hover,.organisation-person a:hover{color:var(--wp--preset--color--teal);transform:translateX(4px)}.footer-nav a:hover,.footer-legal a:hover{color:#a6dce4;transform:translateX(4px)}.site-footer .contact-mail:hover span{transform:translate(4px,-3px)}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.atelier-card [data-kulkids="photo-slider"]:hover{transform:translate(calc(var(--mx,0)*5px),calc(var(--my,0)*4px - 6px)) rotate(var(--hover-angle)) scale(1.018)}}
@media(hover:none),(pointer:coarse){.wp-block-navigation .ink-underline svg{display:none}}
@media(prefers-reduced-motion:reduce){.layer,.collage-picture,.atelier-card [data-kulkids="photo-slider"]{translate:none!important}.atelier-card [data-kulkids="photo-slider"]{transform:rotate(var(--rest-angle))!important}[data-scroll-draw],.ink-underline path{stroke-dashoffset:0!important}.scene-hero>figure{translate:none!important}}
/* Remaining editorial proportions from the approved blueprint. */
.hero-story{margin-top:45px}.principles-copy{max-width:880px;margin-bottom:44px}.principle-steps>.wp-block-columns{gap:36px}.principle-steps strong{margin-bottom:8px}.development-steps>div{transform:rotate(-1deg)}.development-steps>div:nth-child(2){margin-left:18px;transform:rotate(1deg)}.development-steps>div:nth-child(3){transform:rotate(-.6deg)}.development-steps strong{color:var(--wp--preset--color--teal);font-size:28px}.school-year{display:inline-block;padding:5px 11px;background:white;border:1px solid #ccdadd;border-radius:6px}
.practice-quotes{margin-inline:auto;}.support-introduction{align-items:center}.support-body{padding-top:48px}.support-body>p{max-width:480px;font-size:19px}.support-body .support-tax-note{font-size:14px}.support-method{border-top:1px solid #9d6384;padding-top:20px}.support-method-label{font-size:12px}.support-method-qr img{width:176px;height:auto}.organisation h2{font-size:clamp(32px,4.1vw,58px)}.organisation-facts{margin:0;padding-top:10px}.organisation-facts>div+div{border-top:1px solid #c8d5d6;padding-top:23px;margin-top:20px}.organisation-facts>div>p:nth-child(2){font-size:24px}.footer-grid h2{max-width:420px}.footer-legal>p{margin:0}.footer-nav{min-width:0}
@media(max-width:781px){.support-body{padding-top:0}.support-body>p{font-size:18px}.organisation-facts{margin-top:20px}.development-steps>div:nth-child(2){margin-left:8px}.hero-story{margin-top:28px}}
.principle-connector path,.organisation-divider path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
/* Native block colour presets remain editable in the editor. */
.voices{padding-top:90px;padding-bottom:95px}
.voices .section-label,.voices cite{opacity:.86}
.voices::before{display:none}
.kulkids-testimonial-copy .wp-block-quote{color:inherit}
.wp-block-button .wp-block-button__link:hover,.wp-block-button .wp-block-button__link:focus-visible{color:var(--kulkids-button-text,var(--wp--preset--color--paper))!important}
.organisation-team-grid>.wp-block-columns>.wp-block-column:nth-child(2) figure{transform:rotate(-5deg)}
.footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 30px}
.footer-bottom>p,.footer-bottom>.footer-legal{margin:0}.footer-bottom>.footer-legal{gap:10px 22px}
.footer-bottom p,.footer-bottom a{color:inherit}.footer-bottom .back-top{display:grid;place-items:center;width:44px;height:44px;border:1px solid currentColor;border-radius:46% 54% 44% 56%;font-size:25px;line-height:1}
.support-bank-detail{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.support-bank-detail strong{font-size:12px;font-weight:700;color:var(--wp--preset--color--bordeaux);min-width:85px}
.kulkids-copy-bank{background:transparent;border:1px solid currentColor;border-radius:7px;font:inherit;font-size:12px;padding:5px 9px;color:inherit;cursor:pointer;min-height:36px}
.kulkids-copy-bank:hover{background:var(--wp--preset--color--paper)}
.kulkids-copy-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:781px){.voices{padding-block:62px}.organisation-team-grid>.wp-block-columns>.wp-block-column:nth-child(2) figure{transform:rotate(-3.5deg)}.footer-bottom{margin-top:32px}.footer-bottom>p:first-child{flex-basis:100%}}

/* Reusable native-block reveals; translate leaves existing sketch rotations intact. */
html.kulkids-motion-front .reveal{opacity:0;translate:0 var(--kulkids-reveal-distance,28px);transition:opacity var(--kulkids-reveal-duration,760ms) ease var(--kulkids-reveal-delay,0ms),translate var(--kulkids-reveal-duration,760ms) ease var(--kulkids-reveal-delay,0ms)}
html.kulkids-motion-front .reveal.is-visible{opacity:1;translate:0 0}
html.kulkids-motion-front .atelier-card.reveal{translate:0 var(--kulkids-reveal-distance,0px);transition:opacity var(--kulkids-reveal-duration,500ms) ease var(--kulkids-reveal-delay,0ms),translate var(--kulkids-reveal-duration,500ms) ease var(--kulkids-reveal-delay,0ms)}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .kulkids-motion-front .testimonial-layout-children .kulkids-testimonial-pictures figure{transition:transform 1100ms ease;transform:translate(calc(var(--mx,0)*var(--drift,10px)),calc(var(--my,0)*var(--drift,10px))) rotate(var(--tilt,-5deg))}
 .kulkids-motion-front .testimonial-layout-children .kulkids-testimonial-pictures figure:hover{transform:translate(calc(var(--mx,0)*var(--drift,10px)),calc(var(--my,0)*var(--drift,10px) - 7px)) rotate(var(--tilt,-5deg))}
}
.timeline>.wp-block-group{position:relative;background:var(--wp--preset--color--paper)}
.kulkids-copy-bank{display:inline-grid;place-items:center;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:5px;border:0;border-radius:5px}
.kulkids-copy-bank svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.kulkids-copy-bank:focus-visible{outline:2px solid var(--wp--preset--color--teal);outline-offset:2px}
.support-bank-detail{column-gap:6px}.support-bank-detail strong{flex-basis:100%;min-width:0}.support-bank-detail span:not(.kulkids-copy-status){overflow-wrap:anywhere}
/* WPForms' generated ID/classes stay intact: fields remain editable in WPForms. */
.interest-form .wpforms-container{margin:0!important;max-width:100%}
.interest-form .wpforms-container .wpforms-field{padding:0 0 16px!important}
.interest-form .wpforms-container .wpforms-field-label{font:400 13px/1.5 Comfortaa,sans-serif!important;color:var(--wp--preset--color--label-blue);margin-bottom:7px!important}
.interest-form .wpforms-container input:not([type=checkbox]):not([type=radio]),.interest-form .wpforms-container select,.interest-form .wpforms-container textarea{width:100%!important;max-width:100%!important;min-width:0;height:46px;min-height:46px;border:1px solid #a8bfc4!important;border-radius:7px 10px 8px 7px!important;background:var(--wp--preset--color--paper)!important;font-size:16px!important;padding:10px 13px!important;box-sizing:border-box}
.interest-form .wpforms-container textarea{height:110px;min-height:110px}
.interest-form .wpforms-container .wpforms-submit-container{padding:0!important;margin-top:4px!important}
.interest-form .wpforms-container .wpforms-submit{width:100%!important;min-height:48px;padding:12px 18px!important;font-size:14px!important}
.interest-form h3{margin-top:0;margin-bottom:24px}
/* Core RichText strong and coloured spans must keep their own semantics. */
strong,b{font-weight:700}
@media(prefers-reduced-motion:reduce){html.kulkids-motion-front .reveal{opacity:1!important;translate:none!important;transition:none!important}.timeline>.wp-block-group{transform:none!important}.kulkids-testimonial-pictures figure{transition:none!important}}

/* The editor iframe has its own body: never gate editor content on frontend observers. */
.editor-styles-wrapper .reveal,.editor-styles-wrapper [data-kulkids-animation],.editor-styles-wrapper .wp-block{opacity:1!important;visibility:visible!important;translate:none!important;animation:none!important}
.editor-styles-wrapper .reveal{transition:none!important}
.kulkids-motion-front .kulkids-testimonial-pictures{--mx:inherit;--my:inherit}

/* Navigation states follow the editable theme colour palette and HTML reference. */
.kulkids-header .wp-block-navigation .wp-block-navigation-item__content{display:inline-block;border:0;border-radius:0;padding:8px 11px;color:inherit;text-decoration:none;transition:color .22s ease,transform .22s ease}
.kulkids-header .wp-block-navigation .wp-block-navigation-item__content[aria-current="location"],.kulkids-header .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"]{color:var(--wp--preset--color--bordeaux)}
.kulkids-header .wp-block-navigation .wp-block-navigation-item__content:focus-visible{outline:2px solid var(--wp--preset--color--teal);outline-offset:5px}
@media(hover:hover) and (pointer:fine){.kulkids-header .wp-block-navigation .wp-block-navigation-item__content:hover{color:var(--wp--preset--color--bordeaux);transform:rotate(-1deg)}.kulkids-header .wp-block-navigation-item__content:hover .ink-underline-path{stroke-dashoffset:0}}
@media(hover:none),(pointer:coarse){.kulkids-header .wp-block-navigation .wp-block-navigation-item__content:active{color:var(--wp--preset--color--bordeaux);background:#82084d0b}}

@media(prefers-reduced-motion:reduce){.kulkids-header .ink-underline path{stroke-dashoffset:1!important}.kulkids-header .ink-underline:is(:hover,:focus-visible) path{stroke-dashoffset:0!important}}

/* Viewport-wide native menu: a backdrop-filter ancestor otherwise clips fixed overlays. */
@media(max-width:1000px){
 .kulkids-header:has(.is-menu-open){backdrop-filter:none;-webkit-backdrop-filter:none}
 .kulkids-header .wp-block-navigation__responsive-container.is-menu-open{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;overflow-y:auto;background:var(--wp--preset--color--white,#fff);padding:84px 8vw 32px;z-index:1000}
 .kulkids-header .is-menu-open .wp-block-navigation__responsive-container-content{align-items:flex-start;padding:0;min-height:0}
 .kulkids-header .is-menu-open .wp-block-navigation__container{align-items:flex-start;gap:14px;width:100%}
 .kulkids-header .is-menu-open .wp-block-navigation-item__content{font-size:clamp(20px,4vw,28px);padding:8px 0;line-height:1.4}
 .kulkids-header .is-menu-open .wp-block-navigation__responsive-container-close{position:fixed;top:24px;right:7vw;width:44px;height:44px;display:flex;align-items:center;justify-content:center}
 /* Controls above the quote remain reachable without scrolling past the longest slide. */
 .testimonial-layout-practice:not(.kulkids-editor){display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
 .testimonial-layout-practice:not(.kulkids-editor)>.kulkids-slider-controls{grid-row:1;margin-top:0}
 .testimonial-layout-practice:not(.kulkids-editor)>.kulkids-slides{grid-row:2}
 .testimonial-layout-practice .kulkids-testimonial-copy blockquote{font-size:clamp(20px,2.7vw,27px);line-height:1.5;text-wrap:pretty}
 .testimonial-layout-practice .kulkids-testimonial-copy cite{font-size:13px;line-height:1.6;margin-top:24px}
}

@media(max-width:1000px){.kulkids-header.menu-pointer-open .is-menu-open .wp-block-navigation-item__content:focus{outline:none!important;box-shadow:none}}

/* Gallery contents remain native groups, headings and galleries. */
.gallery-intro{margin-bottom:28px}
.gallery-jump-links{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 56px;padding-bottom:24px;border-bottom:1px solid #116a7833}
.gallery-jump-links a{font-size:14px;line-height:1.5;padding:10px 14px;border:1px solid #116a7844;border-radius:8px;color:var(--wp--preset--color--teal);text-decoration:none}
.gallery-jump-links a:hover{background:var(--wp--preset--color--blue)}
.gallery-project{margin-block:70px}
.gallery-project-logo{max-width:150px;margin:0 0 20px}
.gallery-project-logo img{width:150px!important;height:auto;border-radius:0}
.gallery-project h2{font-size:clamp(28px,3vw,40px)}
.gallery-story{margin-block:36px 64px;scroll-margin-top:120px}
.gallery-story h3{font-size:clamp(20px,2vw,26px);line-height:1.4;margin-bottom:10px}
.gallery-credit{font-size:14px;color:var(--wp--preset--color--muted);margin-bottom:24px}
.gallery-story .wp-block-gallery{gap:16px}
.gallery-story .wp-block-gallery img{aspect-ratio:4/3;object-fit:cover;cursor:zoom-in}
.gallery-lightbox-open{overflow:hidden}
.gallery-lightbox{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:70px 24px 24px;border:0;background:#152b30;color:white}
.gallery-lightbox::backdrop{background:#152b30}
.gallery-close{position:absolute;top:16px;right:20px;width:44px;height:44px;font-size:32px}
.gallery-lightbox button{background:transparent;color:white;border:1px solid #ffffff66;border-radius:50%;cursor:pointer;min-width:44px;min-height:44px}
.gallery-lightbox-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:20px;align-items:center;max-width:1500px;margin:auto}
.gallery-lightbox-stage>button{font-size:34px}
.gallery-lightbox figure{margin:0;min-width:0;text-align:center}
.gallery-lightbox img{display:block;width:100%;height:calc(100dvh - 190px);object-fit:contain;touch-action:pan-y pinch-zoom}
.gallery-lightbox figcaption{font-size:13px;line-height:1.5;margin-top:12px}
.gallery-lightbox-count{text-align:center;font-size:14px;margin:16px 0 0}
@media(max-width:600px){.gallery-jump-links{display:grid;gap:8px;margin-bottom:36px}.gallery-project{margin-block:44px}.gallery-story .wp-block-gallery{gap:10px}.gallery-lightbox{padding:72px 12px 20px}.gallery-lightbox-stage{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.gallery-lightbox-stage figure{grid-column:1/-1;grid-row:1}.gallery-lightbox-stage>button{grid-row:2}.gallery-lightbox-stage>[data-gallery-next]{grid-column:3}.gallery-lightbox img{height:calc(100dvh - 250px)}}

/* Gallery hero, sticky index and two-row portrait tiles. */
.gallery-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:5vw;min-height:470px;margin-bottom:44px}
.gallery-hero-copy h1{font-size:clamp(40px,5vw,72px);line-height:1.08;max-width:600px;margin-bottom:24px}
.gallery-hero-copy>p:last-child{font-size:clamp(17px,1.8vw,23px);max-width:470px}
.gallery-hero-copy,.gallery-hero-art{width:100%;min-width:0;box-sizing:border-box}
.gallery-hero-art{position:relative;min-height:440px;isolation:isolate;--gallery-drift:0px;--gallery-mouse:0px}
.gallery-hero-art::before{content:'';position:absolute;inset:10% 0 0 8%;border-radius:48% 54% 42% 58%;background:var(--wp--preset--color--sky,#eef8fa);z-index:-1;transform:rotate(-8deg)}
.gallery-hero-art .gallery-doodle{position:absolute;margin:0;width:48%;transform:translate(var(--doodle-x,0px),var(--doodle-y,0px)) rotate(calc(var(--doodle-tilt,0deg) + var(--doodle-turn,0deg)));transition:transform .2s ease-out}
.gallery-hero-art .gallery-doodle:nth-child(1){right:1%;top:0;--doodle-tilt:10deg}
.gallery-hero-art .gallery-doodle:nth-child(2){left:0;top:18%;width:55%;--doodle-tilt:-18deg}
.gallery-hero-art .gallery-doodle:nth-child(3){right:10%;bottom:0;width:54%;--doodle-tilt:-9deg}
.gallery-hero-art .gallery-doodle img{border-radius:0;width:100%;height:auto}
.gallery-jump-links{position:sticky;top:var(--gallery-header-height,86px);z-index:15;background:var(--wp--preset--color--paper,#fff);padding:12px 0;margin-bottom:44px;border-bottom:1px solid #116a7833;gap:8px;box-shadow:0 8px 16px #18373c08}
.gallery-jump-links a{font-size:13px;padding:8px 10px}
.gallery-story{scroll-margin-top:var(--gallery-anchor-offset,180px)}
.gallery-story .wp-block-gallery.has-nested-images{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:var(--gallery-row-height,220px);grid-auto-flow:dense;gap:16px!important}
.gallery-story .wp-block-gallery.has-nested-images>figure.wp-block-image{width:100%!important;max-width:none;height:100%;margin:0;min-width:0}
.gallery-story .wp-block-gallery>figure.gallery-portrait{grid-row:span 2}
.gallery-story .wp-block-gallery>figure[hidden],.gallery-load-more[hidden]{display:none!important}
.gallery-story .wp-block-gallery figure a{display:block;width:100%;height:100%}
.gallery-story .wp-block-gallery figure img{width:100%;height:100%!important;aspect-ratio:auto;object-fit:cover}
.gallery-load-more{display:block;margin:24px auto 0;padding:12px 20px;border:1px solid var(--wp--preset--color--teal);border-radius:8px;background:transparent;color:var(--wp--preset--color--teal);font:inherit;cursor:pointer}
.gallery-load-more:hover{background:var(--wp--preset--color--blue)}
@media(max-width:600px){.gallery-hero{grid-template-columns:1fr;gap:12px;min-height:0}.gallery-hero-art{min-height:300px;max-width:350px;width:100%;margin:auto}.gallery-jump-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.gallery-jump-links a{font-size:12px;padding:8px;line-height:1.4}.gallery-story .wp-block-gallery.has-nested-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}}
@media(prefers-reduced-motion:reduce){.gallery-hero-art .gallery-doodle{transition:none}}
/* In the editor, all gallery images remain available; the hero artwork is selectable. */
.editor-styles-wrapper .gallery-hero-art .gallery-doodle{transform:rotate(var(--doodle-tilt,0deg))}
/* Captions belong in the lightbox; keep the overview uncluttered. */
.gallery-story .wp-block-gallery figcaption{display:none!important}
.editor-styles-wrapper .gallery-story .wp-block-gallery figcaption{display:none!important}
/* Pointer clicks should not leave focus boxes; keyboard focus stays visible. */
.wp-site-blocks :is(a,button,input[type="submit"],input[type="button"]):focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
.wp-site-blocks .wpforms-container :is(button,input[type="submit"]):focus:not(:focus-visible)::after{content:none!important}
.wp-site-blocks :is(a,button,input[type="submit"],input[type="button"]):focus-visible{outline:3px solid #116a78!important;outline-offset:5px!important}
header.wp-block-template-part[tabindex="-1"]:focus {
  outline: none;
}

/* Pagination result container: links keep their keyboard focus ring. */
.blog-overview .kulkids-blog-query[tabindex="-1"]:focus{outline:none!important;box-shadow:none!important}
