/*
Theme Name: Švyturys
Theme URI: https://www.klaipedoskonservatorija.lt/
Author: Konservatyvių žinių portalas
Description: Greita, SEO optimizuota naujienų portalo tema be papildomų įskiepių. Rubrikas žymi jūrinės signalinės vėliavos, straipsniuose – turinys, skaitymo eiga, susiję straipsniai ir „Kitas straipsnis“ pasiūlymas. Įtraukti NewsArticle struktūriniai duomenys, Open Graph, senų URL peradresavimai, tamsus režimas ir mygtukas „į viršų“.
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: svyturys
Tags: news, blog, two-columns, custom-logo, custom-menu, featured-images, accessibility-ready, translation-ready
*/

/* ==========================================================================
   1. Spalvos ir dydžiai
   ========================================================================== */
:root {
	--fog: #e9eef0;
	--paper: #f7f9fa;
	--raise: #ffffff;
	--ink: #0c2230;
	--ink-2: #405867;
	--sea: #22556e;
	--line: #cbd6dc;
	--band: #0c2230;
	--band-ink: #e9eef0;
	--band-ink-2: #a9bcc7;

	--sig-red: #c7322b;
	--sig-yellow: #f2b518;
	--sig-blue: #1d4f91;
	--sig-black: #0c2230;
	--sig-white: #ffffff;
	--flag-edge: rgba(12, 34, 48, .3);

	--focus: #1d4f91;
	--accent: var(--sig-blue);

	--serif: "Bitter", "Rockwell", "Roboto Slab", Georgia, serif;
	--sans: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--gap: clamp(18px, 2.4vw, 32px);
	--bar-h: 84px;
	--r-img: 6px;
	--r-box: 12px;
	--shadow: 0 18px 40px -18px rgba(12, 34, 48, .45);

	color-scheme: light;
}

[data-theme="dark"] {
	--fog: #0a1a24;
	--paper: #0f2533;
	--raise: #132c3c;
	--ink: #e6edf0;
	--ink-2: #a2b5c0;
	--sea: #84bad2;
	--line: #24404f;
	--band: #061219;
	--band-ink: #e6edf0;
	--band-ink-2: #93a9b5;
	--sig-blue: #2f66b3;
	--sig-black: #050f15;
	--sig-white: #eef3f5;
	--flag-edge: rgba(230, 237, 240, .25);
	--focus: #f2b518;
	--shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--fog: #0a1a24;
		--paper: #0f2533;
		--raise: #132c3c;
		--ink: #e6edf0;
		--ink-2: #a2b5c0;
		--sea: #84bad2;
		--line: #24404f;
		--band: #061219;
		--band-ink: #e6edf0;
		--band-ink-2: #93a9b5;
		--sig-blue: #2f66b3;
		--sig-black: #050f15;
		--sig-white: #eef3f5;
		--flag-edge: rgba(230, 237, 240, .25);
		--focus: #f2b518;
		--shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
		color-scheme: dark;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	margin: 0;
	background: var(--fog);
	color: var(--ink);
	font: 400 1rem/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-variant-numeric: lining-nums;
}

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

img { display: block; }

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

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--serif); font-weight: 750; line-height: 1.15; text-wrap: balance; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

button { font: inherit; color: inherit; }

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

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

.svy-skip {
	position: absolute;
	left: 12px; top: -100px;
	z-index: 1000;
	padding: .7em 1.1em;
	background: var(--ink);
	color: var(--fog);
	font-weight: 600;
	border-radius: 0 0 8px 8px;
}
.svy-skip:focus { top: 0; }

.svy-wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.svy-main { display: block; min-height: 50vh; }

/* Signalinė vėliava */
.svy-flag {
	display: inline-block;
	width: 1.5em;
	height: 1em;
	flex: none;
	vertical-align: -.12em;
	overflow: hidden;
}
.svy-flag__edge {
	stroke: var(--flag-edge);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

/* Bendri elementai */
.svy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: .75em 1.6em;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: var(--fog);
	font: 600 1rem/1.2 var(--sans);
	text-decoration: none;
	cursor: pointer;
}
.svy-btn:hover { background: var(--sea); }

.svy-badge {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: .5em;
	color: var(--ink);
	font: 600 .875rem/1.2 var(--sans);
	text-decoration: none;
}
.svy-badge .svy-flag { width: 1.35em; height: .9em; }
a.svy-badge:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }

.svy-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .2em .8em;
	color: var(--ink-2);
	font: 400 .875rem/1.4 var(--sans);
	font-variant-numeric: tabular-nums;
}
.svy-meta > * + * { padding-left: .8em; border-left: 1px solid var(--line); }

/* Visa kortelė paspaudžiama per antraštės nuorodą */
.svy-stretch { text-decoration: none; }
.svy-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ==========================================================================
   3. Antraštė
   ========================================================================== */
.svy-header {
	position: sticky;
	top: calc(var(--bar-h) * -1);
	z-index: 50;
	background: var(--fog);
}
.admin-bar .svy-header { top: calc(32px - var(--bar-h)); }
@media (max-width: 782px) { .admin-bar .svy-header { top: calc(var(--bar-h) * -1); } }

.svy-header__bar {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--bar-h);
}

.svy-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
	margin-right: auto;
}
.svy-logo__mark { width: 50px; height: 50px; flex: none; }
.svy-logo__mast { stroke: currentColor; }
.svy-logo__truck { fill: currentColor; }
.svy-logo__wave { stroke: var(--sea); }
.svy-logo__text { margin: 0; display: flex; flex-direction: column; font: inherit; }
.svy-logo__name { font: 800 1.6rem/1 var(--serif); letter-spacing: -.01em; }
.svy-logo__sub { font: 500 .95rem/1.3 var(--sans); color: var(--sea); letter-spacing: .02em; }
.custom-logo-link { margin-right: auto; }
.custom-logo { max-height: 60px; width: auto; }

.svy-header__today {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-size: .875rem;
	line-height: 1.3;
	color: var(--ink-2);
}
.svy-header__place { font-weight: 600; color: var(--ink); }
.svy-header__date::first-letter { text-transform: uppercase; }

.svy-mode {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	min-height: 44px;
	padding: .4em 1em .4em .75em;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font-size: .875rem;
	cursor: pointer;
}
.svy-mode:hover { border-color: var(--ink-2); }
.svy-mode svg { width: 20px; height: 20px; }
.svy-mode__moon { fill: var(--ink); }
.svy-mode__sun { display: none; fill: var(--sig-yellow); stroke: var(--sig-yellow); }
[data-theme="dark"] .svy-mode__moon { display: none; }
[data-theme="dark"] .svy-mode__sun { display: inline; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .svy-mode__moon { display: none; }
	:root:not([data-theme="light"]) .svy-mode__sun { display: inline; }
}

.svy-nav {
	position: relative;
	background: var(--paper);
	border-block: 1px solid var(--line);
}
.svy-nav__inner { position: relative; }
.svy-nav__list {
	display: flex;
	gap: 4px;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
	margin-inline: -10px;
}
.svy-nav__list::-webkit-scrollbar { display: none; }
.svy-nav__list li { flex: none; scroll-snap-align: start; }
.svy-nav__list a {
	position: relative;
	display: flex;
	align-items: center;
	gap: .55em;
	min-height: 52px;
	padding: 0 12px;
	color: var(--ink);
	font: 500 .95rem/1 var(--sans);
	text-decoration: none;
	white-space: nowrap;
}
.svy-nav__list a .svy-flag { width: 1.35em; height: .9em; }
.svy-nav__list a::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: -1px;
	height: 3px;
	background: transparent;
}
.svy-nav__list a:hover::after { background: var(--line); }
.svy-nav__list .current-menu-item > a::after,
.svy-nav__list .current-menu-ancestor > a::after,
.svy-nav__list a[aria-current]::after { background: var(--ink); }

.svy-progress {
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 3px;
	overflow: hidden;
}
.svy-progress__bar {
	display: block;
	height: 100%;
	background: var(--sig-yellow);
	transform-origin: 0 50%;
	transform: scaleX(0);
}

/* ==========================================================================
   4. Sekcijos
   ========================================================================== */
.svy-section { padding-block: clamp(40px, 6vw, 72px); }

.svy-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 20px;
	margin-bottom: clamp(20px, 2.6vw, 32px);
}
.svy-section__title { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.15rem); font-weight: 800; letter-spacing: -.01em; }
.svy-section__note { color: var(--ink-2); font-size: 1rem; }
.svy-section__more {
	margin-left: auto;
	font-weight: 500;
	font-size: .95rem;
	color: var(--sea);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}
.svy-section__more:hover { color: var(--ink); text-decoration-thickness: 2px; }

.svy-grid { display: grid; gap: clamp(28px, 3vw, 40px) var(--gap); }
.svy-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 1000px) { .svy-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   5. Paveikslėliai ir vėliavų fonai
   ========================================================================== */
.svy-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: var(--r-img);
	background: var(--line);
}
.svy-media__img { width: 100%; height: 100%; object-fit: cover; }
.svy-media--flag {
	background: var(--paper);
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, rgba(12, 34, 48, .045) 14px 15px),
		color-mix(in srgb, var(--accent) 16%, var(--paper));
}
.svy-media__flag {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 38%;
	height: auto;
	aspect-ratio: 3 / 2;
	filter: drop-shadow(0 6px 10px rgba(12, 34, 48, .18));
}
.svy-media__letter {
	position: absolute;
	left: 12px; bottom: 12px;
	min-width: 2.1em;
	padding: .12em .45em .18em;
	border-radius: 4px;
	background: var(--paper);
	color: var(--ink);
	font: 800 1.15rem/1.2 var(--serif);
	text-align: center;
	box-shadow: 0 1px 0 rgba(12, 34, 48, .2);
}

/* ==========================================================================
   6. Kortelės
   ========================================================================== */
.svy-card { position: relative; display: flex; flex-direction: column; }
.svy-card__body { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.svy-card__title { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.32rem); font-weight: 700; line-height: 1.25; }
.svy-card__title a:hover,
.svy-card:focus-within .svy-card__title a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--sig-yellow); text-underline-offset: .15em; }
.svy-card__text {
	color: var(--ink-2);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.svy-row {
	position: relative;
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
.svy-row .svy-media { border-radius: 4px; }
.svy-row .svy-media__letter { left: 6px; bottom: 6px; font-size: .8rem; }
.svy-row__body { display: flex; flex-direction: column; gap: 8px; }
.svy-row__title { font-size: 1.05rem; font-weight: 650; line-height: 1.3; }
.svy-row__title a:hover { text-decoration: underline; text-decoration-color: var(--sig-yellow); text-decoration-thickness: 2px; }

/* ==========================================================================
   7. Pradžia: pagrindinis straipsnis + naujausia
   ========================================================================== */
.svy-hero {
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	padding-top: clamp(24px, 3.5vw, 44px);
	padding-bottom: clamp(16px, 3vw, 32px);
}
@media (min-width: 1000px) {
	.svy-hero { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; }
}

.svy-lead { position: relative; display: flex; flex-direction: column; }
.svy-lead .svy-media { aspect-ratio: 16 / 9; border-radius: var(--r-img); }
.svy-lead .svy-media__letter { font-size: 2rem; left: 20px; bottom: 20px; }
.svy-lead__body { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; }
.svy-lead__title {
	font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem);
	font-weight: 850;
	line-height: 1.04;
	letter-spacing: -.022em;
	max-width: 22ch;
}
.svy-lead__title a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-decoration-color: var(--sig-yellow); text-underline-offset: .12em; }
.svy-lead__text { font: 400 1.15rem/1.6 var(--serif); color: var(--ink-2); max-width: 60ch; }

.svy-timeline { position: relative; }
.svy-timeline__title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; margin-bottom: 18px; }
.svy-timeline__list { list-style: none; border-left: 2px solid var(--line); margin-left: 5px; }
.svy-timeline__item { position: relative; padding: 0 0 22px 22px; }
.svy-timeline__item:last-child { padding-bottom: 0; }
.svy-timeline__item::before {
	content: "";
	position: absolute;
	left: -7px; top: .3em;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: var(--fog);
	border: 2px solid var(--sea);
}
.svy-timeline__item:first-child::before { background: var(--sig-yellow); border-color: var(--ink); }
.svy-timeline__item time { display: block; font-size: .85rem; font-weight: 500; color: var(--sea); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.svy-timeline__head { font-size: 1.08rem; font-weight: 650; line-height: 1.3; }
.svy-timeline__head a { text-decoration: none; }
.svy-timeline__head a:hover { text-decoration: underline; text-decoration-color: var(--sig-yellow); text-decoration-thickness: 2px; }
.svy-timeline__cat { display: inline-flex; align-items: center; gap: .45em; margin-top: 6px; font-size: .82rem; color: var(--ink-2); }
.svy-timeline__cat .svy-flag { width: 1.2em; height: .8em; }

/* ==========================================================================
   8. Pradžia: rubrikų vėliavos
   ========================================================================== */
.svy-signals { background: var(--paper); border-block: 1px solid var(--line); }
.svy-signals__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 14px;
}
.svy-signal {
	position: relative;
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 18px 18px 20px;
	border-radius: var(--r-box);
	background: var(--fog);
	overflow: hidden;
}
.svy-signal:hover { background: var(--raise); }
.svy-signal__flag { width: 60px; height: 40px; }
.svy-signal__body { display: flex; flex-direction: column; gap: 4px; padding-right: 2.4rem; }
.svy-signal__name { font-size: 1.15rem; font-weight: 750; }
.svy-signal__name a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.svy-signal__count { font-size: .875rem; color: var(--sea); font-weight: 500; }
.svy-signal__latest { font-size: .9rem; color: var(--ink-2); line-height: 1.4; margin-top: 4px; }
.svy-signal__code {
	position: absolute;
	right: 12px; top: 2px;
	font: 900 3.4rem/1 var(--serif);
	color: var(--line);
	pointer-events: none;
}

/* ==========================================================================
   9. Pradžia: rubrikų blokai
   ========================================================================== */
.svy-desk__head { align-items: center; border-top: 4px solid var(--accent); padding-top: 16px; }
.svy-desk__flag { width: 2.4rem; height: 1.6rem; }
.svy-desk__grid { display: grid; gap: var(--gap); }
.svy-desk__side { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 900px) {
	.svy-desk__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.svy-desk--flip .svy-desk__main { order: 2; }
	.svy-desk__main .svy-card__title { font-size: clamp(1.4rem, 1rem + 1vw, 1.85rem); line-height: 1.18; }
	.svy-desk__side .svy-row + .svy-row { padding-top: 22px; border-top: 1px solid var(--line); }
}
.svy-desk + .svy-desk { padding-top: 0; }

/* ==========================================================================
   10. Pradžia: skaitomiausia
   ========================================================================== */
.svy-rank { background: var(--band); color: var(--band-ink); }
.svy-rank .svy-section__note,
.svy-rank .svy-meta { color: var(--band-ink-2); }
.svy-rank .svy-meta > * + * { border-color: rgba(255, 255, 255, .2); }
.svy-rank__list {
	list-style: none;
	counter-reset: rank;
	display: grid;
	gap: 28px var(--gap);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.svy-rank__item {
	position: relative;
	counter-increment: rank;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 6px;
}
.svy-rank__item::before {
	content: counter(rank);
	font: 900 4.2rem/1 var(--serif);
	color: transparent;
	-webkit-text-stroke: 2px var(--sig-yellow);
	font-variant-numeric: lining-nums;
}
.svy-rank__title { font-size: 1.12rem; font-weight: 650; line-height: 1.3; }
.svy-rank__title a:hover { text-decoration: underline; text-decoration-color: var(--sig-yellow); text-decoration-thickness: 2px; }

/* ==========================================================================
   11. Archyvai
   ========================================================================== */
.svy-archive { padding-top: clamp(20px, 3vw, 36px); padding-bottom: 8px; }
.svy-archive__row { display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: flex-start; margin-top: 18px; }
.svy-archive__flag { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; color: var(--ink-2); }
.svy-archive__flag svg { width: 108px; height: 72px; display: block; }
.svy-archive__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 850; letter-spacing: -.02em; line-height: 1.05; }
.svy-archive__desc { max-width: 65ch; margin-top: 12px; font: 400 1.1rem/1.6 var(--serif); color: var(--ink-2); }
.svy-archive__desc p + p { margin-top: .8em; }
.svy-archive__count { margin-top: 10px; color: var(--sea); font-weight: 500; }

.svy-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: .875rem; color: var(--ink-2); }
.svy-crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.svy-crumbs li + li::before {
	content: "";
	width: 6px; height: 6px;
	margin-inline: 6px 4px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .6;
}
.svy-crumbs a { color: var(--sea); }
.svy-crumbs a:hover { color: var(--ink); }

.svy-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 0; font-size: 1.1rem; }
.svy-empty .svy-flag { width: 90px; height: 60px; }

/* Puslapiavimas ir „rodyti daugiau“ */
.svy-more { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: clamp(36px, 5vw, 56px); }
.svy-more__btn[hidden] { display: none; }
.svy-pages .page-numbers { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.svy-pages a.page-numbers,
.svy-pages span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px; min-height: 44px;
	padding: 0 12px;
	border-radius: 8px;
	font-weight: 500;
	text-decoration: none;
	background: var(--paper);
	border: 1px solid var(--line);
}
.svy-pages a.page-numbers:hover { border-color: var(--ink); }
.svy-pages span.page-numbers.current { background: var(--ink); color: var(--fog); border-color: var(--ink); }
.svy-pages .dots { background: transparent; border-color: transparent; }

/* ==========================================================================
   12. Straipsnis
   ========================================================================== */
.svy-article__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: clamp(20px, 3vw, 36px);
	padding-bottom: clamp(22px, 3vw, 36px);
}
.svy-article__head .svy-badge { font-size: .95rem; margin-top: 8px; }
.svy-article__title {
	font-size: clamp(2rem, 1.3rem + 2.7vw, 3.4rem);
	font-weight: 850;
	line-height: 1.07;
	letter-spacing: -.02em;
	max-width: 26ch;
}
.svy-article__dek { max-width: 60ch; font: 400 clamp(1.15rem, 1rem + .5vw, 1.35rem)/1.55 var(--serif); color: var(--ink-2); }
.svy-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: .92rem;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}
.svy-article__by { font-weight: 600; color: var(--ink); }
.svy-article__time { display: inline-flex; align-items: center; gap: 6px; }
.svy-article__time::before {
	content: "";
	width: 9px; height: 9px;
	border-radius: 50%;
	border: 2px solid var(--sea);
}

.svy-article__figure { margin: 0 auto; }
.svy-article__figure img { width: 100%; max-height: 720px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-img); }
.svy-article__figure figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-2); max-width: 80ch; }

.svy-article__layout {
	display: grid;
	gap: 28px var(--gap);
	padding-top: clamp(28px, 4vw, 48px);
}
@media (min-width: 1100px) {
	.svy-article__layout { grid-template-columns: 250px minmax(0, 720px); justify-content: start; column-gap: clamp(40px, 5vw, 80px); }
	.svy-article__head { padding-left: calc(var(--gutter) + 250px + clamp(40px, 5vw, 80px)); }
	.svy-article__layout--single { grid-template-columns: minmax(0, 720px); padding-left: calc(var(--gutter) + 250px + clamp(40px, 5vw, 80px)); }
	.svy-article--page .svy-article__head { padding-left: calc(var(--gutter) + 250px + clamp(40px, 5vw, 80px)); }
	.svy-article__sticky { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 28px; }
	.admin-bar .svy-article__sticky { top: 108px; }
}
@media (max-width: 1099px) {
	.svy-article__aside { order: 0; }
	.svy-article__share { display: none; }
}

/* Turinys (TOC) */
.svy-toc {
	border-radius: var(--r-box);
	background: var(--paper);
	border: 1px solid var(--line);
}
.svy-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.svy-toc summary::-webkit-details-marker { display: none; }
.svy-toc summary::after {
	content: "";
	width: 8px; height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.svy-toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.svy-toc__list { list-style: none; counter-reset: toc; padding: 0 10px 14px; max-height: 60vh; overflow-y: auto; }
.svy-toc__item { counter-increment: toc; }
.svy-toc__item a {
	display: grid;
	grid-template-columns: 1.6em 1fr;
	gap: 4px;
	padding: 7px 8px;
	border-left: 3px solid transparent;
	border-radius: 0 6px 6px 0;
	font-size: .9rem;
	line-height: 1.35;
	color: var(--ink-2);
	text-decoration: none;
}
.svy-toc__item a::before { content: counter(toc) "."; font-variant-numeric: tabular-nums; color: var(--sea); }
.svy-toc__item--h3 { counter-increment: none; }
.svy-toc__item--h3 a { padding-left: 2.2em; grid-template-columns: 1fr; }
.svy-toc__item--h3 a::before { content: none; }
.svy-toc__item a:hover { color: var(--ink); background: var(--fog); }
.svy-toc__item a.is-active { color: var(--ink); border-left-color: var(--accent); background: var(--fog); font-weight: 500; }

.svy-article__share-label { font-size: .875rem; font-weight: 600; margin-bottom: 10px; }

/* Dalinimasis */
.svy-share { display: flex; flex-wrap: wrap; gap: 8px; }
.svy-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px; height: 44px;
	padding: 0 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font-size: .9rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
}
.svy-share__btn svg { width: 20px; height: 20px; fill: currentColor; }
.svy-share__btn:hover { border-color: var(--ink); }
.svy-article__aside .svy-share__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.svy-share__btn.is-done { background: var(--ink); color: var(--fog); border-color: var(--ink); }
.svy-article__endshare .svy-share__btn--copy { padding-right: 16px; }

/* Straipsnio tekstas */
.svy-prose {
	font: 400 1.14rem/1.78 var(--serif);
	color: var(--ink);
	min-width: 0;
	overflow-wrap: break-word;
}
.svy-prose > * { margin: 0 0 1.25em; }
.svy-prose > *:last-child { margin-bottom: 0; }
.svy-prose > :first-child { margin-top: 0; }
.svy-prose > p:first-child { font-size: 1.26rem; line-height: 1.7; }
.svy-prose h2,
.svy-prose h3,
.svy-prose h4 { scroll-margin-top: 84px; margin: 1.9em 0 .6em; font-weight: 800; line-height: 1.22; }
.svy-prose h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.85rem); letter-spacing: -.01em; }
.svy-prose h3 { font-size: 1.32rem; font-weight: 750; }
.svy-prose h4 { font-size: 1.12rem; }
.svy-prose a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.svy-prose a:hover { color: var(--ink); text-decoration-thickness: 2px; text-decoration-color: var(--sig-yellow); }
.svy-prose strong { font-weight: 700; }
.svy-prose ul,
.svy-prose ol { padding-left: 1.4em; }
.svy-prose li { margin-bottom: .45em; padding-left: .2em; }
.svy-prose ul li::marker { color: var(--accent); }
.svy-prose ol li::marker { color: var(--sea); font-weight: 700; }
.svy-prose blockquote,
.svy-prose .wp-block-quote {
	margin-inline: 0;
	padding: .2em 0 .2em 1.1em;
	border-left: 4px solid var(--sig-yellow);
	font-size: 1.28rem;
	font-style: italic;
	line-height: 1.55;
}
.svy-prose blockquote cite { display: block; margin-top: .6em; font: normal 500 .9rem var(--sans); color: var(--ink-2); }
.svy-prose figure { margin-inline: 0; }
.svy-prose img { border-radius: var(--r-img); height: auto; }
.svy-prose figcaption,
.svy-prose .wp-element-caption,
.svy-prose .wp-caption-text { margin-top: 8px; font: 400 .875rem/1.45 var(--sans); color: var(--ink-2); }
.svy-prose .wp-caption { max-width: 100%; }
.svy-prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.svy-prose table { width: 100%; border-collapse: collapse; font: 400 .95rem/1.45 var(--sans); }
.svy-prose th,
.svy-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.svy-prose th { font-weight: 600; background: var(--paper); }
.svy-prose .wp-block-table { overflow-x: auto; }
.svy-prose pre,
.svy-prose code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; }
.svy-prose pre { padding: 16px; background: var(--paper); border-radius: 8px; overflow-x: auto; }
.svy-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.svy-prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.svy-prose .aligncenter { margin-inline: auto; display: block; }
.svy-prose iframe { width: 100%; border-radius: var(--r-img); }
.svy-prose .wp-block-embed__wrapper iframe { aspect-ratio: 16 / 9; height: auto; }
.svy-prose .wp-block-button__link { background: var(--ink); color: var(--fog); border-radius: 999px; font: 600 1rem var(--sans); text-decoration: none; }

/* Intarpas „Taip pat skaitykite“ */
.svy-inline {
	clear: both;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 18px 18px;
	border-radius: var(--r-box);
	background: var(--paper);
	border-left: 4px solid var(--accent);
	font-family: var(--sans);
}
.svy-inline__label { font-size: .85rem; font-weight: 600; color: var(--sea); }
.svy-inline__link {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	color: var(--ink);
	text-decoration: none !important;
}
.svy-inline__link .svy-media { border-radius: 4px; }
.svy-inline__link .svy-media__letter { font-size: .75rem; left: 6px; bottom: 6px; }
.svy-inline__title { font: 700 1.12rem/1.3 var(--serif); }
.svy-inline__link:hover .svy-inline__title { text-decoration: underline; text-decoration-color: var(--sig-yellow); text-decoration-thickness: 2px; }

/* Straipsnio pabaiga */
.svy-article__foot { display: flex; flex-direction: column; gap: 32px; padding-top: 40px; }
@media (min-width: 1100px) {
	.svy-article__foot { padding-left: calc(var(--gutter) + 250px + clamp(40px, 5vw, 80px)); }
	.svy-article__foot > * { max-width: 720px; }
}
.svy-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svy-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--paper);
	border: 1px solid var(--line);
	font-size: .9rem;
	text-decoration: none;
	color: var(--ink);
}
.svy-tags a:hover { border-color: var(--ink); }

.svy-article__endshare {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	padding: 22px 24px;
	border-radius: var(--r-box);
	background: var(--paper);
	border: 1px solid var(--line);
}
.svy-article__endshare p { font: 600 1.05rem/1.4 var(--serif); max-width: 34ch; }

.svy-pn { display: grid; gap: 14px; }
@media (min-width: 700px) { .svy-pn { grid-template-columns: 1fr 1fr; } }
.svy-pn__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	border-radius: var(--r-box);
	border: 1px solid var(--line);
	text-decoration: none;
}
.svy-pn__link:hover { border-color: var(--ink); background: var(--paper); }
.svy-pn__link--next { text-align: right; grid-column: -2; }
.svy-pn__label { font-size: .85rem; color: var(--sea); font-weight: 500; }
.svy-pn__title { font: 700 1.05rem/1.3 var(--serif); }

.svy-related { margin-top: clamp(32px, 5vw, 64px); background: var(--paper); border-top: 1px solid var(--line); }

/* Kitas straipsnis */
.svy-nextup {
	position: fixed;
	left: 16px; bottom: 16px; right: 84px;
	z-index: 60;
	max-width: 400px;
	padding: 14px 44px 14px 14px;
	border-radius: var(--r-box);
	background: var(--raise);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	transform: translateY(0);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s;
}
.svy-nextup[hidden] { display: block; visibility: hidden; opacity: 0; transform: translateY(24px); pointer-events: none; }
.svy-nextup__label { font-size: .8rem; font-weight: 600; color: var(--sea); margin-bottom: 8px; }
.svy-nextup__link { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; }
.svy-nextup__link .svy-media { border-radius: 4px; }
.svy-nextup__link .svy-media__letter { font-size: .7rem; left: 4px; bottom: 4px; }
.svy-nextup__title { font: 700 1rem/1.3 var(--serif); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svy-nextup__link:hover .svy-nextup__title { text-decoration: underline; text-decoration-color: var(--sig-yellow); text-decoration-thickness: 2px; }
.svy-nextup__close {
	position: absolute;
	top: 6px; right: 6px;
	width: 36px; height: 36px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}
.svy-nextup__close:hover { background: var(--fog); }
.svy-nextup__close svg { width: 18px; height: 18px; fill: var(--ink); }

/* ==========================================================================
   13. 404
   ========================================================================== */
.svy-404 {
	display: grid;
	gap: 28px 48px;
	align-items: center;
	padding-top: clamp(40px, 8vw, 96px);
	padding-bottom: 24px;
}
@media (min-width: 800px) { .svy-404 { grid-template-columns: auto 1fr; } }
.svy-404__flag { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.svy-404__flag svg { width: 180px; height: 120px; }
.svy-404__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); font-weight: 850; letter-spacing: -.02em; }
.svy-404__text { margin: 14px 0 24px; max-width: 55ch; font: 400 1.15rem/1.6 var(--serif); color: var(--ink-2); }

/* ==========================================================================
   14. Poraštė
   ========================================================================== */
.svy-footer {
	position: relative;
	margin-top: 56px;
	background: var(--band);
	color: var(--band-ink);
	--ink: var(--band-ink);
	--sea: #8cc2da;
	--line: rgba(255, 255, 255, .16);
}
.svy-footer__wave { position: absolute; left: 0; right: 0; top: -23px; width: 100%; height: 24px; fill: var(--band); }
.svy-related + .svy-footer,
.svy-rank + .svy-footer { margin-top: 0; }
.svy-footer__grid {
	display: grid;
	gap: 40px var(--gap);
	padding-top: 56px;
	padding-bottom: 40px;
}
@media (min-width: 900px) { .svy-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.svy-footer .svy-logo { color: var(--band-ink); }
.svy-footer__about > p { margin-top: 18px; max-width: 48ch; color: var(--band-ink-2); line-height: 1.6; }
.svy-footer__flagnote { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.svy-footer__flagnote .svy-flag { width: 2.1em; height: 1.4em; margin-top: .15em; }
.svy-footer__title { font-size: 1.1rem; font-weight: 750; margin-bottom: 14px; }
.svy-footer__cats,
.svy-footer__links { list-style: none; display: grid; gap: 4px; }
.svy-footer__cats { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.svy-footer__cats a,
.svy-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	min-height: 36px;
	color: var(--band-ink);
	text-decoration: none;
	font-size: .95rem;
}
.svy-footer__cats a:hover span,
.svy-footer__links a:hover { text-decoration: underline; text-decoration-color: var(--sig-yellow); }
.svy-footer__cats .svy-flag { width: 1.35em; height: .9em; }
.svy-footer__base { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--band-ink-2); }

/* ==========================================================================
   15. Mygtukas „į viršų“
   ========================================================================== */
.svy-top {
	position: fixed;
	right: 16px; bottom: 16px;
	z-index: 70;
	width: 56px; height: 56px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--raise);
	color: var(--ink);
	box-shadow: var(--shadow);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.js .svy-top:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(12px); }
.svy-top:hover { background: var(--ink); color: var(--fog); }
.svy-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.svy-top__track { fill: none; stroke: var(--line); stroke-width: 3; }
.svy-top__fill { fill: none; stroke: var(--sig-yellow); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.svy-top__arrow { width: 22px; height: 22px; fill: currentColor; }

/* ==========================================================================
   16. Mažesni ekranai
   ========================================================================== */
@media (max-width: 760px) {
	:root { --bar-h: 64px; }
	.svy-logo__mark { width: 40px; height: 40px; }
	.svy-logo__name { font-size: 1.25rem; }
	.svy-logo__sub { font-size: .8rem; }
	.svy-header__bar { gap: 12px; }
	.svy-header__today { display: none; }
	.svy-mode { padding: 0; width: 44px; justify-content: center; }
	.svy-mode__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.svy-row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
	.svy-prose { font-size: 1.08rem; }
	.svy-prose > p:first-child { font-size: 1.16rem; }
	.svy-inline__link { grid-template-columns: 92px minmax(0, 1fr); }
	.svy-rank__item { flex-direction: row; align-items: flex-start; gap: 16px; }
	.svy-rank__item::before { font-size: 3rem; min-width: 1.1em; }
	.svy-rank__item > * { flex: 1; }
	.svy-rank__item .svy-meta { display: none; }
	.svy-signal__code { font-size: 2.6rem; }
}

/* ==========================================================================
   17. Judesys ir spausdinimas
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
	.svy-nav,
	.svy-mode,
	.svy-top,
	.svy-nextup,
	.svy-article__aside,
	.svy-article__endshare,
	.svy-pn,
	.svy-related,
	.svy-footer__grid,
	.svy-footer__wave { display: none !important; }
	body { background: #fff; color: #000; }
	.svy-header { position: static; }
	.svy-footer { background: none; color: #000; margin: 0; }
	.svy-prose a::after { content: " (" attr(href) ")"; font-size: .8em; }
}
