/*
Theme Name: Trismegistos
Theme URI: https://trismegistos.lt/
Author: Trismegistos.lt
Description: Greita, SEO optimizuota tema kavos aparatų remonto servisui Klaipėdoje. Gedimų vedlys su interaktyvia aparato schema, kainoraštis, priežiūros gidas, DUK su schema.org žymėjimu, kontaktai su žemėlapiu. Veikia be papildomų įskiepių.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trismegistos
Tags: one-column, custom-menu, featured-images, translation-ready, accessibility-ready
*/

/* ---------- Žymės (tokens) ---------- */
:root {
	--ink: #1F2E38;
	--ink-2: #2A3B46;
	--ink-3: #415561;
	--ink-line: #3C4F5B;
	--deep: #17232B;
	--paper: #F2F4F3;
	--white: #FFFFFF;
	--tint: #E5EBEA;
	--line: #CCD6D8;
	--text: #23313A;
	--muted: #56676F;
	--muted-light: #A9B8BF;
	--brass: #D9A24A;
	--brass-deep: #8A5F1C;
	--brass-light: #F1DDB3;
	--patina: #2E7D6F;
	--patina-light: #7FD1BE;
	--signal: #A8402B;

	--font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wide: 116%;
	--wider: 122%;

	--s-1: .875rem;
	--s0: 1rem;
	--s1: 1.25rem;
	--s2: 1.5625rem;
	--s3: 1.953rem;
	--s4: 2.441rem;

	--r-sm: 6px;
	--r: 12px;
	--r-lg: 20px;

	--gutter: clamp(16px, 4vw, 40px);
	--max: 1240px;
	--header-h: 72px;
}

/* ---------- Pagrindas ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 750; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 3px; }

[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm);
	font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(720px + var(--gutter) * 2); }
.wrap--page { max-width: calc(900px + var(--gutter) * 2); }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Mygtukai ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.25em;
	border: 2px solid transparent; border-radius: var(--r-sm);
	font: inherit; font-weight: 700; font-size: var(--s0); line-height: 1.1;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { min-height: 42px; padding: .55em 1em; font-size: .95rem; }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-light); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ghost-light { border-color: var(--muted-light); color: var(--paper); background: transparent; }
.btn--ghost-light:hover { border-color: var(--paper); }

/* ---------- Logotipas ---------- */
.logo a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.mark { width: 42px; height: 42px; flex: none; }
.mark-a { fill: var(--brass); }
.mark-b { fill: var(--ink); }
.mark-c path { fill: none; stroke: var(--paper); stroke-width: 2.1; stroke-linecap: round; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-weight: 800; font-size: 1.28rem; font-stretch: var(--wider); letter-spacing: -.015em; }
.logo-tld { color: var(--brass-deep); }
.logo-sub { font-size: .78rem; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.logo--footer a { color: var(--paper); }
.logo--footer .mark-b { fill: var(--paper); }
.logo--footer .mark-c path { stroke: var(--deep); }
.logo--footer .logo-tld { color: var(--brass); }
.logo--footer .logo-sub { color: var(--muted-light); }

/* ---------- Antraštė ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(242, 244, 243, .96);
	border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: saturate(1.4) blur(8px);
	backdrop-filter: saturate(1.4) blur(8px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.header-row .logo { margin-right: auto; }

.main-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
	display: block; padding: 8px 12px; border-radius: var(--r-sm);
	font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink);
}
.main-nav a:hover { background: var(--tint); }
.main-nav .current-menu-item > a, .main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-call { white-space: nowrap; }

.status {
	display: inline-flex; align-items: center; gap: 8px; margin: 0;
	font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-light); }
.status.is-open { color: var(--patina); }
.status.is-open .status-dot { background: var(--patina); box-shadow: 0 0 0 4px rgba(46, 125, 111, .18); }

.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: var(--r-sm);
	border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
	align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }
.nav-toggle-open, .nav-toggle-close { display: inline-flex; }
.nav-toggle[aria-expanded="false"] .nav-toggle-close { display: none; }

@media (max-width: 1180px) {
	.header-actions .status { display: none !important; }
}
.status--hero { margin-top: 18px; }
@media (min-width: 1181px) { .status--hero { display: none !important; } }

@media (max-width: 1000px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 20px;
		box-shadow: 0 18px 30px -18px rgba(31, 46, 56, .35);
		display: none;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; }
	.main-nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav .menu li:last-child a { border-bottom: 0; }
}

@media (max-width: 560px) {
	.header-call span { display: none; }
	.header-call { min-width: 46px; padding: 0 12px; }
	.logo-sub { display: none; }
	.mark { width: 36px; height: 36px; }
	.logo-name { font-size: 1.12rem; }
	.header-row { gap: 10px; }
}

/* ---------- Pradžia (hero) ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(32px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-title {
	font-size: clamp(2.35rem, 5.6vw, 4.5rem);
	font-weight: 800; font-stretch: var(--wider);
	line-height: .98; letter-spacing: -.03em; color: var(--ink);
	margin-bottom: .4em; max-width: 13ch;
	text-wrap: balance;
}
.hero-lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); max-width: 56ch; color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 2px solid var(--ink); }
.fact { padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 18px; }
.fact dt { font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.fact dd { margin: 0; }
.fact-num { display: block; font-weight: 800; font-stretch: var(--wide); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact-note { display: block; font-size: .9rem; color: var(--muted); margin-top: 4px; }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- Juostos ir sekcijos ---------- */
.band { padding: clamp(48px, 7vw, 96px) 0; }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .section-lead { color: #C9D4D9; }

.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section--flush { padding-top: 24px; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }
.section-title {
	font-size: clamp(1.85rem, 3.6vw, 2.75rem);
	font-weight: 800; font-stretch: var(--wide);
	letter-spacing: -.025em; line-height: 1.05; color: inherit;
	text-wrap: balance;
}
.section-title--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 28px; }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin: 0; }

.link-more { font-weight: 700; color: var(--ink); white-space: nowrap; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 88px); }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.sticky .section-lead { margin-bottom: 24px; }
@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
	.sticky { position: static; }
}

/* ---------- Gedimų vedlys ---------- */
.finder-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 28px; }
.finder-title { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.025em; margin: 0; color: var(--paper); }
.finder-lead { margin: 0; color: #C9D4D9; max-width: 52ch; }
@media (max-width: 800px) { .finder-head { grid-template-columns: 1fr; gap: 12px; } }

.finder-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
	font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2;
	padding: 10px 16px; min-height: 44px;
	color: var(--paper); background: transparent;
	border: 1px solid var(--ink-line); border-radius: 999px; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--muted-light); background: var(--ink-2); }
.chip[aria-selected="true"] { background: var(--brass); border-color: var(--brass); color: var(--ink); }

@media (max-width: 640px) {
	.finder-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
	.chip { flex: none; scroll-snap-align: start; white-space: nowrap; }
}

.finder-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) {
	.finder-body { grid-template-columns: 1fr; }
	.finder-panels { order: -1; }
	.finder-figure { max-width: 520px; }
}

.finder-figure { margin: 0; background: var(--ink-2); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 28px); }
.part-caption { min-height: 4.8em; margin-top: 12px; font-size: .95rem; color: #C9D4D9; }
.part-caption strong { color: var(--paper); display: block; margin-bottom: 2px; }
.part-price { display: block; margin-top: 6px; color: var(--brass); font-weight: 700; }

/* Aparato schema */
.machine { width: 100%; height: auto; display: block; }
.m-body { fill: #2F414C; stroke: #4C616D; stroke-width: 2; }
.m-foot { fill: #4C616D; }
.m-shape { fill: #3A4F5B; stroke: #7A909C; stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.m-tank { fill: rgba(127, 209, 190, .08); }
.m-water { fill: #3E7C86; opacity: .55; }
.m-hose { fill: none; stroke: #7A909C; stroke-width: 5; stroke-linecap: round; transition: stroke .25s; }
.m-hose--thin { stroke-width: 3; stroke-dasharray: 4 6; }
.m-wand { fill: none; stroke: #7A909C; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.m-beans ellipse { fill: #6E4A26; }
.m-teeth { fill: none; stroke: #7A909C; stroke-width: 5; stroke-dasharray: 3 3; }
.m-screen { fill: #1B2A33; }
.m-dot { fill: #5D7380; }
.m-chip { fill: #24343E; }
.m-trace { stroke: #7A909C; stroke-width: 2; stroke-dasharray: 3 3; }
.m-inner { fill: #2C3E49; }
.m-inner-line { stroke: #7A909C; stroke-width: 3; fill: none; stroke-linecap: round; }
.m-coil { fill: none; stroke: #D07A4A; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.m-spout { fill: #4C616D; }
.m-stream { stroke: #8A5A2B; stroke-width: 3; stroke-linecap: round; opacity: .85; }
.m-cup { fill: var(--paper); }
.m-tray { fill: #4C616D; }
.m-label, .m-label-in { font: 600 12px var(--font); fill: #B8C6CD; pointer-events: none; transition: fill .25s; }
.m-label-in { fill: #DCE4E8; }
.m-ring { fill: none; stroke: var(--brass); stroke-width: 2; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; }

.m-part { cursor: pointer; outline: none; }
.m-part:hover .m-shape { stroke: var(--brass-light); }
.m-part:focus-visible .m-shape { stroke: var(--brass); stroke-width: 3; }

.m-part.is-on .m-shape { fill: var(--brass); stroke: var(--brass-light); }
.m-part.is-on .m-hose, .m-part.is-on .m-wand { stroke: var(--brass); }
.m-part.is-on .m-label { fill: var(--brass-light); }
.m-part.is-on .m-label-in { fill: var(--ink); }
.m-part.is-on .m-inner { fill: #A7772B; }
.m-part.is-on .m-water { opacity: .35; }
.m-part.is-on .m-ring { animation: ring 1.6s ease-out 2; }

@keyframes ring {
	0% { opacity: .9; transform: scale(.85); }
	100% { opacity: 0; transform: scale(1.35); }
}

/* Simptomų skydeliai */
.js .finder-panel[data-hidden] { display: none; }
.finder-panel { padding-bottom: 8px; }
.no-js-sep { border-top: 1px solid var(--ink-line); }
html:not(.js) .finder-panel + .finder-panel { border-top: 1px solid var(--ink-line); padding-top: 24px; margin-top: 24px; }
.panel-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; font-stretch: var(--wide); color: var(--paper); margin-bottom: 18px; }
.panel-meta { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 16px; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.panel-meta div { padding: 12px 28px 12px 0; }
.panel-meta div + div { padding-left: 28px; border-left: 1px solid var(--ink-line); }
.panel-meta dt { font-size: .85rem; color: var(--muted-light); }
.panel-meta dd { margin: 0; font-size: 1.55rem; font-weight: 800; font-stretch: var(--wide); color: var(--brass); font-variant-numeric: tabular-nums; }
.panel-parts { font-size: .95rem; color: #C9D4D9; }
.panel-sub { font-size: 1rem; font-weight: 700; color: var(--paper); margin: 20px 0 8px; }
.panel-list { margin: 0; padding-left: 1.2em; color: #DCE4E8; }
.panel-list li { margin-bottom: 6px; }
.panel-list li::marker { color: var(--brass); }
.panel-list--check { list-style: none; padding: 0; }
.panel-list--check li { display: flex; gap: 10px; align-items: flex-start; }
.panel-list--check .icon { color: var(--patina-light); margin-top: .2em; }
.finder-foot { font-size: .88rem; color: var(--muted-light); margin: 20px 0 0; padding-top: 14px; border-top: 1px dashed var(--ink-line); }

/* ---------- Kainos ---------- */
.promise { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.promise li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.promise .icon { color: var(--brass-deep); width: 22px; height: 22px; margin-top: 1px; }
.aside-note { font-size: .95rem; color: var(--muted); }

.price-group + .price-group { margin-top: 48px; }
.price-group-title { font-size: var(--s2); font-weight: 800; font-stretch: var(--wide); margin-bottom: 4px; }
.price-group-note { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }
.prices { width: 100%; border-collapse: collapse; }
.prices tr { border-bottom: 1px solid var(--line); }
.prices tbody tr:first-child { border-top: 2px solid var(--ink); }
.prices th { text-align: left; font-weight: 400; padding: 16px 16px 16px 0; vertical-align: top; }
.prices td { text-align: right; padding: 16px 0; vertical-align: top; white-space: nowrap; font-weight: 800; font-size: 1.15rem; font-stretch: var(--wide); font-variant-numeric: tabular-nums; color: var(--ink); }
.price-name { display: block; font-weight: 700; color: var(--ink); }
.price-desc { display: block; font-size: .93rem; color: var(--muted); margin-top: 2px; max-width: 56ch; }

/* ---------- Markės ---------- */
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 48px); }
.brand { padding: 20px 0 22px; border-top: 1px solid #BFCBCE; }
.brand-name { font-size: 1.3rem; font-weight: 800; font-stretch: var(--wide); margin-bottom: 4px; }
.brand-name a { text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.brand-models { font-size: .92rem; color: var(--brass-deep); font-weight: 600; margin-bottom: 6px; }
.brand-note { font-size: .96rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brands { grid-template-columns: 1fr; } }

/* ---------- Eiga ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.step { position: relative; padding-top: 4px; }
.step-num {
	display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%;
	border: 2px solid var(--ink); background: var(--paper);
	font-weight: 800; font-stretch: var(--wider); font-size: 1.35rem; color: var(--ink);
	margin-bottom: 18px; position: relative; z-index: 1;
}
.steps:not(.steps--compact) .step:not(:last-child)::after {
	content: ""; position: absolute; top: 31px; left: 60px; right: -16px; height: 2px;
	background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step:first-child .step-num { background: var(--ink); color: var(--paper); }
.step-title { font-size: 1.15rem; font-weight: 750; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
.steps--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step-num--icon { border-color: var(--patina); color: var(--patina); }
.steps--compact .step:first-child .step-num { background: var(--paper); color: var(--patina); }
.step-num--icon .icon { width: 24px; height: 24px; stroke-width: 2.4; }
@media (max-width: 1000px) {
	.steps, .steps--compact { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.step::after { display: none; }
}
@media (max-width: 560px) {
	.steps, .steps--compact { grid-template-columns: 1fr; row-gap: 0; }
	.step { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding-bottom: 24px; }
	.step-num { grid-row: span 2; margin: 0; }
	.steps:not(.steps--compact) .step:not(:last-child)::after { display: block; top: 56px; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
}

/* ---------- Remontuoti ar pirkti ---------- */
.ron { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.ron-copy .section-lead { margin-bottom: 32px; }
.ron-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ron-sub { font-size: 1.1rem; font-weight: 750; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.ron-list { list-style: none; margin: 0; padding: 0; }
.ron-list li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid #C9D3D5; font-size: .98rem; }
.ron-list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 12px; border-radius: 50%; }
.ron-list--yes li::before { background: var(--patina); }
.ron-list--no li::before { border: 2px solid var(--signal); }
@media (max-width: 1000px) { .ron { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ron-cols { grid-template-columns: 1fr; } }

.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.calc-title { font-size: 1.25rem; font-weight: 800; font-stretch: var(--wide); margin-bottom: 18px; }
.calc-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; margin-bottom: 18px; }
.calc-row label { font-weight: 600; font-size: .96rem; }
.calc-row output { font-weight: 800; font-stretch: var(--wide); font-variant-numeric: tabular-nums; font-size: 1.15rem; }
.calc-row input { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); height: 28px; }
.calc-bar { position: relative; height: 12px; border-radius: 6px; background: var(--tint); overflow: hidden; margin: 8px 0 14px; }
.calc-bar-fill { position: absolute; inset: 0 auto 0 0; width: 15%; background: var(--patina); border-radius: 6px; transition: width .2s, background-color .2s; }
.calc-bar-mark { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--ink); }
.calc-verdict { margin: 0; font-weight: 600; }
.calc.is-warn .calc-bar-fill { background: var(--brass); }
.calc.is-bad .calc-bar-fill { background: var(--signal); }

.ron-photo { margin: 24px 0 0; }
.ron-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); background: var(--line); }
.ron-photo figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* ---------- Priežiūra ---------- */
.care { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.care-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.care-timeline::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.care-timeline li { position: relative; padding: 0 0 28px 44px; }
.care-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.care-timeline li:last-child { padding-bottom: 0; }
.care-when { font-size: 1.2rem; font-weight: 800; font-stretch: var(--wide); margin-bottom: 4px; }
.care-timeline p { color: var(--muted); margin: 0; }

.care-side-title { font-size: 1.2rem; font-weight: 800; font-stretch: var(--wide); margin-bottom: 12px; }
.donts { margin: 0 0 32px; }
.donts div { padding: 12px 0; border-top: 1px solid var(--line); }
.donts dt { font-weight: 700; }
.donts dd { margin: 2px 0 0; color: var(--muted); font-size: .97rem; }

.warning { border-left: 4px solid var(--signal); background: #F7E7E2; padding: 20px 22px; border-radius: 0 var(--r) var(--r) 0; }
.warning-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 750; color: var(--signal); }
.warning-title .icon { width: 24px; height: 24px; }
.warning ul { margin: 0 0 12px; padding-left: 1.2em; }
.warning li { margin-bottom: 4px; }
.warning p { margin: 0; font-weight: 600; }
.warning-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--signal); font-weight: 800; }
@media (max-width: 900px) { .care { grid-template-columns: 1fr; } }

/* ---------- Įrašų kortelės ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding-top: 14px; }
.card-meta { font-size: .86rem; color: var(--muted); margin-bottom: 6px; }
.card-meta a { color: var(--brass-deep); font-weight: 600; text-decoration: none; }
.card-meta a:hover { text-decoration: underline; }
.card-title { font-size: 1.2rem; font-weight: 750; line-height: 1.25; margin-bottom: 8px; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.card-excerpt { color: var(--muted); font-size: .97rem; margin: 0; }

.tile { position: relative; display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 16px 18px; }
.tile--0 { background: var(--ink); }
.tile--1 { background: #27474A; }
.tile--2 { background: #3B3428; }
.tile-mark { position: absolute; right: -14px; top: -14px; width: 46%; height: auto; opacity: .9; }
.tile .mark-b { fill: rgba(242, 244, 243, .14); }
.tile .mark-a { fill: rgba(217, 162, 74, .8); }
.tile .mark-c path { stroke: rgba(31, 46, 56, .6); }
.tile-label { color: var(--paper); font-weight: 700; font-stretch: var(--wide); font-size: .95rem; }

/* ---------- DUK ---------- */
.faq-item { border-top: 1px solid #BFCBCE; }
.faq-item:last-child { border-bottom: 1px solid #BFCBCE; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
	border: 2px solid var(--ink);
	background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
}
.faq-item[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat; }
.faq-q { font-size: 1.14rem; font-weight: 700; margin: 0; }
.faq-a { padding: 0 44px 20px 0; color: var(--text); }
.faq-a p { margin: 0; }
.split-aside .btn--ink { margin-top: 4px; }

/* ---------- Kontaktai ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: stretch; }
.contact .section-title { color: var(--paper); }
.contact .section-lead { margin-bottom: 28px; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--ink-line); }
.contact-label { display: block; font-size: .85rem; color: var(--muted-light); font-weight: 600; margin: 0 0 4px; }
.contact-value { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 700; font-stretch: var(--wide); color: var(--paper); text-decoration: none; }
.contact-value:hover { color: var(--brass); }
.contact-value .icon { color: var(--brass); }
.contact-hours { border-top: 1px solid var(--ink-line); padding-top: 14px; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 7px 0; text-align: left; font-weight: 500; border-bottom: 1px dashed var(--ink-line); }
.hours td { text-align: right; }
.hours .is-closed { color: var(--muted-light); }
.hours .is-today th, .hours .is-today td { color: var(--brass); font-weight: 800; }
.hours-note { font-size: .88rem; color: var(--muted-light); margin: 10px 0 0; }

.map { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-art path { fill: none; stroke: #3C505C; stroke-width: 14; stroke-linecap: round; }
.map-pin { position: relative; display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brass); color: var(--ink); margin-bottom: 12px; }
.map-pin .icon { width: 30px; height: 30px; }
.map-address { position: relative; font-weight: 800; font-stretch: var(--wide); font-size: 1.2rem; color: var(--paper); margin-bottom: 16px; }
.map-actions { position: relative; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.map-note { position: relative; font-size: .8rem; color: var(--muted-light); margin: 14px 0 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- Poraštė ---------- */
.site-footer { background: var(--deep); color: #C9D4D9; padding: 64px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 40ch; }
.footer-title { font-size: 1rem; font-weight: 700; color: var(--paper); margin-bottom: 14px; }
.footer-list, .site-footer .menu { list-style: none; margin: 0; padding: 0; }
.footer-list li, .site-footer .menu li { margin-bottom: 10px; }
.site-footer a { color: #C9D4D9; text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-link { display: inline-flex; align-items: flex-start; gap: 8px; }
.footer-link .icon { margin-top: .22em; color: var(--brass); }
.footer-bottom { background: linear-gradient(#2B3B45, #2B3B45) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; padding-top: 20px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .86rem; color: var(--muted-light); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobilūs veiksmai ir „į viršų“ ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
	.action-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: var(--ink); border-top: 1px solid var(--ink-line);
	}
	.action-bar-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-sm); font-weight: 700; color: var(--paper); text-decoration: none; border: 1px solid var(--ink-line); }
	.action-bar-btn--call { background: var(--brass); color: var(--ink); border-color: var(--brass); }
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 95;
	width: 52px; height: 52px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--ink); color: var(--paper);
	box-shadow: 0 8px 22px -8px rgba(23, 35, 43, .6);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .2s, transform .2s, visibility .2s, background-color .15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink-3); }
.to-top .icon { width: 22px; height: 22px; position: relative; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--ink-line); stroke-width: 3; }
.to-top-ring .to-top-progress { stroke: var(--brass); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
@media (max-width: 760px) { .to-top { bottom: calc(76px + env(safe-area-inset-bottom)); right: 14px; width: 46px; height: 46px; } }

/* ---------- Įrašai ir puslapiai ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--brass); }
.admin-bar .read-progress { top: 32px; }

.entry-header { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.entry-header--list { padding-bottom: 8px; }
.entry-header--flush { padding-bottom: 0; }
.entry-title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.025em; line-height: 1.05; color: var(--ink); text-wrap: balance; }
.entry-header--list .section-lead { margin-bottom: 20px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .93rem; margin: 0; }
.entry-meta a { color: var(--brass-deep); font-weight: 600; }

.entry-hero { margin: 0 auto 32px; max-width: calc(1000px + var(--gutter) * 2); }
.entry-hero img { width: 100%; border-radius: var(--r-lg); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 18px; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.cat-filter a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--white); }
.cat-filter a:hover { border-color: var(--ink); }
.cat-filter a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.prose { font-size: 1.1rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); font-weight: 800; font-stretch: var(--wide); margin-top: 2em; line-height: 1.15; }
.prose h3 { font-size: 1.3rem; font-weight: 750; margin-top: 1.7em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.5em; }
.prose a { color: var(--ink); text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brass-deep); }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brass); font-size: 1.15rem; color: var(--ink); }
.prose img { border-radius: var(--r); }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose code { background: var(--tint); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--ink); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose .alignwide { margin-inline: calc(-1 * min(120px, 8vw)); max-width: none; }
.prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.prose::after { content: ""; display: table; clear: both; }
.prose .wp-block-gallery { gap: 12px; }
.prose .wp-block-gallery img { border-radius: var(--r-sm); }
.prose--wide { max-width: none; }
.wp-block-button__link { background: var(--ink); color: var(--paper); border-radius: var(--r-sm); font-weight: 700; padding: .75em 1.3em; text-decoration: none; }
.wp-block-button__link:hover { background: var(--ink-3); }

.toc { margin: 1.6em 0 2em; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.toc summary { cursor: pointer; padding: 14px 18px; font-weight: 750; font-size: 1rem; }
.toc ol { margin: 0; padding: 0 18px 16px 2.4em; font-size: .98rem; }
.toc li { margin: 0 0 6px; }
.toc ul { margin: 6px 0 0; padding-left: 1.2em; list-style-type: circle; }
.toc a { text-decoration: none; color: var(--text); }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--brass); }

.cta-box { display: grid; grid-template-columns: 64px 1fr; gap: 20px; margin: 48px 0 32px; padding: 26px; background: var(--ink); color: #DCE4E8; border-radius: var(--r-lg); }
.cta-box .mark { width: 64px; height: 64px; }
.cta-box .mark-b { fill: var(--paper); }
.cta-box .mark-c path { stroke: var(--ink); }
.cta-box-title { font-size: 1.3rem; font-weight: 800; font-stretch: var(--wide); color: var(--paper); margin-bottom: 6px; }
.cta-box-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cta-box .btn--ghost { color: var(--paper); border-color: var(--muted-light); }
.cta-box .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 560px) { .cta-box { grid-template-columns: 1fr; } .cta-box .mark { width: 48px; height: 48px; } }

.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; }
.entry-tags a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav span { display: block; font-size: .85rem; color: var(--muted); }
.post-nav a { font-weight: 700; text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }
.post-nav-next { text-align: right; grid-column: 2; }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.nav-links .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 700; background: var(--white); }
.nav-links .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.empty { padding: 40px 0; max-width: 60ch; }

.search { display: flex; gap: 8px; max-width: 560px; margin: 16px 0; }
.search input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; font: inherit; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--text); }
.search input:focus { border-color: var(--ink); outline: 2px solid var(--brass); outline-offset: 1px; }

.notfound { text-align: left; }
.notfound-code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; font-stretch: var(--wider); line-height: .9; color: var(--line); margin: 0 0 12px; letter-spacing: -.04em; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.comments-wrap { padding-bottom: 64px; }
.comments-title { font-size: 1.4rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 16px 0; border-top: 1px solid var(--line); }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); }

.widget { margin-bottom: 20px; }
.widget-title { font-size: 1rem; color: var(--paper); }

/* ---------- Spausdinimas ir judesys ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
	.site-header, .action-bar, .to-top, .map, .finder-chips, .read-progress, .cta-box, .site-footer { display: none !important; }
	body { background: #fff; padding: 0; }
	.band--ink { background: #fff; color: #000; }
	.js .finder-panel[data-hidden] { display: block; }
}
