/*
Theme Name: KO — Jane Riikjärv
Theme URI: https://janeriikjarv.ee
Author: KO YA OÜ
Description: KO teema. Avaleht = sisearhitekti konsultatsioon koos broneerimisega, projektid (CPT) ja galerii paigutussüsteem, SEO/struktureeritud andmed.
Version: 1.6.0
Requires PHP: 7.4
Text Domain: ko
*/

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden;overflow-y:scroll}
:root{--bg:#FFFFFF;--ink:#1A1A1A;--soft:#2A2A2A;--mut:#9a9a9a;--line:#ececec;--pad:64px}
body{background:var(--bg);color:var(--ink);font-family:'Inter',-apple-system,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.55;text-rendering:optimizeLegibility;font-feature-settings:'kern' 1,'liga' 1,'calt' 1;overflow-x:hidden;width:100%}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
.lock{display:inline-flex;align-items:center;gap:19px;width:360px;flex:0 0 360px}
.lock .km{display:inline-flex}.lock .km svg{height:52px;width:auto;color:var(--ink)}
.lock .dv{width:2px;height:51px;background:var(--ink);opacity:1}
.lock .jr{font-size:20px;font-weight:300;letter-spacing:.01em;color:var(--ink)}
.topbar{position:fixed;top:0;left:0;right:0;height:1.5px;z-index:200;background:var(--bg)}
#ind{position:absolute;top:0;height:1.5px;background:var(--ink);transition:left .4s cubic-bezier(.16,.84,.34,1),width .4s cubic-bezier(.16,.84,.34,1)}
.hd{position:sticky;top:5px;z-index:100;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);display:flex;align-items:center;padding:48px var(--pad) 22px;gap:0}
.nav{display:flex;gap:46px;position:relative;align-items:center}
.nav a{font-size:13.6px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);position:relative;padding:8px 0;transition:color .35s ease;cursor:pointer}
.social{display:flex;gap:16px;margin-left:18px;padding-left:22px;border-left:1px solid var(--line)}
.social a{display:inline-flex;color:var(--ink)}
.social svg{width:17px;height:17px;fill:currentColor}
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:26px;height:26px;background:none;border:none;cursor:pointer;padding:0;margin-left:auto}
.burger span{display:block;height:1.5px;width:100%;background:var(--ink);transition:transform .3s ease,opacity .3s ease}
.burger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}
/* NB: ainult <main> — WordPress paneb lehtedel ka <body> sildile klassi "page" (see nihutas päist 64px) */
main.page{min-height:60vh;padding:0 var(--pad) 40px;animation:fade .7s cubic-bezier(.16,.84,.34,1) both}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.prow{display:grid;grid-template-columns:300px 1fr;gap:60px;padding-top:40px;align-items:start;min-height:calc(100vh - 120px)}
.prow .t{align-self:center;height:72vh;max-height:760px;display:flex;flex-direction:column;justify-content:center}
.prow .t h2{font-size:12.3px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;line-height:1.3;color:var(--ink)}
.prow .t .loc{margin-top:7px;font-size:11.4px;color:var(--ink);letter-spacing:.08em;text-transform:uppercase}
.prow figure{overflow:hidden;cursor:pointer;background:#f2f2f2}
.prow figure img{width:100%;height:72vh;max-height:760px;object-fit:cover;filter:grayscale(.05);transition:transform 1.5s cubic-bezier(.16,.84,.34,1)}
.prow figure:hover img{transform:scale(1.03)}
.lead{display:grid;grid-template-columns:240px 1fr;gap:70px;padding-top:40px;align-items:start}
.body{max-width:680px}
.body h1{font-size:14.2px;font-weight:600;line-height:1.5;letter-spacing:0;margin-bottom:20px;color:var(--ink)}
.body .first{font-size:12.8px;color:var(--soft);font-weight:400;line-height:1.75;margin:0 0 16px 0}
.body p{font-size:12.8px;color:var(--soft);margin-bottom:16px;line-height:1.75}
.body h3{font-size:12.8px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--ink);margin:38px 0 8px}
.body h3 a{color:inherit;text-decoration:none}
.body h3 a:hover{text-decoration:underline}
.body .sub{font-size:12.8px;font-weight:600;margin-bottom:12px;line-height:1.55;color:var(--ink)}
.body a.more{color:var(--ink);border-bottom:1px solid var(--mut);font-size:12.3px;padding-bottom:2px;transition:border-color .3s}
.about{display:grid;grid-template-columns:520px 1fr;gap:72px;padding-top:40px;align-items:start}
.about figure{overflow:hidden;background:#f2f2f2;margin:7px 0 0 0;width:100%;max-width:520px}
.about figure img{width:100%!important;height:auto!important;aspect-ratio:3/4;object-fit:cover;max-width:100%}
.about .txt .first{font-size:12.8px;color:var(--soft);font-weight:400;letter-spacing:0;line-height:1.8;margin:0 0 16px 0}
.about .txt p{font-size:12.8px;color:var(--soft);margin-bottom:16px;line-height:1.8}
.contact{display:grid;grid-template-columns:240px 1fr;gap:70px;padding-top:70px}
.contact .block{font-size:12.8px;line-height:1.9;letter-spacing:.01em}
.contact .block .nm{font-weight:600;margin-bottom:2px}
.contact .block .g{color:var(--soft)}
.contact .block + .block{margin-top:26px}
/* DETAIL */
.detail{padding:24px var(--pad) 70px;animation:fade .6s ease both}
.back{font-size:11.4px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);cursor:pointer;display:inline-flex;gap:8px;margin-bottom:28px}
.dhero{width:100%;margin-bottom:40px}
.dhero img{width:100%;max-height:80vh;object-fit:cover;background:#f2f2f2}
.dbody{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start;margin-bottom:50px}
.dbody .info h1,.dbody .info h2{font-size:12.3px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);margin-bottom:5px}
.dbody .info .loc{font-size:11.4px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);margin-bottom:22px}
.dbody .info p{font-size:13.4px;color:var(--soft);line-height:1.8;margin-bottom:14px}
.dbody .info .credits{margin-top:22px;font-size:11.4px;color:var(--soft);line-height:1.95}
.dbody .info h2.vahe{margin:32px 0 12px}
.dbody .sideimg img{width:100%;object-fit:cover;background:#f2f2f2}
.sideimg img+img{margin-top:24px}
.gal2{display:block}
.grow{display:flex;flex-direction:row;gap:24px;width:100%;margin-bottom:24px}
.grow img{background:#f2f2f2;cursor:zoom-in}
.gcols{display:flex;flex-direction:row;gap:24px;width:100%;margin-bottom:24px;align-items:stretch}
.gcol{display:flex;flex-direction:column;gap:24px;flex:1 1 0;min-width:0}
.colcell{overflow:hidden}
.colcell img{width:100%;height:100%;object-fit:cover;background:#f2f2f2;cursor:zoom-in;display:block}
.gitem img{width:100%;display:block;background:#f2f2f2;cursor:zoom-in}
.lb{position:fixed;inset:0;background:rgba(255,255,255,.97);z-index:500;display:none;align-items:center;justify-content:center;padding:40px}
.lb.on{display:flex}
.lb img{max-width:92vw;max-height:88vh;object-fit:contain;box-shadow:0 10px 60px rgba(0,0,0,.12)}
.lb .x{position:absolute;top:24px;right:30px;font-size:28.5px;color:var(--ink);cursor:pointer;line-height:1;font-weight:200}
.lb .arrow{position:absolute;top:50%;transform:translateY(-50%);font-size:38px;color:var(--ink);cursor:pointer;user-select:none;padding:20px;font-weight:200}
.lb .prev{left:14px}.lb .next{right:14px}
.ft{display:flex;justify-content:center;gap:30px;padding:80px 0 30px;color:var(--ink)}
.ft svg{width:24px;height:24px;fill:currentColor}
.copy{text-align:center;font-size:10.4px;letter-spacing:.1em;color:var(--soft);padding-bottom:40px}

/* ==== BRONEERI AUDIT — konversioonileht ==== */
.audit{max-width:980px;margin:0 auto;padding-top:40px}
.lead > .audit{max-width:680px;margin:0;padding-top:0}
.audit .kicker{font-size:11.4px;letter-spacing:.14em;text-transform:uppercase;color:var(--soft);margin-bottom:18px}
.audit h1.svc-title{font-size:12.3px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);margin-bottom:6px}
.audit .svc-price{font-size:11.4px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);margin-bottom:30px}
.audit .svc-price.bold{font-weight:600}
.audit .svc-text{font-size:12.8px;color:var(--soft);line-height:1.75;margin-bottom:16px;max-width:620px}
.audit .svc-lead{font-size:12.8px;font-weight:600;color:var(--ink);line-height:1.55;margin-bottom:16px;max-width:620px}
.audit h1.big{font-size:clamp(26px,4vw,40px);font-weight:300;line-height:1.25;letter-spacing:-.01em;color:var(--ink);max-width:760px;margin-bottom:26px}
.audit .intro{font-size:14.2px;color:var(--soft);line-height:1.85;max-width:620px;margin-bottom:14px}
.audit .rule{height:1px;background:var(--line);margin:56px 0}
.audit h1.sec,.audit h2.sec{font-size:12.8px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:26px}
.audit .grid2{display:grid;grid-template-columns:1fr 1fr;gap:44px 60px}
.audit .item .n{font-size:11.4px;color:var(--mut);letter-spacing:.1em;margin-bottom:8px}
.audit .item h4{font-size:13.4px;font-weight:600;margin-bottom:8px}
.audit .item p{font-size:12.8px;color:var(--soft);line-height:1.75}
.audit .priceband{display:flex;align-items:baseline;gap:26px;flex-wrap:wrap;margin-bottom:10px}
.audit .price{font-size:clamp(30px,4vw,44px);font-weight:200;letter-spacing:-.01em}
.audit .pricenote{font-size:12.3px;color:var(--soft)}
.audit .fine{font-size:11.8px;color:var(--mut);line-height:1.8;max-width:620px}
.audit .steps{counter-reset:s;display:grid;grid-template-columns:repeat(3,1fr);gap:44px}
.audit .step{counter-increment:s}
.audit .step:before{content:counter(s,decimal-leading-zero);display:block;font-size:11.4px;color:var(--mut);letter-spacing:.1em;margin-bottom:10px}
.audit .step h4{font-size:13.4px;font-weight:600;margin-bottom:8px}
.audit .step p{font-size:12.8px;color:var(--soft);line-height:1.75}
.audit .cta-final{text-align:left;padding:8px 0 20px}
.audit .cta-final p{font-size:13.4px;color:var(--soft);max-width:560px;line-height:1.8;margin-bottom:24px}
.audit .booking{margin-top:8px}
.audit a.btn,.audit button.btn{display:inline-block;background:var(--ink);color:#fff;font-family:inherit;font-size:12.8px;letter-spacing:.12em;text-transform:uppercase;padding:16px 34px;border:none;cursor:pointer;transition:opacity .3s,background .25s,color .25s}
.audit a.btn:hover,.audit button.btn:hover{opacity:.82}
.audit a.btn-outline,.audit button.btn-outline{background:#fff;color:var(--ink);border:1.5px solid var(--ink);opacity:1}
.audit a.btn-outline:hover,.audit button.btn-outline:hover{background:var(--ink);color:#fff;opacity:1}
.faq details{border-top:1px solid var(--line);padding:18px 0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{font-size:13.4px;font-weight:500;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:'+';font-weight:200;font-size:18px;color:var(--mut)}
.faq details[open] summary:after{content:'–'}
.faq details p{font-size:12.8px;color:var(--soft);line-height:1.8;padding-top:12px;max-width:640px}
.audit ul{margin:0 0 30px 0;padding-left:20px;max-width:620px}
.audit ul li{font-size:12.8px;color:var(--soft);line-height:1.85;margin-bottom:5px}
.audit .price-tag{font-size:clamp(28px,4vw,40px);font-weight:200;letter-spacing:-.01em;margin-bottom:22px}

/* Projekti lehe lõpu CTA */
.pcta{border-top:1px solid var(--line);margin-top:30px;padding-top:40px;max-width:620px}
.pcta p{font-size:12.8px;color:var(--soft);line-height:1.8;margin-bottom:22px}
.pcta a.btn{display:inline-block;background:var(--ink);color:#fff;font-size:12.8px;letter-spacing:.12em;text-transform:uppercase;padding:16px 34px;transition:opacity .3s}
.pcta a.btn:hover{opacity:.82}

/* ==== Konsultatsiooni avaleht ==== */
.audit h1.svc-h1{font-size:14.2px;font-weight:600;line-height:1.5;letter-spacing:0;color:var(--ink);margin-bottom:20px;max-width:620px}
.audit .svc-h1 + .svc-lead{margin-bottom:14px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Sobivusvorm */
.kovorm{max-width:520px;display:flex;flex-direction:column;gap:18px;margin-top:8px}
.kovorm label{font-size:11.4px;letter-spacing:.08em;text-transform:uppercase;color:var(--soft);display:flex;flex-direction:column;gap:8px}
.kovorm input,.kovorm textarea{font-family:inherit;font-size:13.4px;color:var(--ink);border:1px solid var(--line);padding:14px 16px;background:#fff;outline:none;transition:border-color .25s}
.kovorm input:focus,.kovorm textarea:focus{border-color:var(--ink)}
.kovorm textarea{resize:vertical}
.kovorm .btn{align-self:flex-start;margin-top:6px}
.vorm-ok{font-size:13.4px;color:var(--soft);line-height:1.85;max-width:520px;padding:20px 0}

/* WooCommerce toote/broneeringu vormi sobitamine KO stiiliga */
.audit .booking .woocommerce{font-family:inherit}
.audit .booking .woocommerce div.product .product_title{font-size:14.2px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}
.audit .booking .woocommerce div.product p.price{font-size:16px;color:var(--ink);font-weight:300}
.audit .booking .woocommerce div.product .woocommerce-product-details__short-description{font-size:12.8px;color:var(--soft)}
.audit .booking .woocommerce #respond input#submit,
.audit .booking .woocommerce a.button,
.audit .booking .woocommerce button.button,
.audit .booking .woocommerce input.button,
.audit .booking .single_add_to_cart_button{background:var(--ink)!important;color:#fff!important;border-radius:0!important;font-size:12.8px!important;letter-spacing:.12em;text-transform:uppercase;padding:15px 32px!important;font-weight:400!important}
.audit .booking .woocommerce div.product div.images{display:none}
.audit .booking .woocommerce div.product div.summary{width:100%!important;float:none!important}

/* Amelia (ja sarnaste tasuta broneerimispluginate) sobitamine KO stiiliga */
.audit .booking{font-family:inherit}
.audit .booking .amelia-app-container,.audit .booking .am-wrapper{font-family:inherit!important}
.audit .booking button,.audit .booking .am-step-submit button{border-radius:0!important;font-family:inherit!important}
/* Peida ajavööndi valija (Europe/Tallinn) — parem lülitada välja Amelia enda seadetest, aga see peidab visuaalselt igaks juhuks */
.audit .booking [class*="timezone" i],.audit .booking [class*="time-zone" i]{display:none!important}


/* ==== Avaleht v1.4 (KODULEHT_SEPT 2026) ====
   Sisuveerg algab menüüga samalt joonelt: main.page polster (64) + logo plokk (360). */
.audit.ks{max-width:none;margin:0;padding:40px 0 0 360px}
.audit.ks:not(.ks-sisu) > *{max-width:960px}
.ks-sisu > *{max-width:960px}
.audit h1.ks-h1{font-size:26px;font-weight:600;line-height:1.3;letter-spacing:-.005em;color:var(--ink);margin-bottom:24px;max-width:680px}
.ks .svc-lead,.ks .svc-text{max-width:640px}
.ks-cta{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin:30px 0 0}
.ks-hind{font-size:16px;font-weight:600;letter-spacing:.02em;color:var(--ink)}
.ks-foto{margin:56px 0 0}
.ks-foto img{width:100%;height:auto;background:#f2f2f2}
.ks-foto figcaption,.ks-pcap{display:block;font-size:11.4px;letter-spacing:.06em;color:var(--soft);margin-top:10px}
.ks-foto figcaption{text-align:right}
.ks-sec{margin-top:80px}
.ks-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px 60px;max-width:860px}
.ks-item h3{font-size:12.3px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);margin-bottom:12px}
.ks-item p{font-size:12.8px;color:var(--soft);line-height:1.75;margin-bottom:12px}
.ks-item p strong{color:var(--ink);font-weight:600}
.ks ul{margin-bottom:0}
.ks-proj{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ks-pcard{display:block}
.ks-pimg{display:block;overflow:hidden;background:#f2f2f2;aspect-ratio:4/3}
.ks-pimg img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);transition:transform 1.5s cubic-bezier(.16,.84,.34,1)}
.ks-pcard:hover .ks-pimg img{transform:scale(1.03)}
.ks-pcap{text-align:right}
.ks-jane{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:start}
.ks-jane .sec .lc{text-transform:none;font-weight:400;letter-spacing:0}
.ks-jane .svc-lead{margin-top:6px}
.ks-jane-foto{margin:0;background:#f2f2f2}
.ks-jane-foto img{width:100%;height:auto}
a.lnk{display:inline-block;font-size:12.3px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);border-bottom:1px solid var(--mut);padding-bottom:2px;margin-top:8px;transition:border-color .3s}
a.lnk:hover{border-color:var(--ink)}
.ks-arv{display:grid;grid-template-columns:1fr 1fr;gap:44px 60px;max-width:860px}
.ks-arv blockquote{margin:0}
.ks-arv p{font-size:12.8px;color:var(--soft);line-height:1.8;margin-bottom:14px}
.ks-arv cite{font-style:normal;font-size:11.4px;letter-spacing:.04em;color:var(--ink)}
.ks .rule{max-width:960px}

/* ==== Lähenemine v1.4 ==== */
.about .txt h1{font-size:12.8px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);margin-bottom:26px}
.about .txt h2{font-size:14.2px;font-weight:600;line-height:1.5;color:var(--ink);margin:34px 0 12px}
.about .txt h1 + h2{margin-top:0}
.about .txt .cta{margin-top:40px}
.about .txt .cta p{color:var(--ink);font-weight:600;margin-bottom:8px}
.about .kkk{margin-top:64px}
.about .kkk h2{font-size:12.8px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin:0 0 20px}
.about figure img{aspect-ratio:auto!important}

/* ==== Artiklid ==== */
.art-intro{font-size:13.4px;color:var(--soft);line-height:1.85;max-width:640px;margin-bottom:56px}
.art-list{max-width:760px}
.art-card{display:block;border-top:1px solid var(--line);padding:30px 0}
.art-card:last-child{border-bottom:1px solid var(--line)}
.art-date{display:block;font-size:11.4px;letter-spacing:.08em;color:var(--mut);margin-bottom:10px}
.art-card h2{font-size:16px;font-weight:600;line-height:1.45;color:var(--ink);margin-bottom:10px}
.art-card p{font-size:12.8px;color:var(--soft);line-height:1.75;margin-bottom:12px;max-width:640px}
.art-card .more{font-size:11.4px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);border-bottom:1px solid var(--mut);padding-bottom:2px}
.art-card:hover h2{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.art-tyhi{font-size:12.8px;color:var(--mut)}
.art .back{margin-bottom:34px}
.art h1.ks-h1{max-width:720px;margin-bottom:12px}
.art .art-date{margin-bottom:40px}
.art-body{max-width:680px}
.art-body p,.art-body li{font-size:13.4px;color:var(--soft);line-height:1.85;margin-bottom:16px}
.art-body h2{font-size:14.2px;font-weight:600;line-height:1.5;color:var(--ink);margin:44px 0 14px}
.art-body h3{font-size:13.4px;font-weight:600;color:var(--ink);margin:30px 0 10px}
.art-body ul,.art-body ol{padding-left:20px;margin-bottom:18px}
.art-body a{color:var(--ink);border-bottom:1px solid var(--mut)}
.art-body blockquote{border-left:2px solid var(--ink);padding-left:18px;margin:24px 0}
.art-body img{height:auto;margin:28px 0}
.art-body figure{margin:28px 0}
.art-body figcaption{font-size:11.4px;color:var(--soft);margin-top:-18px;margin-bottom:24px}
.art-foot{max-width:680px;border-top:1px solid var(--line);margin-top:48px;padding-top:40px}
.art-foot .svc-lead{margin-bottom:0}
.art-foot .all{display:inline-block;margin-top:44px}
.audit.ks > .art-intro{max-width:640px}
.audit.ks > .art-list{max-width:760px}
.audit.ks > .art-body,.audit.ks > .art-foot{max-width:680px}
.audit.ks > .ks-h1{max-width:720px}


/* ==== v1.5: lehe sisu plokkidena (Lehed → muuda) ====
   .ks-sisu kujundab WordPressi plokid: pealkirjad, lõigud, pildid, veerud, tsitaadid, KKK, nupud. */
.ks-sisu > *{margin-top:0}
.ks-sisu h1{font-size:26px;font-weight:600;line-height:1.3;letter-spacing:-.005em;color:var(--ink);margin:0 0 24px;max-width:720px}
.ks-sisu h1.sec,.ks-sisu h2{font-size:12.8px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;line-height:1.5;color:var(--ink);margin:80px 0 26px}
.ks-sisu h1.sec{margin-top:0}
.ks-sisu h2 .lc{text-transform:none;font-weight:400;letter-spacing:0}
.ks-sisu h3{font-size:12.3px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);margin:0 0 12px}
.ks-sisu h4{font-size:13.4px;font-weight:600;color:var(--ink);margin:0 0 8px}
.ks-sisu p{font-size:12.8px;color:var(--soft);line-height:1.75;margin:0 0 16px;max-width:640px}
.ks-sisu p.svc-lead{font-weight:600;color:var(--ink);line-height:1.55}
.ks-sisu p.ks-cta-lead{margin-top:80px}
.ks-sisu strong{color:var(--ink);font-weight:600}
.ks-sisu a{color:var(--ink)}
.ks-sisu p a{border-bottom:1px solid var(--mut)}
.ks-sisu p.lnk{margin-top:8px}
.ks-sisu p.lnk a{display:inline-block;font-size:12.3px;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid var(--mut);padding-bottom:2px;transition:border-color .3s}
.ks-sisu p.lnk a:hover{border-color:var(--ink)}
.ks-sisu ul,.ks-sisu ol{margin:0 0 16px;padding-left:20px;max-width:640px}
.ks-sisu li{font-size:12.8px;color:var(--soft);line-height:1.85;margin-bottom:5px}
/* pildid */
.ks-sisu .wp-block-image{margin:40px 0;max-width:680px}
.ks-sisu .wp-block-image.alignwide,.ks-sisu .wp-block-image.alignfull{max-width:none}
.ks-sisu .wp-block-image img{width:100%;height:auto;background:#f2f2f2;display:block}
.ks-sisu .wp-block-image figcaption,.ks-sisu .wp-element-caption{text-align:right;font-size:11.4px;letter-spacing:.06em;color:var(--soft);margin:10px 0 0}
.ks-sisu .wp-block-image.ks-portree{max-width:520px;margin:48px 0}
/* veerud */
.ks-sisu .wp-block-columns{display:grid!important;grid-template-columns:1fr 1fr;gap:44px 60px;max-width:860px;margin:0 0 44px;flex-wrap:nowrap}
.ks-sisu .wp-block-column{min-width:0;flex-basis:auto!important}
.ks-sisu .wp-block-column > :last-child{margin-bottom:0}
.ks-sisu .wp-block-column > h2:first-child{margin-top:0}
.ks-sisu .wp-block-columns.ks-proj{max-width:none;gap:24px}
.ks-sisu .ks-proj .wp-block-image{margin:0;max-width:none}
.ks-sisu .ks-proj .wp-block-image a{display:block;overflow:hidden;aspect-ratio:4/3;background:#f2f2f2}
.ks-sisu .ks-proj .wp-block-image img{width:100%;height:100%;object-fit:cover;transition:transform 1.5s cubic-bezier(.16,.84,.34,1)}
.ks-sisu .ks-proj .wp-block-image a:hover img{transform:scale(1.03)}
.ks-sisu .wp-block-columns.ks-jane{max-width:none;gap:64px;margin-top:80px}
.ks-sisu .ks-jane .wp-block-image{margin:0;max-width:none}
.ks-sisu .wp-block-columns.ks-steps{grid-template-columns:repeat(3,1fr);max-width:none;counter-reset:s}
.ks-sisu .ks-steps .wp-block-column{counter-increment:s}
.ks-sisu .ks-steps .wp-block-column:before{content:counter(s,decimal-leading-zero);display:block;font-size:11.4px;color:var(--mut);letter-spacing:.1em;margin-bottom:10px}
/* tsitaadid */
.ks-sisu .wp-block-quote{margin:0;padding:0;border:0}
.ks-sisu .wp-block-quote p{line-height:1.8;margin-bottom:14px}
.ks-sisu .wp-block-quote cite{font-style:normal;font-size:11.4px;letter-spacing:.04em;color:var(--ink)}
/* KKK (Üksikasjad-plokk) */
.ks-sisu .wp-block-details{border-top:1px solid var(--line);padding:18px 0;margin:0;max-width:none}
.ks-sisu .wp-block-details + :not(.wp-block-details){margin-top:0}
.ks-sisu .wp-block-details:has(+ :not(.wp-block-details)),.ks-sisu .wp-block-details:last-child{border-bottom:1px solid var(--line)}
.ks-sisu .wp-block-details summary{font-size:13.4px;font-weight:500;color:var(--ink);cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}
.ks-sisu .wp-block-details summary::-webkit-details-marker{display:none}
.ks-sisu .wp-block-details summary:after{content:'+';font-weight:200;font-size:18px;color:var(--mut);line-height:1}
.ks-sisu .wp-block-details[open] summary:after{content:'–'}
.ks-sisu .wp-block-details p{padding-top:12px;margin:0;line-height:1.8}
/* eraldusjoon */
.ks-sisu .wp-block-separator{border:0;height:1px;background:var(--line);margin:56px 0;opacity:1;max-width:960px;width:auto}
.ks-sisu .wp-block-separator + h2{margin-top:0}
/* nupud + hind */
.ks-sisu .wp-block-buttons{display:flex;gap:16px;margin:0 0 16px}
.ks-sisu .wp-block-group.ks-cta{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin:30px 0 0}
.ks-sisu .ks-cta .wp-block-buttons{margin:0}
.ks-sisu .ks-cta p.ks-hind{font-size:16px;font-weight:600;letter-spacing:.02em;color:var(--ink);margin:0}
.ks-sisu .ks-cta + .wp-block-image{margin-top:56px}
.ks-sisu .wp-block-shortcode,.ks-sisu .booking{margin:0}
/* Lähenemine: alapealkirjad lausekirjas */
.ks-sisu.lah h2{font-size:14.2px;letter-spacing:0;text-transform:none;margin:40px 0 12px}
.ks-sisu.lah h1.sec + h2{margin-top:0}
.ks-sisu.lah h2.sec{font-size:12.8px;letter-spacing:.1em;text-transform:uppercase;margin:72px 0 20px}
.ks-sisu.lah p.ks-cta-lead{margin:48px 0 4px}
.ks-sisu.lah .wp-block-details{max-width:760px}
/* Kontakt */
.ks-sisu.kontakt{padding-top:70px}
.ks-sisu.kontakt p{line-height:1.9;letter-spacing:.01em;margin-bottom:26px}
.ks-sisu.kontakt p a{border-bottom:0}
/* Artiklite sissejuhatus */
.art-intro-wrap p{font-size:13.4px;line-height:1.85;margin-bottom:56px}
.pr-intro{padding-bottom:0}

/* Nupp: valge, must ääris (v1.5) — vähem rõhuv */
.audit a.btn,.audit button.btn,.pcta a.btn,.ks-sisu .wp-block-button__link,.ks-sisu .wp-element-button{display:inline-block;background:#fff;color:var(--ink);border:1.5px solid var(--ink);border-radius:0;font-family:inherit;font-size:12.8px;font-weight:400;letter-spacing:.12em;text-transform:uppercase;padding:15px 33px;line-height:1.4;text-decoration:none;cursor:pointer;opacity:1;transition:background .25s,color .25s}
.audit a.btn:hover,.audit button.btn:hover,.pcta a.btn:hover,.ks-sisu .wp-block-button__link:hover,.ks-sisu .wp-element-button:hover{background:var(--ink);color:#fff;opacity:1}

@media(max-width:900px){
 :root{--pad:22px}
 .hd{flex-direction:row;flex-wrap:wrap;align-items:center;padding:24px 22px 16px;position:relative} .lock{width:auto;flex:none}
 .burger{display:flex}
 .nav{display:none;flex-direction:column;align-items:flex-start;gap:0;width:100%;order:10;margin-top:22px;border-top:1px solid var(--line)}
 .nav.open{display:flex}
 .nav a{width:100%;padding:16px 0;border-bottom:1px solid var(--line);font-size:13.4px}
 #ind{display:none}
 .social{margin-left:0;padding-left:16px}
 .prow,.lead,.about,.contact,.dbody{grid-template-columns:1fr;gap:18px}
 .prow{margin-bottom:48px;min-height:auto}.prow figure img{height:auto;aspect-ratio:4/3}
 .prow .t{height:auto;max-height:none;align-self:auto}
 .about figure{max-width:340px}
 .grow{flex-direction:column;height:auto!important}
 .grow img{width:100%!important;height:auto!important;object-fit:unset!important;flex:none!important}
 .gcols{flex-direction:column}
 .gcol{display:contents}
 .colcell{aspect-ratio:auto!important;flex:none!important;margin-bottom:24px}
 .colcell img{height:auto}
 .audit .grid2{grid-template-columns:1fr}
 .audit .steps{grid-template-columns:1fr}
 .audit.ks{padding:24px 0 0}
 .audit h1.ks-h1{font-size:22px}
 .ks-sec{margin-top:60px}
 .ks-grid,.ks-arv,.ks-jane{grid-template-columns:1fr;gap:32px}
 .ks-proj{grid-template-columns:1fr;gap:28px}
 .ks-jane-foto{max-width:420px}
 .about .kkk{margin-top:48px}
 .ks-sisu h1{font-size:22px}
 .ks-sisu h2{margin-top:60px}
 .ks-sisu .wp-block-columns,.ks-sisu .wp-block-columns.ks-proj,.ks-sisu .wp-block-columns.ks-jane,.ks-sisu .wp-block-columns.ks-steps{grid-template-columns:1fr;gap:32px}
 .ks-sisu .wp-block-columns.ks-jane{margin-top:60px}
 .ks-sisu .ks-jane .wp-block-image{max-width:420px}
 .ks-sisu .wp-block-image.ks-portree{max-width:100%}
 .ks-sisu.kontakt{padding-top:30px}
}


/* v1.6.0 — keelevalik EST / ENG (päise paremas nurgas, menüüga sama stiil) */
.lang{order:20;margin-left:auto;display:flex;align-items:center;gap:10px}
.lang a{font-size:13.6px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--mut);padding:8px 0;transition:color .35s ease}
.lang a:hover,.lang a.on{color:var(--ink)}
.lang .sep{font-size:13.6px;font-weight:300;color:var(--mut)}
@media(max-width:900px){
.lang{order:0;margin-left:auto;gap:8px}
.lang a,.lang .sep{font-size:13.4px}
.burger{margin-left:22px}
}
