/* opendata.lt – stilius
   Paletė: Baltijos gelmė (ink), jūra (sea), gintaras (amber), rūkas (mist), popierius (paper). */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "SourceSerif"; src: url("../fonts/sourceserif.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "SourceSerif"; src: url("../fonts/sourceserif-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "JBMono"; src: url("../fonts/jetbrainsmono.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #0F2D36;
  --ink-2: #163C47;
  --ink-3: #0A2128;
  --sea: #0E6B6B;
  --sea-2: #11807E;
  --amber: #F2A900;
  --amber-2: #FFC233;
  --amber-deep: #7A4A00;
  --amber-tint: #FFF4D6;
  --paper: #F4F7F6;
  --tint: #E8EFED;
  --mist: #DCE6E4;
  --line: #C6D5D2;
  --muted: #47636C;
  --rust: #B23A22;
  --white: #FFFFFF;

  --f-ui: "Bricolage", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-serif: "SourceSerif", Georgia, "Times New Roman", serif;
  --f-mono: "JBMono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1240px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --sec: clamp(3.25rem, 7vw, 6.5rem);
}

/* ---------- pagrindas ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-ui); font-size: 1.0625rem; line-height: 1.55;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 3px; }
main:focus { outline: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 720; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
code, pre, .mono { font-family: var(--f-mono); font-size: .88em; font-variant-ligatures: none; font-feature-settings: "calt" 0, "liga" 0; }
abbr { text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--amber); color: var(--ink); padding: .6rem 1rem; border-radius: var(--r-s); font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }

/* ---------- tipografijos skalė ---------- */
.h-xxl { font-size: clamp(2.35rem, 3.2vw + 1.2rem, 4.1rem); font-stretch: 82%; font-weight: 780; line-height: 1.02; letter-spacing: -.022em; }
.h-xl  { font-size: clamp(2rem, 2.4vw + 1rem, 3.1rem); font-stretch: 85%; font-weight: 760; line-height: 1.05; letter-spacing: -.02em; }
.h-lg  { font-size: clamp(1.7rem, 1.6vw + 1rem, 2.45rem); font-stretch: 88%; font-weight: 740; line-height: 1.08; letter-spacing: -.015em; }
.h-md  { font-size: clamp(1.35rem, .8vw + 1rem, 1.7rem); font-weight: 700; }
.h-sm  { font-size: 1.22rem; font-weight: 700; }
.h-xs  { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.lead { font-size: 1.2rem; line-height: 1.5; }
.lead-serif { font-family: var(--f-serif); font-size: clamp(1.12rem, .4vw + 1rem, 1.32rem); line-height: 1.55; color: var(--ink-2); max-width: 46em; }

/* ---------- mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .78rem 1.2rem; border-radius: 10px; border: 2px solid transparent;
  font: 650 1rem/1.2 var(--f-ui); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { padding: .95rem 1.45rem; font-size: 1.06rem; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-2); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--sea); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn--ghost-ink { border-color: var(--ink); color: var(--ink); }
.btn--ghost-ink:hover { background: var(--ink); color: var(--white); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.more { font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 2px; color: var(--ink); }
.more:hover { border-bottom-color: var(--ink); }

/* ---------- antraštė ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--mist); }
.head-row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand img { height: 34px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .5rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 560; font-size: .98rem; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amber); border-radius: 0; }
.btn-rekv { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 9px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 650; font-size: .96rem; white-space: nowrap; }
.btn-rekv:hover { background: var(--sea); color: var(--white); }
.btn-rekv .i-ext { color: var(--amber); }
.nav-m { display: none; }
@media (max-width: 1060px) {
  .nav, .head-row > .btn-rekv { display: none; }
  .nav-m { display: block; margin-left: auto; }
  .nav-m summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; }
  .nav-m summary::-webkit-details-marker { display: none; }
  .burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }
  .nav-m[open] .burger { background: transparent; }
  .nav-m[open] .burger::before { transform: translateY(7px) rotate(45deg); }
  .nav-m[open] .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-m-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--mist); padding: .5rem var(--pad) 1.25rem; box-shadow: 0 18px 30px -18px rgba(15,45,54,.35); }
  .nav-m-panel ul { list-style: none; margin: 0 0 1rem; padding: 0; }
  .nav-m-panel li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--mist); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
  .btn-rekv--block { display: flex; justify-content: center; padding: .9rem; }
}

/* ---------- naršymo kelias ---------- */
.crumbs { padding-top: 1.25rem; font-size: .9rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem .5rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs span { color: var(--ink); }

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--ink) 30%, rgba(15,45,54,.55) 75%, rgba(15,45,54,.75)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero-title { font-size: clamp(2.6rem, 4.6vw + 1rem, 5.3rem); font-stretch: 76%; font-weight: 800; line-height: .98; letter-spacing: -.028em; margin-bottom: .45em; }
.hero-lead { font-family: var(--f-serif); font-size: clamp(1.1rem, .5vw + 1rem, 1.32rem); line-height: 1.55; color: #D6E4E1; max-width: 34em; }
.hero-live { margin: 1.6rem 0 1.9rem; padding-left: 1rem; border-left: 3px solid var(--amber); color: #C9DAD6; max-width: 36em; }
.hero-live strong { color: var(--white); font-weight: 720; font-variant-numeric: tabular-nums; }
.hero-live span { display: block; font-size: .9rem; color: #93AFAA; margin-top: .25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* dekoderis */
.decoder { margin: 0; background: rgba(6,24,29,.72); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-l); padding: clamp(1.1rem, 2vw, 1.6rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.decoder-cap { font-size: .9rem; color: #9DB9B4; margin-bottom: .8rem; }
.decoder-cap .mono { color: var(--amber-2); }
.decoder-raw { margin: 0; padding: .85rem 1rem; border-radius: var(--r-m); background: rgba(0,0,0,.35); font-size: .8rem; line-height: 1.6; color: #B8CCC8; white-space: pre-wrap; word-break: break-all; }
.decoder-raw code { font-size: inherit; }
.decoder-raw .pipe { color: var(--amber); font-weight: 700; padding-inline: .1em; }
.decoder-raw .seg { border-radius: 3px; transition: background-color .25s, color .25s; }
.decoder-raw .seg.on, .decoder-raw .seg.hl { background: rgba(242,169,0,.2); color: var(--white); }
.decoder-arrow { display: flex; align-items: center; gap: .4rem; margin: .8rem 0 .6rem; font-size: .88rem; color: #9DB9B4; }
.decoder-arrow svg { color: var(--amber); }
.decoder-out { margin: 0; display: grid; }
.decoder-out .row { display: grid; grid-template-columns: 10.5rem 1fr; gap: 1rem; padding: .48rem 0; border-top: 1px solid rgba(255,255,255,.09); transition: opacity .35s, transform .35s; }
.decoder-out dt { color: #8FAAA5; font-size: .9rem; }
.decoder-out dd { margin: 0; color: var(--white); font-weight: 560; overflow-wrap: anywhere; }
.decoder-out .row.hl dd { color: var(--amber-2); }
.decoder.is-parsing .row { opacity: .12; transform: translateX(-6px); }
.decoder.is-parsing .row.on { opacity: 1; transform: none; }
.decoder-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .94rem; }
.decoder-foot a, .decoder-foot .link-btn { color: var(--amber-2); }
.decoder-foot a:hover, .decoder-foot .link-btn:hover { color: var(--white); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .decoder-out .row { grid-template-columns: 8.5rem 1fr; }
}
@media (max-width: 480px) {
  .decoder-out .row { grid-template-columns: 1fr; gap: .1rem; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- sekcijos ---------- */
.sec { padding-block: var(--sec); }
.sec--tint { background: var(--tint); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.sec-head p { color: var(--muted); margin: 0; max-width: 36em; }
.sec-foot { margin: 2rem 0 0; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

.band { position: relative; isolation: isolate; padding-block: var(--sec); }
.band--ink { background: var(--amber-tint); color: var(--ink); border-top: 4px solid var(--amber); }
.rekv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.rekv-band .lead { font-family: var(--f-serif); color: var(--ink-2); max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23F2A900' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.rekv-side { align-self: start; }
.rekv-img { border-radius: var(--r-l); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.newest { list-style: none; margin: 0 0 1.5rem; padding: 0; background: var(--white); border-radius: var(--r-m); border: 1px solid #F0DDA6; }
.newest li { padding: .7rem 1rem; border-top: 1px solid #F5E6BC; display: flex; flex-direction: column; }
.newest li:first-child { border-top: 0; }
.newest a { font-weight: 620; color: var(--ink); text-decoration: none; }
.newest a:hover { text-decoration: underline; }
.newest span { font-size: .86rem; color: var(--muted); }
.cities-title { font-weight: 700; margin: 1.5rem 0 .6rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips a { display: block; padding: .38rem .8rem; border-radius: 999px; background: var(--white); border: 1px solid #EBCF85; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 560; }
.chips a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (max-width: 900px) { .rekv-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ticks { grid-template-columns: 1fr; } }

/* padalinta sekcija */
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-media img { border-radius: var(--r-l); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.principles { margin: 1.75rem 0; display: grid; gap: 0; }
.principles div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.principles dt { font-weight: 700; }
.principles dd { margin: 0; color: var(--ink-2); font-family: var(--f-serif); }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .principles div { grid-template-columns: 1fr; gap: .15rem; } }

/* ---------- duomenų rinkinių lentelė ---------- */
.ds-table { border-top: 2px solid var(--ink); }
.ds-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: .35rem 2.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.ds-title { grid-column: 1; font-size: 1.18rem; font-weight: 700; margin: 0; }
.ds-title a { color: var(--ink); text-decoration: none; }
.ds-title a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; }
.ds-short { grid-column: 1; margin: 0; color: var(--muted); font-size: .98rem; }
.ds-meta { grid-column: 2; grid-row: 1 / span 2; margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-content: start; font-size: .92rem; }
.ds-pub { font-weight: 600; }
.ds-freq { color: var(--muted); grid-column: 1 / -1; }
.ds-fmt { display: flex; flex-wrap: wrap; gap: .25rem; justify-content: flex-end; }
.fmt { display: inline-block; padding: .08rem .45rem; border-radius: 5px; border: 1px solid var(--line); font-size: .78rem; font-weight: 650; font-stretch: 85%; color: var(--ink-2); background: var(--white); }
@media (max-width: 760px) {
  .ds-row { grid-template-columns: 1fr; }
  .ds-meta { grid-column: 1; grid-row: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; margin-top: .4rem; }
  .ds-fmt { justify-content: flex-start; }
  .ds-freq { grid-column: auto; }
}

/* ---------- juostinės diagramos ---------- */
.stat-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr; } }
.bars { margin: 0; }
.bars figcaption { font-weight: 700; margin-bottom: .75rem; }
.bars ol { list-style: none; margin: 0; padding: 0; }
.bar { display: grid; grid-template-columns: minmax(9rem, 15rem) 1fr 6.5rem; gap: .9rem; align-items: center; padding: .42rem 0; border-top: 1px solid var(--mist); }
.bar-label { font-size: .95rem; line-height: 1.3; }
.bar-label small { color: var(--muted); font-size: .8rem; }
.bar-label a { color: var(--ink); }
.bar-track { width: 100%; height: 12px; background: var(--mist); border-radius: 3px; overflow: hidden; }
.bar--sea .bar-track rect { fill: var(--sea); }
.bar--rust .bar-track rect { fill: var(--rust); }
.bar-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; font-size: .95rem; }
.bar-val small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
@media (max-width: 600px) {
  .bar { grid-template-columns: 1fr auto; gap: .3rem .8rem; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- gidų kortelės ---------- */
.guide-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; }
.gcard { display: flex; flex-direction: column; }
.gcard--big { grid-column: span 2; grid-row: span 2; }
.gcard-link { color: var(--ink); text-decoration: none; }
.gcard img { border-radius: var(--r-m); aspect-ratio: 16/10; object-fit: cover; width: 100%; margin-bottom: .9rem; }
.gcard--big img { aspect-ratio: 4/3; }
.gcard h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.gcard--big h3 { font-size: clamp(1.35rem, 1vw + 1rem, 1.75rem); font-stretch: 88%; }
.gcard-link:hover h3 { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.gcard p { color: var(--muted); font-size: .97rem; margin: 0; }
.guide-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
@media (max-width: 1000px) { .guide-mosaic { grid-template-columns: 1fr 1fr; } .gcard--big { grid-row: auto; } }
@media (max-width: 760px) { .guide-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .guide-mosaic { grid-template-columns: 1fr; } .gcard--big { grid-column: auto; } }

/* kam naudinga */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; margin-top: 2rem; }
.who img { border-radius: var(--r-m); aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 1rem; }
.who h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.who p { color: var(--muted); font-size: .97rem; margin-bottom: .6rem; }
.who a { font-weight: 620; }
@media (max-width: 1000px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .who { grid-template-columns: 1fr; } }

/* DUK */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 2.5rem 1.05rem 0; position: relative; font-weight: 650; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--sea); }
.faq-a { padding: 0 0 1.2rem; font-family: var(--f-serif); font-size: 1.05rem; color: var(--ink-2); max-width: 44em; }
.faq-a p:last-child { margin-bottom: 0; }

/* šaltiniai */
.band--land { color: var(--white); background: var(--ink); overflow: hidden; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -2; }
.band--land::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,45,54,.75), rgba(15,45,54,.92)); }
.sources { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; }
.sources li { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; }
.sources a { color: var(--white); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.sources a:hover { color: var(--amber-2); }
.sources span { color: #B7CCC8; font-size: .94rem; }
@media (max-width: 900px) { .sources { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sources { grid-template-columns: 1fr; } }

/* ---------- puslapio antraštė ---------- */
.page-head { padding-top: clamp(1.75rem, 4vw, 3rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.kicker { margin: 0 0 .75rem; font-weight: 650; }
.kicker a { color: var(--sea); text-decoration: none; border-bottom: 2px solid var(--amber); }
.art-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; color: var(--muted); font-size: .93rem; margin: 1.1rem 0 0; }
.art-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); margin-right: 1.25rem; vertical-align: middle; }

/* filtras ir kategorijos */
.filter { margin-top: 1.75rem; max-width: 34rem; }
.filter label { display: block; font-weight: 650; margin-bottom: .4rem; }
.filter input { width: 100%; padding: .85rem 1rem; border: 2px solid var(--line); border-radius: 10px; font: inherit; background: var(--white); color: var(--ink); }
.filter input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--amber); }
.filter-empty { margin-top: 1rem; color: var(--rust); }
.cat-nav ul { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-nav a { display: inline-flex; gap: .5rem; align-items: baseline; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cat-nav a span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.cat-nav a:hover { border-color: var(--ink); }
.ds-cats { padding-bottom: var(--sec); }
.ds-cat { padding-top: 2.75rem; }
.ds-cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.25rem; margin-bottom: .9rem; }
.ds-cat-head h2 { margin: 0; }
.ds-cat-head p { margin: 0; color: var(--muted); }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--amber-tint); border-left: 5px solid var(--amber); border-radius: var(--r-m); padding: clamp(1.25rem, 3vw, 2rem); }
.callout div { max-width: 40rem; }
.callout p { margin: 0; color: var(--ink-2); }

/* ---------- rinkinio puslapis ---------- */
.ds-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.ds-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 4vw, 4rem); padding-bottom: var(--sec); align-items: start; }
.ds-figure { margin: 0 0 2rem; }
.ds-figure img { border-radius: var(--r-l); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.ds-aside { position: sticky; top: 5.5rem; display: grid; gap: 1.25rem; }
.facts { margin: 0; background: var(--white); border: 1px solid var(--mist); border-radius: var(--r-m); padding: .4rem 1.2rem; }
.facts div { padding: .8rem 0; border-top: 1px solid var(--mist); }
.facts div:first-child { border-top: 0; }
.facts dt { font-size: .84rem; color: var(--muted); }
.facts dd { margin: .1rem 0 0; font-weight: 620; display: flex; flex-wrap: wrap; gap: .3rem; }
.aside-block { background: var(--white); border: 1px solid var(--mist); border-radius: var(--r-m); padding: 1.1rem 1.2rem; }
.aside-block p { font-size: .95rem; color: var(--muted); margin-bottom: .6rem; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { padding: .45rem 0; border-top: 1px solid var(--mist); font-size: .96rem; }
.aside-links li:first-child { border-top: 0; }
.aside-rekv { background: var(--ink); border-color: var(--ink); color: var(--white); }
.aside-rekv p { color: #C3D6D2; }
.aside-rekv a { color: var(--amber-2); font-weight: 650; }
@media (max-width: 1000px) { .ds-layout { grid-template-columns: 1fr; } .ds-aside { position: static; } }

/* ---------- straipsniai ---------- */
.art-figure { margin-bottom: clamp(2rem, 4vw, 3rem); }
.art-figure img { border-radius: var(--r-l); aspect-ratio: 21/9; object-fit: cover; width: 100%; }
.art-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding-bottom: var(--sec); align-items: start; }
.art-layout--single { grid-template-columns: minmax(0, 1fr); }
.toc { position: sticky; top: 5.75rem; font-size: .94rem; border-left: 3px solid var(--amber); padding-left: 1rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: .45rem 0; line-height: 1.3; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); }
@media (max-width: 1000px) { .art-layout { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { font-family: var(--f-serif); font-size: 1.14rem; line-height: 1.7; max-width: 44rem; color: #17343D; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-family: var(--f-ui); font-size: clamp(1.45rem, .8vw + 1.1rem, 1.85rem); font-stretch: 90%; margin: 2.4rem 0 .8rem; color: var(--ink); scroll-margin-top: 5.5rem; }
.prose h3 { font-family: var(--f-ui); font-size: 1.25rem; margin: 1.8rem 0 .6rem; }
.prose p, .prose ul, .prose ol, .prose dl, .prose pre, .prose .table-wrap { margin-bottom: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--sea); }
.prose strong { font-weight: 650; color: var(--ink); }
.prose code { background: var(--mist); padding: .08em .35em; border-radius: 4px; font-size: .82em; color: var(--ink); }
.prose pre { position: relative; background: var(--ink); color: #DDEAE7; border-radius: var(--r-m); padding: 2.4rem 1.2rem 1.1rem; overflow-x: auto; font-size: .86rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.copy-btn { position: absolute; top: .5rem; right: .5rem; font: 600 .8rem var(--f-ui); background: rgba(255,255,255,.1); color: #DDEAE7; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: .25rem .55rem; cursor: pointer; }
.copy-btn:hover { background: var(--amber); color: var(--ink); }
.prose .note { background: var(--amber-tint); border-left: 4px solid var(--amber); padding: 1rem 1.2rem; border-radius: 0 var(--r-s) var(--r-s) 0; font-size: 1.02rem; }
.dl-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.dl-grid > div { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: .4rem 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.dl-grid dt { font-family: var(--f-ui); font-weight: 700; font-size: 1rem; color: var(--ink); line-height: 1.4; }
.dl-grid dd { margin: 0; font-size: 1.05rem; }
@media (max-width: 620px) { .dl-grid > div { grid-template-columns: 1fr; } }
.stars { list-style: none; padding: 0 !important; }
.stars li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--mist); }
.stars strong { color: var(--amber-deep); letter-spacing: .05em; font-family: var(--f-ui); }
.checklist ul { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border: 2px solid var(--sea); border-radius: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: .95rem; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--mist); vertical-align: top; }
thead th { background: var(--tint); font-weight: 700; border-bottom: 2px solid var(--ink); }
td code { white-space: nowrap; }
.fields td:first-child { width: 30%; }
.cta-box { margin: 2.5rem 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--ink); color: var(--white); border-radius: var(--r-l); font-family: var(--f-ui); }
.cta-box h2 { margin-top: 0 !important; color: var(--white) !important; font-size: 1.4rem !important; }
.cta-box p { color: #C3D6D2; }
.ds-mini { list-style: none; padding: 0 !important; font-family: var(--f-ui); }
.ds-mini li { padding: .55rem 0; border-top: 1px solid var(--mist); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.ds-mini span { color: var(--muted); font-size: .9rem; }

/* gidų sąrašas */
.guides-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(2rem, 4vw, 4rem); padding-bottom: var(--sec); align-items: start; }
.guide-list { border-top: 2px solid var(--ink); }
.glist { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.glist-img img { border-radius: var(--r-m); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.glist h2 { margin-bottom: .4rem; }
.glist h2 a { color: var(--ink); text-decoration: none; }
.glist h2 a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; }
.glist p { color: var(--muted); margin-bottom: .5rem; }
.glist-meta { font-size: .88rem; }
.guides-aside { position: sticky; top: 5.5rem; display: grid; gap: 1.25rem; }
@media (max-width: 1000px) { .guides-layout { grid-template-columns: 1fr; } .guides-aside { position: static; } }
@media (max-width: 600px) { .glist { grid-template-columns: 1fr; } }

/* ---------- statistika ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.kpis div { padding: 1.25rem 1.25rem 1.25rem 0; }
.kpis div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.kpis dt { color: var(--muted); font-size: .92rem; min-height: 2.6em; }
.kpis dd { margin: .3rem 0 0; font-size: clamp(1.9rem, 2.4vw + .8rem, 3rem); font-weight: 780; font-stretch: 78%; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.kpi-main dd { color: var(--sea); }
.kpi-note { margin: 1rem 0 0; color: var(--muted); }
@media (max-width: 860px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis div:nth-child(3) { padding-left: 0; border-left: 0; } .kpis div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.stats-body { padding-bottom: var(--sec); }
.stat-sec { padding-top: clamp(2.5rem, 5vw, 4rem); max-width: 60rem; }
.stat-sec > p { color: var(--ink-2); max-width: 46em; }
.chart { margin: 1rem 0 0; }
.cols rect { fill: var(--sea); }
.cols rect:hover { fill: var(--amber); }
.cols .grid { stroke: var(--mist); stroke-width: 1; }
.axis { fill: var(--muted); font: 13px var(--f-ui); }
.linechart polyline { fill: none; stroke: var(--sea); stroke-width: 3; vector-effect: non-scaling-stroke; }

/* ---------- žodynas ---------- */
.letters ul { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.letters a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 8px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.letters a:hover { background: var(--ink); color: var(--white); }
.glossary { padding-bottom: var(--sec); }
.glossary section { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1.5rem; border-top: 2px solid var(--ink); padding-top: 1rem; margin-top: 2rem; }
.g-letter { font-size: 3rem; font-stretch: 75%; font-weight: 800; line-height: 1; color: var(--amber-deep); scroll-margin-top: 6rem; }
.glossary dl { margin: 0; }
.term { padding: .9rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 6rem; max-width: 48rem; }
.term:target { background: var(--amber-tint); }
.term dt { font-weight: 720; font-size: 1.15rem; }
.term dd { margin: .2rem 0 0; font-family: var(--f-serif); font-size: 1.07rem; color: var(--ink-2); }
@media (max-width: 600px) { .glossary section { grid-template-columns: 1fr; gap: 0; } }

.faq-page { padding-bottom: var(--sec); max-width: 56rem; }
.faq-group { margin-top: 2.5rem; }

/* klaida */
.err { padding-block: clamp(3rem, 8vw, 7rem); }
.err-code { font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; font-stretch: 75%; line-height: .85; margin: 0 0 1rem; color: var(--amber); letter-spacing: -.04em; }
.err-links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.err-links a { display: block; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; }
.err-links a:hover { background: var(--ink); color: var(--white); }

/* ---------- poraštė ---------- */
.rekv-strip { background: var(--ink); color: var(--white); }
.rekv-strip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.6rem; }
.rekv-strip-text { margin: 0; max-width: 46rem; color: #C3D6D2; }
.rekv-strip-text strong { color: var(--white); display: block; font-size: 1.15rem; }
.site-foot { background: var(--ink-3); color: #A9C0BB; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 3.5rem 2rem; }
.foot-logo img { height: 34px; width: auto; margin-bottom: 1rem; }
.foot-brand p { max-width: 24rem; }
.foot-col h2 { color: var(--white); font-size: .98rem; margin-bottom: .8rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: .4rem 0; }
.site-foot a { color: #DDEAE7; text-decoration: none; }
.site-foot a:hover { color: var(--amber-2); text-decoration: underline; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem 2rem; font-size: .86rem; }
.foot-legal a { margin-right: .9rem; text-decoration: underline; }
.foot-legal p { margin: .3rem 0; max-width: 70rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- prieinamumas ir spauda ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .decoder.is-parsing .row { opacity: 1; transform: none; }
}
@media print {
  .site-head, .rekv-strip, .site-foot, .toc, .cta-box, .hero-bg, .band-bg, .copy-btn { display: none !important; }
  body { background: #fff; }
  .hero, .band--land { background: #fff; color: #000; }
  a { color: #000; }
}
