/*
Theme Name: Žmogaus keliu – praktinės žinios
Author: zmogauskeliu.lt
Version: 0.2.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: zk-guides
*/
:root{--ink:#203c35;--green:#22624c;--cream:#f8f7f1;--line:#dce2d8;--muted:#596b61;--soft:#e9eee4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:4px}button,input{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto;display:block}h1,h2,h3{line-height:1.16;letter-spacing:-.035em}h1{font-family:Georgia,serif;font-size:clamp(37px,4.6vw,65px);font-weight:500;margin:16px 0 24px}h2{font-size:32px;font-weight:600}p{margin:0 0 20px}.site-header{border-bottom:1px solid var(--line);background:#fffdf8}.header-inner{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px 32px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:25px;font-weight:750;letter-spacing:-1px;line-height:1.1}.brand-mark{display:grid;place-items:center;width:45px;height:45px;background:var(--green);color:#fff;border-radius:50% 50% 15% 50%;font-family:Georgia,serif;font-size:38px}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:8px}nav{display:flex;gap:28px;font-size:14px}nav a{text-decoration:none}.hero{max-width:1280px;margin:auto;padding:70px 32px 60px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:42px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:750}.hero em{color:var(--green);font-style:normal}.hero-copy>p{font-size:18px;max-width:500px;color:var(--muted)}.hero-art{background:#eeeade;border-radius:24px;padding:12px;transform:rotate(1deg)}.hero-art img{border-radius:16px}.art-note{display:block;text-align:center;font-family:Georgia,serif;font-style:italic;padding:13px 5px 4px}.search-form{display:flex;background:white;border:1px solid #bacabb;border-radius:8px;overflow:hidden;margin:26px 0 18px;max-width:700px}.search-form input[type=search]{width:100%;min-width:0;border:0;background:transparent;padding:17px 18px;color:var(--ink)}.search-form button{border:0;background:var(--green);color:white;padding:12px 22px;font-size:14px;font-weight:600}.hero-note{font-size:11px;color:var(--muted)}.hero-note span{padding:0 8px}.section{max-width:1280px;margin:auto;padding:42px 32px}.section-title{margin-bottom:26px}.section-title h2{margin:10px 0}.topics{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.topic-list{display:flex;gap:12px;flex-wrap:wrap}.topic-list a{padding:12px 20px;border:1px solid var(--line);border-radius:7px;text-decoration:none;background:white;font-size:14px}.topic-list span{margin-left:22px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.card>a{text-decoration:none;display:block;height:100%}.card img,.card-placeholder{width:100%;aspect-ratio:3/2;object-fit:cover}.card-placeholder{display:grid;place-items:center;background:var(--soft);color:var(--green);font-family:Georgia,serif;font-size:24px}.card-body{padding:24px}.card h2{font-size:24px;margin:12px 0 15px}.card p{font-size:14px;color:var(--muted)}.read{font-size:13px;font-weight:650;color:var(--green)}.principles{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:25px;margin-bottom:45px;background:var(--soft);border-radius:12px}.principles p{align-self:center;color:var(--muted);max-width:470px;margin:0}.site-footer{display:flex;justify-content:space-between;max-width:1216px;margin:0 auto;padding:36px 0;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.site-footer strong{font-size:20px;color:var(--ink)}.site-footer p{margin:7px 0}.article-wrap{max-width:1120px;margin:auto;padding:32px}.breadcrumb{font-size:12px;color:var(--muted);margin:5px 0 35px}.article-header{max-width:900px}.article-header h1{font-size:clamp(36px,4vw,57px)}.summary{font-size:21px;max-width:800px;color:var(--muted)}.byline{font-size:12px;padding-bottom:28px;border-bottom:1px solid var(--line)}.article-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:42px;margin-top:36px}.toc{align-self:start;position:sticky;top:25px;font-size:13px;background:var(--soft);border-radius:10px;padding:22px}.toc ol{padding-left:20px}.toc li{padding:5px 0}.toc a{text-decoration:none}.toc small{font-size:11px}.article-content h2{font-size:27px;margin-top:34px}.article-content p{font-size:17px}.zk-step{margin:30px 0 40px;background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;padding:0 28px 24px}.zk-step figure{margin:0 -28px 24px}.zk-step img{width:100%;height:auto}.zk-step h2{margin-top:20px}.step-check{display:flex;gap:10px;align-items:center;font-size:13px;padding-top:14px;border-top:1px solid var(--line);cursor:pointer}.step-check input{width:20px;height:20px;accent-color:var(--green)}.complete{border-color:var(--green)}.prose{max-width:850px;min-height:60vh}.archive{min-height:65vh}.archive .cards{margin-top:35px}.nav-links{display:flex;gap:20px;margin-top:25px}.screen-reader-text,.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{clip:auto;width:auto;height:auto;top:0;left:0;background:white;padding:15px;z-index:10}:focus-visible{outline:3px solid #b66b2d;outline-offset:4px}.empty{padding:30px;background:var(--soft);border-radius:8px}@media(max-width:850px){.hero{grid-template-columns:1fr;padding-top:40px}.hero-art{max-width:600px;transform:none}.cards{grid-template-columns:repeat(2,1fr)}.article-layout{grid-template-columns:1fr}.toc{position:static}.principles{margin:20px 20px 35px;gap:25px}.site-footer{margin:0 25px}.header-inner{padding:20px}.hero,.section,.article-wrap{padding-left:20px;padding-right:20px}}@media(max-width:520px){.cards,.principles{grid-template-columns:1fr}.brand{font-size:21px}.brand-mark{width:36px;height:36px;font-size:30px}nav{gap:12px;font-size:12px}.hero{gap:25px}.hero-note{font-size:10px}.search-form button{padding:12px}.search-form input[type=search]{font-size:14px;padding:15px 12px}.section h2{font-size:28px}.site-footer{display:block}.zk-step{padding-left:20px;padding-right:20px}.zk-step figure{margin-left:-20px;margin-right:-20px}.byline{line-height:1.9}.summary{font-size:18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media print{.site-header,.site-footer,.toc,.step-check{display:none}.article-layout{display:block}.zk-step{break-inside:avoid}body{background:white}}

.zk-step .zk-panel{overflow:hidden;aspect-ratio:1/2;position:relative}.zk-step .zk-panel img{width:300%;max-width:none;height:100%;object-fit:fill}.zk-panel-1 img{transform:translateX(-33.333333%)}.zk-panel-2 img{transform:translateX(-66.666667%)}

.menu-toggle{display:none}.footer-links{display:flex;flex-direction:column;gap:9px}.footer-links strong{font-size:14px}.footer-links a{text-decoration:none}.site-footer{gap:30px}.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.topic-tile{padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px}.topic-tile h2{font-size:24px}.topic-tile p{font-size:15px;color:var(--muted)}.topic-tile a{text-decoration:none}.filter-form{display:flex;gap:16px;align-items:end;flex-wrap:wrap;padding:20px;background:var(--soft);border-radius:10px;margin:30px 0 14px}.filter-form label{display:flex;flex-direction:column;font-size:12px;gap:5px}.filter-form select{min-height:44px;max-width:100%;font:inherit;font-size:14px;border:1px solid #9bad9f;border-radius:5px;background:white;padding:9px 32px 9px 12px;color:var(--ink)}.filter-form button,.article-facts button,#zk-clear{min-height:44px;padding:9px 15px;border:1px solid var(--green);border-radius:6px;background:white;color:var(--green);font-size:13px}.filter-form button{background:var(--green);color:white}.result-count{font-size:13px;color:var(--muted)}.archive-description{max-width:720px;color:var(--muted)}.article-facts{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:13px}.article-facts span{padding:8px 14px;background:var(--soft);border-radius:6px}.article-facts button{margin-left:auto}.tools-box,.warning-box{padding:24px;border-radius:12px;background:var(--soft);margin-bottom:24px}.warning-box{background:#fff0d5;border-left:4px solid #ad7130}.warning-box p{margin:12px 0 0}.tools-box h2{margin-top:0}.report-box{display:flex;flex-wrap:wrap;gap:18px;padding:24px 0;border-top:1px solid var(--line);font-size:14px}.related{margin-top:60px}.toc small{display:block;margin-top:12px}.article-content a{overflow-wrap:anywhere}.prose:has(.topic-grid){max-width:1280px}.prose li{margin-bottom:12px}.topic-tile ul{padding-left:18px}.topic-tile li{font-size:14px}.archive .topic-list{margin-top:22px}@media(max-width:700px){.header-inner{flex-wrap:wrap;gap:16px}.menu-toggle{display:block;border:1px solid var(--line);background:white;border-radius:6px;padding:10px 14px;font-size:14px}.header-inner nav{width:100%;flex-wrap:wrap;gap:18px;padding:10px 0}.js-menu .header-inner nav{display:none}.js-menu .header-inner nav.is-open{display:flex}.topic-grid{grid-template-columns:1fr}.site-footer{flex-wrap:wrap}.footer-links{margin-top:20px}.filter-form label{width:100%}.filter-form select{width:100%}.filter-form button{width:100%}.article-facts button{margin-left:0}}

.topic-status{display:inline-block;padding:3px 10px;background:var(--soft);border-radius:4px;font-size:12px;font-weight:600}
.topic-list a span{font-size:11px}
.topic-tile{scroll-margin-top:24px}

@media print{button,#wpadminbar,.report-box,.breadcrumb{display:none!important}html,body{margin-top:0!important}.article-wrap{padding:0;max-width:none}.article-header h1{font-size:30pt}.summary{font-size:13pt}.article-content p{font-size:11pt}.zk-step{break-inside:avoid-page}.tools-box{break-inside:avoid-page}}

.zk-step{scroll-margin-top:50px}.empty p:last-child{margin-bottom:0}

/* Account forms and navigation */
.header-inner nav{gap:20px;flex-wrap:wrap}.account-link{font-weight:700}.tml{max-width:520px;margin:24px 0 48px}.tml .tml-field-wrap{margin:0 0 20px}.tml label{font-weight:600;display:block;margin-bottom:7px}.tml input[type=text],.tml input[type=email],.tml input[type=password]{box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid #81998a;border-radius:7px;background:#fff;color:var(--ink);font:inherit}.tml input[type=checkbox]{width:18px;height:18px}.tml .tml-button{min-height:48px;padding:12px 24px;border:0;border-radius:7px;background:var(--green);color:#fff;font-weight:700;cursor:pointer}.tml .tml-links{padding-left:20px}.tml .tml-message,.tml .tml-error{padding:16px;border-radius:7px}.tml .tml-error{background:#fff0ed;border-left:4px solid #ae3629}.tml .tml-message{background:var(--soft);border-left:4px solid var(--green)}.tml a{overflow-wrap:anywhere}@media(max-width:900px){.header-inner{flex-wrap:wrap;gap:16px}.header-inner nav{gap:16px}}

.wpcf7{max-width:650px;margin:30px 0}.wpcf7 label{font-weight:600;display:block}.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=url],.wpcf7 select,.wpcf7 textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;margin-top:8px;min-height:48px;padding:12px;border:1px solid #81998a;border-radius:7px;background:#fff;color:var(--ink);font:inherit}.wpcf7 textarea{min-height:160px;resize:vertical}.wpcf7 input[type=submit]{min-height:48px;padding:12px 24px;border:0;border-radius:7px;background:var(--green);color:white;font-weight:700;cursor:pointer}.wpcf7 .wpcf7-not-valid-tip{font-size:14px}.wpcf7 .wpcf7-response-output{margin:20px 0;padding:16px}.prose{overflow-wrap:anywhere}.prose input,.prose select,.prose textarea{max-width:100%}.tml-dashboard{padding:24px;background:var(--soft);border-radius:12px;margin:24px 0}.tml-dashboard-avatar{display:none}

/* Community forum: readable, responsive layout */
body.bbpress .prose{max-width:1120px}#bbpress-forums{font-size:15px;line-height:1.65;overflow-wrap:anywhere}#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-replies{font-size:15px;border:1px solid var(--line);border-radius:10px;overflow:hidden}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:var(--soft);padding:14px;border-color:var(--line)}#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{padding:20px;background:white}#bbpress-forums .bbp-forum-title{font-size:18px;font-weight:700;text-decoration:none}#bbpress-forums .bbp-forum-content{font-size:14px;line-height:1.6;margin-top:10px;color:var(--muted)}#bbpress-forums fieldset.bbp-form{border:1px solid var(--line);border-radius:10px;padding:24px;background:#fff}#bbpress-forums input[type=text],#bbpress-forums textarea,#bbpress-forums select{max-width:100%;border:1px solid #9bad9f;border-radius:5px;padding:10px;font:inherit;background:white;color:var(--ink)}#bbpress-forums button[type=submit]{background:var(--green);color:white;border:0;border-radius:5px;padding:11px 18px;min-height:44px;font:inherit}#bbpress-forums #bbp-search-form{display:flex;gap:8px;align-items:center;margin-bottom:18px}#bbpress-forums #bbp-search-form>div{display:flex;gap:8px;max-width:100%}#bbpress-forums #bbp_search{min-width:0;width:220px}#bbpress-forums .bbp-breadcrumb{font-size:13px}@media(max-width:600px){#bbpress-forums div.bbp-search-form{float:none}#bbpress-forums li.bbp-forum-info,#bbpress-forums li.bbp-topic-title{width:70%}#bbpress-forums li.bbp-forum-topic-count,#bbpress-forums li.bbp-forum-reply-count,#bbpress-forums li.bbp-topic-voice-count,#bbpress-forums li.bbp-topic-reply-count{width:15%}#bbpress-forums li.bbp-forum-freshness,#bbpress-forums li.bbp-topic-freshness{display:none}#bbpress-forums fieldset.bbp-form{padding:15px}#bbpress-forums .bbp-forum-title{font-size:16px}#bbpress-forums li.bbp-body ul.forum{padding:14px 10px}}

/* Community account and entry points */
.zk-community-panel{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:24px;margin:24px 0;font-size:16px;line-height:1.6}.zk-community-panel h2{font-size:26px;margin-top:0}.zk-community-panel p{margin:0 0 16px}.zk-community-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.zk-community-actions a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;background:white;border:1px solid var(--green);border-radius:6px;color:var(--green);text-decoration:none;font-size:15px;font-weight:600}.zk-community-actions a:hover{background:var(--green);color:white}.zk-community-note{font-size:14px;color:var(--muted)}.zk-community-rules{border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.zk-community-rules summary{cursor:pointer;font-weight:700;min-height:36px}.zk-community-rules ul{padding-left:24px!important}.zk-community-rules li{list-style:disc!important;margin:8px 0!important}.zk-community-rules p{font-size:14px}@media(max-width:600px){.zk-community-panel{padding:18px}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{font-size:12px;overflow-wrap:normal;padding-left:10px;padding-right:10px}.zk-community-actions{flex-direction:column}.zk-community-actions a{justify-content:center}}

#bbpress-forums .zk-community-panel{clear:both;display:flow-root}#bbpress-forums #bbp-search-form button{background:var(--green);color:white;border:0;border-radius:5px;min-height:44px;padding:10px 16px}

/* Saved instructions */
.simplefavorites-button{min-height:44px;padding:11px 18px;border:1px solid var(--green);border-radius:6px;background:white;color:var(--green);font:inherit;font-size:15px;font-weight:600;cursor:pointer;margin:8px 0 20px}.simplefavorites-button.active{background:var(--green);color:white;opacity:1}.simplefavorites-button:disabled{opacity:.6;cursor:wait}#issaugotos-instrukcijos{margin:32px 0;padding:24px;background:var(--soft);border:1px solid var(--line);border-radius:12px}#issaugotos-instrukcijos h2{margin-top:0;font-size:26px}#issaugotos-instrukcijos .favorites-list{padding-left:0;list-style:none}#issaugotos-instrukcijos .favorites-list>li{padding:18px;background:white;border:1px solid var(--line);border-radius:8px;margin-bottom:12px}#issaugotos-instrukcijos .favorites-list a{font-weight:600}#issaugotos-instrukcijos .simplefavorites-button{display:block;margin:12px 0 0;font-size:14px}@media(max-width:600px){#issaugotos-instrukcijos{padding:18px}.simplefavorites-button{max-width:100%;white-space:normal}}
