/* GT Garage: blog (archive, posts panel, "Padomi" and "Paveiktais darbs" posts) */

/* ---------- shared ---------- */
.cat-p{display:inline-flex;align-items:center;align-self:flex-start;background:var(--yellow);color:var(--dark);border-radius:100px;padding:7px 14px;font-size:13px;font-weight:600;line-height:1.3;text-decoration:none;margin-bottom:24px}
.cat-p.g{background:var(--green);color:var(--dark)}
.tip-hero .crumbs,.work-hero .crumbs{margin-bottom:36px}

/* ---------- archive ---------- */
.blog-act{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:20px}
.blog-act .filters{gap:10px;flex-wrap:nowrap}
.blog-act .filters a{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;font-size:15px;font-weight:600;background:rgba(255,255,255,.1);color:#fff;white-space:nowrap}
.blog-act .filters a:hover{background:rgba(255,255,255,.18)}
.blog-act .filters a.on{background:#fff;color:var(--dark)}
.blog-act .search-f{width:340px;height:48px;min-width:0;margin-left:14px;padding:0 8px 0 22px;background:rgba(255,255,255,.08)}
.blog-act .search-f input{height:48px;font-size:15px}
.blog-act .search-f input::placeholder{color:rgba(255,255,255,.55)}
.blog-act .search-f .ico{width:18px;height:18px}

.blog-arch .feat{display:grid;grid-template-columns:667px minmax(0,1fr);min-height:500px;border-radius:24px;margin-bottom:40px;color:var(--ink)}
.blog-arch .feat .post-img{min-height:500px;aspect-ratio:auto}
.blog-arch .feat .post-b{padding:56px;gap:20px;justify-content:center}
.blog-arch .feat .tagrow{font-size:13px;font-weight:600;color:rgba(5,9,21,.5);gap:10px}
.blog-arch .feat .tagrow .cat{font-size:13px;padding:7px 14px;line-height:1.3}
.blog-arch .feat h2{font-size:36px;font-weight:700;line-height:1.1;letter-spacing:-.02em;margin:0;color:var(--dark)}
.blog-arch .feat p{font-size:17px;line-height:1.55;color:rgba(5,9,21,.7);margin:0}
.blog-arch .feat .meta{margin:0;font:400 13px var(--sans);color:rgba(5,9,21,.5);gap:18px;text-transform:none;letter-spacing:0}
.blog-arch .feat .btn{align-self:flex-start;min-height:56px;padding:0 30px;margin-top:4px}
.feat-chips{display:none}
.cat.dk{background:rgba(5,9,21,.85);color:#fff}

.blog-arch .grid.g3.posts-grid{column-gap:24px;row-gap:32px}
.post-lg{border-radius:22px}
.post-lg .post-img{aspect-ratio:4/3}
.post-lg .post-img .cat,.pp .post .cat{left:16px;top:16px;padding:7px 14px;font-size:13px;line-height:1.3}
.post-lg .post-b{padding:24px 26px 26px}
.post-lg h3{font-size:20px;font-weight:600;line-height:1.25;letter-spacing:-.01em;margin:0 0 12px;color:var(--dark)}
.post-lg p{font-size:15px;line-height:1.5;color:rgba(5,9,21,.65);margin:0 0 12px}
.post-lg .meta{font:400 12px var(--sans);color:rgba(5,9,21,.5);gap:14px;text-transform:none;letter-spacing:0}
.post .cat-m{display:none}
.post-lg .meta{flex-wrap:wrap}
.post-lg .meta span{white-space:nowrap}

.blog-arch .pager{gap:10px;margin-top:40px}
.blog-arch .pager a,.blog-arch .pager span{min-width:48px;height:48px;font-size:15px;font-weight:600;background:#fff;color:var(--dark)}
.blog-arch .pager .prev,.blog-arch .pager .next{padding:0 24px}
.blog-arch .pager .next{margin-left:8px}
.blog-arch .pager .prev{margin-right:8px}
.blog-arch .pager .dots{background:none}
.blog-arch .pager .current{background:var(--dark);color:#fff}
.blog-arch .pager a:hover{background:var(--dark);color:#fff}

/* ---------- posts panel ---------- */
.pp .sec-h .sec-lead{margin-top:18px;max-width:520px}
.pp .filters button{min-height:46px;padding:0 22px;font-size:15px;background:rgba(255,255,255,.1)}
.pp .filters button.on{background:#fff;color:var(--dark)}
.pp .act{gap:24px}
.pp .pp-all,.pp .pp-all-m{min-height:56px;padding:0 30px;font-size:16px}
.pp-grid{gap:16px}
.pp .post{border-radius:22px}
.pp .post-img{aspect-ratio:4/3}
.pp .post-b{padding:24px 26px 26px}
.pp .post-b h3{font-size:20px;font-weight:600;line-height:1.25;letter-spacing:-.01em;margin:0 0 14px;color:var(--dark)}
.pp .meta{font:500 12px var(--mono);color:rgba(5,9,21,.5);text-transform:uppercase;gap:14px;letter-spacing:.02em}
.pp-dots,.pp-all-m{display:none}

/* ---------- Padomi post ---------- */
.tip-hero .hero-in{grid-template-columns:minmax(0,780px) minmax(0,600px);justify-content:space-between;gap:60px}
.tip-hero .lead{max-width:700px;margin-bottom:40px}
.tip-ph{border-radius:24px;overflow:hidden;aspect-ratio:4/3;box-shadow:0 30px 60px -20px rgba(0,0,0,.6)}
.tip-ph img{width:100%;height:100%;object-fit:cover}
.by{display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.by-a{display:flex;gap:12px;align-items:center;line-height:1.25}
.by-av{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.9);color:var(--dark);display:grid;place-items:center;flex:none}
.by-av .ico{width:18px;height:18px}
.by-a b{display:block;font-size:15px;font-weight:600;color:#fff}
.by-a small{display:block;font-size:13px;color:rgba(255,255,255,.5);margin-top:2px}
.by-a .by-m{display:none}
.by-i{display:inline-flex;gap:8px;align-items:center;font-size:15px;color:rgba(255,255,255,.7)}
.by-i .ico{width:18px;height:18px}

.art-sec{padding:90px 0}
.art3{display:grid;grid-template-columns:280px minmax(0,760px) 280px;gap:60px;justify-content:space-between;align-items:start}
.art-toc,.art-side{position:sticky;top:116px}
.art-side{display:grid;gap:16px}
.toc2{background:#fff;border-radius:20px;padding:24px}
.toc2-h{font:700 12px var(--mono);text-transform:uppercase;letter-spacing:.04em;color:rgba(5,9,21,.45);margin:0 0 14px}
.toc2 ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.toc2 a{display:flex;gap:12px;align-items:center;padding:10px 0;font-size:15px;font-weight:500;line-height:1.3;color:rgba(5,9,21,.6);text-decoration:none;transition:color .2s}
.toc2 a i{width:3px;height:20px;border-radius:2px;background:transparent;flex:none;transition:background .2s}
.toc2 a:hover{color:var(--dark)}
.toc2 a.on{color:var(--dark);font-weight:600}
.toc2 a.on i{background:var(--yellow)}
.toc-m{display:none;background:#fff;border-radius:20px;margin-bottom:32px}
.toc-m summary{list-style:none;display:flex;gap:12px;align-items:center;padding:16px 16px 16px 20px;cursor:pointer}
.toc-m summary::-webkit-details-marker{display:none}
.toc-m summary>.ico{width:18px;height:18px}
.toc-m summary b{flex:1;font-size:16px;font-weight:600}
.toc-m summary small{font-size:13px;color:rgba(5,9,21,.5)}
.toc-m-c{width:30px;height:30px;border-radius:50%;background:var(--field);display:grid;place-items:center;flex:none;transition:transform .2s}
.toc-m-c .ico{width:16px;height:16px}
.toc-m[open] .toc-m-c{transform:rotate(180deg)}
.toc-m ul{list-style:none;margin:0;padding:0 20px 12px}
.toc-m a{display:block;padding:12px 0;border-top:1px solid var(--field);font-size:15px;font-weight:500;color:var(--ink);text-decoration:none}

.prose.art2{font-size:18px;line-height:1.7;color:rgba(5,9,21,.8)}
.art2>*{margin:0 0 24px}
.art2>:last-child{margin-bottom:0}
.art2 p{margin:0 0 24px}
.art2 strong{color:var(--dark);font-weight:600}
.art2 h2{font-size:36px;font-weight:700;line-height:1.15;letter-spacing:-.025em;color:var(--dark);margin:60px 0 24px;scroll-margin-top:116px}
.art2 h3{font-size:24px;font-weight:600;line-height:1.25;color:var(--dark);margin:40px 0 16px;scroll-margin-top:116px}
.art2 h4{font-size:19px;font-weight:600;line-height:1.3;color:var(--dark);margin:32px 0 12px}
.art2>h2:first-child,.art2>h3:first-child{margin-top:0}
.art2 ul{margin:0 0 24px}
.art2 ul li{margin-bottom:12px;padding-left:32px}
.art2 ul li::before{top:.4em}
.art2 ol{list-style:none;counter-reset:gtgol;padding:0;margin:0 0 24px;display:grid;gap:20px}
.art2 ol li{counter-increment:gtgol;position:relative;padding-left:54px;min-height:36px;margin:0}
.art2 ol li::before{content:counter(gtgol);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;background:var(--dark);color:var(--yellow);font:700 14px/36px var(--mono);text-align:center}
.art2 figure{margin:32px 0}
.art2 figure img,.art2>p>img{width:100%;height:auto;border-radius:20px;margin:0}
.art2 figcaption{font-size:14px;line-height:1.4;color:rgba(5,9,21,.5);margin-top:12px}
.art2 blockquote.note-y{display:flex;gap:18px;align-items:flex-start;margin:32px 0;padding:24px 28px;border-radius:20px;background:rgba(248,186,12,.16);font-size:16px;line-height:1.6;font-weight:400;color:rgba(5,9,21,.8)}
.note-y .ci{width:40px;height:40px}
.note-y .ci .ico{width:20px;height:20px}
.note-y .note-t{display:block;font-size:17px;font-weight:600;color:var(--dark);margin-bottom:6px}
.note-y p{margin:0}
.note-y p+p{margin-top:10px}
.art2 table{margin:0 0 24px}

.art-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:48px 0 40px;padding:32px 36px;border-radius:24px;background:linear-gradient(90deg,#050915,#0C1530);color:#fff}
.art-cta h2{font-size:24px;font-weight:600;letter-spacing:-.01em;line-height:1.25;margin:0 0 8px}
.art-cta p{font-size:15px;line-height:1.5;color:rgba(255,255,255,.65);margin:0}
.art-cta .btn{min-height:56px;padding:0 30px;flex:none}

.share2{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.share2-l{font-size:15px;font-weight:600;color:rgba(5,9,21,.6)}
.share2-n{display:flex;gap:10px}
.share2-n a{width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center;transition:background-color .2s}
.share2-n a:hover,.share2-n a:focus-visible{background:var(--yellow)}
.share2-n img{width:22px;height:22px}
.copy-l{display:inline-flex;gap:8px;align-items:center;height:44px;padding:0 18px;border:0;border-radius:100px;background:#fff;color:var(--dark);font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background-color .2s}
.copy-l .ico{width:16px;height:16px}
.copy-l.ok{background:var(--green);color:var(--dark)}

.side-cta{display:flex;flex-direction:column;gap:14px;padding:28px;border-radius:22px;background:linear-gradient(90deg,#050915,#0C1530);color:#fff}
.side-cta .ci{width:48px;height:48px}
.side-cta .ci .ico{width:22px;height:22px}
.side-cta h2{font-size:21px;font-weight:600;line-height:1.2;letter-spacing:-.01em;margin:0}
.side-cta p{font-size:14px;color:rgba(255,255,255,.6);margin:0}
.side-cta .btn{width:100%;min-height:50px;padding:0 20px;font-size:15px}
.side-tel{font-size:14px;font-weight:500;color:rgba(255,255,255,.85)}
.side-tel a{text-decoration:none;white-space:nowrap}
.side-tel a:hover{color:var(--yellow)}
.side-svc{display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:22px;background:#fff;color:var(--dark);text-decoration:none;transition:box-shadow .2s}
.side-svc:hover,.side-svc:focus-visible{box-shadow:inset 0 0 0 2px var(--yellow)}
.side-svc small{font:700 11px var(--mono);text-transform:uppercase;letter-spacing:.04em;color:rgba(5,9,21,.45)}
.side-svc-r{display:flex;gap:14px;align-items:center}
.side-svc .ci{width:48px;height:48px}
.side-svc .ci .ico{width:21px;height:21px}
.side-svc b{display:block;font-size:17px;font-weight:600;line-height:1.25}
.side-svc em{display:block;font-style:normal;font-size:14px;font-weight:600;color:rgba(5,9,21,.5);margin-top:2px}
.side-svc:hover em{color:var(--dark);text-decoration:underline;text-underline-offset:3px}

/* ---------- Paveiktais darbs post ---------- */
.work-hero .hero-bg img{position:absolute;top:0;left:36.5%;width:63.5%;height:100%;object-fit:cover;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%);mask-image:linear-gradient(90deg,transparent,#000 22%)}
.work-hero .hero-in{grid-template-columns:minmax(0,760px) minmax(0,520px);justify-content:space-between;gap:60px}
.work-hero .lead{max-width:640px;margin-bottom:40px}
.work-hero .btns{margin-bottom:0}
.wk-sum{background:rgba(14,20,36,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:24px;padding:12px 32px;box-shadow:0 40px 40px rgba(0,0,0,.45)}
.wk-sum ul{list-style:none;margin:0;padding:0}
.wk-sum li{display:flex;gap:16px;align-items:center;padding:18px 0}
.wk-sum li+li{border-top:1px solid rgba(255,255,255,.08)}
.wk-ic{width:40px;height:40px;border-radius:50%;background:#182038;color:var(--yellow);display:grid;place-items:center;flex:none}
.wk-ic .ico{width:18px;height:18px}
.wk-sum small{display:block;font-size:13px;color:rgba(255,255,255,.5);line-height:1.3}
.wk-sum b{display:block;font-size:17px;font-weight:600;color:#fff;line-height:1.3;margin-top:2px}

.wk-h{margin-bottom:48px}
.wk3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wk-c{background:#fff;border-radius:24px;padding:36px;min-height:320px;display:flex;flex-direction:column}
.wk-c .ci{width:56px;height:56px}
.wk-c .ci .ico{width:24px;height:24px}
.wk-c h3{font-size:26px;font-weight:600;letter-spacing:-.012em;line-height:1.25;margin:28px 0 14px;color:var(--dark)}
.wk-c p{font-size:16px;line-height:1.6;color:rgba(5,9,21,.7);margin:0}
.wk-desc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,760px);gap:60px;margin-top:90px;align-items:start}
.wk-desc.solo{margin-top:0}
.wk-desc>h2{font-size:clamp(28px,2.6vw,40px);position:sticky;top:116px}
.wk-desc .art2 h3{font-size:26px;font-weight:700;letter-spacing:-.02em;margin:48px 0 16px}
.wk-desc .art2>h3:first-child{margin-top:0}

.wk-gh{align-items:end}
.wk-gh .sec-lead{max-width:420px;font-size:18px;line-height:1.55;color:rgba(255,255,255,.6)}
.wk-gal{display:grid;grid-template-columns:708fr 342fr 342fr;grid-template-rows:268px 268px;gap:24px}
.wk-t{position:relative;display:block;border:0;padding:0;margin:0;border-radius:20px;overflow:hidden;cursor:zoom-in;background:var(--ui1);color:#fff;font:inherit}
.wk-t img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.wk-t:hover img{transform:scale(1.04)}
.wk-t:first-child{grid-row:span 2;border-radius:24px}
.wk-gal.n1{grid-template-columns:1fr;grid-template-rows:560px}
.wk-gal.n2{grid-template-columns:1fr 1fr;grid-template-rows:560px}
.wk-gal.n2 .wk-t:first-child,.wk-gal.n1 .wk-t:first-child{grid-row:auto}
.wk-gal.n3{grid-template-columns:708fr 708fr}
.wk-gal.n4 .wk-t:nth-child(4){grid-column:span 2}
.wk-more{position:absolute;inset:0;background:rgba(5,9,21,.6);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.wk-more b{font-size:40px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
.wk-more small{font-size:15px;font-weight:500;color:rgba(255,255,255,.8)}

.lb{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:24px 88px;border:0;background:rgba(5,9,21,.95);color:#fff}
.lb[open]{display:flex;align-items:center;justify-content:center}
.lb::backdrop{background:rgba(5,9,21,.6)}
.lb figure{margin:0;display:flex;flex-direction:column;align-items:center;max-width:100%}
.lb img{max-width:100%;max-height:calc(100vh - 110px);width:auto;height:auto;border-radius:16px;object-fit:contain}
.lb figcaption{font-size:14px;color:rgba(255,255,255,.7);margin-top:14px;text-align:center}
.lb button{position:fixed;width:52px;height:52px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;cursor:pointer}
.lb button:hover{background:rgba(255,255,255,.22)}
.lb button .ico{width:22px;height:22px}
.lb-x{top:20px;right:20px}
.lb-p{left:20px;top:calc(50% - 26px)}
.lb-n{right:20px;top:calc(50% - 26px)}
.lb.one .lb-p,.lb.one .lb-n{display:none}
html:has(.lb[open]){overflow:hidden}

.wk-qs{display:grid;grid-template-columns:minmax(0,916fr) minmax(0,500fr);gap:24px;align-items:stretch}
.wk-qs.one{grid-template-columns:1fr}
.wk-q{margin:0;background:#fff;border-radius:24px;padding:56px;display:flex;flex-direction:column;gap:28px}
.wk-q-m{font-size:90px;font-weight:700;line-height:.6;height:54px;color:var(--yellow)}
.wk-q blockquote{margin:0}
.wk-q blockquote p{font-size:28px;font-weight:600;line-height:1.35;letter-spacing:-.012em;color:var(--dark);margin:0}
.wk-q figcaption{display:flex;gap:14px;align-items:center}
.wk-q figcaption .ci{width:48px;height:48px}
.wk-q figcaption .ci .ico{width:22px;height:22px}
.wk-q figcaption b{display:block;font-size:17px;font-weight:600;line-height:1.3}
.wk-q figcaption small{display:block;font-size:14px;color:rgba(5,9,21,.55);margin-top:2px}
.wk-svc{display:flex;flex-direction:column;gap:18px;padding:40px;border-radius:24px;background:linear-gradient(90deg,#050915,#0C1530);color:#fff}
.wk-svc>small{font:700 12px var(--mono);text-transform:uppercase;letter-spacing:.04em;color:rgba(255,255,255,.45)}
.wk-svc-r{display:flex;gap:16px;align-items:center}
.wk-svc-r .ci{width:60px;height:60px}
.wk-svc-r .ci .ico{width:26px;height:26px}
.wk-svc-r h2{font-size:26px;font-weight:600;letter-spacing:-.01em;line-height:1.2;margin:0}
.wk-svc-r a{text-decoration:none}
.wk-svc-r a:hover{text-decoration:underline;text-underline-offset:4px}
.wk-svc p{font-size:16px;line-height:1.55;color:rgba(255,255,255,.65);margin:0}
.wk-svc-b{display:flex;gap:12px;flex-wrap:wrap;margin-top:auto;padding-top:32px}
.wk-svc-b .btn{min-height:56px;padding:0 30px}
.wk-svc-b .btn-g{background:rgba(255,255,255,.1)}

/* ---------- responsive ---------- */
@media (max-width:1280px){
  .art3{grid-template-columns:240px minmax(0,1fr) 260px;gap:40px}
  .blog-arch .feat{grid-template-columns:1fr 1fr}
  .work-hero .hero-in,.tip-hero .hero-in{grid-template-columns:minmax(0,1fr) minmax(0,460px)}
}
@media (max-width:1080px){
  .art3{grid-template-columns:minmax(0,1fr);gap:40px}
  .art-toc{display:none}
  .toc-m{display:block}
  .art-side{position:static;grid-template-columns:1fr 1fr;align-items:start}
  .work-hero .hero-in,.tip-hero .hero-in{grid-template-columns:1fr;gap:32px}
  .tip-ph{max-width:600px}
  .work-hero .hero-bg img{left:0;width:100%;-webkit-mask-image:none;mask-image:none}
  .wk-c{padding:28px}
  .art-main{max-width:760px}
  .wk-desc{grid-template-columns:1fr;gap:24px;margin-top:64px}
  .wk-desc>h2{position:static}
  .wk-qs{grid-template-columns:1fr}
  .wk-gal{grid-template-columns:2fr 1fr 1fr;grid-template-rows:200px 200px;gap:12px}
  .blog-arch .feat{grid-template-columns:1fr}
  .blog-arch .feat .post-img{min-height:340px}
}
@media (max-width:720px){
  .cat-p{margin-bottom:16px;font-size:13px;padding:6px 12px}
  .tip-hero .crumbs,.work-hero .crumbs{margin-bottom:24px}
  /* archive */
  .blog-act{flex-direction:column;align-items:stretch;gap:12px;margin-top:4px}
  .blog-act .filters{overflow-x:auto;scrollbar-width:none;margin:0 calc(-1 * var(--gut));padding:0 var(--gut)}
  .blog-act .filters::-webkit-scrollbar{display:none}
  .blog-act .filters a{flex:none;min-height:44px;padding:0 20px}
  .blog-act .search-f{width:100%;margin-left:0;height:50px}
  .blog-arch .feat{border-radius:24px;margin-bottom:16px}
  .blog-arch .feat .post-img{min-height:0;height:250px}
  .feat-chips{display:flex;gap:8px;position:absolute;left:20px;top:20px;z-index:1}
  .feat-chips .cat{position:static;font-size:13px;padding:6px 12px}
  .blog-arch .feat .tagrow{display:none}
  .blog-arch .feat .post-b{padding:20px;gap:12px}
  .blog-arch .feat h2{font-size:22px;line-height:1.2}
  .blog-arch .feat p{font-size:15px}
  .blog-arch .feat .btn{align-self:stretch;width:100%;margin-top:12px}
  .blog-arch .grid.g3.posts-grid{gap:10px}
  .post-lg{flex-direction:row;align-items:center;gap:14px;padding:10px;border-radius:18px}
  .post-lg .post-img{width:104px;height:104px;aspect-ratio:1;border-radius:14px;flex:none}
  .post-lg .post-img .cat{display:none}
  .post-lg .post-b{padding:4px 4px 4px 0;align-items:flex-start}
  .post-lg .cat-m{display:inline-block;position:static;font-size:12px;padding:5px 12px;margin-bottom:8px}
  .post-lg h3{font-size:16px;margin:0 0 6px}
  .post-lg p{display:none}
  .post-lg .meta{font-size:13px;gap:0;margin-top:0}
  .post-lg .meta span+span::before{content:"·";margin:0 8px}
  .blog-arch .pager a,.blog-arch .pager span{min-width:44px;height:44px}
  /* posts panel */
  .pp .sec-h{margin-bottom:24px}
  .pp .sec-h>div:first-child{width:100%}
  .pp .act{width:100%}
  .pp .filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:0 20px;width:calc(100% + 40px)}
  .pp .filters::-webkit-scrollbar{display:none}
  .pp .filters button{flex:none;min-height:44px;padding:0 18px}
  .pp .pp-all{display:none}
  .pp-grid.g4{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:270px;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -20px;padding:0 20px;scroll-padding:0 20px}
  .pp-grid::-webkit-scrollbar{display:none}
  .pp-grid .post{scroll-snap-align:start}
  .pp .post-b{padding:20px}
  .pp .post-b h3{font-size:17px;margin-bottom:12px}
  .pp-dots{display:flex;gap:6px;margin:20px 0 24px}
  .pp-dots span{width:6px;height:6px;border-radius:3px;background:rgba(255,255,255,.3);transition:width .2s,background .2s}
  .pp-dots span.on{width:24px;background:var(--yellow)}
  .pp .pp-all-m{display:flex;width:100%}
  /* Padomi */
  .tip-hero .lead{margin-bottom:28px}
  .by-av{background:var(--yellow)}
  .by-a .by-r,.by-i{display:none}
  .by-a .by-m{display:block}
  .tip-ph{border-radius:20px}
  .art-sec{padding:32px 0 48px}
  .prose.art2{font-size:17px}
  .art2 h2{font-size:26px;margin-top:44px}
  .art2 blockquote.note-y{padding:20px;gap:14px}
  .art-cta{flex-direction:column;align-items:stretch;padding:24px 20px}
  .art-cta h2{font-size:20px}
  .art-cta .btn{width:100%}
  .art-side{grid-template-columns:1fr}
  .side-cta{display:none}
  .side-svc{padding:16px}
  .side-svc em{text-decoration:underline;text-underline-offset:3px}
  /* Paveiktais darbs */
  .work-hero .lead{margin-bottom:28px}
  .wk-sum{padding:4px 20px}
  .wk-sum li{padding:14px 0}
  .wk-h{margin-bottom:24px}
  .wk3{grid-template-columns:1fr;gap:10px}
  .wk-c{min-height:0;padding:20px}
  .wk-c .ci{width:44px;height:44px}
  .wk-c .ci .ico{width:20px;height:20px}
  .wk-c h3{font-size:20px;margin:20px 0 10px}
  .wk-c p{font-size:15px}
  .wk-desc{margin-top:48px}
  .wk-desc .art2 h3{font-size:22px}
  .wk-gh{align-items:flex-start}
  .wk-gh .sec-lead{font-size:16px}
  .wk-gal,.wk-gal.n3{grid-template-columns:1fr 1fr;grid-template-rows:none;grid-auto-rows:120px;gap:10px}
  .wk-gal .wk-t{border-radius:14px}
  .wk-gal .wk-t:first-child{grid-column:1/-1;grid-row:span 2;border-radius:18px}
  .wk-gal.n2 .wk-t:nth-child(2){grid-column:1/-1;grid-row:span 2}
  .wk-gal.n1{grid-template-columns:1fr}
  .wk-more b{font-size:28px}
  .wk-more small{font-size:12px}
  .lb{padding:64px 12px}
  .lb-p,.lb-n{top:auto;bottom:16px}
  .lb-p{left:calc(50% - 64px)}
  .lb-n{right:calc(50% - 64px)}
  .lb img{max-height:calc(100vh - 170px)}
  .wk-q{padding:28px 20px;gap:20px}
  .wk-q-m{font-size:64px;height:38px}
  .wk-q blockquote p{font-size:19px}
  .wk-svc{padding:24px 20px;gap:14px}
  .wk-svc-r .ci{width:48px;height:48px}
  .wk-svc-r h2{font-size:20px}
  .wk-svc-b{flex-direction:column;padding-top:12px}
  .wk-svc-b .btn{width:100%}
}

/* ===================== Corrections 2026-10 ===================== */
/* Category pill in the article hero: hover */
.cat-p{transition:background-color .2s,color .2s}
.cat-p:hover,.cat-p:focus-visible{background:#fff;color:var(--dark)}

/* Article contents stay in reach while scrolling */
.art-toc,.art-side{align-self:start}
.toc2 ul{max-height:calc(100vh - 230px);overflow-y:auto;scrollbar-width:thin}
@media (max-width:1080px){
  .toc-m{position:sticky;top:80px;z-index:20;box-shadow:0 14px 30px -18px rgba(5,9,21,.35)}
  .toc-m ul{max-height:55vh;overflow-y:auto}
}
