/*
Theme Name: Aikštelės
Theme URI: https://laukotreniruoklis.lt/
Author: UAB „Žaidimų aikštelių įranga“
Description: Įrašų (projektų) šablonas, atkartojantis projektai.html dizainą: antraštė, hero, kategorijų filtras, projektų tinklelis, vienas įrašas, CTA, statistika ir poraštė.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: aiksteles
*/

:root{--red:#d6001c;--ink:#1d1d1b;--mute:#6b6b6b;--line:#e4e1dc;--soft:#f5f3ef;--wide:1840px;--side:clamp(24px,6vw,140px)}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.5}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.wrap{width:100%;max-width:var(--wide);margin:0 auto;padding:0 var(--side)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.ph{background:linear-gradient(135deg,#e8e4dc,#d3cdc0);display:flex;align-items:flex-end;padding:12px 14px;font-size:12px;color:#7a7466;position:relative;overflow:hidden}
.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* header */
.topbar{background:var(--ink);color:#fff;font-size:13px}
.topbar .wrap{display:flex;justify-content:flex-end;padding-top:8px;padding-bottom:8px}
.topbar ul{display:flex;gap:28px;list-style:none}
header.main{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--line)}
.admin-bar header.main{top:32px}
header.main .wrap{display:flex;align-items:center;justify-content:space-between;height:88px}
.logo{font-weight:800;font-size:30px;letter-spacing:.02em;color:var(--red)}
.logo img{display:block;max-height:56px;width:auto}
nav ul{display:flex;gap:clamp(18px,2.4vw,48px);list-style:none}
nav a{font-family:"Inter","Segoe UI","Helvetica Neue",Arial,sans-serif;white-space:nowrap;font-size:13.6px;font-weight:500;letter-spacing:.02em;padding:8px 0;border-bottom:2px solid transparent}
nav a:hover,nav a.on{border-color:var(--red)}
nav a.on{font-weight:700}
.hdr-actions{display:flex;align-items:center;gap:20px}
.btn{display:inline-block;background:var(--red);color:#fff;font-weight:700;padding:13px 28px;border-radius:999px;font-size:15px;border:0;cursor:pointer;font-family:inherit}
.btn.ghost{background:transparent;color:var(--ink);border:2px solid var(--ink)}
.btn.light{background:#fff;color:var(--ink)}
.fav{font-size:22px}
.phone{font-weight:700;font-size:16px;white-space:nowrap}
.phone:hover{color:var(--red)}

/* hero */
.page-hero{position:relative;overflow:hidden;background:var(--ink);color:#fff;min-height:clamp(340px,48vh,460px);display:flex;align-items:center}
.page-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.page-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(20,20,18,.82) 0%,rgba(20,20,18,.5) 50%,rgba(20,20,18,.12) 100%)}
.page-hero .wrap{position:relative;z-index:2;padding-top:64px;padding-bottom:64px}
.page-hero .kick{font-weight:700;margin-bottom:14px;display:inline-block;border-left:4px solid var(--red);padding-left:12px}
.page-hero h1{font-size:60px;line-height:1.05;margin-bottom:20px;max-width:14ch}
.page-hero.long h1{max-width:22ch;font-size:52px}
.page-hero p{font-size:19px;max-width:56ch;color:#f0eee9}

/* sections */
.sec{padding:80px 0}
.sec h2{font-size:42px;margin-bottom:36px}
.crumbs{font-size:14px;color:var(--mute);padding:22px 0}
.crumbs a:hover{color:var(--red)}
.crumbs span[aria-hidden]{margin:0 8px}

/* category chips */
.chips{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin-bottom:36px;align-items:center}
.chips a{font-size:15px;font-weight:600;padding:9px 20px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);transition:border-color .2s,background .2s,color .2s}
.chips a:hover{border-color:var(--red)}
.chips a[aria-current="true"]{background:var(--red);border-color:var(--red);color:#fff}
.chips a:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.chips .count{margin-left:auto;font-weight:700;font-size:15px}

/* project cards */
.projs{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.proj{display:block;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff;transition:border-color .2s}
.proj:hover{border-color:var(--red)}
.proj .ph{aspect-ratio:4/3;border-radius:0}
.proj .meta{padding:18px 20px 22px}
.proj .cat{font-size:13px;color:var(--mute)}
.proj h3{font-size:21px;line-height:1.25;margin:4px 0 10px}
.proj .more{color:var(--red);font-weight:700;font-size:15px}
.empty{padding:40px 0;font-size:19px;color:var(--mute)}

/* pagination */
.pagination{margin-top:48px}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.pagination .page-numbers{font-weight:600;font-size:15px;min-width:44px;height:44px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:999px;transition:border-color .2s}
.pagination a.page-numbers:hover{border-color:var(--red)}
.pagination .page-numbers.current{background:var(--red);border-color:var(--red);color:#fff}

/* single post / page content */
.entry{max-width:860px;margin:0 auto;font-size:18px;color:#2b2b29}
.entry>*+*{margin-top:1.15em}
.entry h2{font-size:34px;line-height:1.15;margin-top:1.8em;color:var(--ink)}
.entry h3{font-size:24px;line-height:1.25;margin-top:1.6em;color:var(--ink)}
.entry h4{font-size:19px;margin-top:1.4em;color:var(--ink)}
.entry a{color:var(--red);text-decoration:underline;text-underline-offset:3px}
.entry ul,.entry ol{padding-left:1.4em}
.entry li+li{margin-top:.4em}
.entry img{border-radius:6px;display:block}
.entry figure{margin-left:0;margin-right:0}
.entry figcaption{font-size:14px;color:var(--mute);margin-top:8px}
.entry blockquote{border-left:4px solid var(--red);padding:6px 0 6px 24px;font-size:21px;color:var(--ink)}
.entry table{width:100%;border-collapse:collapse;font-size:16px}
.entry th,.entry td{border:1px solid var(--line);padding:10px 14px;text-align:left}
.entry th{background:var(--soft)}
.entry .wp-block-gallery{gap:16px}
.entry .wp-block-button__link{background:var(--red);color:#fff;border-radius:999px;font-weight:700;padding:13px 28px;text-decoration:none}
.entry-meta{max-width:860px;margin:0 auto 40px;padding-bottom:20px;border-bottom:1px solid var(--line);display:flex;gap:24px;flex-wrap:wrap;font-size:14px;color:var(--mute)}
.entry-meta a:hover{color:var(--red)}
.post-nav{max-width:860px;margin:64px auto 0;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.related{background:var(--soft)}

/* cta */
.cta{background:var(--red);color:#fff;padding:80px 0}
.cta .wrap{display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.cta h2{font-size:42px;margin:0 0 8px}
.cta p{font-size:19px;max-width:60ch}

/* stats */
.stats{color:#fff;padding:56px 0;background:#2a2a28}
.stats .wrap{display:flex;align-items:center;justify-content:space-between;gap:48px}
.stats .head{flex:none}
.stats .eyebrow{color:#ff8593;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
.stats h2{font-size:28px;line-height:1.15;margin:0;max-width:20ch}
.stats-grid{display:flex;gap:20px;flex:1;justify-content:flex-end}
.stat{display:flex;align-items:center;gap:16px;padding:18px 26px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:14px;transition:background .25s,transform .25s}
.stat:hover{background:rgba(255,255,255,.13);transform:translateY(-3px)}
.stat .si{flex:none;width:48px;height:48px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center}
.stat .si svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.stat .num{font-size:40px;font-weight:800;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.stat .num sup{font-size:.55em;color:#ff8593;vertical-align:top;margin-left:1px}
.stat .lbl{font-size:15px;font-weight:600;color:#f1eee8;margin-top:4px}

/* footer */
footer.site{background:var(--ink);color:#d9d6cf;padding:72px 0 32px}
footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.8fr;gap:40px;margin-bottom:48px}
footer .ct p{font-size:15px;margin-bottom:12px;line-height:1.5}
footer .ct small{display:block;color:#9a968d;font-size:13px}
footer .ct a:hover,footer li a:hover{color:#fff}
footer h5{color:#fff;font-size:16px;margin-bottom:14px}
footer li{list-style:none;margin-bottom:8px;font-size:15px}
footer .legal{border-top:1px solid #444;padding-top:22px;font-size:13px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}

@media(max-width:1100px){
 .phone{display:none}
 .projs{grid-template-columns:repeat(2,1fr)}
 .page-hero h1,.page-hero.long h1{font-size:48px}
 .stats .wrap{flex-direction:column;align-items:flex-start;gap:24px}
 .stats-grid{width:100%;justify-content:flex-start;flex-wrap:wrap}
 footer .cols{grid-template-columns:1fr 1fr}
 footer .ct{grid-column:1/-1}
}
@media(max-width:782px){.admin-bar header.main{top:46px}}
@media(max-width:700px){
 .wrap{padding:0 20px}
 nav ul{gap:18px}
 header.main .logo{font-size:15px}
 header.main .wrap{gap:16px}
 nav{min-width:0;overflow-x:auto;scrollbar-width:none}
 nav::-webkit-scrollbar{display:none}
 .hdr-actions .btn,.topbar{display:none}
 .projs{grid-template-columns:1fr}
 .page-hero h1,.page-hero.long h1{font-size:36px}
 .page-hero p{font-size:16px}
 .chips .count{margin-left:0;width:100%}
 .sec{padding:56px 0}
 .sec h2,.cta h2{font-size:32px}
 .entry{font-size:17px}
 .entry h2{font-size:28px}
 .stats{padding:40px 0}
 .stats-grid{flex-direction:column}
 .stat{padding:14px 18px}
 footer .cols{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---------- Contacts page (from kontaktai.html) ---------- */
.hero{background:var(--soft);padding:96px 0 88px}
.hero .kick{color:var(--red);font-weight:700;margin-bottom:14px}
.hero h1{font-size:60px;line-height:1.05;margin-bottom:24px;max-width:14ch}
.hero p{font-size:19px;max-width:60ch;color:#3a3a38}
.big{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:-40px;position:relative}
.cc{background:#fff;border:1px solid var(--line);border-top:4px solid var(--red);border-radius:6px;padding:36px 30px;box-shadow:0 12px 32px rgba(0,0,0,.06);transition:transform .2s}
.cc:hover{transform:translateY(-3px)}
.cc .ic{width:56px;height:56px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:22px}
.cc .ic svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cc h4{font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);margin-bottom:10px}
.cc p,.cc a{display:block;font-size:22px;font-weight:700;line-height:1.35;word-break:break-word}
.cc a:hover{color:var(--red)}
.cc small{display:block;margin-top:10px;font-size:15px;color:var(--mute);font-weight:400}
.two{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:start}
.two h2{margin-bottom:8px}
.sub{color:var(--mute);margin-bottom:28px;font-size:18px}
.form{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.form label{display:flex;flex-direction:column;font-size:14px;font-weight:600;gap:6px}
.form input[type=text],.form input[type=email],.form input[type=tel],.form textarea{border:1px solid #bdb8ae;border-radius:6px;padding:13px 14px;font:inherit;background:#fff}
.form input:focus,.form textarea:focus{outline:2px solid var(--red);outline-offset:0;border-color:var(--red)}
.form .full{grid-column:1/-1}
.form textarea{min-height:150px;resize:vertical}
.form .hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.chk{flex-direction:row!important;align-items:flex-start;font-weight:400!important;font-size:13px!important;color:var(--mute);gap:10px!important}
.chk input{margin-top:3px;accent-color:var(--red)}
.chk a{text-decoration:underline}
.notice{grid-column:1/-1;padding:14px 18px;border-radius:6px;font-weight:600;font-size:15px}
.notice.ok{background:#e8f5ec;color:#1b6b34;border:1px solid #b9dfc5}
.notice.err{background:#fdecee;color:#a1001a;border:1px solid #f4b8c0}
.map{border-radius:8px;overflow:hidden;min-height:520px;border:1px solid var(--line);position:sticky;top:112px}
.map iframe{width:100%;height:100%;min-height:520px;border:0;display:block}
@media(max-width:1100px){
 .big{grid-template-columns:repeat(2,1fr)}
 .two{grid-template-columns:1fr}
 .map{position:static;min-height:380px}
 .map iframe{min-height:380px}
 .hero{padding:56px 0 72px}
}
@media(max-width:700px){
 .big,.form{grid-template-columns:1fr}
 .hero h1{font-size:40px}
 .cc p,.cc a{font-size:19px}
}

/* Footer synced with /katalogas/ (zaisklauke-katalogas theme) */
.zk-container{width:min(1240px,100% - 32px);margin-inline:auto}
.zk-footer{margin-top:64px;background:#111;color:#cbd5e1;padding:32px 0;font-size:14px;line-height:1.6}
.zk-footer p{margin:0 0 8px}
.zk-footer a{color:#fff}
