/*
Theme Name: Kuzia
Theme URI: https://kuzia.babycenter.com.ua/
Author: Kuzia Team
Description: Авторська адаптивна тема для приватного дитячого садочка «Кузя».
Version: 1.7.6
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kuzia
*/
:root{--green:#418a68;--ink:#30473c;--pink:#f16f8a;--yellow:#f6bd4b;--mint:#e9f6ec;--paper:#fffdfa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.65}button,input{font:inherit}button{cursor:pointer}a{color:inherit}img{max-width:100%;display:block}.container{width:min(1240px,calc(100% - 48px));margin:auto}.site-header{background:#fff;position:relative;z-index:20;box-shadow:0 2px 18px #30473c0d}.header-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{text-decoration:none;display:flex;align-items:center;gap:15px;flex-shrink:0}.brand-word{font-size:39px;letter-spacing:-2px;font-weight:800;color:#49ae7d;line-height:1}.brand-sun{color:#f5b738;font-size:26px;vertical-align:top}.brand-subtitle{font-size:13px;line-height:1.35;color:#506457}.nav-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:clamp(12px,1.8vw,27px);white-space:nowrap}.nav-list a{text-decoration:none;font-size:14px;font-weight:700}.nav-list a:hover{color:var(--pink)}.menu-toggle{display:none}.hero{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 7% 12%,#e8f5e4 0 13%,transparent 13.2%),radial-gradient(circle at 90% 80%,#ffe8eb 0 16%,transparent 16.2%),linear-gradient(110deg,#fffef7,#fff4d3 53%,#ffebec);padding:78px 0 105px}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.eyebrow{font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#629c79}.hero h1{font-family:'Trebuchet MS','Segoe UI',sans-serif;font-weight:800;font-size:clamp(40px,4.65vw,69px);line-height:1.12;letter-spacing:-.055em;margin:18px 0 25px}.hero h1 span{display:block}.hero h1 span:nth-child(1),.hero h1 span:nth-child(4){color:#45a878}.hero h1 span:nth-child(2){color:#f0758c}.hero h1 span:nth-child(3){color:#f2b33e}.hero-copy p{max-width:500px;font-size:18px}.button{display:inline-flex;align-items:center;justify-content:center;border:0;text-decoration:none;border-radius:100px;padding:14px 25px;font-weight:800;transition:transform .2s,filter .2s}.button:hover{transform:translateY(-2px);filter:brightness(.97)}.button-pink{background:var(--pink);color:white}.hero-photo-wrap{position:relative;padding:22px}.hero-photo-cloud{height:440px;overflow:hidden;border:12px solid white;border-radius:42% 53% 43% 47% / 38% 44% 48% 53%;background:#f5e9d3;box-shadow:0 18px 55px #8c9d812a}.hero-photo-cloud img{width:100%;height:100%;object-fit:cover}.hero-decor{position:absolute;z-index:-1;opacity:.75}.hero-decor.sun{left:40%;top:35px;color:#f3bc39;font-size:78px}.hero-decor.flower{left:4%;bottom:80px;color:#f6a2b3;font-size:65px}.cloud-flower{position:absolute;color:#f6a5b4;font-size:58px}.cloud-flower.one{left:-12px;bottom:45px}.cloud-flower.two{right:0;top:10px;color:#e8b53c}.wave{position:absolute;bottom:-2px;left:0;right:0;height:48px;background:#fffdfa;clip-path:polygon(0 38%,6% 58%,12% 32%,18% 59%,24% 37%,30% 61%,36% 34%,42% 58%,48% 32%,54% 58%,60% 38%,66% 60%,72% 33%,78% 58%,84% 38%,90% 62%,96% 34%,100% 49%,100% 100%,0 100%)}.photo-placeholder{height:100%;min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;gap:8px;background:linear-gradient(145deg,#e6f5e8,#fff3db 60%,#fce5eb);color:#5e7b67;font-weight:700}.photo-placeholder small{font-weight:400;font-size:12px}.photo-placeholder-icon{font-size:60px;line-height:1;color:#efa7a7}.section{padding:90px 0}.section-tight{padding:30px 0 70px}.section h2{font-size:clamp(30px,3.6vw,48px);line-height:1.2;letter-spacing:-.035em;margin:12px 0 16px}.section-heading{text-align:center;max-width:740px;margin:0 auto 38px}.section-heading p{margin:0;color:#66796b}.benefits-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.benefit-card{text-align:center;border-radius:30px;padding:28px 10px 25px;min-height:220px;background:#fff0f2}.benefit-card:nth-child(2){background:#edf8f4}.benefit-card:nth-child(3){background:#fff7e3}.benefit-card:nth-child(4){background:#f2f7e9}.benefit-card:nth-child(5){background:#edf7f4}.benefit-card:nth-child(6){background:#f5f0f9}.benefit-icon{color:#58a782;margin-bottom:14px}.benefit-card:nth-child(3) .benefit-icon{color:#e9b046}.benefit-card:nth-child(4) .benefit-icon{color:#e17e96}.benefit-card h3{font-size:17px;line-height:1.25;margin:0 0 10px}.benefit-card p{font-size:13px;margin:0;color:#67786d}.classes-section{background:#fff}.classes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.class-card{background:#fff;overflow:hidden;border-radius:22px;box-shadow:0 12px 35px #30473c12}.class-photo{height:260px}.class-photo img{height:100%;width:100%;object-fit:cover}.class-label{text-align:center;background:#dff0df;padding:9px;font-size:13px;font-weight:800}.class-card:nth-child(2) .class-label{background:#fce2e7}.class-card:nth-child(3) .class-label{background:#fff0c3}.class-info{text-align:center;padding:22px 20px 30px}.class-info h3{font-size:22px;margin:0 0 12px}.class-info p{color:#6a766d;margin:0}.video-section{background:#fff4e8}.video-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px}.video-grid p{color:#63736b}.video-grid .large-text{font-size:20px;color:#344f3f}.video-box{background:#f2dcd6;border-radius:32px;min-height:330px;overflow:hidden;display:grid;place-items:center}.video-box iframe{width:100%;height:330px;border:0}.video-placeholder{display:flex;flex-direction:column;align-items:center;gap:12px;color:#775b58}.video-placeholder span{width:75px;height:75px;border-radius:50%;background:#fff;color:var(--pink);display:grid;place-items:center;font-size:32px;padding-left:5px}.gallery-section{background:#fff}.gallery-controls{display:flex;justify-content:flex-end;gap:10px;margin-bottom:16px}.gallery-arrow{width:46px;height:46px;border:0;border-radius:50%;background:#f8e5b5;color:#795f32;font-size:23px}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.gallery-item{height:330px;border-radius:25px;overflow:hidden}.gallery-item[hidden]{display:none}.gallery-item img{width:100%;height:100%;object-fit:cover}.gallery-item a{display:block;height:100%}.contact-section{background:#ffeddd}.contact-panel{background:white;border-radius:30px;padding:45px;max-width:900px;margin:auto;box-shadow:0 12px 35px #9c705d10}.contact-panel h2{font-size:32px;margin:0 0 8px}.contact-panel>p{color:#67776d}.contact-form{margin-top:25px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contact-form label{display:block;font-size:14px;font-weight:700}.contact-form input[type=text],.contact-form input[type=tel]{display:block;width:100%;padding:13px 15px;margin-top:7px;border:1px solid #dce3dc;border-radius:10px;background:#fff}.contact-form .consent{font-size:12px;display:flex;align-items:flex-start;gap:8px;font-weight:400;margin:18px 0}.consent input{margin-top:4px}.honeypot{position:absolute!important;left:-10000px!important}.reviews-section{background:#f0f7e9}.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.review-card{background:#fff;border-radius:25px;padding:30px;min-height:205px}.review-symbol{font-size:50px;color:#f3bd53;line-height:1}.review-card p{color:#5d6f61}.review-card span{font-size:13px;color:#8b998e}.section-mini{padding:45px 0}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.info-grid>div{padding:22px;border:1px solid #e7ede5;border-radius:18px}.info-grid h3{margin:0 0 7px}.info-grid p{margin:0;color:#708173;font-size:14px}.site-footer{position:relative;background:#e9f4e7;margin-top:85px;padding:46px 0 0;color:#304f3e}.footer-wave{position:absolute;top:-94px;left:0;width:100%;height:95px}.footer-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.8fr) minmax(0,1.05fr);gap:clamp(24px,4vw,70px);align-items:start;padding-bottom:36px}.footer-brand{display:inline-block;text-decoration:none}.footer-logo{width:150px;height:auto;max-height:none;object-fit:contain}.footer-grid h3{font-size:19px;line-height:1.3;color:#355d49;margin:3px 0 18px}.footer-grid p{margin:8px 0;color:#536d5b}.footer-description{font-weight:700}.footer-slogan{font-size:14px}.footer-license{font-size:13px;line-height:1.5;margin-top:18px!important}.footer-license strong,.footer-license span{display:block}.footer-nav{list-style:none;padding:0;margin:0;display:grid;gap:8px}.footer-nav li{margin:0}.footer-nav a,.footer-contact a{text-decoration:none;color:#365e49}.footer-nav a{display:inline-block;font-size:15px;line-height:1.45;font-weight:600}.footer-nav a:hover,.footer-contact a:hover,.footer-bottom a:hover{color:#c84f71;text-decoration:underline;text-underline-offset:3px}.footer-contact-line{display:flex;align-items:flex-start;gap:11px;margin:0 0 15px;font-size:15px;line-height:1.45}.footer-icon{width:19px;height:19px;flex:0 0 19px;color:#d94e6c;margin-top:2px}.footer-phone-numbers{display:grid;gap:5px}.footer-phone-numbers a{white-space:nowrap;font-weight:700}.footer-callback{margin-top:9px;padding:12px 24px}.social-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}.social-links a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:13px;background:#fff;color:#3c7658;text-decoration:none;box-shadow:0 3px 12px #30473c12;transition:transform .2s,background .2s}.social-links a:hover{background:#fff3f5;transform:translateY(-2px)}.social-links .footer-icon{width:22px;height:22px;flex:none;margin:0;color:inherit}.footer-bottom{border-top:1px solid #c8dfcc;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0;font-size:13px;color:#607968}.footer-bottom a{color:inherit;text-decoration:none}.site-footer a:focus-visible,.site-footer button:focus-visible{outline:3px solid #d94e6c;outline-offset:3px}.modal{display:none;position:fixed;inset:0;z-index:100}.modal.is-open{display:grid;place-items:center}.modal-backdrop{position:absolute;inset:0;background:#20332bb5}.modal-panel{position:relative;z-index:1;background:white;border-radius:26px;padding:36px;width:min(560px,calc(100% - 28px));max-height:90vh;overflow:auto;box-shadow:0 30px 80px #1115}.modal-panel h2{margin:0 0 8px;font-size:30px}.modal-panel p{margin:0}.modal-close{position:absolute;right:17px;top:12px;background:none;border:0;font-size:32px;color:#526d59}.modal-open{overflow:hidden}.form-notice{position:fixed;bottom:20px;right:20px;z-index:150;background:#fff;border:2px solid #8cbb94;border-radius:14px;padding:18px;max-width:380px;box-shadow:0 10px 30px #0002}.content-area{min-height:50vh;padding:65px 0}.entry-content img{max-width:100%;height:auto}
@media(max-width:1150px){.brand-subtitle{display:none}.nav-list{gap:13px}.nav-list a{font-size:13px}.benefits-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.menu-toggle{display:flex;width:44px;height:42px;flex-direction:column;justify-content:center;gap:5px;background:#eaf5e9;border:0;border-radius:12px;align-items:center}.menu-toggle span{width:22px;height:2px;background:#3e765a}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:18px 24px;box-shadow:0 15px 25px #0001}.site-nav.is-open{display:block}.nav-list{display:flex;flex-direction:column;align-items:stretch;gap:0}.nav-list li{border-bottom:1px solid #eef2ec}.nav-list a{display:block;padding:12px;font-size:16px}.brand-subtitle{display:block}.hero-grid,.video-grid{grid-template-columns:1fr}.hero{padding:55px 0 75px}.hero-photo-cloud{height:390px}.hero-copy{max-width:640px}.classes-grid{gap:12px}.class-photo{height:210px}}
@media(max-width:720px){.container{width:min(100% - 30px,520px)}.header-inner{min-height:76px}.brand-word{font-size:31px}.brand-subtitle{font-size:11px}.hero h1{font-size:clamp(36px,9vw,51px)}.hero-photo-cloud{height:310px}.hero-photo-wrap{padding:5px 15px}.hero-decor.sun{left:78%;font-size:55px}.section{padding:62px 0}.benefits-grid{grid-template-columns:repeat(2,1fr);gap:10px}.benefit-card{min-height:175px;padding:20px 8px}.benefit-icon svg{width:40px;height:40px}.benefit-card h3{font-size:15px}.classes-grid,.gallery-grid,.reviews-grid,.info-grid,.footer-grid,.form-row{grid-template-columns:1fr}.class-photo{height:230px}.gallery-item{height:280px}.contact-panel{padding:25px 18px}.contact-panel h2{font-size:26px}.site-footer{margin-top:80px}.video-box,.video-box iframe{min-height:250px;height:250px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

/* Kuzia v0.3: contacts, logo and transparent hero artwork */
.top-contact{background:#e9f4e7;color:#395c49;font-size:13px}.top-contact-inner{min-height:31px;display:flex;align-items:center;justify-content:space-between;gap:12px}.top-contact a{text-decoration:none;font-weight:700}.header-inner{min-height:80px}.brand-logo{width:120px;height:auto;max-height:70px;object-fit:contain}.brand-subtitle{font-size:12px}.hero-photo-cloud{height:auto;min-height:320px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;display:grid;place-items:center}.hero-photo-cloud picture{display:block;width:100%}.hero-photo-cloud img{width:min(100%,400px);height:auto;object-fit:contain;margin:auto}.hero-photo-wrap{padding:12px}.about-intro{background:#fffdfa}.about-intro-inner{max-width:950px;text-align:center}.about-intro h2{font-size:clamp(26px,3vw,38px);line-height:1.2}.about-intro p{color:#5d7464}.license-note{display:flex;flex-direction:column;gap:5px;margin:24px auto 0;padding:17px 22px;border-radius:18px;background:#eaf5e9;max-width:680px}.license-note strong{color:#397b55}.license-note span{font-size:14px}
@media(max-width:1150px){.brand-subtitle{display:block}}
@media(max-width:850px){.top-contact{font-size:12px}.header-inner{min-height:70px}}
@media(max-width:720px){.top-contact-inner{min-height:29px;font-size:10px;gap:7px}.top-contact-inner span{max-width:62%;line-height:1.2}.top-contact-inner a{white-space:nowrap}.header-inner{min-height:60px;gap:10px}.brand{gap:8px}.brand-logo{width:70px;max-height:48px}.brand-subtitle{font-size:10px;line-height:1.2}.hero-photo-cloud{min-height:0}.hero-photo-cloud img{width:min(100%,250px)}.hero-photo-wrap{padding:5px}.license-note{padding:15px 12px}}
@media(max-width:360px){.brand-subtitle{font-size:9px}.top-contact-inner{font-size:9px}.brand-logo{width:65px}}


/* Kuzia v0.4 — enlarged responsive hero composition */
@media (min-width: 851px) {
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 12px; }
  .hero-photo-wrap { padding: 0; margin-left: -35px; margin-right: -30px; }
  .hero-photo-cloud { min-height: 0; }
  .hero-photo-cloud img { width: 100%; max-width: 850px; }
  .hero-copy { position: relative; z-index: 2; }
}
@media (max-width: 850px) {
  .hero { padding-top: 28px; padding-bottom: 78px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { display: contents; }
  .hero .eyebrow { grid-row: 1; position: relative; z-index: 3; margin-bottom: 12px; }
  .hero-photo-wrap { grid-row: 2; grid-column: 1; width: 100%; padding: 0; margin: 0; position: relative; z-index: 1; }
  .hero-photo-cloud { min-height: 0; }
  .hero-photo-cloud picture { width: 100%; }
  .hero-photo-cloud img { width: 100%; max-width: 650px; height: auto; }
  .hero h1 { grid-row: 3; grid-column: 1; position: relative; z-index: 3; margin: -105px 0 15px; font-size: clamp(35px, 8.7vw, 49px); line-height: 1.12; text-shadow: 0 2px 12px #fff9eccc, 0 0 18px #fff9ecb3; }
  .hero-copy p { grid-row: 4; grid-column: 1; position: relative; z-index: 3; margin: 12px 0 18px; }
  .hero-copy .button { grid-row: 5; grid-column: 1; justify-self: start; position: relative; z-index: 3; }
  .cloud-flower { pointer-events: none; }
}
@media (max-width: 420px) {
  .hero h1 { margin-top: -95px; font-size: clamp(33px, 9vw, 39px); }
  .hero .eyebrow { font-size: 11px; letter-spacing: .09em; }
}


/* Kuzia v0.4.1 — delicate white outline on the overlapping mobile headline */
@media (max-width: 850px) {
  .hero h1 {
    -webkit-text-stroke: 2px rgba(255,255,255,.98);
    paint-order: stroke fill;
    text-shadow: 0 3px 12px rgba(255,255,255,.7);
  }
  .hero h1 span { position: relative; }
}
@media (max-width: 420px) {
  .hero h1 { -webkit-text-stroke-width: 2.5px; }
}


/* KUZIA v0.5 — refined header, photo-led hero and calmer backgrounds */
:root { --paper:#fffefa; }
body { background:#fffefa; }
.site-header { position:sticky; top:0; z-index:90; background:#fff; }
.top-contact { background:#d6eade; color:#254f3b; font-size:17px; font-weight:600; }
.top-contact-inner { min-height:42px; }
.header-inner { min-height:102px; gap:18px; }
.brand { flex-direction:column; align-items:flex-start; gap:2px; }
.brand-logo { width:122px; height:auto; max-height:none; }
.brand-subtitle { display:block; max-width:220px; font-size:13px; line-height:1.25; white-space:normal; }
.nav-list { gap:clamp(10px,1.25vw,22px); }
.nav-list a { font-size:clamp(16px,1.25vw,19px); font-weight:700; }
.hero { background:radial-gradient(circle at 7% 12%,#f1f8ef 0 13%,transparent 13.2%),radial-gradient(circle at 92% 83%,#fff1f2 0 16%,transparent 16.2%),linear-gradient(115deg,#fffefa,#fff9e8 55%,#fff3f3); }
.hero-grid { max-width:1450px; }
.hero-admission { margin:10px 0 18px; font-size:16px; letter-spacing:.045em; }
.hero-decor.sun { opacity:.48; }
.hero-decor.flower { opacity:.5; }
.cloud-flower { opacity:.58; }
.hero-photo-cloud img { width:100%; max-width:950px; height:auto; }
.benefits { background:#fff; }
.about-intro { background:#fff; }
.info-section { background:#fff; }
.gallery-section { background:#fff; }
.hero-copy { min-width:0; }
@media (min-width:1101px) {
 .hero { padding:55px 0 100px; }
 .hero-grid { grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); gap:0; }
 .hero-photo-wrap { margin-left:-55px; margin-right:-60px; }
 .hero-photo-cloud img { max-width:950px; }
 .hero h1 { font-size:clamp(44px,4.45vw,67px); }
}
@media (max-width:1100px) {
 .menu-toggle { display:flex; width:50px; height:48px; flex-direction:column; justify-content:center; gap:6px; background:#eaf5e9; border:0; border-radius:13px; align-items:center; flex-shrink:0; }
 .menu-toggle span { width:25px; height:2.5px; background:#3e765a; }
 .site-nav { display:none; position:absolute; top:100%; left:0; right:0; background:white; padding:18px 24px; box-shadow:0 15px 25px #0001; max-height:calc(100dvh - 135px); overflow-y:auto; }
 .site-nav.is-open { display:block; }
 .nav-list { display:flex; flex-direction:column; align-items:stretch; gap:0; }
 .nav-list li { border-bottom:1px solid #eef2ec; }
 .nav-list a { display:block; padding:12px; font-size:17px; }
 .header-inner { min-height:84px; }
}
@media (max-width:850px) {
 .hero { padding:12px 0 70px; }
 .hero-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:0; }
 .hero-copy { display:contents; }
 .hero-photo-wrap { grid-row:1; grid-column:1; width:100%; margin:0; padding:0; z-index:1; }
 .hero-photo-cloud { min-height:0; }
 .hero-photo-cloud picture { width:100%; }
 .hero-photo-cloud img { display:block; width:100%; max-width:none; height:auto; }
 .hero h1 { grid-row:2; grid-column:1; z-index:3; margin:-46px -6px 0; padding:25px 18px 12px; border-radius:30px 30px 0 0; background:rgba(255,255,255,.96); font-size:clamp(32px,7.8vw,49px); line-height:1.16; text-shadow:none; -webkit-text-stroke:0; paint-order:normal; }
 .hero .hero-admission { grid-row:3; grid-column:1; z-index:3; margin:0 -6px; padding:13px 18px 15px; background:rgba(255,255,255,.96); font-size:clamp(12px,2.9vw,15px); letter-spacing:.035em; }
 .hero-copy p { grid-row:4; grid-column:1; z-index:3; margin:0 -6px; padding:10px 18px 16px; background:rgba(255,255,255,.96); font-size:clamp(16px,4vw,19px); }
 .hero-copy .button { grid-row:5; grid-column:1; justify-self:start; z-index:3; margin:12px 0 0; }
 .hero-decor.sun { top:12px; left:78%; font-size:42px; }
 .cloud-flower { display:none; }
}
@media (max-width:720px) {
 .top-contact { font-size:13px; }
 .top-contact-inner { min-height:42px; font-size:13px; gap:10px; }
 .top-contact-inner span { max-width:58%; }
 .header-inner { min-height:76px; }
 .brand { gap:1px; }
 .brand-logo { width:75px; max-height:none; }
 .brand-subtitle { font-size:10px; max-width:200px; }
 .hero-grid { width:calc(100% - 28px); }
 .hero h1 { font-size:clamp(32px,8.4vw,42px); }
 .hero .eyebrow.hero-admission { font-size:clamp(12px,3.2vw,15px); letter-spacing:.02em; }
}
@media (max-width:390px) {
 .top-contact-inner { font-size:11px; }
 .brand-logo { width:70px; }
 .hero h1 { font-size:clamp(30px,8.2vw,35px); }
}


/* KUZIA v0.6 — compact sticky header and stronger responsive hero */
.top-contact{background:#d6eade; font-size:15px;}
.top-contact-inner{min-height:30px;line-height:1.2;}
.contact-address,.top-contact-inner a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;}
.contact-icon{width:17px;height:17px;flex:none;color:#d94e6c;}
.header-inner{min-height:68px;gap:18px;}
.brand{gap:1px;}
.brand-logo{width:166px;height:auto;max-height:none;}
.brand-subtitle{font-size:14px;line-height:1.15;max-width:none;white-space:nowrap;}
.nav-list a{font-size:clamp(16px,1.2vw,18px);}
.hero h1 span{display:block;}
.hero h1 span:nth-child(1){color:#43a678;}
.hero h1 span:nth-child(2){color:#f0758c;}
.hero{padding-top:25px;padding-bottom:55px;}
.hero-copy p{position:relative;z-index:4;max-width:420px;}
.hero-copy .button{position:relative;z-index:4;}
@media(min-width:1101px){
 .hero-grid{grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);gap:0;align-items:center;}
 .hero-photo-wrap{margin-left:-95px;margin-right:-65px;transform:scale(1.06);transform-origin:center right;}
 .hero-photo-cloud img{max-width:1050px;}
 .hero h1{font-size:clamp(57px,5.2vw,82px);line-height:1.06;letter-spacing:-.052em;position:relative;z-index:3;max-width:720px;}
 .hero-copy{position:relative;z-index:3;}
 .hero-copy p{max-width:390px;}
 .header-inner{min-height:70px;}
}
@media(min-width:851px) and (max-width:1100px){
 .hero-grid{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);}
 .hero-photo-wrap{margin-left:-25px;margin-right:-30px;}
 .hero h1{font-size:clamp(46px,5.2vw,62px);}
}
@media(max-width:1100px){
 .header-inner{min-height:67px;}
 .site-nav{max-height:calc(100dvh - 105px);}
}
@media(max-width:850px){
 .hero{padding-top:0;padding-bottom:52px;}
 .hero-grid{width:min(100%,650px);max-width:650px;}
 .hero-photo-wrap{width:100%;margin:0;padding:0;transform:none;}
 .hero-photo-cloud picture{width:100%;}
 .hero-photo-cloud img{display:block;width:100%;max-width:none;height:auto;}
 .hero h1{margin:-33px 0 0;padding:22px 22px 18px;border-radius:27px 27px 0 0;background:rgba(255,255,255,.97);font-size:clamp(39px,8.7vw,59px);line-height:1.09;letter-spacing:-.045em;}
 .hero .hero-admission{margin:0;padding:8px 22px 14px;background:rgba(255,255,255,.97);}
 .hero-copy p{margin:0;padding:10px 22px 18px;max-width:none;background:rgba(255,255,255,.97);}
 .hero-copy .button{margin:14px 22px 0;}
}
@media(max-width:720px){
 .top-contact-inner{min-height:32px;font-size:clamp(9px,2.7vw,12px);gap:5px;}
 .top-contact-inner span{max-width:none;}
 .contact-address,.top-contact-inner a{gap:4px;}
 .contact-icon{width:13px;height:13px;}
 .header-inner{min-height:65px;}
 .brand-logo{width:95px;}
 .brand-subtitle{font-size:clamp(9px,2.45vw,11px);max-width:220px;white-space:normal;}
 .hero-grid{width:100%;max-width:none;}
 .hero h1{font-size:clamp(39px,9.2vw,56px);padding:20px 22px 16px;}
 .hero .hero-admission{font-size:clamp(12px,3.1vw,15px);}
}
@media(max-width:390px){
 .top-contact-inner{font-size:9px;}
 .brand-logo{width:89px;}
 .brand-subtitle{font-size:9px;}
 .hero h1{font-size:clamp(37px,9.3vw,43px);}
}


/* KUZIA v0.7 — fixed two-row header and careful hero adjustments */
:root{--kuzia-header-height:100px;}
body{padding-top:var(--kuzia-header-height);}
.site-header{position:fixed!important;top:0!important;left:0;right:0;width:100%;z-index:90;}
body.admin-bar .site-header{top:32px!important;}
html{scroll-padding-top:calc(var(--kuzia-header-height) + 12px);}
.hero-first-word{font-weight:950;letter-spacing:-.055em;}
.hero-copy .button{min-width:315px;padding-inline:34px;}
@media (max-width:782px){body.admin-bar .site-header{top:46px!important;}}
@media (min-width:851px){
 .hero-copy .button{min-width:345px;}
}
@media (max-width:850px){
 .hero-photo-wrap{width:calc(100% + 10%);margin-left:-5%;margin-right:-5%;}
 .hero-photo-cloud img{width:100%;max-width:none;}
 .hero-copy .button{grid-column:1;width:calc(100% - 44px);min-width:0;justify-self:stretch;margin:14px 22px 0;padding:16px 12px;}
}
@media (max-width:480px){
 .hero-photo-wrap{width:calc(100% + 12%);margin-left:-6%;margin-right:-6%;}
 .hero-copy .button{width:calc(100% - 32px);margin-left:16px;margin-right:16px;}
}

/* KUZIA v0.8 — six image-led advantages and expandable learning cards */
.benefits-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.benefit-card{min-width:0;min-height:0;padding:0;text-align:left;overflow:hidden;border-radius:24px;box-shadow:0 10px 28px rgba(40,76,54,.07);}
.benefit-photo{aspect-ratio: 5/3.5;overflow:hidden;background:#f2f5ed;}
.benefit-photo img,.benefit-photo .photo-placeholder{width:100%;height:100%;object-fit:cover;min-height:0;}
.benefit-photo .photo-placeholder{font-size:15px;padding:16px;}
.benefit-photo .photo-placeholder-icon{font-size:42px;}
.benefit-content{padding:22px 24px 25px;}
.benefit-card h3{font-size:clamp(21px,2vw,26px);line-height:1.2;margin:0 0 7px;}
.benefit-card .benefit-subtitle{font-size:16px;font-weight:700;color:#4c8066;margin:0 0 9px;}
.benefit-card .benefit-description{font-size:15px;line-height:1.55;color:#53695c;margin:0;}
.class-card{text-align:left;}
.class-photo{height:auto;aspect-ratio: 4/3;overflow:hidden;}
.class-photo .photo-placeholder{min-height:0;height:100%;}
.class-info{text-align:left;padding:23px 24px 25px;}
.class-info h3{font-size:clamp(21px,2vw,25px);margin:0 0 6px;}
.class-teaser{font-size:15px;margin:0 0 18px!important;}
.class-details{border-top:1px solid #e6ebe5;padding-top:12px;}
.class-details summary{display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;cursor:pointer;color:#377b59;font-size:15px;font-weight:800;}
.class-details summary::-webkit-details-marker{display:none;}
.class-details summary span{font-size:22px;transition:transform .2s;}
.class-details[open] summary span{transform:rotate(45deg);}
.class-details-text{margin-top:12px;padding:13px 14px;border-radius:12px;background:#f3f8f2;color:#53695c;font-size:15px;line-height:1.6;}
@media(max-width:850px){
 .benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
 .classes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
}
@media(max-width:720px){
 .benefits-grid,.classes-grid{grid-template-columns:1fr;gap:22px;}
 .benefit-card{width:100%;border-radius:25px;}
 .benefit-photo{aspect-ratio:1.25/1;}
 .benefit-content{padding:22px 23px 26px;}
 .benefit-card h3{font-size:25px;}
 .benefit-card .benefit-description{font-size:16px;}
 .class-photo{aspect-ratio:1.3/1;}
 .class-info{padding:22px 23px 25px;}
}

/* KUZIA v1.0: footer wave adapted for narrow screens; clean contact form */
.footer-wave-mobile{display:none}
.contact-form .form-privacy-note{font-size:12px;line-height:1.5;color:#67776d;margin:14px 0 18px;font-weight:400}
.contact-form .form-privacy-note a{color:#39765a;text-underline-offset:2px}
@media(max-width:720px){
 .footer-wave-desktop{display:none}
 .footer-wave-mobile{display:block;top:-71px;height:72px;width:100%;left:0}
 .contact-form button[type="submit"]{display:block;width:100%;max-width:none;text-align:center;justify-content:center;box-sizing:border-box}
}

/* KUZIA v1.1: mobile contact readability and footer licence */
@media(max-width:720px){
 .top-contact-inner{font-size:clamp(11px,3.05vw,14px);min-height:39px;gap:6px;}
 .contact-address,.top-contact-inner a{gap:4px;}
 .contact-icon{width:15px;height:15px;flex-shrink:0;}
 
 
}
@media(max-width:390px){
 .top-contact-inner{font-size:11px;}
}

/* KUZIA v1.2: readable mobile contacts, smooth footer wave */
@media(max-width:720px){
 .top-contact-inner{font-size:clamp(13px,3.45vw,16px);min-height:43px;gap:5px;}
 .top-contact-inner .contact-address,.top-contact-inner a{font-size:inherit;letter-spacing:-.025em;gap:4px;}
 .top-contact-inner span{max-width:none;}
 .contact-icon{width:16px;height:16px;}
 .footer-wave-mobile{top:-71px;height:72px;}
}
@media(max-width:390px){
 .top-contact-inner{font-size:13px;}
 .top-contact-inner .contact-address,.top-contact-inner a{font-size:13px;}
 .top-contact-inner .contact-icon{width:15px;height:15px;}
}

/* KUZIA v1.3 revised — mobile typography, spacing, gallery controls.
   IMPORTANT: original v1.2 footer waves retained unchanged. */
.gallery-arrow{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid #e5eae4;border-radius:50%;background:#fff;color:#38795b;box-shadow:0 4px 14px rgba(42,79,57,.1);transition:background .2s,transform .2s,box-shadow .2s;}
.gallery-arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.gallery-arrow:hover{background:#eaf5e9;transform:translateY(-2px);box-shadow:0 6px 17px rgba(42,79,57,.15);}
.gallery-arrow:focus-visible{outline:3px solid #3b8561;outline-offset:3px;}
@media(max-width:720px){
 /* Keep both contact items visible; allow extra horizontal room. */
 .top-contact-inner{width:calc(100% - 12px);max-width:none;margin-left:3px;margin-right:9px;font-size:12px;min-height:41px;gap:4px;justify-content:space-between;}
 .top-contact-inner .contact-address,.top-contact-inner a{font-size:inherit;letter-spacing:-.035em;gap:3px;}
 .top-contact-inner .contact-icon{width:14px;height:14px;}
 .brand-subtitle{font-size:12px;line-height:1.25;max-width:none;white-space:nowrap;letter-spacing:-.02em;}
 /* Larger headline; keep the existing photo-overlap and white card. */
 .hero h1{font-size:clamp(40px,10.8vw,56px);line-height:1.08;letter-spacing:-.057em;padding-left:12px;padding-right:12px;}
 /* Descriptions align left, headings and names retain their original alignment. */
 .about-intro-inner>p,.section-heading>p,.video-copy p,.contact-panel>p,.info-grid p,.review-card p,.benefit-description,.class-teaser,.class-details-text,.hero-copy p{ text-align:left; }
 /* Tighten excessive space before gallery arrows/photos. */
 .gallery-section .section-heading{margin-bottom:12px;}
 .gallery-section .gallery-controls{margin:0 0 14px;gap:12px;}
 .gallery-section .gallery-arrow{width:44px;height:44px;}
}
@media(max-width:390px){
 .top-contact-inner{font-size:12px;}
 .brand-subtitle{font-size:12px;}
 .hero h1{font-size:clamp(39px,10.6vw,43px);}
}
@media(max-width:350px){
 .top-contact-inner{font-size:11px;}
 .brand-subtitle{font-size:11px;}
}


/* ===== KUZIA SHARED PAGE DESIGN v1.7 (bundled in main stylesheet) ===== */
/* KUZIA — shared design system, v1.4
   Global tokens and interior-page components. */
:root{
  --kz-heading:#416f58;
  --kz-green:#66aa8a;
  --kz-mint:#e9f5e8;
  --kz-leaf:#cce8d2;
  --kz-blue:#e0efff;
  --kz-pink:#ed7591;
  --kz-cream:#fff3d9;
  --kz-lime:#ecfac4;
  --kz-body:#60746b;
  --kz-radius:26px;
}
:is(.entry-content,.kz-page) h1,
:is(.entry-content,.kz-page) h2,
:is(.entry-content,.kz-page) h3,
.content-area article > h1 {color:var(--kz-heading);}
.content-area article > h1 {font-size:clamp(32px,4vw,48px);line-height:1.2;letter-spacing:-.025em;}
/* Harmonise existing homepage headings without replacing its coloured hero. */
.home :is(.section-heading h2,.about-intro h2,.video-copy h2,.contact-panel h2) {color:var(--kz-heading);}
.kz-page{color:var(--kz-heading);line-height:1.7;}
.kz-page *{box-sizing:border-box;}
.kz-page p{color:var(--kz-body);}
.kz-page h2{font-size:clamp(29px,3.7vw,46px);line-height:1.18;letter-spacing:-.025em;}
.kz-page h3{font-size:clamp(21px,2.3vw,28px);line-height:1.3;}
.kz-page .kz-eyebrow{display:inline-block;margin-bottom:13px;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#548c6d;}
.kz-page .kz-hero{padding:clamp(28px,5vw,65px);border-radius:32px;background:linear-gradient(115deg,#e0f1e4,#f1f8ec 57%,#fce8ee);}
.kz-page .kz-hero h2{font-size:clamp(34px,4.7vw,58px);max-width:850px;}
.kz-page .kz-hero p{max-width:850px;font-size:clamp(17px,1.7vw,20px);}
.kz-page .kz-pill{display:inline-block;padding:9px 17px;border-radius:40px;background:#fff;color:#416f58;font-size:13px;font-weight:800;letter-spacing:.035em;}
.kz-page .kz-stats,.kz-page .kz-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.kz-page .kz-stats{margin:24px 0 50px;}
.kz-page .kz-stat{padding:22px 14px;border-radius:23px;background:var(--kz-mint);text-align:center;}
.kz-page .kz-stat:nth-child(2){background:var(--kz-cream);}
.kz-page .kz-stat:nth-child(3){background:#fcecf1;}
.kz-page .kz-stat strong{display:block;color:var(--kz-heading);font-size:clamp(26px,3vw,39px);line-height:1.2;}
.kz-page .kz-stat span{font-size:14px;color:var(--kz-body);}
.kz-page .kz-section{margin:58px 0;}
.kz-page .kz-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:center;}
.kz-page .kz-panel{padding:clamp(26px,4vw,46px);border-radius:29px;background:#f3f8f2;}
.kz-page .kz-card{padding:24px;border-radius:27px;background:var(--kz-mint);}
.kz-page .kz-card:nth-child(2){background:var(--kz-cream);}
.kz-page .kz-card:nth-child(3){background:#fcecf1;}
.kz-page .kz-card p:last-child,.kz-page .kz-panel p:last-child{margin-bottom:0;}
.kz-page .kz-photo{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:270px;padding:20px;border:2px dashed #c9dfce;border-radius:25px;background:linear-gradient(125deg,#e4f3e8,#fff4de,#fce9ed);text-align:center;color:#648775;}
.kz-page .kz-card .kz-photo{min-height:185px;margin-bottom:22px;border-radius:20px;background:#ffffffa6;}
.kz-page .kz-photo img{width:100%;height:100%;min-height:inherit;object-fit:cover;border-radius:inherit;}
.kz-page .kz-ribbon{padding:27px 32px;border-radius:24px;background:var(--kz-cream);}
.kz-page .kz-cta{padding:clamp(35px,5vw,60px);border-radius:30px;background:linear-gradient(120deg,#dcefe0,#eaf7e8 55%,#f2f9eb);text-align:center;}
.kz-page .kz-cta h2,.kz-page .kz-cta p{max-width:780px;margin-left:auto;margin-right:auto;}
.kz-page .kz-cta p{text-align:center;}
.kz-page .kz-button{display:inline-block;padding:15px 32px;border-radius:50px;background:var(--kz-pink);color:#fff!important;font-size:16px;font-weight:800;text-decoration:none;transition:background .2s;}
.kz-page .kz-button:hover{background:#d95f7c;color:#fff;}
.kz-page .kz-center{text-align:center;max-width:800px;margin:0 auto 30px;}
@media(max-width:720px){
 .kz-page .kz-hero{padding:30px 22px;border-radius:25px;}
 .kz-page .kz-stats{gap:8px;margin:18px 0 35px;}
 .kz-page .kz-stat{padding:17px 6px;border-radius:16px;}
 .kz-page .kz-stat strong{font-size:25px;}
 .kz-page .kz-stat span{font-size:11px;}
 .kz-page .kz-split,.kz-page .kz-cards{grid-template-columns:1fr;}
 .kz-page .kz-section{margin:40px 0;}
 .kz-page .kz-panel{padding:26px 22px;}
 .kz-page .kz-photo{min-height:220px;}
 .kz-page .kz-card .kz-photo{min-height:170px;}
 .kz-page .kz-cta{padding:36px 22px;}
 .kz-page .kz-button{display:block;width:100%;text-align:center;}
 .kz-page .kz-ribbon{padding:23px;}
}
@media(prefers-reduced-motion:reduce){.kz-page .kz-button{transition:none;}}

/* v1.5: readable badges and stable three-card desktop layout */
.kz-page .kz-pill {font-size:clamp(16px,1.4vw,18px);line-height:1.5;letter-spacing:0;white-space:normal;}
.kz-page .kz-stat span {display:block;font-size:clamp(16px,1.35vw,18px);line-height:1.5;overflow-wrap:break-word;}
.kz-page .kz-stats,.kz-page .kz-cards {width:100%;max-width:100%;min-width:0;}
.kz-page .kz-cards {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(10px,1.4vw,18px)!important;align-items:stretch;}
.kz-page .kz-cards > .kz-card {grid-column:auto!important;grid-row:auto!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:clamp(15px,1.7vw,23px);}
/* WordPress may insert empty paragraphs when switching editors. */
.kz-page .kz-cards > p:empty,.kz-page .kz-cards > p:has(> br:only-child),.kz-page .kz-cards > br {display:none!important;}
.kz-page .kz-card h3 {font-size:clamp(19px,1.9vw,26px);overflow-wrap:break-word;}
.kz-page .kz-card .kz-photo {min-width:0;}
@media(max-width:720px){
 .kz-page .kz-cards {grid-template-columns:minmax(0,1fr)!important;gap:18px!important;}
 .kz-page .kz-stat span {font-size:clamp(14px,3.4vw,17px);line-height:1.45;}
 .kz-page .kz-stat strong {font-size:clamp(23px,6vw,29px);}
 .kz-page .kz-pill {font-size:clamp(16px,4vw,18px);}
}

/* KUZIA v1.7: prevent classic-editor injected paragraphs from taking grid cells */
@media(min-width:721px){
.kz-page .kz-cards{display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;gap:clamp(10px,1.4vw,18px)!important;}
.kz-page .kz-cards > .kz-card{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:none!important;align-self:stretch!important;}
}
.kz-page .kz-cards > :not(.kz-card){display:none!important;}
@media(max-width:720px){.kz-page .kz-cards{display:flex!important;flex-direction:column!important;gap:18px!important;}
.kz-page .kz-cards > .kz-card{width:100%!important;flex:auto!important;}}

/* KUZIA v1.7.1 — interior page readability and mobile spacing fixes */
/* Restrict these changes to custom inner pages, not the homepage. */
.kz-page p,
.kz-page .kz-panel p,
.kz-page .kz-card p,
.kz-page .kz-ribbon p {
  color:#40594c;
  font-size:clamp(16px,1.3vw,18px);
  font-weight:500;
  line-height:1.7;
}
.kz-page .kz-photo {color:#416f58;font-size:16px;font-weight:600;}
.kz-page .kz-photo p {color:#416f58;}
.kz-page .kz-stat span {color:#40594c;font-weight:600;}
.kz-page .kz-pill {font-weight:800;}
/* Keep all three feature cards on one desktop row. */
@media(min-width:721px){
  .kz-page .kz-cards{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:clamp(10px,1.4vw,18px)!important;}
  .kz-page .kz-cards>.kz-card{flex:1 1 0!important;min-width:0!important;width:0!important;}
}
@media(max-width:720px){
  /* Remove large gaps above page title and between content sections. */
  .content-area:has(.kz-page){padding-top:12px;padding-bottom:24px;min-height:0;}
  .content-area:has(.kz-page) article>h1{margin-top:0;margin-bottom:18px;}
  .kz-page .kz-section{margin:18px 0;}
  .kz-page .kz-stats{margin:14px 0 18px;}
  .kz-page .kz-hero{padding:24px 20px;}
  .kz-page .kz-cards{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:16px!important;}
  .kz-page .kz-cards>.kz-card{flex:0 0 auto!important;width:100%!important;max-width:100%!important;}
  .kz-page .kz-panel{padding:24px 20px;}
  .kz-page p{font-size:16px;line-height:1.65;}
}

/* KUZIA v1.7.2 — Timka-style excursion form, isolated styling */
.kuzia-ajax-form .kuzia-form-field{margin:14px 0}
.kuzia-ajax-form .kuzia-form-field label{display:block;font-size:16px;font-weight:700;color:#416f58}
.kuzia-ajax-form input:not([type=hidden]),.kuzia-ajax-form textarea{display:block;width:100%;padding:12px 14px;margin-top:5px;border:1px solid #cadfce;border-radius:12px;background:#fff;color:#30473c;font:inherit;font-size:16px;line-height:1.4}
.kuzia-ajax-form textarea{resize:vertical;min-height:90px}
.kuzia-ajax-form input:focus-visible,.kuzia-ajax-form textarea:focus-visible{outline:3px solid #a7d8ba;outline-offset:1px}
.kuzia-ajax-form button[type=submit]{width:100%;margin-top:5px}
.kuzia-form-status{margin:12px 0 0!important;padding:12px 14px;border-radius:12px;background:#e9f5e8;color:#305c45!important;font-size:15px;font-weight:700}
.kuzia-form-status.is-error{background:#fff0f2;color:#a02b4d!important}
.modal-panel .contact-form{margin-top:18px}
.modal-panel{width:min(520px,calc(100% - 28px));padding:clamp(22px,4vw,36px)}
.modal-panel>p{color:#60746b}
@media(max-width:720px){.modal-panel{max-height:calc(100dvh - 24px);padding:22px 18px}.modal-panel h2{font-size:26px}.modal-panel .contact-form{margin-top:10px}.kuzia-ajax-form .kuzia-form-field{margin:10px 0}}

/* KUZIA v1.7.3 — consistent inner pages and mobile layout */
/* Shared compact spacing for every inner page, including empty draft pages. */
body:not(.home) .content-area{padding-top:clamp(18px,2.5vw,32px);padding-bottom:clamp(22px,3vw,42px);min-height:0}
body:not(.home) .content-area article>h1{margin:0 0 clamp(14px,2vw,22px);line-height:1.2}
body:not(.home) .entry-content>:first-child{margin-top:0}
body:not(.home) .entry-content>:last-child{margin-bottom:0}
/* Compact rhythm inside custom pages. */
.kz-page .kz-hero{padding:clamp(24px,3vw,42px)}
.kz-page .kz-hero h2{margin:12px 0 14px}
.kz-page .kz-hero p{margin:0 0 12px;line-height:1.55}
.kz-page .kz-hero p:last-child{margin-bottom:0}
.kz-page .kz-stats{margin:18px 0 22px}
.kz-page .kz-section{margin:26px 0}
.kz-page .kz-center{margin-bottom:18px}
.kz-page .kz-section h2,.kz-page .kz-panel h2{margin:8px 0 16px}
.kz-page .kz-panel p,.kz-page .kz-card p{margin-top:0;margin-bottom:12px;line-height:1.55}
.kz-page .kz-panel .kz-eyebrow{margin-bottom:8px}
.kz-page .kz-ribbon{margin:20px 0}
/* WordPress Classic Editor can wrap or insert blank paragraph nodes. */
.kz-page .kz-stats>p:empty,.kz-page .kz-stats>p:has(>br:only-child),.kz-page .kz-stats>br{display:none!important}
@media(max-width:720px){
 body:not(.home) .content-area{padding-top:14px;padding-bottom:22px;min-height:0}
 body:not(.home) .content-area article>h1{margin:0 0 14px;font-size:clamp(32px,8vw,42px)}
 .kz-page .kz-hero{padding:22px 18px}
 .kz-page .kz-hero h2{margin:8px 0 12px}
 .kz-page .kz-hero p{margin:0 0 10px;line-height:1.5}
 .kz-page .kz-stats{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:12px!important;margin:14px 0 18px!important;width:100%!important}
 .kz-page .kz-stats>.kz-stat{display:block!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:none!important;padding:18px 20px!important;text-align:center}
 .kz-page .kz-stats>.kz-stat strong{font-size:clamp(24px,6vw,30px);overflow-wrap:anywhere}
 .kz-page .kz-stats>.kz-stat span{font-size:16px;line-height:1.45}
 .kz-page .kz-cards{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:14px!important;width:100%!important}
 .kz-page .kz-cards>.kz-card{display:block!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:20px!important}
 .kz-page .kz-section{margin:20px 0}
 .kz-page .kz-split{gap:16px}
 .kz-page .kz-panel{padding:22px 18px}
 .kz-page .kz-panel h2{font-size:clamp(29px,7vw,38px);margin:8px 0 16px}
 .kz-page .kz-panel p{margin:0 0 12px;line-height:1.55}
 .kz-page .kz-center{margin-bottom:16px}
 .kz-page .kz-ribbon{margin:16px 0}
}

/* ==============================================
   KUZIA — кухня (єдині правила, без дублювання)
   ============================================== */

/* Застосовується лише до секції з фотографією кухні. */
.kz-page .kz-split:has(> .kz-kitchen-photo) {
  width: 100%;
  min-width: 0;
}

.kz-page .kz-split > .kz-kitchen-photo {
  box-sizing: border-box;
  display: block;
  position: relative;
  min-width: 0;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 24px;
  overflow: hidden;
  background: transparent !important;
  box-shadow: none !important;
}

/* ПК: контейнер фото розтягується рівно до висоти текстової панелі.
   Абсолютне позиціювання картинки не додає власної висоти рядку. */
@media (min-width: 721px) {
  .kz-page .kz-split:has(> .kz-kitchen-photo) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 28px !important;
  }

  .kz-page .kz-split:has(> .kz-kitchen-photo) > .kz-panel {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 24px 12px !important;
    align-self: stretch !important;
  }

  .kz-page .kz-split:has(> .kz-kitchen-photo) > .kz-panel .kz-eyebrow {
    margin-bottom: 4px !important;
  }

  .kz-page .kz-split:has(> .kz-kitchen-photo) > .kz-panel h2 {
    margin: 4px 0 10px !important;
  }

  .kz-page .kz-split:has(> .kz-kitchen-photo) > .kz-panel p {
    margin: 0 0 8px !important;
    line-height: 1.4;
  }

  .kz-page .kz-split:has(> .kz-kitchen-photo) > .kz-panel p:last-child {
    margin-bottom: 0 !important;
  }

  .kz-page .kz-split:has(> .kz-kitchen-photo) > .kz-kitchen-photo {
    flex: 0 1 500px !important;
    width: 500px !important;
    max-width: 500px !important;
    height: auto !important;
    margin: 0 !important;
    align-self: stretch !important;
  }

  .kz-page .kz-kitchen-photo picture,
  .kz-page .kz-kitchen-photo img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .kz-page .kz-kitchen-photo img {
    object-fit: cover;
    border-radius: 0;
  }
}

/* KUZIA — кухня / мобільна версія. Одна група правил.
   Ізольовано від інших фото та карток сайту. */
@media (max-width: 720px) {
  .kz-page .kz-section.kz-split:has(.kz-kitchen-photo) {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  .kz-page .kz-section.kz-split:has(.kz-kitchen-photo) > .kz-panel {
    display: block !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 22px 18px !important;
  }

  .kz-page .kz-section.kz-split:has(.kz-kitchen-photo) > .kz-kitchen-photo {
    display: block !important;
    position: relative !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    width: min(100%, 350px) !important;
    max-width: 350px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .kz-page .kz-section.kz-split:has(.kz-kitchen-photo) .kz-kitchen-photo picture,
  .kz-page .kz-section.kz-split:has(.kz-kitchen-photo) .kz-kitchen-photo img {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .kz-page .kz-section.kz-split:has(.kz-kitchen-photo) .kz-kitchen-photo img {
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: 24px !important;
  }

  /* На мобільному залишаємо рівно два елементи секції:
     текстову панель і фотографію. Приховуємо службові вузли,
     зокрема абзаци з &nbsp;, які створює Classic Editor. */
  .kz-page .kz-section.kz-split:has(> .kz-kitchen-photo)
    > :not(.kz-panel):not(.kz-kitchen-photo) {
    display: none !important;
  }

  /* Не дозволяємо вкладеним стилям зображення повертати відступи. */
  .kz-page .kz-section.kz-split:has(> .kz-kitchen-photo)
    > .kz-kitchen-photo picture {
    display: block !important;
    line-height: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }
}


/* КУЗЯ — ФОТО У ТРЬОХ КАРТКАХ ХАРЧУВАННЯ */

.kz-page .kz-cards .kz-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0 0 24px;
  padding: 0;
  border: none;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.kz-page .kz-cards .kz-card-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.kz-page .kz-cards .kz-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 24px;
  object-fit: cover;
}

@media (max-width: 720px) {
  .kz-page .kz-cards .kz-card-image {
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin-bottom: 20px;
  }
}

/* KUZIA — п’ять прийомів їжі. Окремий блок сторінки «Харчування». */
.kz-page .kz-meals {
  margin: 30px 0;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 30px;
  background: linear-gradient(120deg, #f0f8ed, #fff9e9 55%, #fff0f3);
}
.kz-page .kz-meals-heading { text-align: center; max-width: 750px; margin: 0 auto 24px; }
.kz-page .kz-meals-heading .kz-eyebrow { margin-bottom: 4px; }
.kz-page .kz-meals-heading h2 { margin: 5px 0 9px; font-size: clamp(27px, 3vw, 39px); }
.kz-page .kz-meals-heading p { margin: 0; font-size: 16px; line-height: 1.5; }
.kz-page .kz-meals-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.kz-page .kz-meal {
  min-width: 0;
  margin: 0;
  padding: 14px 10px 16px;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 5px 18px rgba(48, 71, 60, .045);
}
.kz-page .kz-meal:nth-child(2) { background: #fff8e8; }
.kz-page .kz-meal:nth-child(3) { background: #edf7ef; }
.kz-page .kz-meal:nth-child(4) { background: #fff0f3; }
.kz-page .kz-meal:nth-child(5) { background: #f1f3ff; }
.kz-page .kz-meal-art {
  width: 100%; height: 105px;
  display: flex; justify-content: center; align-items: center;
  margin: 0 auto 10px;
  background: transparent;
}
.kz-page .kz-meal-art img {
  display: block; width: 100%; max-width: 150px;
  height: 100%; min-height: 0; object-fit: contain;
  border: 0; border-radius: 0; background: transparent;
}
.kz-page .kz-meal h3 {
  margin: 0 0 7px;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.25;
  color: var(--kz-heading);
}
.kz-page .kz-meal p {
  margin: 0; font-size: 13px; line-height: 1.45;
  color: #526c5e; overflow-wrap: break-word;
}
.kz-page .kz-meals-note {
  margin: 16px 0 0; text-align: center;
  font-size: 13px; line-height: 1.45; color: #62776a;
}
@media (max-width: 900px) and (min-width: 721px) {
  .kz-page .kz-meals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  /* Меню: п’ять компактних горизонтальних рядків, як у затвердженому зразку. */
  .kz-page .kz-meals {
    margin: 20px 0;
    padding: 18px 12px 20px;
    border-radius: 24px;
  }
  .kz-page .kz-meals-heading { margin-bottom: 15px; }
  .kz-page .kz-meals-heading h2 { font-size: clamp(25px, 6.5vw, 32px); }
  .kz-page .kz-meals-heading p { font-size: 14px; }
  .kz-page .kz-meals-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    align-items: stretch;
  }
  .kz-page .kz-meals-grid > .kz-meal,
  .kz-page .kz-meals-grid > .kz-meal:last-child {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 1px;
    align-items: center;
    width: 100%;
    min-height: 75px;
    padding: 6px 11px 6px 8px;
    margin: 0;
    border-radius: 18px;
    text-align: left;
    grid-column: auto;
    justify-self: stretch;
  }
  .kz-page .kz-meal-art {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 94px;
    height: 65px;
    min-height: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .kz-page .kz-meal-art img {
    width: 100%;
    max-width: 94px;
    height: 100%;
    min-height: 0;
    object-fit: contain;
  }
  .kz-page .kz-meal h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0 0 3px;
    font-size: clamp(16px, 4.4vw, 19px);
    line-height: 1.22;
    text-align: left;
  }
  /* Під назвою відображається склад кожного прийому їжі. */
  .kz-page .kz-meals-grid > .kz-meal > p {
    display: block;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: break-word;
  }
  .kz-page .kz-meals-note {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 12px;
  }
}

/* KUZIA — точне масштабування двох ілюстрацій меню (ПК і мобільні).
   Масштабуємо лише зображення, не картки й не інші елементи. */
.kz-page .kz-meals-grid > .kz-meal:nth-child(2) .kz-meal-art img {
  transform: scale(0.7225);
  transform-origin: center center;
}
.kz-page .kz-meals-grid > .kz-meal:nth-child(3) .kz-meal-art img {
  transform: scale(1.15);
  transform-origin: center center;
}

/* KUZIA v1.7.4 — компактна форма екскурсії лише в мобільному модальному вікні */
@media (max-width: 720px) {
  .modal.is-open {
    padding: 12px 0;
    overflow-y: auto;
    align-items: safe center;
  }
  .modal-panel {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px 18px 16px;
  }
  .modal-panel .kuzia-ajax-form input[type="text"],
  .modal-panel .kuzia-ajax-form input[type="tel"],
  .modal-panel .kuzia-ajax-form textarea {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 24px;
  }
  .modal-panel .kuzia-ajax-form textarea {
    resize: vertical;
  }
  .modal-panel .kuzia-ajax-form .kuzia-form-field {
    margin: 8px 0;
  }
  .modal-panel .contact-form {
    margin-top: 8px;
  }
  .modal-panel .contact-form .form-privacy-note {
    margin: 10px 0 12px;
  }
}


/* KUZIA — сторінка «Розвиток». Лише .kz-development, інші сторінки без змін. */
.kz-page.kz-development{--dev-green:#416f58;--dev-dark:#294b3c;--dev-muted:#62766b;--dev-light:#e8f4e9;--dev-lemon:#fff7db;--dev-pink:#f9edf0}
.kz-development,.kz-development *{box-sizing:border-box}
.kz-page.kz-development .kz-dev-hero{padding:44px;border-radius:34px;background:linear-gradient(115deg,#e0f2e5 0%,#f3f7e8 65%,#f8ebef 100%)}
.kz-development .kz-dev-hero-content{min-width:0}
.kz-page.kz-development .kz-dev-hero h2{color:var(--dev-green);font-size:clamp(30px,3.8vw,54px);line-height:1.15;margin:22px 0;overflow-wrap:break-word}
.kz-page.kz-development .kz-dev-hero p{color:var(--dev-dark);font-size:17px;line-height:1.7;margin:0 0 20px}
.kz-development .kz-dev-hero .kz-pill{display:inline-block;max-width:100%;white-space:normal}
.kz-development .kz-dev-hero-photo{min-width:0}
.kz-page.kz-development .kz-dev-photo{width:100%;min-height:270px;aspect-ratio:4/3;border-radius:26px;background:#f1f6ed;border:2px dashed #b4d1bb;display:flex;align-items:center;justify-content:center;text-align:center;padding:20px;overflow:hidden}
.kz-development .kz-dev-photo span{color:#688773;font-size:14px;line-height:1.6}
.kz-development .kz-dev-photo picture{display:block;width:100%;height:100%}
.kz-development .kz-dev-photo img{display:block;width:100%;height:100%;object-fit:cover}
.kz-development .kz-dev-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 48px}
.kz-development .kz-dev-principle{padding:24px 20px;background:#f4f8f1;border-radius:22px}
.kz-development .kz-dev-principle:nth-child(2){background:var(--dev-lemon)}
.kz-development .kz-dev-principle:nth-child(3){background:var(--dev-pink)}
.kz-development .kz-dev-principle strong{display:block;color:var(--dev-green);font-size:19px;margin-bottom:8px}
.kz-page.kz-development .kz-dev-principle p{margin:0;color:var(--dev-muted);font-size:15px;line-height:1.6}
.kz-development .kz-dev-heading{text-align:center;max-width:760px;margin:0 auto 32px}
.kz-development .kz-dev-heading h2{color:var(--dev-green);margin:12px 0}
.kz-development .kz-dev-heading p{color:var(--dev-muted);line-height:1.7}
.kz-development .kz-dev-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.kz-development .kz-dev-card{min-width:0;padding:27px 24px;border-radius:25px;background:#f2f8f2;border:1px solid #e1eee2}
.kz-development .kz-dev-card:nth-child(3n+2){background:#fff9e8;border-color:#f4ecd2}
.kz-development .kz-dev-card:nth-child(3n+3){background:#fcf1f3;border-color:#f4e5e9}
.kz-development .kz-dev-card-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:15px;background:rgba(255,255,255,.8);border-radius:15px;font-size:25px}
.kz-development .kz-dev-card h3{color:var(--dev-green);font-size:21px;line-height:1.3;margin:0 0 12px}
.kz-page.kz-development .kz-dev-card p{color:var(--dev-dark);line-height:1.65;margin:0;font-size:15px}
.kz-development .kz-dev-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:28px;margin:55px 0}
.kz-development .kz-dev-panel{background:#edf6eb;border-radius:28px;padding:34px;min-width:0}
.kz-development .kz-dev-panel h2{color:var(--dev-green);margin:12px 0 18px}
.kz-page.kz-development .kz-dev-panel p{color:var(--dev-dark);line-height:1.75;margin:0 0 12px}
.kz-development .kz-dev-panel p:last-child{margin-bottom:0}
.kz-development .kz-dev-extra{background:#fff8e7;border-radius:30px;padding:34px;margin:45px 0}
.kz-development .kz-dev-extra h2{color:var(--dev-green);margin:0 0 12px}
.kz-development .kz-dev-extra>p{color:var(--dev-muted);margin:0 0 20px}
.kz-development .kz-dev-extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.kz-development .kz-dev-extra-item{background:#fff;border-radius:18px;padding:20px}
.kz-development .kz-dev-extra-item strong{display:block;color:var(--dev-green);margin-bottom:8px}
.kz-development .kz-dev-extra-item p{margin:0;font-size:14px;line-height:1.6;color:var(--dev-muted)}
.kz-development .kz-dev-message{text-align:center;max-width:790px;margin:50px auto;padding:36px 26px;background:#f1f8f0;border-radius:28px}
.kz-development .kz-dev-message h2{color:var(--dev-green);margin:0 0 16px}
.kz-development .kz-dev-message p{color:var(--dev-dark);line-height:1.75;margin:0}
@media (min-width:721px) and (max-width:1000px){.kz-development .kz-dev-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kz-page.kz-development .kz-dev-hero{padding:28px}}
@media (max-width:720px){
 .kz-page.kz-development .kz-dev-hero{padding:22px 18px 26px;border-radius:25px}
 
 .kz-page.kz-development .kz-dev-hero h2{font-size:clamp(28px,8vw,37px);margin:16px 0}
 .kz-page.kz-development .kz-dev-hero p{font-size:16px}
 .kz-page.kz-development .kz-dev-photo{min-height:200px;aspect-ratio:4/3;border-radius:20px}
 .kz-development .kz-dev-principles,.kz-development .kz-dev-grid,.kz-development .kz-dev-extra-grid{grid-template-columns:minmax(0,1fr)}
 .kz-development .kz-dev-principles{gap:12px;margin-bottom:38px}
 .kz-development .kz-dev-principle{padding:19px 20px}
 .kz-development .kz-dev-card{padding:23px 21px}
 .kz-development .kz-dev-split{grid-template-columns:minmax(0,1fr);gap:16px;margin:38px 0}
 .kz-development .kz-dev-panel{padding:25px 21px}
 .kz-development .kz-dev-extra{padding:25px 19px;margin:35px 0}
 .kz-development .kz-dev-message{margin:35px auto;padding:28px 20px}
}

/* KUZIA v1.7.5 — ONE shared inner-page hero layout.
   Supports both existing Development and Food HTML without changing it.
   Grid placement is explicit to avoid WordPress Classic Editor inserting
   an extra grid item between the text and photo. */
.kz-page :is(.kz-hero, .kz-dev-hero):has(> .kz-dev-hero-photo) {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 36px;
  row-gap: 0;
  overflow: hidden;
}
.kz-page :is(.kz-hero, .kz-dev-hero):has(> .kz-dev-hero-photo) > :is(.kz-dev-hero-content, .kz-food-hero-content) {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  align-self: center;
}
.kz-page :is(.kz-hero, .kz-dev-hero) > .kz-dev-hero-photo {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-self: center;
  justify-self: stretch;
  margin: 0;
}
.kz-page .kz-dev-hero-photo > :is(img, picture) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}
.kz-page .kz-dev-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 26px;
}
/* Empty paragraphs inserted by Classic Editor must not create grid rows. */
.kz-page :is(.kz-hero, .kz-dev-hero):has(> .kz-dev-hero-photo) > p:empty,
.kz-page :is(.kz-hero, .kz-dev-hero):has(> .kz-dev-hero-photo) > p:has(> br:only-child),
.kz-page :is(.kz-hero, .kz-dev-hero):has(> .kz-dev-hero-photo) > br { display: none; }

@media (min-width: 721px) and (max-width: 1000px) {
  .kz-page :is(.kz-hero, .kz-dev-hero):has(> .kz-dev-hero-photo) { column-gap: 22px; }
}
@media (max-width: 720px) {
  .kz-page :is(.kz-hero, .kz-dev-hero):has(> .kz-dev-hero-photo) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 22px 18px 26px;
    border-radius: 25px;
  }
  .kz-page :is(.kz-hero, .kz-dev-hero) > .kz-dev-hero-photo { order: -1; width: 100%; }
  .kz-page .kz-dev-hero-photo img { border-radius: 20px; }
  .kz-page :is(.kz-hero, .kz-dev-hero):has(> .kz-dev-hero-photo) h2 {
    font-size: clamp(28px, 8vw, 37px);
  }
}


/* KUZIA v1.7.7 — Contacts: compact Timka-style contact cards.
   Scoped to Contacts only; shared .kz-panel and .kz-split remain unchanged. */
.kz-page.kz-contacts .kzc-contact-area {
  width: 100%;
  max-width: 680px;
  margin: 28px auto 38px;
}
.kz-page.kz-contacts .kzc-contact-address { margin: 0 0 24px; }
.kz-page.kz-contacts .kzc-contact-address h2 { margin: 0 0 6px; font-size: 25px; line-height: 1.3; }
.kz-page.kz-contacts .kzc-contact-address p { margin: 0; }
.kz-page.kz-contacts .kzc-contact-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}
.kz-page.kz-contacts .kzc-contact-grid > .kz-panel {
  display: block;
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  height: 100%;
  margin: 0 !important;
  padding: 22px 25px;
  border: 1px solid #dce9d5;
  border-radius: 20px;
  background: #eef7e8;
  text-align: left;
}
.kz-page.kz-contacts .kzc-contact-grid h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.3;
}
.kz-page.kz-contacts .kzc-card-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 27px; width: 27px; line-height: 1; font-size: 24px; }
.kz-page.kz-contacts .kzc-workday { margin: 0 0 8px; }
.kz-page.kz-contacts .kzc-hours { display: block; margin: 0 0 18px; color: #365f48; font-size: 29px; line-height: 1.3; font-weight: 700; }
.kz-page.kz-contacts .kzc-weekend { margin: 0; padding-top: 12px; border-top: 1px solid #d5e4ca; }
.kz-page.kz-contacts .kzc-phones a { display: block; width: fit-content; margin: 0 0 8px; color: #365f48; font-size: 18px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 2px; }
.kz-page.kz-contacts .kzc-phones a:last-child { margin-bottom: 0; }
.kz-page.kz-contacts .kzc-contact-grid > p:empty,
.kz-page.kz-contacts .kzc-contact-grid > p:has(> br:only-child),
.kz-page.kz-contacts .kzc-contact-grid > br { display: none !important; }
@media (max-width: 720px) {
  .kz-page.kz-contacts .kzc-contact-area { margin: 22px auto 30px; }
  .kz-page.kz-contacts .kzc-contact-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 15px; }
  .kz-page.kz-contacts .kzc-contact-grid > .kz-panel { padding: 22px 20px; }
}


/* KUZIA v1.7.8 — shared CTA alignment and responsive Contacts map */
.kz-page .kz-cta,
.kz-page .kz-cta :is(h2, h3, p) {
  text-align: center;
}
.kz-page .kz-cta :is(h2, h3, p) {
  margin-left: auto;
  margin-right: auto;
}
.kz-page .kz-cta .kz-button {
  margin-left: auto;
  margin-right: auto;
}
.kz-page.kz-contacts .kzc-map-section {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.kz-page.kz-contacts .kzc-map {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #eef7e8;
}
.kz-page.kz-contacts .kzc-map iframe {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 440px !important;
  border: 0;
}
@media (max-width: 720px) {
  .kz-page.kz-contacts .kzc-map iframe {
    height: 330px !important;
  }
}

/* KUZIA — accessible back-to-top control (all pages) */
.kz-back-to-top{
  position:fixed;right:24px;bottom:24px;z-index:80;
  display:flex;align-items:center;justify-content:center;
  width:48px;height:48px;padding:0;
  border:1px solid #cce4d0;border-radius:15px;
  background:#edf7ec;color:#75b65c;
  box-shadow:0 5px 18px rgba(42,79,57,.16);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(12px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease,background-color .2s ease;
}
.kz-back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.kz-back-to-top:hover{background:#e1f1de}
.kz-back-to-top:focus-visible{outline:3px solid #418a68;outline-offset:3px}
.kz-back-to-top svg{display:block;width:27px;height:27px;fill:currentColor}
@media(max-width:720px){.kz-back-to-top{right:15px;bottom:18px;width:44px;height:44px;border-radius:13px}.kz-back-to-top svg{width:25px;height:25px}}
@media(prefers-reduced-motion:reduce){.kz-back-to-top{transition:none;transform:none}}

/* KUZIA — Contacts: admission documents photo inside shared .kz-split.
   Layout columns and mobile stacking are provided by .kz-split. */
.kz-page.kz-contacts .kzc-documents-photo {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
}
.kz-page.kz-contacts .kzc-documents-photo picture,
.kz-page.kz-contacts .kzc-documents-photo img {
  display: block;
  width: 100%;
}
.kz-page.kz-contacts .kzc-documents-photo img {
  height: auto;
  border-radius: 24px;
}
.kz-page.kz-contacts .kzc-documents-text { min-width: 0; }
.kz-page.kz-contacts .kzc-documents-text ol {
  margin: 12px 0 0;
  padding-left: 24px;
  line-height: 1.5;
}
.kz-page.kz-contacts .kzc-documents-text li { margin-bottom: 9px; }

/* Contacts documents: prevent WordPress auto-paragraphs from displacing grid cells.
   Shared .kz-split still defines the grid and its responsive breakpoint. */
.kz-page.kz-contacts .kzc-documents-section .kz-split > .kzc-documents-photo {
  grid-column: 1;
  grid-row: 1;
}
.kz-page.kz-contacts .kzc-documents-section .kz-split > .kzc-documents-text {
  grid-column: 2;
  grid-row: 1;
}
.kz-page.kz-contacts .kzc-documents-section .kz-split > p:empty,
.kz-page.kz-contacts .kzc-documents-section .kz-split > p:has(> br:only-child),
.kz-page.kz-contacts .kzc-documents-section .kz-split > br {
  display: none;
}
@media (max-width: 720px) {
  .kz-page.kz-contacts .kzc-documents-section .kz-split > .kzc-documents-photo {
    grid-column: 1; grid-row: 1;
  }
  .kz-page.kz-contacts .kzc-documents-section .kz-split > .kzc-documents-text {
    grid-column: 1; grid-row: 2;
  }
}

/* KUZIA — footer responsive layout */
@media(max-width:850px) and (min-width:721px){.footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,.75fr) minmax(0,1fr);gap:22px}}
@media(max-width:720px){.site-footer{padding-top:27px}.footer-grid{grid-template-columns:1fr;gap:25px;padding-bottom:27px}.footer-grid h3{margin:0 0 12px;font-size:18px}.footer-about{display:grid;justify-items:start}.footer-license{margin-top:12px!important}.social-links{margin-top:12px}.footer-navigation{padding-top:20px;border-top:1px solid #c8dfcc}.footer-nav{grid-template-columns:minmax(0,1fr);row-gap:10px}.footer-contact{padding-top:20px;border-top:1px solid #c8dfcc}.footer-contact-line{margin-bottom:12px}.footer-callback{width:100%;max-width:340px}.footer-bottom{flex-direction:column;align-items:flex-start;gap:6px;padding:16px 0}.footer-wave-mobile{display:block;top:-71px;height:72px}}
@media(prefers-reduced-motion:reduce){.social-links a{transition:none}}

/* KUZIA footer icon sizing safety: native SVG dimensions + scoped CSS. */
.site-footer .footer-contact-line > svg.footer-icon{display:block;width:20px;height:20px;min-width:20px;max-width:20px;max-height:20px;flex:0 0 20px}
.site-footer .footer-phone-numbers{display:grid;gap:5px;min-width:0}
.site-footer .footer-phone-numbers a{display:block;white-space:nowrap;line-height:1.45}

/* KUZIA — social icons. One shared mobile geometry for header and footer. */
.site-header .contact-icon,
.site-footer .footer-icon,
.kz-social-link { color:#31533e; }
.kz-social-links { display:flex; align-items:center; justify-content:flex-start; gap:18px; flex:0 0 auto; white-space:nowrap; }
.kz-social-link { display:inline-flex; align-items:center; justify-content:center; flex:0 0 33px; width:33px; height:33px; padding:0; border:0; border-radius:50%; background:transparent; color:#31533e; text-decoration:none; transition:color .15s ease,transform .15s ease; }
.kz-social-link > svg.kz-social-icon { display:block; flex:none; width:27px; height:27px; max-width:27px; max-height:27px; }
.kz-social-link[href]:hover { color:#31533e; transform:translateY(-1px); }
.kz-social-link[href]:focus-visible { outline:2px solid #31533e; outline-offset:3px; }
.kz-social-pending { cursor:default; opacity:.72; }
.header-inner > .kz-social-links { margin-right:auto; }
.kz-footer-brand-row { display:flex; align-items:center; justify-content:flex-start; gap:25px; min-width:0; }
.kz-footer-brand-row .footer-brand { flex:0 0 auto; }
.kz-footer-brand-row .kz-social-links { gap:20px; }

@media (max-width:720px) {
  /* Shared dimensions: both logo/icon groups use the same spacing. */
  :root { --kz-mobile-logo-width:100px; --kz-mobile-brand-gap:18px; --kz-mobile-icon-size:20px; --kz-mobile-icon-hit:24px; --kz-mobile-icons-gap:12px; }
  .header-inner { gap:0; }
  .header-inner > .brand,
  .kz-footer-brand-row > .footer-brand { flex:0 0 var(--kz-mobile-logo-width); width:var(--kz-mobile-logo-width); min-width:0; }
  .header-inner .brand-logo,
  .kz-footer-brand-row .footer-logo { display:block; width:var(--kz-mobile-logo-width); height:auto; max-height:none; }
  .header-inner > .kz-social-links,
  .kz-footer-brand-row > .kz-social-links { gap:var(--kz-mobile-icons-gap); margin:0; transform:none; }
  .header-inner > .kz-social-links .kz-social-link,
  .kz-footer-brand-row .kz-social-link { flex:0 0 var(--kz-mobile-icon-hit); width:var(--kz-mobile-icon-hit); height:var(--kz-mobile-icon-hit); }
  .header-inner > .kz-social-links .kz-social-icon,
  .kz-footer-brand-row .kz-social-icon { width:var(--kz-mobile-icon-size); height:var(--kz-mobile-icon-size); max-width:var(--kz-mobile-icon-size); max-height:var(--kz-mobile-icon-size); }
  .header-inner > .kz-social-links { margin-left:var(--kz-mobile-brand-gap); align-self:center; transform:translateY(-8px); }
  .header-inner > .menu-toggle { flex:0 0 44px; margin-left:auto; }
  .kz-footer-brand-row { gap:var(--kz-mobile-brand-gap); }
}
@media (max-width:390px) {
  :root { --kz-mobile-logo-width:94px; --kz-mobile-brand-gap:15px; --kz-mobile-icons-gap:10px; }
}
@media (prefers-reduced-motion:reduce) { .kz-social-link { transition:none; } }

/* KUZIA — About page. Scoped layout; styles live in the theme, not WordPress editor. */
.kz-page.kz-about{--about-green:var(--kz-heading,#416f58);--about-soft:#f2f8ef;--about-pink:#fff0f2;color:var(--about-green);width:100%;min-width:0}
.kz-about .kz-about-wrap{width:100%;max-width:1140px;margin-inline:auto;padding-inline:clamp(16px,2.5vw,28px)}
.kz-about .kz-about-hero,.kz-about .kz-about-split{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,55px)}
.kz-about .kz-about-hero{padding-block:32px 48px}
.kz-about .kz-about-section{padding-block:48px}
.kz-about .kz-about-soft{background:var(--about-soft)}
.kz-about .kz-about-pink{background:var(--about-pink)}
.kz-about .kz-about-split.reverse{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)}
.kz-about .kz-about-split.reverse>.kz-about-visual{order:-1}
.kz-about :is(.kz-about-hero,.kz-about-split)>div{min-width:0}
.kz-about h1,.kz-about h2,.kz-about h3{color:var(--about-green)}
.kz-about h1{font-size:clamp(30px,4vw,49px);line-height:1.17;margin:14px 0 20px}
.kz-about h2{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:0 0 19px}
.kz-about p{line-height:1.7;margin:0 0 15px}
.kz-about .kz-about-lead{font-size:clamp(18px,1.8vw,21px);font-weight:600;color:#3b5948}
.kz-about .kz-about-kicker{display:inline-block;color:#567d57;font-weight:800;letter-spacing:.07em;text-transform:uppercase;font-size:13px;margin-bottom:12px}
.kz-about .kz-about-photo,.kz-about .kz-about-video{width:100%;min-height:260px;aspect-ratio:4/3;border-radius:26px;overflow:hidden;background:linear-gradient(130deg,#e5f2e6,#fff5df,#fce8ed);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;color:#567b66;border:2px dashed #bdd7c4;font-weight:600}
.kz-about .kz-about-photo img,.kz-about .kz-about-video iframe{display:block;width:100%;height:100%;object-fit:cover;border:0}
.kz-about .kz-about-video small{display:block;margin-top:12px;font-size:13px;font-weight:400}
.kz-about .kz-about-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
.kz-about .kz-about-stat{min-width:0;padding:16px 12px;border-radius:17px;background:#fff;box-shadow:0 4px 20px #31533e0b;text-align:center}
.kz-about .kz-about-stat:nth-child(2){background:#fff7e7}
.kz-about .kz-about-stat:nth-child(3){background:#fff0f2}
.kz-about .kz-about-stat strong{display:block;color:var(--about-green);font-size:clamp(23px,2.4vw,32px);line-height:1.2}
.kz-about .kz-about-stat span{display:block;font-size:clamp(12px,1.2vw,15px);line-height:1.4;margin-top:5px;color:#536b5b}
.kz-about .kz-about-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:25px}
.kz-about .kz-about-card{min-width:0;background:#f1f7ef;border-radius:22px;padding:clamp(19px,2.2vw,26px);box-shadow:0 5px 22px #31533e0b}
.kz-about .kz-about-card:nth-child(2){background:#fff5dd}
.kz-about .kz-about-card:nth-child(3){background:#fcecf1}
.kz-about .kz-about-card h3{font-size:clamp(19px,1.8vw,23px);margin:0 0 11px}
.kz-about .kz-about-card p{margin:0;font-size:15px}
.kz-about .kz-about-quote{font-size:clamp(19px,2vw,25px);font-weight:600;line-height:1.5;color:var(--about-green);border-left:4px solid #a7c6a1;padding-left:20px;margin:22px 0}
.kz-about .kz-about-cta{text-align:center;padding-block:52px 58px}
.kz-about .kz-about-cta p{max-width:680px;margin:0 auto 24px;text-align:center}
.kz-page.kz-about .kz-about-cta .kz-button{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;border:0;cursor:pointer}
/* Classic editor can inject empty paragraphs between block elements. */
.kz-about :is(.kz-about-hero,.kz-about-split,.kz-about-stats,.kz-about-cards)>p:empty,
.kz-about :is(.kz-about-hero,.kz-about-split,.kz-about-stats,.kz-about-cards)>p:has(>br:only-child),
.kz-about :is(.kz-about-hero,.kz-about-split,.kz-about-stats,.kz-about-cards)>br{display:none!important}
@media(max-width:760px){
 .kz-about .kz-about-hero,.kz-about .kz-about-split,.kz-about .kz-about-split.reverse{grid-template-columns:minmax(0,1fr);gap:22px}
 .kz-about .kz-about-hero{padding-block:20px 22px}
 .kz-about .kz-about-section{padding-block:16px}
 .kz-about .kz-about-split.reverse>.kz-about-visual{order:0}
 .kz-about .kz-about-cards{grid-template-columns:minmax(0,1fr);gap:14px}
 .kz-about .kz-about-photo,.kz-about .kz-about-video{min-height:210px}
 .kz-about .kz-about-wrap{padding-inline:12px}
 .kz-about .kz-about-stats{gap:8px}
 .kz-about .kz-about-stat{padding:13px 7px}
 .kz-about .kz-about-stat span{font-size:12px}
 .kz-about .kz-about-cta{padding-block:36px 44px}
 .kz-page.kz-about .kz-about-cta .kz-button{width:100%}
}

/* Kuzia: reviews carousel, scoped to the homepage block */
.kuzia-reviews{padding:40px 0 44px;background:#f0f7e9}
.kuzia-reviews .section-heading{margin-bottom:16px}
.kuzia-reviews .section-heading h2{margin:8px 0 10px}
.kuzia-reviews-controls{display:flex;justify-content:flex-end;gap:10px;margin:0 0 12px}
.kuzia-reviews-arrow{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d9e7dc;border-radius:50%;background:#fff;color:#416f58;font-size:29px;line-height:1}
.kuzia-reviews-arrow:disabled{opacity:.35;cursor:default}
.kuzia-reviews-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:2px;overscroll-behavior-inline:contain;padding:2px 2px 14px;scrollbar-width:none}
.kuzia-reviews-track::-webkit-scrollbar{display:none}
.kuzia-review-card{box-sizing:border-box;flex:0 0 calc((100% - 40px)/3);min-width:0;min-height:260px;scroll-snap-align:start;background:#fff;border-radius:24px;padding:26px 27px;display:flex;flex-direction:column;box-shadow:0 7px 18px rgba(40,76,54,.05)}
.kuzia-review-rating{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.kuzia-review-stars{color:#f2b544;letter-spacing:2px;font-size:22px;line-height:1}
.kuzia-google-g{font-family:Arial,sans-serif;font-size:29px;font-weight:800;line-height:1;background:conic-gradient(#4285f4 0 27%,#34a853 27% 43%,#fbbc05 43% 59%,#ea4335 59% 77%,#4285f4 77% 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.kuzia-review-card .kuzia-review-text{font-size:15px;line-height:1.65;color:#4b6154;margin:0 0 18px;white-space:normal;overflow-wrap:anywhere;text-align:left}
.kuzia-review-author{margin-top:auto;color:#607967;font-weight:700;font-size:14px}
.kuzia-review-card.is-placeholder{align-items:center;justify-content:center;text-align:center;background:#fffefa;border:1px dashed #cbdccb;box-shadow:none}
.kuzia-review-placeholder-icon{font-size:43px;color:#e8b758;line-height:1}
.kuzia-review-card .kuzia-review-placeholder-text{font-size:17px;font-weight:700;color:#557461;margin:14px 0 7px;text-align:center}
.kuzia-review-card.is-placeholder small{font-size:12px;color:#839588;line-height:1.5}
.kuzia-review-more{align-items:flex-start;justify-content:center;background:linear-gradient(135deg,#e4f2e4,#fff5e4)}
.kuzia-review-more-icon{color:#e9b54d;font-size:21px;letter-spacing:2px}
.kuzia-review-more h3{font-size:23px;line-height:1.25;margin:13px 0 8px;color:#355f49}
.kuzia-review-more p{margin:0 0 19px;color:#5d7464;font-size:15px;line-height:1.55}
.kuzia-review-google-link{display:inline-flex;align-items:center;gap:8px;border-radius:24px;padding:11px 17px;background:#fff;color:#336e51;font-size:14px;font-weight:700;text-decoration:none}
.kuzia-review-google-link:hover{text-decoration:underline}
@media(max-width:900px){.kuzia-review-card{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:720px){
 .kuzia-reviews{padding:26px 0 30px}
 .kuzia-reviews .section-heading{margin-bottom:10px}
 .kuzia-reviews .section-heading h2{font-size:clamp(27px,7vw,35px)}
 .kuzia-reviews-controls{margin-bottom:10px}
 .kuzia-reviews-track{gap:12px;scroll-padding:0}
 .kuzia-review-card{flex:0 0 100%;min-height:245px;padding:24px 22px}
}


/* KUZIA Blog — styles scoped to the blog page only. */
.kz-blog-page{--blog-ink:#242b27;--blog-green:#416f58;color:var(--blog-ink);background:#fffefa;padding-bottom:76px}
.kz-blog-page *{box-sizing:border-box}
.kz-blog-hero{background:linear-gradient(112deg,#e8f4e8 0%,#fff7e7 58%,#fcebf0 100%);padding:64px 0 60px;text-align:center}
.kz-blog-hero-inner{max-width:860px}
.kz-blog-eyebrow{margin:0 0 12px;color:#4e8566;font-size:13px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.kz-blog-hero h1{margin:0 0 15px;color:var(--blog-green);font-size:clamp(35px,4.5vw,55px);line-height:1.15;letter-spacing:-.035em}
.kz-blog-hero p:last-child{margin:0 auto;max-width:700px;color:#46554b;font-size:clamp(16px,1.7vw,19px);line-height:1.6}
.kz-blog-content{padding-top:34px}
.kz-blog-topics{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0 0 38px}
.kz-blog-topics a{display:inline-flex;padding:9px 16px;border-radius:30px;background:#edf6ec;color:#315c45;font-size:14px;font-weight:700;text-decoration:none;transition:background .2s}
.kz-blog-topics a:hover{background:#d7ecd9}
.kz-blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;align-items:start}
.kz-blog-card{min-width:0;border-radius:28px;padding:31px 32px 27px;border:1px solid #e9eee7;box-shadow:0 8px 28px #30473c0b;scroll-margin-top:135px}
.kz-blog-tone-mint{background:#edf7ef}.kz-blog-tone-cream{background:#fff7e7}.kz-blog-tone-pink{background:#fff0f3}.kz-blog-tone-lavender{background:#f4f1f9}
.kz-blog-card-top{margin-bottom:21px}.kz-blog-flower{display:inline-block;color:#ee9daf;font-size:30px;line-height:1;margin-bottom:10px}
.kz-blog-card h2{margin:0 0 8px;color:#315b45;font-size:clamp(25px,2.5vw,32px);line-height:1.2}
.kz-blog-card-top p{margin:0;color:#4c5c51;font-size:15px;line-height:1.55}
.kz-blog-links{list-style:none;margin:0;padding:0;display:grid;gap:0}
.kz-blog-links li{border-bottom:1px solid #435e481e}
.kz-blog-links a{display:block;padding:12px 0;color:var(--blog-ink);font-size:16px;font-weight:600;line-height:1.45;text-decoration:none;overflow-wrap:anywhere}
.kz-blog-links a:hover{color:#26734f;text-decoration:underline;text-underline-offset:3px}
.kz-blog-more{margin-top:19px}.kz-blog-more summary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 15px;border:1px solid #b9d5be;border-radius:25px;background:#fff;color:#315c45;font-size:15px;font-weight:800;cursor:pointer;list-style:none;text-align:center}
.kz-blog-more summary::-webkit-details-marker{display:none}.kz-blog-more summary:hover{background:#f8fcf8}.kz-blog-more summary:focus-visible,.kz-blog-page a:focus-visible{outline:3px solid #f16f8a;outline-offset:3px}
.kz-blog-chevron{font-size:23px;line-height:1;transition:transform .2s}.kz-blog-more[open] .kz-blog-chevron{transform:rotate(180deg)}
.kz-blog-more-close{display:none}.kz-blog-more[open] .kz-blog-more-open{display:none}.kz-blog-more[open] .kz-blog-more-close{display:inline}
.kz-blog-extra{margin-top:13px}.kz-blog-empty{margin:0;padding:15px 0;color:#4c5c51;font-size:16px}
@media(max-width:760px){.kz-blog-hero{padding:43px 0 40px}.kz-blog-content{padding-top:25px}.kz-blog-topics{justify-content:flex-start;gap:8px;margin-bottom:25px}.kz-blog-topics a{font-size:13px;padding:8px 12px}.kz-blog-grid{grid-template-columns:1fr;gap:19px}.kz-blog-card{padding:24px 21px;border-radius:23px;scroll-margin-top:115px}.kz-blog-card h2{font-size:27px}.kz-blog-links a{font-size:16px;padding:11px 0}.kz-blog-page{padding-bottom:48px}}
@media(prefers-reduced-motion:reduce){.kz-blog-page *{transition:none!important}}


/* Kuzia Blog: individual articles */
.kz-article{background:#fffefa;color:#252b27;padding:46px 0 80px}
.kz-article-inner{max-width:800px}
.kz-article-back{display:inline-block;margin-bottom:24px;color:#416f58;font-weight:700;text-decoration:none}
.kz-article-back:hover{text-decoration:underline}
.kz-article-title{font-size:clamp(32px,4.5vw,52px);line-height:1.17;color:#355e49;margin:0 0 15px}
.kz-article-meta{font-size:14px;color:#637267;margin-bottom:25px}
.kz-article-cover{width:100%;height:auto;border-radius:24px;margin:0 0 28px}
.kz-article-body{font-size:18px;line-height:1.8;color:#242b27;overflow-wrap:anywhere}
.kz-article-body p,.kz-article-body li{color:#242b27}
.kz-article-body h2,.kz-article-body h3{color:#355e49;line-height:1.3;margin-top:1.6em}
.kz-article-body a{color:#26734f;text-decoration:underline}
.kz-article-body img{border-radius:16px;height:auto}
@media(max-width:720px){.kz-article{padding:30px 0 50px}.kz-article-body{font-size:16px}}

/* KUZIA — About page: square full-bleed photographs, desktop and mobile */
@media (min-width:761px){
 .kz-about .kz-about-wrap{max-width:1240px;}
 .kz-about .kz-about-hero,.kz-about .kz-about-split,.kz-about .kz-about-split.reverse{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(22px,3vw,42px);}
 .kz-about .kz-about-split.reverse>.kz-about-visual{order:-1;}
}
.kz-about .kz-about-photo{position:relative;display:block;aspect-ratio:1/1;min-height:0;padding:0;border:0;overflow:hidden;border-radius:26px;}
.kz-about .kz-about-photo>img{display:block;width:100%!important;height:100%!important;max-width:none;object-fit:cover;object-position:center center;border-radius:0!important;position:absolute;inset:0;}
@media (max-width:760px){
 .kz-about .kz-about-wrap{padding-inline:6px;}
 .kz-about .kz-about-photo{width:100%;border-radius:18px;}
}


/* KUZIA 2026-11-12: About mobile image immediately below heading */
.kz-about .kz-about-more{margin:8px 0 15px}
.kz-about .kz-about-more summary{display:none}
.kz-about .kz-about-more-body p{margin-top:0}
.kz-about .kz-about-teaser{margin-bottom:10px}
@media(max-width:760px){
 .kz-about .kz-about-hero,.kz-about .kz-about-split,.kz-about .kz-about-split.reverse{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:0}
 .kz-about :is(.kz-about-hero,.kz-about-split)>div:first-child:not(.kz-about-visual){display:contents}
 .kz-about :is(.kz-about-hero,.kz-about-split)>.kz-about-visual{order:3;width:100%;margin:10px 0 18px}
 .kz-about :is(.kz-about-hero,.kz-about-split) .kz-pill,
 .kz-about :is(.kz-about-hero,.kz-about-split) .kz-about-kicker{order:1;justify-self:start}
 .kz-about :is(.kz-about-hero,.kz-about-split) h1,
 .kz-about :is(.kz-about-hero,.kz-about-split) h2{order:2;margin-bottom:6px}
 .kz-about :is(.kz-about-hero,.kz-about-split) .kz-about-teaser{order:4;margin:0 0 6px}
 .kz-about :is(.kz-about-hero,.kz-about-split) .kz-about-more{order:5;margin:0 0 15px}
 .kz-about :is(.kz-about-hero,.kz-about-split) .kz-about-stats,
 .kz-about :is(.kz-about-hero,.kz-about-split) .kz-about-quote,
 .kz-about :is(.kz-about-hero,.kz-about-split) .kz-button{order:6}
 .kz-about .kz-about-more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;color:#377b59;font-weight:800;font-size:15px;padding:9px 0;min-height:42px}
 .kz-about .kz-about-more summary::-webkit-details-marker{display:none}
 .kz-about .kz-about-more summary::after{content:'+';font-size:23px;line-height:1;color:#ed7591}
 .kz-about .kz-about-more[open] summary::after{content:'−'}
 .kz-about .kz-about-more[open] summary{font-size:0}
 .kz-about .kz-about-more[open] summary::before{content:'Згорнути';font-size:15px}
 .kz-about .kz-about-more-body{padding-top:3px;animation:kzAboutReveal .22s ease-out}
 .kz-about .kz-about-more-body p{margin:0 0 12px}
 .kz-about .kz-about-photo{width:100%;aspect-ratio:1/1}
 .kz-about .kz-about-more summary:focus-visible{outline:3px solid #ed7591;outline-offset:3px}
}
@keyframes kzAboutReveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.kz-about .kz-about-more-body{animation:none}}
/* Menu remains visible after navigation click until browser actually changes page */
@media(max-width:1100px){.site-nav.kz-nav-loading{display:block!important}}

@media(min-width:761px){.kz-about .kz-about-more:not([open])>.kz-about-more-body{display:block!important}}
@media(max-width:760px){.kz-about .kz-about-more:not([open])>.kz-about-more-body{display:none!important}}

/* KUZIA — About: final mobile order (title -> photo/video -> description).
   Override the older reverse-layout order:0 rule explicitly. */
@media (max-width:760px){
 .kz-page.kz-about .kz-about-hero>.kz-about-visual,
 .kz-page.kz-about .kz-about-split>.kz-about-visual,
 .kz-page.kz-about .kz-about-split.reverse>.kz-about-visual{
   order:3!important;grid-column:1;grid-row:auto;
 }
 .kz-page.kz-about :is(.kz-about-hero,.kz-about-split)>div:first-child:not(.kz-about-visual){display:contents!important}
 .kz-page.kz-about :is(.kz-about-hero,.kz-about-split) :is(.kz-pill,.kz-about-kicker){order:1}
 .kz-page.kz-about :is(.kz-about-hero,.kz-about-split) :is(h1,h2){order:2}
 .kz-page.kz-about :is(.kz-about-hero,.kz-about-split) .kz-about-teaser{order:4}
 .kz-page.kz-about :is(.kz-about-hero,.kz-about-split) .kz-about-more{order:5}
 .kz-page.kz-about :is(.kz-about-hero,.kz-about-split) :is(.kz-about-stats,.kz-about-quote,.kz-button){order:6}
 .kz-page.kz-about .kz-about-stat{padding:16px 5px}
 .kz-page.kz-about .kz-about-stat span{font-size:clamp(14px,3.65vw,17px);font-weight:800;line-height:1.28;overflow-wrap:normal;hyphens:none}
 .kz-page.kz-about .kz-about-stat strong{font-size:clamp(26px,7vw,34px);font-weight:850}
}


/* KUZIA v1.7.7 — pricing page: six cards in a responsive 3/2/1 grid.
   Overrides older shared flex !important rules only on the pricing page. */
@media (min-width: 901px) {
  .kz-page.kz-pricing .kz-cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .kz-page.kz-pricing .kz-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}
@media (max-width: 600px) {
  .kz-page.kz-pricing .kz-cards {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
}
.kz-page.kz-pricing .kz-cards {
  flex-flow: initial !important;
  align-items: stretch !important;
}
.kz-page.kz-pricing .kz-cards > .kz-card {
  display: block !important;
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
}
.kz-page.kz-pricing .kz-card h3 {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Kuzia gallery — smooth half-second photo change and accessible lightbox */
.gallery-grid .gallery-item.kz-gallery-enter{animation:kzGalleryFade .5s ease both;}
@keyframes kzGalleryFade{from{opacity:.15;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.gallery-section .gallery-arrow:disabled{opacity:.35;cursor:default;transform:none;}
.gallery-section .gallery-grid{touch-action:pan-y;}
.gallery-section .gallery-item a:focus-visible{outline:3px solid #418a68;outline-offset:-4px;}
.kz-gallery-lightbox[hidden]{display:none!important;}
.kz-gallery-lightbox{position:fixed;inset:0;z-index:10000;background:rgba(12,24,18,.93);display:flex;align-items:center;justify-content:center;padding:60px 20px 25px;}
.kz-gallery-lightbox img{max-width:100%;max-height:calc(100dvh - 90px);width:auto;height:auto;object-fit:contain;border-radius:12px;}
.kz-gallery-lightbox-close{position:absolute;top:12px;right:18px;width:48px;height:48px;border:0;border-radius:50%;background:#fff;color:#274a37;font-size:36px;line-height:1;cursor:pointer;}
body.kz-gallery-lightbox-open{overflow:hidden;}
@media(prefers-reduced-motion:reduce){.gallery-grid .gallery-item.kz-gallery-enter{animation:none;}}

/* KUZIA — six homepage benefit images: fill their entire photo area */
.benefits .benefit-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.benefits .benefit-photo > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* KUZIA — About page: complete descriptions on desktop only. Mobile unchanged. */
.kz-about .kz-about-desktop-text{display:none;}
@media (min-width:761px){
 .kz-about .kz-about-more{display:none!important;}
 .kz-about .kz-about-desktop-text{display:block;margin:8px 0 15px;}
 .kz-about .kz-about-desktop-text p{margin:0 0 12px;}
}

/* KUZIA — About / founder interview: portrait YouTube player (9:16).
   Scoped to this one embed; photographs and other video blocks are untouched. */
.kz-page.kz-about .kz-about-video-embed {
  position: relative;
  display: block;
  width: min(100%, 360px);
  min-height: 0;
  height: auto;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #111;
  box-shadow: 0 12px 34px rgba(37, 66, 49, .13);
}
.kz-page.kz-about .kz-about-video-embed > iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: initial;
  transform: none;
}
@media (max-width: 760px) {
  .kz-page.kz-about .kz-about-video-embed {
    width: 100%;
    max-width: none;
    border-radius: 18px;
  }
}

/* KUZIA — homepage mobile: balanced spacing around the licence introduction.
   Only the three adjacent homepage sections are affected. */
@media (max-width: 720px) {
  .home .benefits.section-tight { padding-bottom: 22px; }
  .home .about-intro.section-mini { padding-top: 20px; padding-bottom: 22px; }
  .home .about-intro + .classes-section.section { padding-top: 28px; }
}

/* KUZIA reviews: Timka-inspired layout; intentionally scoped to home reviews */
.kuzia-reviews .kuzia-reviews-slider{position:relative;padding:0 44px;max-width:1240px;margin:0 auto}
.kuzia-reviews .kuzia-reviews-track{gap:18px;padding:4px 2px 8px;scroll-snap-type:x mandatory;scroll-behavior:smooth}
.kuzia-reviews .kuzia-review-card{flex:0 0 calc((100% - 36px)/3);height:360px;min-height:0;padding:24px 23px;border-radius:24px;overflow:hidden}
.kuzia-reviews .kuzia-reviews-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:38px;height:38px;background:#fff;border:1px solid #d1e3ce;box-shadow:0 2px 7px #30533b0d;color:#6a9a70;font-size:28px}
.kuzia-reviews .kuzia-reviews-prev{left:0}
.kuzia-reviews .kuzia-reviews-next{right:0}
.kuzia-reviews .kuzia-review-rating{flex:0 0 auto;margin-bottom:20px}
.kuzia-reviews .kuzia-review-content{min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin}
.kuzia-reviews .kuzia-review-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;line-clamp:6;overflow:hidden;font-size:16px;line-height:1.65;color:#252d28;margin:0 0 8px}
.kuzia-reviews .kuzia-review-content.is-expanded .kuzia-review-text{display:block;overflow:visible}
.kuzia-reviews .kuzia-review-expand{display:inline-block;border:0;background:transparent;padding:3px 0;text-align:left;color:#28382e;text-decoration:underline;text-underline-offset:4px;font-size:14px}
.kuzia-reviews .kuzia-review-expand[hidden]{display:none}
.kuzia-reviews .kuzia-review-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #e8ede6;padding-top:12px;margin-top:12px;min-height:32px}
.kuzia-reviews .kuzia-review-author{margin:0;font-size:14px;color:#6b956f;overflow-wrap:anywhere}
.kuzia-reviews .kuzia-review-weeks{font-size:12px;color:#779579;white-space:nowrap}
.kuzia-reviews .kuzia-review-more{background:#fff;align-items:stretch;justify-content:flex-start}
.kuzia-reviews .kuzia-review-more-inner{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:24px;transform:translateY(-8%);flex:1}
.kuzia-reviews .kuzia-review-more h3{margin:0;font-size:21px;line-height:1.4;color:#68966b;font-weight:500}
.kuzia-reviews .kuzia-review-google-link{display:flex;align-items:center;justify-content:center;width:100%;padding:18px 15px;border-radius:22px;background:#e4f2d9;color:#537f57;font-size:16px;line-height:1.5;text-align:center;font-weight:500}
@media(max-width:900px){.kuzia-reviews .kuzia-review-card{flex-basis:calc((100% - 18px)/2)}}
@media(max-width:720px){
 .kuzia-reviews .kuzia-reviews-slider{padding:0 37px;max-width:500px}
 .kuzia-reviews .kuzia-reviews-track{gap:12px;padding:4px 2px 8px}
 .kuzia-reviews .kuzia-review-card{flex-basis:100%;height:370px;min-height:0;padding:23px 21px;border-radius:23px}
 .kuzia-reviews .kuzia-review-text{font-size:16px;-webkit-line-clamp:7;line-clamp:7}
 .kuzia-reviews .kuzia-reviews-arrow{width:34px;height:34px}
 .kuzia-reviews .kuzia-review-more-inner{transform:translateY(-10%)}
}
@media(max-width:390px){.kuzia-reviews .kuzia-reviews-slider{padding:0 30px}.kuzia-reviews .kuzia-review-card{padding:20px 17px}}
