/*
Theme Name: Vitrina
Theme URI: https://www.raudonasuknele.lt/
Author: Sveikų naujienų vitrina
Description: Išskirtinė, greita ir SEO optimizuota naujienų tema „Sveikų naujienų vitrinai“. Parduotuvės vitrinos estetika: arkos formos langai, markizė, kabančios etiketės ir verdiktų antspaudai. Veikia be papildomų įskiepių: meta aprašymai, Open Graph, schema.org, turinio rodyklė, peržiūrų statistika, „Mitas ar tiesa?“ skiltis, išsaugojimas vėlesniam skaitymui, tamsi tema ir mygtukas „Į viršų“. Be jokių formų.
Version: 1.0.0
Requires at least: 6.4
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: vitrina
Tags: news, blog, two-columns, custom-logo, custom-menu, editor-style, featured-images, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Spalvos, šriftai, tarpai
   ========================================================================== */
:root {
	--paper: #f6f0e7;
	--paper-2: #eee4d5;
	--paper-3: #e5d7c3;
	--ink: #1a1214;
	--ink-2: #5a4c4e;
	--ink-3: #8a7a7b;
	--red: #c8102e;
	--red-deep: #8e0b21;
	--red-soft: #f7d9dc;
	--sage: #2f7a55;
	--amber: #a8650f;
	--line: rgba(26, 18, 20, .14);
	--line-2: rgba(26, 18, 20, .28);
	--band: #17100f;
	--band-ink: #f6f0e7;
	--card: #fbf7f1;
	--shadow: 0 1px 2px rgba(26, 18, 20, .06), 0 12px 32px -12px rgba(26, 18, 20, .22);

	--serif: "Lora", "Iowan Old Style", "Charter", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--w: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--r: 14px;
	--arch: 50% 50% 12px 12px / 34% 34% 12px 12px;
	--arch-tall: 999px 999px 14px 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: light;
}

[data-theme="dark"] {
	--paper: #141011;
	--paper-2: #1f191a;
	--paper-3: #2a2223;
	--ink: #f3ebe3;
	--ink-2: #c3b6b1;
	--ink-3: #8f8280;
	--red: #ff5a6a;
	--red-deep: #d63447;
	--red-soft: #3a1a1f;
	--sage: #63c290;
	--amber: #e3a54a;
	--line: rgba(243, 235, 227, .14);
	--line-2: rgba(243, 235, 227, .3);
	--band: #241c1d;
	--band-ink: #f3ebe3;
	--card: #1a1516;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

/* ==========================================================================
   2. Pagrindas
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-kerning: normal;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }
.site-main { display: block; outline: none; min-height: 50vh; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ==========================================================================
   3. Logotipas
   ========================================================================== */
.mark { width: 100%; height: 100%; display: block; }
.mark__arch { fill: var(--red); }
.mark__frame { stroke: #fbf6ee; stroke-opacity: .35; }
.mark__glare { stroke: #fbf6ee; stroke-opacity: .6; }
.mark__dress { fill: #fbf6ee; }
.mark__belt { stroke: #2f7a55; }

.brand { margin: 0; font: inherit; line-height: 1; }
.brand__link { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand__link:hover { color: var(--ink); }
.brand .mark { width: 56px; height: 56px; transition: transform .5s var(--ease); }
.brand__link:hover .mark { transform: translateY(-2px) rotate(-3deg); }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__top { font: 700 .78rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.brand__big { font: italic 600 clamp(2.1rem, 4vw, 2.9rem)/.9 var(--serif); letter-spacing: -.02em; }
.brand__big i { color: var(--red); font-style: normal; }
.custom-logo { max-height: 72px; width: auto; }

/* ==========================================================================
   4. Antraštė, markizė, meniu
   ========================================================================== */
.masthead { position: relative; z-index: 40; }
.masthead__top {
	display: flex; justify-content: space-between; gap: 16px; align-items: center;
	padding-block: 9px; border-bottom: 1px dashed var(--line-2);
	font-size: .8125rem; color: var(--ink-2);
}
.masthead__date { display: inline-flex; align-items: center; gap: 6px; }
.masthead__tagline { font-family: var(--serif); font-style: italic; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.masthead__main { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px 20px; }

.tools { display: flex; align-items: center; gap: 8px; }
.tool {
	display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 15px;
	border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
	font: 600 .875rem/1 var(--sans); color: var(--ink); text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.tool:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tool--icon { width: 42px; padding: 0; justify-content: center; }
.tool__count {
	min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
	background: var(--red); color: #fff; font-size: .72rem; display: inline-grid; place-items: center;
}
.tool__count[hidden] { display: none; }
.ico--sun { display: none; }
[data-theme="dark"] .ico--sun { display: block; }
[data-theme="dark"] .ico--moon { display: none; }

.catnav {
	position: sticky; top: 0; z-index: 45;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-top: 2px solid var(--ink);
}
.admin-bar .catnav { top: 32px; }
@media (max-width: 782px) { .admin-bar .catnav { top: 0; } }
/* Markizė – dryžuota parduotuvės stoginė su banguotu kraštu */
.catnav::after {
	content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; pointer-events: none;
	background: repeating-linear-gradient(90deg, var(--red) 0 28px, var(--red-deep) 28px 56px);
	-webkit-mask: radial-gradient(circle at 14px 0, #000 13.5px, transparent 14.5px) 0 0 / 28px 16px repeat-x;
	mask: radial-gradient(circle at 14px 0, #000 13.5px, transparent 14.5px) 0 0 / 28px 16px repeat-x;
}
.catnav__in { display: flex; align-items: center; gap: 6px; }
.catnav__home { flex: none; width: 0; height: 30px; overflow: hidden; opacity: 0; transition: width .3s var(--ease), opacity .3s; }
.is-scrolled .catnav__home { width: 30px; opacity: 1; margin-right: 6px; }
.catnav__list {
	display: flex; gap: 2px; list-style: none; overflow-x: auto; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
	-webkit-mask: linear-gradient(90deg, #000 calc(100% - 30px), transparent);
	mask: linear-gradient(90deg, #000 calc(100% - 30px), transparent);
	padding-right: 30px;
}
.catnav__list::-webkit-scrollbar { display: none; }
.catnav__list li { scroll-snap-align: start; flex: none; }
.catnav__list a {
	position: relative; display: block; padding: 15px 14px 13px; white-space: nowrap;
	font: 600 .9375rem/1 var(--sans); text-decoration: none; color: var(--ink);
}
.catnav__list a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px;
	background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.catnav__list a:hover::after,
.catnav__list .current-menu-item > a::after,
.catnav__list .current-category-ancestor > a::after,
.catnav__list .current-post-ancestor > a::after { transform: scaleX(1); }
.catnav__list .current-menu-item > a { color: var(--red); }

/* ==========================================================================
   5. Bendri elementai
   ========================================================================== */
.kicker {
	display: inline-block; font: 700 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
	color: var(--red); text-decoration: none;
}
a.kicker:hover { text-decoration: underline; }

.hangtag {
	position: relative; display: inline-flex; align-items: center; gap: 4px;
	padding: 4px 11px 4px 19px; background: var(--paper-2); color: var(--ink-2);
	font: 700 .72rem/1.2 var(--sans); letter-spacing: .03em; white-space: nowrap; text-decoration: none;
	clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
}
.hangtag::before { content: ""; position: absolute; left: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
a.hangtag--link { font-size: .82rem; padding: 7px 14px 7px 22px; color: var(--ink); background: var(--paper-3); }
a.hangtag--link:hover { background: var(--red); color: #fff; }

.stamp {
	--c: var(--ink-2);
	display: inline-grid; place-content: center; text-align: center; gap: 2px;
	width: 78px; height: 78px; border-radius: 50%; flex: none;
	border: 2px solid var(--c); outline: 1px solid var(--c); outline-offset: 3px;
	color: var(--c); background: color-mix(in srgb, var(--paper) 86%, transparent);
	transform: rotate(-11deg); font-family: var(--sans); text-transform: uppercase; line-height: 1;
}
.stamp__k { font-size: .5rem; font-weight: 700; letter-spacing: .2em; opacity: .85; }
.stamp__v { font-size: .74rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.stamp--true { --c: var(--sage); }
.stamp--half { --c: var(--amber); }
.stamp--myth { --c: var(--red); }
.stamp--unknown { --c: var(--ink-2); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
	padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--red);
	background: var(--red); color: #fff; font: 700 .9375rem/1 var(--sans); text-decoration: none;
	transition: background-color .2s, transform .2s var(--ease), color .2s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; transform: translateY(-1px); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico--right { transform: translateX(3px); }
[data-theme="dark"] .btn:not(.btn--ghost) { background: var(--red-deep); border-color: var(--red-deep); }
[data-theme="dark"] .btn:not(.btn--ghost):hover { background: #b0273a; border-color: #b0273a; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.pill {
	display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 14px;
	border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
	font: 600 .82rem/1 var(--sans); color: var(--ink);
}
.pill:hover { border-color: var(--ink); }

.save-btn {
	position: relative; z-index: 2; display: inline-grid; place-items: center; width: 34px; height: 34px;
	margin-left: auto; padding: 0; border: 1px solid transparent; border-radius: 50%;
	background: transparent; color: var(--ink-3); transition: color .2s, background-color .2s, transform .2s;
}
.save-btn:hover { color: var(--red); background: var(--paper-2); }
.save-btn[aria-pressed="true"] { color: var(--red); }
.save-btn[aria-pressed="true"] .ico path { fill: currentColor; }
.save-btn.is-pop { animation: pop .4s var(--ease); }
.save-btn--label {
	width: auto; height: auto; min-height: 36px; margin-left: 0; padding: 6px 14px; gap: 7px;
	display: inline-flex; border-color: var(--line-2); border-radius: 999px; color: var(--ink);
	font: 600 .82rem/1 var(--sans);
}
@keyframes pop { 40% { transform: scale(1.3); } }

.chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--ink);
	border-radius: 999px; font: 600 .875rem/1 var(--sans); text-decoration: none; color: var(--ink);
	background: transparent; transition: background-color .2s, color .2s;
}
.chip span { font-size: .72rem; font-weight: 700; color: var(--ink-3); }
.chip:hover { background: var(--ink); color: var(--paper); }
.chip:hover span { color: var(--paper); opacity: .7; }

.sec-head {
	display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 6px 18px;
	padding-top: 14px; margin-bottom: 28px; border-top: 2px solid var(--ink);
}
.sec-head__num {
	font: italic 600 clamp(2.6rem, 5vw, 4rem)/.8 var(--serif); color: transparent;
	-webkit-text-stroke: 1.5px var(--red); letter-spacing: -.03em;
}
.sec-head__title { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; }
.sec-head__more {
	display: inline-flex; align-items: center; gap: 6px; padding-bottom: 4px;
	font: 700 .875rem/1 var(--sans); text-decoration: none; color: var(--ink); white-space: nowrap;
}
.sec-head__more:hover .ico { transform: translateX(3px); }
.sec-head__more .ico { transition: transform .25s var(--ease); }

/* Vietos rezervavimas, kai nėra paveikslėlio */
.ph {
	--ph-h: 350;
	position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, hsl(var(--ph-h) 40% 50% / .06) 14px 15px),
		radial-gradient(120% 90% at 30% 20%, hsl(var(--ph-h) 55% 90%), hsl(var(--ph-h) 35% 80%));
	color: hsl(var(--ph-h) 45% 28%);
}
[data-theme="dark"] .ph {
	background:
		repeating-linear-gradient(135deg, transparent 0 14px, hsl(var(--ph-h) 40% 60% / .08) 14px 15px),
		radial-gradient(120% 90% at 30% 20%, hsl(var(--ph-h) 30% 24%), hsl(var(--ph-h) 25% 14%));
	color: hsl(var(--ph-h) 45% 80%);
}
.ph__mark { display: block; width: 56px; height: 56px; opacity: .9; }
.card--row .ph__mark, .next-up__media .ph__mark { width: 30px; height: 30px; }
.card--row .ph__label { font-size: .78rem; }
.ph__label { font: italic 600 1rem/1.2 var(--serif); text-align: center; padding-inline: 12px; }

/* ==========================================================================
   6. Kortelės
   ========================================================================== */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--arch); background: var(--paper-2); isolation: isolate; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, .2) 46%, transparent 52% 100%);
	transform: translateX(-60%); transition: transform .9s var(--ease);
}
.card:hover .card__media::after { transform: translateX(60%); }
.card__stamp { position: absolute; bottom: 14px; right: 14px; z-index: 2; width: 70px; height: 70px; }
.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 1.3rem; line-height: 1.22; }
.card__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { background-size: 100% 1.5px; color: var(--ink); }
.card__excerpt { color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.card__meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; font-size: .8125rem; color: var(--ink-3); }
.card__meta time { font-variant-numeric: tabular-nums; }

.card--row { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; }
.card--row .card__media { aspect-ratio: 1; border-radius: 46px 46px 8px 8px; }
.card--row .card__title { font-size: 1.06rem; line-height: 1.28; }
.card--row .card__stamp { display: none; }
.card--row .card__body { gap: 6px; }
.card--row .card__meta { padding-top: 0; }

.card--tile .card__media { aspect-ratio: 16 / 10; border-radius: 50% 50% 14px 14px / 26% 26% 14px 14px; }
.card--tile .card__title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.12; }
.card--tile .card__excerpt { font-size: 1.06rem; font-family: var(--serif); }
.card--tile .card__stamp { width: 86px; height: 86px; bottom: 22px; right: 22px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 44px 30px; }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* ==========================================================================
   7. Pradžios puslapis
   ========================================================================== */
.ticker { margin-top: 30px; }
.ticker__in { display: flex; align-items: center; gap: 18px; }
.ticker__label {
	flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px;
	font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
	background: var(--ink); color: var(--paper); border-radius: 999px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ticker__list {
	display: flex; gap: 30px; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory;
	-webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent);
	padding-block: 6px;
}
.ticker__list::-webkit-scrollbar { display: none; }
.ticker__list li { flex: none; display: flex; align-items: baseline; gap: 9px; scroll-snap-align: start; font-size: .9375rem; }
.ticker__list time { font: 700 .72rem/1 var(--sans); color: var(--red); text-transform: uppercase; letter-spacing: .04em; }
.ticker__list a { text-decoration: none; font-weight: 500; }
.ticker__list a:hover { text-decoration: underline; color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; margin-top: 34px; }
.lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.lead__media {
	position: relative; display: block; aspect-ratio: 4 / 5; padding: 10px; background: var(--red);
	border-radius: var(--arch-tall); overflow: hidden; isolation: isolate;
	box-shadow: 0 30px 50px -30px rgba(142, 11, 33, .55);
}
.lead__media > img, .lead__media > .ph {
	position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px);
	object-fit: cover; border-radius: 999px 999px 8px 8px; transition: transform .9s var(--ease);
}
.lead__media:hover > img { transform: scale(1.04); }
.lead__glare {
	position: absolute; inset: 10px; border-radius: 999px 999px 8px 8px; pointer-events: none; z-index: 1;
	background:
		linear-gradient(118deg, transparent 0 30%, rgba(255, 255, 255, .22) 33%, transparent 40%, transparent 46%, rgba(255, 255, 255, .12) 48%, transparent 52%),
		linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, .18));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.lead__body { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.lead__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.lead__eyebrow > span { padding: 6px 10px; border: 1px solid var(--ink); border-radius: 999px; }
.lead__title { font-size: clamp(2rem, 3.8vw, 3.3rem); line-height: 1.04; letter-spacing: -.02em; }
.lead__title a { text-decoration: none; }
.lead__title a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.lead__answer { font: 400 1.15rem/1.55 var(--serif); color: var(--ink-2); padding-left: 18px; border-left: 3px solid var(--red); }
.lead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .875rem; color: var(--ink-3); }
.lead__meta .stamp { width: 70px; height: 70px; }

.hero__side { border-left: 1px solid var(--line-2); padding-left: 32px; }
.hero__stats { font: 600 .8125rem/1.3 var(--sans); color: var(--ink-2); padding-bottom: 16px; margin-bottom: 6px; border-bottom: 2px solid var(--ink); }
.hero__stats strong { font: italic 600 1.6rem/1 var(--serif); color: var(--red); }
.hero__list { list-style: none; counter-reset: side; }
.hero__list > li { padding-block: 18px; border-bottom: 1px dashed var(--line-2); }
.hero__list > li:last-child { border-bottom: 0; }

.rack { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 56px; }
.rack__label { font: italic 600 1.1rem/1 var(--serif); }
.rack__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.rack__list--sub { margin-top: 18px; }

/* Mitas ar tiesa? – naktinė vitrina */
.quiz {
	margin-top: 72px; padding-block: 64px 72px; background: var(--band); color: var(--band-ink);
	position: relative; overflow: hidden;
}
.quiz::before {
	content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; border-radius: 50%;
	background: radial-gradient(circle, rgba(200, 16, 46, .35), transparent 65%); pointer-events: none;
}
.quiz .sec-head { border-top-color: var(--band-ink); position: relative; }
.quiz .sec-head__num { -webkit-text-stroke-color: #ff5a6a; }
.quiz__intro { margin: -12px 0 30px; font: italic 400 1.15rem/1.4 var(--serif); opacity: .8; position: relative; }
.quiz__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; list-style: none; }
.q {
	position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
	padding: 26px 26px 24px; border: 1px solid rgba(246, 240, 231, .16); border-radius: 30px 30px 8px 8px;
	background: rgba(246, 240, 231, .04); transition: background-color .3s, border-color .3s;
}
.q:hover { border-color: rgba(246, 240, 231, .34); }
.q__n { font: italic 600 2.4rem/1 var(--serif); color: #ff5a6a; }
.q__title { font-size: 1.32rem; line-height: 1.25; }
.q__btn {
	display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 16px;
	border: 1px solid rgba(246, 240, 231, .5); border-radius: 999px; background: transparent; color: var(--band-ink);
	font: 700 .8125rem/1 var(--sans); letter-spacing: .02em; transition: background-color .2s, color .2s;
}
.q__btn:hover { background: var(--band-ink); color: var(--band); }
.q__answer[hidden] { display: none; }
.q__answer { display: grid; gap: 14px; padding-top: 16px; border-top: 1px dashed rgba(246, 240, 231, .3); width: 100%; }
.q__answer:not([hidden]) { animation: rise .45s var(--ease); }
.q__answer p { font: 400 1rem/1.55 var(--serif); opacity: .92; }
.q__answer a { display: inline-flex; align-items: center; gap: 6px; font: 700 .875rem/1 var(--sans); color: #ff8592; text-decoration: none; }
.q__answer a:hover { color: #fff; }
.q__answer .stamp { --bg: var(--band); background: transparent; justify-self: start; animation: stamp .5s var(--ease) both; }
.q--true .stamp { --c: #63c290; }
.q--half .stamp { --c: #e3a54a; }
.q--myth .stamp { --c: #ff5a6a; }
.q.is-open .q__btn { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.8) rotate(-30deg); } 60% { opacity: 1; transform: scale(.92) rotate(-8deg); } 100% { transform: scale(1) rotate(-11deg); } }

.shelf { margin-top: 80px; }
.shelf__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.shelf--flip .shelf__main { order: 2; }
.shelf__list { list-style: none; display: grid; }
.shelf__list > li { padding-block: 20px; border-bottom: 1px dashed var(--line-2); }
.shelf__list > li:first-child { padding-top: 0; }
.shelf__list > li:last-child { border-bottom: 0; }

/* Daugiausiai skaitoma – raudona juosta */
.charts { margin-top: 80px; padding-block: 56px 64px; background: var(--red); color: #fff; }
[data-theme="dark"] .charts { background: #5e0a18; }
.charts .sec-head { border-top-color: #fff; }
.charts .sec-head__num { -webkit-text-stroke-color: #fff; }
.charts .sec-head__title { color: #fff; }
.charts__list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; }
.charts__item { display: grid; gap: 10px; align-content: start; }
.charts__n { font: italic 600 6rem/.8 var(--serif); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); letter-spacing: -.04em; }
.charts .kicker { color: #ffd6db; }
.charts__title { font-size: 1.15rem; line-height: 1.28; margin: 6px 0 10px; }
.charts__title a { text-decoration: none; color: #fff; }
.charts__title a:hover { text-decoration: underline; color: #fff; }
.charts .hangtag { background: rgba(255, 255, 255, .16); color: #fff; }
.charts .hangtag::before { background: var(--red); box-shadow: none; }

.more { margin-top: 80px; }
.more__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
.empty { padding-block: 80px; text-align: center; display: grid; gap: 14px; justify-items: center; }

/* ==========================================================================
   8. Archyvai
   ========================================================================== */
.archive-head { padding-block: 34px 34px; border-bottom: 1px solid var(--line-2); margin-top: 18px; }
.archive-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 18px; }
.archive-head__eyebrow { font: 700 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.archive-head__title { font-size: clamp(2.3rem, 5.5vw, 4.4rem); line-height: 1; letter-spacing: -.025em; }
.archive-head__desc { margin-top: 16px; max-width: 64ch; color: var(--ink-2); font: 400 1.125rem/1.6 var(--serif); }
.archive-head__desc p + p { margin-top: .6em; }
.archive-head__count { display: grid; justify-items: end; text-align: right; flex: none; }
.archive-head__count strong { font: italic 600 clamp(2.6rem, 5vw, 4rem)/.9 var(--serif); color: var(--red); }
.archive-head__count span { font: 600 .8125rem/1.4 var(--sans); color: var(--ink-2); }
.archive-body { padding-top: 44px; }
.grid--archive > .card--tile { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; align-items: center; padding-bottom: 44px; border-bottom: 1px dashed var(--line-2); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font: 500 .8125rem/1.4 var(--sans); color: var(--ink-3); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .6; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs [aria-current] span { display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.pager { margin-top: 60px; }
.pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.pager .page-numbers {
	display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px;
	border: 1px solid var(--line-2); font: 700 .9375rem/1 var(--sans); text-decoration: none; color: var(--ink);
}
.pager .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.pager a.page-numbers:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pager .prev, .pager .next { display: inline-flex; gap: 8px; padding-inline: 20px; }
.pager .dots { border: 0; min-width: 20px; }

/* ==========================================================================
   9. Straipsnis
   ========================================================================== */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 100; pointer-events: none; }
.admin-bar .progress { top: 32px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff7a5c); transform: scaleX(0); transform-origin: left; will-change: transform; }

.article-head { max-width: calc(880px + var(--gutter) * 2); padding-top: 34px; display: grid; gap: 16px; justify-items: start; }
.article-head .crumbs { margin-bottom: 8px; }
.article-head__title { font-size: clamp(2.1rem, 4.8vw, 3.7rem); line-height: 1.06; letter-spacing: -.025em; }
.article-head__dek { font: italic 400 clamp(1.15rem, 2vw, 1.4rem)/1.5 var(--serif); color: var(--ink-2); max-width: 60ch; }
.article-head__meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; width: 100%;
	padding-top: 16px; margin-top: 6px; border-top: 1px solid var(--line-2); font-size: .875rem; color: var(--ink-2);
}
.article-head__meta strong { color: var(--ink); }
.article-head__meta .updated { color: var(--sage); font-weight: 600; }
.article-head__actions { display: inline-flex; gap: 8px; margin-left: auto; }

.article-hero { margin-top: 30px; }
.article-hero__frame {
	position: relative; overflow: hidden; padding: 8px; background: var(--red);
	border-radius: 50% 50% 16px 16px / 18% 18% 16px 16px; aspect-ratio: 16 / 9;
}
.article-hero__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50% 50% 10px 10px / 17% 17% 10px 10px; }
.article-hero figcaption { margin-top: 10px; font-size: .8125rem; color: var(--ink-3); text-align: right; }

.article-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); justify-content: center; gap: 70px; margin-top: 44px; }
.article-layout--single { grid-template-columns: minmax(0, 720px); }
.article-aside__sticky { position: sticky; top: 92px; display: grid; gap: 30px; }

.toc__title { display: flex; align-items: center; gap: 8px; font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a {
	display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent;
	font: 500 .875rem/1.35 var(--sans); color: var(--ink-2); text-decoration: none; transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--red); border-left-color: var(--red); font-weight: 700; }
.toc .toc__l3 a { padding-left: 28px; font-size: .8125rem; }

.toc-m { display: none; margin-bottom: 30px; border: 1px solid var(--line-2); border-radius: 18px 18px 6px 6px; background: var(--card); }
.toc-m summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font: 700 .9375rem/1 var(--sans); cursor: pointer; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary span { margin-left: auto; font-size: .75rem; color: var(--ink-3); }
.toc-m .toc { padding: 0 18px 16px; }
.toc-m .toc__title { display: none; }

/* Trumpai – kabanti etiketė */
.tldr {
	position: relative; margin-bottom: 40px; padding: 26px 30px 26px 54px; background: var(--card);
	border: 1.5px solid var(--ink); border-radius: 8px 24px 24px 8px; box-shadow: 6px 6px 0 var(--red-soft);
}
.tldr__tag { position: absolute; left: 20px; top: 28px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); }
.tldr__tag::before { content: ""; position: absolute; right: 100%; top: 50%; width: 24px; height: 1.5px; background: var(--ink); transform: rotate(-24deg); transform-origin: right; }
.tldr__title { font: 700 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.tldr__text { font: 500 1.2rem/1.55 var(--serif); }
.tldr__stamp { position: absolute; right: -14px; top: -30px; width: 84px; height: 84px; }
.tldr:has(.tldr__stamp) { padding-right: 84px; }

/* Turinys */
.prose { font: 400 1.19rem/1.78 var(--serif); color: var(--ink); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-of-type::first-letter {
	float: left; font: 600 4.1em/.82 var(--serif); color: var(--red); margin: .06em .1em 0 0; padding-top: .04em;
}
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 1.95rem); margin-top: 2.1em; line-height: 1.2; scroll-margin-top: 90px; }
.prose h2::before { content: ""; display: block; width: 44px; height: 4px; margin-bottom: 16px; border-radius: 4px; background: var(--red); }
.prose h3 { font-size: 1.4rem; margin-top: 1.8em; scroll-margin-top: 90px; }
.prose h4 { font-size: 1.15rem; margin-top: 1.6em; font-family: var(--sans); font-weight: 700; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.prose a:hover { color: var(--red-deep); text-decoration-thickness: 2.5px; }
.prose strong { font-weight: 700; }
.prose mark { background: linear-gradient(transparent 55%, var(--red-soft) 0); color: inherit; padding: 0 .1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--red); content: "◆  "; font-size: .7em; }
.prose ol li::marker { color: var(--red); font-family: var(--sans); font-weight: 700; font-size: .9em; }
.prose blockquote, .prose .wp-block-quote {
	margin-inline: 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--red);
	font-style: italic; font-size: 1.3rem; line-height: 1.5;
}
.prose blockquote cite { display: block; margin-top: 10px; font: normal 600 .875rem/1.3 var(--sans); color: var(--ink-2); }
.prose .wp-block-pullquote { border-block: 2px solid var(--ink); padding: 28px 0; text-align: center; }
.prose .wp-block-pullquote blockquote { border: 0; padding: 0; font-size: 1.6rem; }
.prose img { border-radius: 12px; }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { margin-top: 8px; font: 400 .85rem/1.4 var(--sans); color: var(--ink-3); text-align: center; }
.prose hr { border: 0; height: 18px; background: radial-gradient(circle, var(--red) 2px, transparent 2.5px) center / 22px 18px repeat-x; width: 110px; margin: 2.4em auto; }
.prose table { width: 100%; border-collapse: collapse; font: 400 .95rem/1.45 var(--sans); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--ink); font-weight: 700; }
.prose .wp-block-table { overflow-x: auto; }
.prose code { font-size: .88em; background: var(--paper-2); padding: .12em .35em; border-radius: 6px; }
.prose .alignwide { margin-inline: min(-8vw, -60px); max-width: none; }
.prose .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.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 .aligncenter { margin-inline: auto; }
.prose iframe, .prose .wp-block-embed__wrapper { border-radius: 12px; }
.prose .wp-block-details { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 18px; }
.prose .wp-block-details summary { font-weight: 600; cursor: pointer; }
.prose .has-background { padding: 1.2em 1.4em; border-radius: 14px; }

.also {
	display: grid; gap: 6px; margin-block: 2em !important; padding: 18px 0 18px 20px;
	border-left: 4px solid var(--ink); background: linear-gradient(90deg, var(--paper-2), transparent);
}
.also__k { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.prose .also__a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.15rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.prose .also__a:hover { color: var(--red); text-decoration: underline; }

.page-links { display: flex; gap: 8px; margin-top: 30px; font-family: var(--sans); }
.sources { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.sources h2 { font: 700 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.sources ol { padding-left: 1.3em; font-size: .875rem; color: var(--ink-2); display: grid; gap: 6px; }
.sources a { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 36px; }

.share__label { font: 700 .72rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.share__list { display: flex; gap: 8px; list-style: none; }
.share__a {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--line-2); background: transparent; color: var(--ink); text-decoration: none; transition: all .2s;
}
.share__a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.share__a.is-done { background: var(--sage); border-color: var(--sage); color: #fff; }
.share--v { display: grid; gap: 12px; }
.share--h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding: 18px 0; border-block: 1px solid var(--line-2); }
.share--h .share__label { text-transform: none; letter-spacing: 0; font: italic 500 1.05rem/1.4 var(--serif); color: var(--ink); }

.editorial { display: grid; grid-template-columns: 58px 1fr; gap: 18px; margin-top: 40px; font-size: .9375rem; color: var(--ink-2); }
.editorial__avatar { width: 58px; height: 58px; padding: 6px 10px 0; border-radius: 50%; background: var(--paper-2); overflow: hidden; }
.editorial > div { display: grid; gap: 8px; }
.editorial__name { font: 600 1.1rem/1.2 var(--serif); color: var(--ink); }
.editorial__name span { display: block; margin-top: 3px; font: 600 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.editorial__disclaimer { font-size: .8125rem; font-style: italic; color: var(--ink-3); }

.postnav { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; padding-block: 26px; }
.postnav::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 2px; background: var(--ink); }
.postnav__a { display: grid; gap: 8px; text-decoration: none; padding: 6px 0; }
.postnav__a--next { text-align: right; justify-items: end; grid-column: 2; }
.postnav__k { display: inline-flex; align-items: center; gap: 6px; font: 700 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.postnav__t { font: 600 1.15rem/1.3 var(--serif); }
.postnav__a:hover .postnav__t { text-decoration: underline; color: var(--ink); }

.related { margin-top: 70px; padding-block: 60px 90px; background: var(--paper-2); }
.related .hangtag { background: var(--paper-3); }
.is-article .site-footer { margin-top: 0; }

/* Kitas skaitinys – iššokanti kortelė */
.next-up {
	position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(380px, calc(100% - 104px));
	background: var(--card); border: 1.5px solid var(--ink); border-radius: 22px 22px 8px 8px; box-shadow: var(--shadow);
	transform: translateY(calc(100% + 40px)); transition: transform .5s var(--ease);
}
.next-up.is-in { transform: none; }
.next-up__a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 12px 40px 12px 12px; text-decoration: none; }
.next-up__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 36px 36px 6px 6px; background: var(--paper-2); }
.next-up__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next-up__media .ph__label { display: none; }
.next-up__body { display: grid; gap: 4px; }
.next-up__k { font: 700 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.next-up__t { font: 600 1rem/1.3 var(--serif); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.next-up__a:hover .next-up__t { text-decoration: underline; }
.next-up__x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); }
.next-up__x:hover { background: var(--paper-2); color: var(--ink); }

/* ==========================================================================
   10. 404
   ========================================================================== */
.lost { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 56px; align-items: center; padding-block: 60px 20px; }
.lost__window {
	position: relative; aspect-ratio: 4 / 5; max-width: 380px; border-radius: var(--arch-tall);
	background: linear-gradient(160deg, var(--paper-2), var(--paper-3)); border: 10px solid var(--red);
	display: grid; place-items: center;
}
.lost__num { font: italic 600 clamp(4rem, 9vw, 7rem)/1 var(--serif); color: var(--red); }
.lost__sign {
	position: absolute; top: 20%; left: 50%; transform: translateX(-50%) rotate(-6deg); padding: 8px 18px;
	background: var(--ink); color: var(--paper); font: 700 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
	border-radius: 6px; animation: swing 4s ease-in-out infinite; transform-origin: top center;
}
@keyframes swing { 50% { transform: translateX(-50%) rotate(4deg); } }
.lost__body { display: grid; gap: 18px; justify-items: start; }
.lost__body p:last-child { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   11. Lentynėlė (išsaugoti straipsniai)
   ========================================================================== */
.saved {
	position: fixed; inset: 0 0 0 auto; width: min(430px, 100%); height: 100%; max-height: none; max-width: none; margin: 0;
	padding: 26px 24px; border: 0; border-left: 2px solid var(--ink); background: var(--paper); color: var(--ink);
	overflow-y: auto;
}
.saved[open] { animation: slide-in .35s var(--ease); }
.saved::backdrop { background: rgba(23, 16, 15, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.saved__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.saved__head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.saved__head h2 .ico { color: var(--red); }
.saved__close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; }
.saved__close:hover { background: var(--ink); color: var(--paper); }
.saved__note { margin: 8px 0 22px; font-size: .875rem; color: var(--ink-2); }
.saved__list { list-style: none; display: grid; gap: 4px; }
.saved__item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.saved__img { width: 56px; height: 56px; border-radius: 28px 28px 6px 6px; object-fit: cover; background: var(--paper-2); }
.saved__item a { font: 600 1rem/1.3 var(--serif); text-decoration: none; }
.saved__item a:hover { text-decoration: underline; }
.saved__rm { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); }
.saved__rm:hover { background: var(--paper-2); color: var(--red); }
.saved__empty { padding: 30px 0; font: italic 400 1.05rem/1.5 var(--serif); color: var(--ink-2); }

/* ==========================================================================
   12. Poraštė
   ========================================================================== */
.site-footer { position: relative; margin-top: 100px; padding-top: 70px; background: var(--band); color: var(--band-ink); }
.site-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px;
	background: repeating-linear-gradient(90deg, var(--red) 0 28px, var(--red-deep) 28px 56px);
	-webkit-mask: radial-gradient(circle at 14px 0, #000 13.5px, transparent 14.5px) 0 0 / 28px 16px repeat-x;
	mask: radial-gradient(circle at 14px 0, #000 13.5px, transparent 14.5px) 0 0 / 28px 16px repeat-x;
}
.site-footer a { color: var(--band-ink); text-decoration: none; }
.site-footer a:hover { color: #ff8592; text-decoration: underline; }
.site-footer__in { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 44px; padding-bottom: 50px; }
.site-footer .brand__link { color: var(--band-ink); }
.site-footer .brand__top, .site-footer .brand__big i { color: #ff5a6a; }
.site-footer__about { margin-top: 20px; max-width: 42ch; font: 400 1.02rem/1.6 var(--serif); opacity: .85; }
.site-footer__contact { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; }
.site-footer__h { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #ff8592; margin-bottom: 16px; }
.site-footer__col ul { list-style: none; display: grid; gap: 9px; font-size: .9375rem; }
.site-footer__col ul + ul { margin-top: 9px; }
.site-footer__col li span { font-size: .75rem; opacity: .55; margin-left: 4px; }
.site-footer__latest a { font-family: var(--serif); line-height: 1.35; }
.site-footer__legal { display: grid; gap: 10px; padding-block: 24px 34px; border-top: 1px solid rgba(246, 240, 231, .16); font-size: .8125rem; opacity: .72; }

/* Į viršų */
.totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 56px; height: 56px; display: grid; place-items: center;
	border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--red); color: #fff; }
.totop .ico { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.totop:hover .ico { transform: translateY(-3px); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.totop__track { stroke: rgba(255, 255, 255, .15); }
.totop__bar { stroke: var(--red); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.totop:hover .totop__bar { stroke: #fff; }

/* Pranešimas */
.toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 200; padding: 12px 20px; border-radius: 999px;
	background: var(--ink); color: var(--paper); font: 600 .875rem/1 var(--sans); box-shadow: var(--shadow);
	transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .35s;
}
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }

/* ==========================================================================
   13. WordPress klasės
   ========================================================================== */
.wp-caption, .gallery-caption { font-size: .85rem; color: var(--ink-3); }
.sticky, .bypostauthor { outline: 0; }
.alignnone { margin: 0; }

/* ==========================================================================
   14. Prisitaikymas
   ========================================================================== */
@media (max-width: 1100px) {
	.hero { grid-template-columns: 1fr; gap: 40px; }
	.hero__side { border-left: 0; padding-left: 0; }
	.hero__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
	.hero__list > li:nth-last-child(2) { border-bottom: 0; }
	.charts__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
	.site-footer__in { grid-template-columns: 1fr 1fr; }
	.article-layout { grid-template-columns: minmax(0, 720px); gap: 0; }
	.article-aside { display: none; }
	.toc-m { display: block; }
}
@media (max-width: 860px) {
	.lead { grid-template-columns: 1fr; gap: 28px; }
	.lead__media { max-width: 460px; width: 100%; justify-self: center; aspect-ratio: 5 / 5.4; }
	.shelf__grid { grid-template-columns: 1fr; gap: 34px; }
	.shelf--flip .shelf__main { order: 0; }
	.grid--archive > .card--tile { display: flex; }
	.lost { grid-template-columns: 1fr; }
	.lost__window { max-width: 280px; }
	.tool--text span, .tool__label { display: none; }
	.tool--text { width: 42px; padding: 0; justify-content: center; }
	.masthead__tagline { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.masthead__main { padding-block: 14px; }
	.brand .mark { width: 44px; height: 44px; }
	.brand__link { gap: 10px; }
	.brand__top { font-size: .62rem; letter-spacing: .18em; }
	.brand__big { font-size: 1.95rem; }
	.tools { gap: 6px; }
	.tool { min-height: 40px; }
	.tool--icon, .tool--text, .tool[data-saved-open] { width: 40px; padding: 0; justify-content: center; }
	.tool__count { position: absolute; transform: translate(12px, -12px); }
	.tool[data-saved-open] { position: relative; }
	.lead__media { aspect-ratio: 4 / 3.4; max-width: none; padding: 8px; }
	.lead__media > img, .lead__media > .ph, .lead__glare { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px; }
	.lead__media { border-radius: 50% 50% 14px 14px / 40% 40% 14px 14px; }
	.lead__title { font-size: 1.9rem; }
	.ticker__in { flex-direction: column; align-items: flex-start; gap: 10px; }
	.ticker__list { width: 100%; }
	.hero__list { grid-template-columns: 1fr; }
	.hero__list > li:nth-last-child(2) { border-bottom: 1px dashed var(--line-2); }
	.charts__list { grid-template-columns: 1fr 1fr; }
	.charts__n { font-size: 4.4rem; }
	.sec-head { grid-template-columns: auto 1fr; }
	.sec-head__more { grid-column: 1 / -1; }
	.archive-head__row { flex-direction: column; align-items: flex-start; gap: 16px; }
	.archive-head__count { justify-items: start; text-align: left; }
	.article-head__actions { margin-left: 0; width: 100%; }
	.prose { font-size: 1.12rem; line-height: 1.72; }
	.prose .alignleft, .prose .alignright { float: none; margin: 1em 0; max-width: 100%; }
	.prose .alignwide { margin-inline: 0; }
	.tldr { padding: 24px 22px 22px 44px; }
	.tldr__tag { left: 16px; }
	.tldr__stamp { right: 8px; top: -34px; width: 74px; height: 74px; }
	.tldr:has(.tldr__stamp) { padding-right: 22px; padding-top: 44px; }
	.postnav { grid-template-columns: 1fr; }
	.postnav__a--next { grid-column: auto; }
	.site-footer__in { grid-template-columns: 1fr; gap: 34px; }
	.q { padding: 22px; }
	.next-up { left: 12px; bottom: 12px; width: calc(100% - 92px); }
	.next-up__a { grid-template-columns: 54px 1fr; gap: 10px; }
	.totop { right: 12px; bottom: 12px; width: 52px; height: 52px; }
	.grid { gap: 38px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
	html:focus-within { scroll-behavior: smooth; }
}

@media print {
	.masthead, .catnav, .site-footer, .totop, .next-up, .share, .article-aside, .related, .postnav, .save-btn, .progress, .toc-m, .pill { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.prose a::after { content: " (" attr(href) ")"; font-size: .8em; }
	.article-layout { display: block; }
}
