/* pirtis.lt dizaino standartas (TASK-057, USER patvirtinta) – gyvas pritaikymas TASK-060.
   Šaltiniai: design/design-standard/kryptis-1/pirtis-lt.css, kryptis-2/pirtis-lt.css; 3 žingsnio stilius – build.py.
   Įtraukiamas lt.php paskutinis prieš </head>. Generuojamas – ranka netaisyti. */

/* Kryptis 1 – „Bendros detalės“. Pataisymai gyvam pirtis.lt: tik ikonos ir viršaus valdikliai.
   Dėti po esamo main.css. Ikonų failai – design/design-standard/icons/*.svg, čia nurodyti kaip css/decor/ds/*.svg.
   Išdėstymas, teksto dydžiai ir navigacija nekeičiami. Išbandyta ant įrašyto gyvo puslapio (src/shoot-live.cjs). */

/* Meniu juosta tamsesnė, kad šviesūs užrašai būtų įskaitomi (USER 2026-11-24): #f76208 -> #c24d00 */
#menu ul.level1,#home ul,#menu-sub a,#menu .mobile_menu,#menu #mobile_menu{background-color:#c24d00}

/* Viršutinio meniu ikonos: vietoj mt-*.png */
#home li{background-image:url(decor/ds/namai-juostoje.svg);background-size:20px 20px}
#home li.current{background-image:url(decor/ds/namai-aktyvi.svg)}
#menu ul.level1 > li[class]{background-size:20px 20px;background-position:12px center}
#menu ul.level1 > .pirties-akademija_m{background-image:url(decor/ds/akademija-juostoje.svg)}
#menu ul.level1 > .pirties-akademija_m.active,#menu ul.level1 > .pirties-akademija_m.current{background-image:url(decor/ds/akademija-aktyvi.svg)}
#menu ul.level1 > .irengimas_m{background-image:url(decor/ds/irengimas-juostoje.svg)}
#menu ul.level1 > .irengimas_m.active,#menu ul.level1 > .irengimas_m.current{background-image:url(decor/ds/irengimas-aktyvi.svg)}
#menu ul.level1 > .sveikata_m{background-image:url(decor/ds/sveikata-juostoje.svg)}
#menu ul.level1 > .sveikata_m.active,#menu ul.level1 > .sveikata_m.current{background-image:url(decor/ds/sveikata-aktyvi.svg)}
#menu ul.level1 > .patirtis_m{background-image:url(decor/ds/pirtininkams-juostoje.svg)}
#menu ul.level1 > .patirtis_m.active,#menu ul.level1 > .patirtis_m.current{background-image:url(decor/ds/pirtininkams-aktyvi.svg)}
#menu ul.level1 > .namu-spa_m{background-image:url(decor/ds/namu-spa-juostoje.svg)}
#menu ul.level1 > .namu-spa_m.active,#menu ul.level1 > .namu-spa_m.current{background-image:url(decor/ds/namu-spa-aktyvi.svg)}
#menu ul.level1 > .tai-idomu_m{background-image:url(decor/ds/kultura-juostoje.svg)}
#menu ul.level1 > .tai-idomu_m.active,#menu ul.level1 > .tai-idomu_m.current{background-image:url(decor/ds/kultura-aktyvi.svg)}
#menu ul.level1 > .konsultacijos_m{background-image:url(decor/ds/atsakome-juostoje.svg)}
#menu ul.level1 > .konsultacijos_m.active,#menu ul.level1 > .konsultacijos_m.current{background-image:url(decor/ds/atsakome-aktyvi.svg)}
#menu-sub a{background-image:url(decor/ds/daugiau-juostoje.svg);background-size:14px 14px}
#menu-sub a.visible{background-image:url(decor/ds/daugiau-juostoje.svg);transform:rotate(180deg)}

/* Kairiojo meniu ikonos: vietoj ml-*.png, pirciu-projektavimas.png, forumas.png */
.menu-side-widget li[class] a{background-size:24px 24px !important;background-position:16px center}
.menu-side-widget .rask-pirti_m a{background-image:url(decor/ds/rask-pirti.svg)}
.menu-side-widget .kas-stato_m a{background-image:url(decor/ds/kas-stato.svg)}
.menu-side-widget .pirtininkai_m a{background-image:url(decor/ds/pirtininkai.svg)}
.menu-side-widget .paslaugos_m a{background-image:url(decor/ds/paslaugos.svg)}
.menu-side-widget .rask-organizacija_m a{background-image:url(decor/ds/asociacija.svg)}
.menu-side-widget .pirciu-projektavimas_m a{background-image:url(decor/ds/projektai.svg)}
.menu-side-widget .forumas_m a{background-image:url(decor/ds/forumas.svg)}

/* „Užeik!“ / „Išeiti“: vietoj login.png ir logout.png */
#header .logo_login_search .login_search .login{height:32px;margin:6px 0;border-radius:6px;
  background:url(decor/ds/ieiti-mygtuke.svg) no-repeat right 9px center/22px 22px,linear-gradient(#c24d00,#ad3f00 44%,#993300 56%)}
#header .logo_login_search .login_search .login.logedin{background-image:url(decor/ds/iseiti-mygtuke.svg),linear-gradient(#c24d00,#ad3f00 44%,#993300 56%)}
#header .logo_login_search .login_search .login a{margin:0}

/* Paieška: vietoj bg-search.png ir search.png */
#search{height:26px;border-radius:5px;background:#fff url(decor/ds/paieska-lauke.svg) no-repeat right 8px center/16px 16px}
#search input.search{height:26px;line-height:26px;right:32px;width:172px}
#search input.button{height:26px;opacity:0}

/* Kryptis 2 – „Tekstas ir meniu“. Dedama kartu su kryptis-1/pirtis-lt.css (po jo).
   Vieši puslapiai gauna studento zonos teksto dydžius, spalvas, nuorodas ir kairiojo meniu eilutes.
   Formos, kalendorius, plytelės ir puslapio sandara lieka seni. Išbandyta ant įrašyto gyvo puslapio. */

/* Tekstas kaip zonoje: 16 px, tamsesnis, 1,5 eilutės aukštis */
#text{font-size:16px;line-height:1.5;color:#463a30}
#text h1{margin:0 0 16px;padding:0;font-size:30px;font-weight:400;line-height:1.25}
#text h2{margin:28px 0 8px;font-size:22px;line-height:1.3}
#text h3{font-size:18px;line-height:1.4}
#text p{margin:0 0 12px}
#text .ivykioAprasymas a[href],#text .puslapis a[href]{color:#a84a00;text-decoration:underline;text-underline-offset:3px}
#text .ivykioAprasymas a[href]:hover,#text .puslapis a[href]:hover{color:#7a2900}
#text h1 a,#text h2 a,#text h3 a{color:inherit;text-decoration:none}
#text .ivykioAprasymas ul,#text .puslapis ul{padding-left:1.4em;list-style:square}
#text .ivykioAprasymas li,#text .puslapis li{margin:4px 0;line-height:1.5}
#text .ivykioAprasymas .ivykioVieta{margin:14px 0;padding:14px 0}

/* Kairysis meniu: ta pati eilutė kaip studento zonoje (48 px, 16 px pusjuodis) */
.menu-side-widget,.sidebar_raskpirti_kalendorius .menu-side-widget{font-size:16px}
.menu-side-widget > ul{border-top:2px solid #ffc75b}
.menu-side-widget li a{display:flex;align-items:center;box-sizing:border-box;min-height:48px;margin:0;padding:8px 8px 8px 46px;color:#993300;font-size:16px;font-weight:700;line-height:1.3}
.menu-side-widget li[class] a{background-size:20px 20px !important;background-position:12px center}

/* Šoninių blokų antraštės ir tekstas */
#menu-side-n-draugai h2{margin:24px 0 8px;padding:0 0 6px;border-bottom:2px solid #ffc75b;color:#993300;font-size:18px;line-height:1.4}
#menu-side-n-draugai{color:#463a30}

/* 3 žingsnis – „Kas stato?“: kategorijų ir vietovių sąrašai vietoj neveikiančio Flash (TASK-060) */
#text .ds-catlist{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:0 16px;margin:0 0 24px;padding:0;list-style:none}
#text .ds-catlist li{margin:0;list-style:none}
#text .ds-catlist a{display:flex;align-items:center;min-height:44px;padding:6px 8px;border-bottom:1px solid #f0dcc0;color:#993300;font-weight:700;line-height:1.3;text-decoration:none}
#text .ds-catlist a::before{content:"";flex:none;width:8px;height:8px;margin-right:10px;border-radius:50%;background:#c24d00}
#text .ds-catlist a:hover,#text .ds-catlist a:focus{background:#fff3e0;color:#7a2900}
#text .ds-regions ul{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0;list-style:none}
#text .ds-regions li{margin:0;list-style:none}
#text .ds-regions a{display:inline-flex;align-items:center;min-height:36px;padding:4px 14px;border:1px solid #e8c9a0;border-radius:18px;color:#993300;text-decoration:none}
#text .ds-regions a:hover,#text .ds-regions a:focus{background:#fff3e0;color:#7a2900}

/* 3b – „Kas stato?“ paveikslas su žymekliais (design-standard pages.css 11 sk.; spalvos – tokens.css reikšmės).
   9 px taškai be numerių; įsižiebia iš eilės; sustoja užvedus pelę / fokusui viduje (r2: be judesio stabdymo mygtuko – USER);
   prefers-reduced-motion – judesio nėra. Pavadinimas – tikras tekstas, matomas užvedus ar pasiekus klaviatūra. Be JS. */
.ds-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#text .ds-hotwrap{position:relative;margin:4px 0 16px}
#text .ds-hotmap{position:relative}
#text .ds-hotmap img{display:block;width:100%;height:auto;max-width:100%;margin:0;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 92%,transparent);mask-composite:intersect}
#text .ds-hot{position:absolute;z-index:1;width:9px;height:9px;margin:-4.5px 0 0 -4.5px;border-radius:50%;background:#fffcf0;box-shadow:0 0 0 1.5px #993300,0 1px 3px rgba(30,12,0,.4);text-decoration:none;animation:ds-hot-dot var(--hot-cycle,12s) calc(var(--n,0)*var(--hot-step,.5s)) infinite}
#text .ds-hot::before{content:"";position:absolute;inset:-4px;border:1.5px solid #fe9900;border-radius:50%;opacity:0;pointer-events:none;animation:ds-hot-ring var(--hot-cycle,12s) calc(var(--n,0)*var(--hot-step,.5s)) infinite}
#text .ds-hot::after{content:"";position:absolute;inset:-18px}
#text .ds-hot span{position:absolute;bottom:calc(100% + 9px);left:50%;padding:4px 8px;transform:translateX(-50%);background:#7a2900;color:#fffcf0;font-size:14px;font-weight:400;line-height:1.4;white-space:nowrap;opacity:0;pointer-events:none}
#text .ds-hot--r span{left:auto;right:-10px;transform:none}
#text .ds-hot--l span{left:-10px;transform:none}
#text .ds-hot:hover,#text .ds-hot:focus{z-index:2;background:#fe9900;box-shadow:0 0 0 1.5px #7a2900,0 0 0 5px rgba(255,252,240,.8)}
#text .ds-hot:hover span,#text .ds-hot:focus span{opacity:1}
#text .ds-hot:focus{outline:3px solid #7a2900;outline-offset:8px}
#text .ds-hotmap:hover .ds-hot,#text .ds-hotmap:hover .ds-hot::before,#text .ds-hotmap:focus-within .ds-hot,#text .ds-hotmap:focus-within .ds-hot::before{animation-play-state:paused}
@keyframes ds-hot-dot{0%,10%,100%{background-color:#fffcf0}2.5%,6%{background-color:#fe9900}}
@keyframes ds-hot-ring{0%{opacity:0;transform:scale(.6)}2.5%{opacity:.75;transform:scale(1)}11%,100%{opacity:0;transform:scale(2.2)}}
@media(prefers-reduced-motion:reduce){#text .ds-hot,#text .ds-hot::before{animation:none}}
@media(max-width:760px){#text .ds-hot::after{inset:-11px}#text .ds-hot span{display:none}}

/* TASK-100 B: temos aprašo tipografija – TIK temos puslapis /lt/t/<id> (body.temos-puslapis, lt.php); renginiai, straipsniai, kepurė, meniu – nekeičiami.
   Pastraipa 16px: antraštės proporcingai didesnės (h2 24 → h3 20 → h4 18 → h5 16 paryškinta), sąrašai suglausti.
   Įterptos renginių kortelės (.events_router) – nekeičiamos (:not; senoje naršyklėje taisyklė praleidžiama → lieka senas stilius). */
body.temos-puslapis #text .ivykioAprasymas h2:not(.events_router h2){font-size:24px;font-weight:700;line-height:1.3;margin:30px 0 10px}
body.temos-puslapis #text .ivykioAprasymas h3:not(.events_router h3){font-size:20px;font-weight:700;line-height:1.35;margin:24px 0 8px}
body.temos-puslapis #text .ivykioAprasymas h4:not(.events_router h4){font-size:18px;font-weight:700;line-height:1.35;margin:20px 0 6px}
body.temos-puslapis #text .ivykioAprasymas h5:not(.events_router h5){font-size:16px;font-weight:700;line-height:1.4;margin:16px 0 4px}
body.temos-puslapis #text .ivykioAprasymas h2+h3:not(.events_router h3),body.temos-puslapis #text .ivykioAprasymas h2+h4:not(.events_router h4),body.temos-puslapis #text .ivykioAprasymas h3+h4:not(.events_router h4){margin-top:8px}
body.temos-puslapis #text .ivykioAprasymas ul:not(.events_router ul),body.temos-puslapis #text .ivykioAprasymas ol:not(.events_router ol){margin:4px 0 12px;padding-left:1.3em}
body.temos-puslapis #text .ivykioAprasymas li:not(.events_router li){margin:0;line-height:1.45}
body.temos-puslapis #text .ivykioAprasymas li>ul:not(.events_router ul),body.temos-puslapis #text .ivykioAprasymas li>ol:not(.events_router ol){margin:2px 0 4px}
@media (max-width:600px){
body.temos-puslapis #text .ivykioAprasymas h2:not(.events_router h2){font-size:22px;margin-top:26px}
body.temos-puslapis #text .ivykioAprasymas h3:not(.events_router h3){font-size:19px}
body.temos-puslapis #text .ivykioAprasymas h4:not(.events_router h4){font-size:17px}
}
