/*!
 * Dovanos5 – pagrindiniai stiliai.
 * Be išorinių šriftų: naudojami sistemos šriftai (greičiausias įkėlimas, geri Core Web Vitals).
 */

/* ---------- Kintamieji ---------- */
:root {
	--bg: #fffaf3;
	--surface: #ffffff;
	--surface-2: #fdf3e7;
	--ink: #1b1724;
	--ink-2: #3a3446;
	--muted: #6b6475;
	--line: #eee5d9;
	--brand: #e2483d;
	--brand-ink: #b8322a;
	--brand-2: #c2264f;
	--gold: #ffc94d;
	--focus: #2563eb;
	--shadow: 0 1px 2px rgba(27, 23, 36, .05), 0 8px 24px -12px rgba(27, 23, 36, .18);
	--shadow-lg: 0 2px 6px rgba(27, 23, 36, .06), 0 24px 48px -20px rgba(27, 23, 36, .28);
	--r: 16px;
	--r-sm: 10px;
	--wrap: 1240px;
	--gap: clamp(16px, 2.4vw, 28px);
	--f-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--f-head: "Segoe UI Variable Display", "SF Pro Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--f-read: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, "Noto Serif", serif;
	--header-h: 68px;
	color-scheme: light;
}

[data-theme="dark"] {
	--bg: #121019;
	--surface: #1b1824;
	--surface-2: #221e2d;
	--ink: #f3eff8;
	--ink-2: #ddd6e7;
	--muted: #a9a1b5;
	--line: #2e293a;
	--brand: #ff6b5e;
	--brand-ink: #ff8a7f;
	--brand-2: #ff5c86;
	--focus: #7aa2ff;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
	--shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 48px -20px rgba(0, 0, 0, .7);
	color-scheme: dark;
}

/* ---------- Bazė ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.6 var(--f-ui);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-ink); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.2; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

.sr-only {
	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-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px;
	font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--bg); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.wrap--narrow { max-width: 820px; }
.ico { flex: none; vertical-align: middle; }

/* ---------- Mygtukai ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 0;
	background: var(--ink); color: var(--bg);
	font-weight: 700; font-size: .95rem; line-height: 1.2;
	transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { color: var(--bg); background: var(--brand-ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--light { background: #fff; color: #1b1724; }
.btn--light:hover { background: var(--gold); color: #1b1724; }
.btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 42px; height: 42px; border-radius: 12px;
	border: 1px solid transparent; background: transparent; color: var(--ink);
	transition: background .2s, border-color .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--brand-ink); }

/* ---------- Skaitymo progresas ---------- */
.read-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.read-progress span {
	display: block; height: 100%; width: 100%;
	background: linear-gradient(90deg, var(--brand), var(--gold));
	transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

/* ---------- Viršutinė juosta ---------- */
.topbar { background: var(--ink); color: #e9e4f0; font-size: .82rem; }
[data-theme="dark"] .topbar { background: #0b0a10; }
.topbar__inner { display: flex; align-items: center; gap: 18px; height: 38px; }
.topbar__date { white-space: nowrap; opacity: .8; }
.ticker { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.ticker__label {
	display: inline-flex; align-items: center; gap: 5px; flex: none;
	background: var(--brand); color: #fff; border-radius: 999px;
	padding: 3px 10px 3px 8px; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
}
.ticker__viewport {
	flex: 1; min-width: 0; overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: dv5-ticker 70s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; }
.ticker__list li { white-space: nowrap; padding-right: 38px; position: relative; }
.ticker__list li::after { content: ""; position: absolute; right: 16px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.ticker__list a { color: #e9e4f0; }
.ticker__list a:hover { color: var(--gold); }
@keyframes dv5-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__viewport { overflow-x: auto; } }
.social { display: flex; gap: 4px; }
.social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; opacity: .85; }
.social a:hover { opacity: 1; color: var(--gold); }

/* ---------- Antraštė ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }
.site-header.has-topbar { top: -38px; }
.admin-bar .site-header { top: 32px; }
.admin-bar .site-header.has-topbar { top: -6px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } .admin-bar .site-header.has-topbar { top: -38px; } }
.masthead { position: relative; border-bottom: 1px solid var(--line); }
/* Fonas atskirame sluoksnyje, kad backdrop-filter nesugadintų mobilaus meniu (position: fixed). */
.masthead::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
}
body.nav-open .to-top, body.nav-open .next-read { display: none; }
.masthead__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.masthead__actions { display: flex; gap: 2px; margin-left: auto; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo .logo-mark { transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 800 1.42rem/1 var(--f-head); letter-spacing: -.03em; }
.logo__sub { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-ink); margin-top: 5px; }
.custom-logo { max-height: 52px; width: auto; }

.nav { margin-left: 12px; }
.nav__head, .nav__extra { display: none; }
.nav__list { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav__list > li { position: relative; }
.nav__list a {
	display: block; padding: 9px 13px; border-radius: 10px;
	font-weight: 650; font-size: .96rem; color: var(--ink-2);
	position: relative;
}
.nav__list a:hover { background: var(--surface-2); color: var(--ink); }
.nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a, .nav__list .current-post-ancestor > a, .nav__list .current-category-ancestor > a { color: var(--ink); }
.nav__list .current-menu-item > a::after, .nav__list .current-post-ancestor > a::after, .nav__list .current-category-ancestor > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 3px; border-radius: 3px; background: var(--c, var(--brand));
}
.nav__list .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nav-toggle { display: none; }
.theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
[data-theme="dark"] .theme-toggle .ico-moon { display: none; }

/* Paieškos skydelis */
.search-panel { border-top: 1px solid var(--line); background: var(--surface); padding: 18px 0 20px; animation: dv5-drop .2s ease-out; }
.search-panel[hidden] { display: none; }
@keyframes dv5-drop { from { opacity: 0; transform: translateY(-6px); } }
.search-panel__sugg { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; font-size: .88rem; color: var(--muted); }
.search-panel__sugg a { padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.search-panel__sugg a:hover { background: var(--brand); color: #fff; }

.search-form {
	display: flex; align-items: center; gap: 8px; position: relative;
	background: var(--surface); border: 2px solid var(--line); border-radius: 999px;
	padding: 5px 5px 5px 18px; transition: border-color .2s, box-shadow .2s;
}
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.search-form .ico { color: var(--muted); }
.search-form input {
	flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
	font: 500 1.02rem var(--f-ui); padding: 10px 4px; outline: none;
}
.search-form input::-webkit-search-cancel-button { display: none; }
.search-form button {
	border: 0; border-radius: 999px; padding: 11px 22px;
	background: var(--brand); color: #fff; font-weight: 700;
}
.search-form button:hover { background: var(--brand-2); }

/* ---------- Mobilus meniu ---------- */
@media (max-width: 960px) {
	.nav-toggle { display: inline-grid; margin-left: -8px; }
	.hide-sm { display: none; }
	.masthead__inner { gap: 6px; }
	.logo__name { font-size: 1.22rem; }
	.logo .logo-mark { width: 38px; height: 38px; }
	.nav {
		position: fixed; inset: 0 auto 0 0; z-index: 300; margin: 0;
		width: min(86vw, 360px); background: var(--surface);
		padding: 16px; overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(-102%); transition: transform .28s cubic-bezier(.3, .8, .3, 1);
		box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 14px;
	}
	.nav.is-open { transform: none; }
	.nav__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
	.nav__list { flex-direction: column; align-items: stretch; }
	.nav__list a { padding: 13px 14px; font-size: 1.05rem; }
	.nav__list .current-menu-item > a::after, .nav__list .current-post-ancestor > a::after, .nav__list .current-category-ancestor > a::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.nav__extra { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
	.nav__random { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-ink); padding: 8px 14px; }
	.nav-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(10, 8, 16, .5); animation: dv5-fade .2s; }
	.nav-overlay[hidden] { display: none; }
	.topbar__social { display: none; }
	body.nav-open { overflow: hidden; }
}
@keyframes dv5-fade { from { opacity: 0; } }
@media (max-width: 600px) {
	.topbar__date { display: none; }
	.search-form button { padding: 10px 16px; }
}

/* ---------- Bendri blokai ---------- */
.site-main { padding-bottom: 56px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head--line { border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.section-title { display: inline-flex; align-items: center; gap: 9px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 800; }
.section-title .ico { color: var(--brand); }
.section-title a:hover { color: var(--c, var(--brand-ink)); }
.section-sub { color: var(--muted); margin: -8px 0 18px; width: 100%; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--c, var(--brand-ink)); }
.section-link:hover .ico { transform: translateX(3px); }
.section-link .ico { transition: transform .2s; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.chip {
	--c: var(--brand);
	display: inline-block; align-self: flex-start;
	font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	color: var(--c); padding: 0; margin-bottom: 8px;
}
.chip::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin-right: 7px; transform: rotate(45deg) translateY(-1px); }
[data-theme="dark"] .chip { color: color-mix(in srgb, var(--c) 55%, #fff); }
.chip:hover { color: var(--ink); }

.meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.meta__sep { opacity: .6; }

/* ---------- Kortelės ---------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media {
	display: block; position: relative; overflow: hidden; border-radius: var(--r);
	aspect-ratio: 3 / 2; background: var(--surface-2); margin-bottom: 14px;
	isolation: isolate;
}
.card__media img, .thumb-ph {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.card:hover .card__media img { transform: scale(1.045); }
.thumb-ph {
	--c: var(--brand);
	display: grid; place-items: center; color: #fff;
	background: radial-gradient(120% 120% at 20% 10%, color-mix(in srgb, var(--c) 70%, #fff), var(--c));
}
.thumb-ph .ico { opacity: .85; }
.card__body { display: flex; flex-direction: column; min-width: 0; }
.card__title { font-size: 1.14rem; font-weight: 750; line-height: 1.28; margin-bottom: 8px; }
.card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s, color .2s; }
.card__title a:hover { background-size: 100% 2px; color: var(--ink); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .chip, .card .meta { position: relative; z-index: 2; }
.card__excerpt { color: var(--muted); font-size: .96rem; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.card--lead .card__media { aspect-ratio: 16 / 10; border-radius: calc(var(--r) + 4px); margin-bottom: 18px; }
.card--lead .card__title { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.35rem); font-weight: 850; letter-spacing: -.025em; line-height: 1.12; }
.card--lead .card__excerpt { font-size: 1.05rem; -webkit-line-clamp: 3; }

.card--row { flex-direction: row; gap: 14px; align-items: flex-start; }
.card--row .card__media { width: 112px; flex: none; aspect-ratio: 1; margin: 0; border-radius: 12px; }
.card--row .card__title { font-size: 1rem; line-height: 1.3; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--row .chip { margin-bottom: 4px; font-size: .66rem; }

.card--mini { flex-direction: row; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.card--mini:first-child { border-top: 0; padding-top: 0; }
.card--mini .card__title { font-size: .98rem; margin-bottom: 4px; }
.card__num {
	flex: none; width: 34px; font: 900 1.9rem/1 var(--f-head); letter-spacing: -.05em;
	color: transparent; -webkit-text-stroke: 1.5px var(--brand);
}
.card--page { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }

/* ---------- Pagrindinis: svarbiausi ---------- */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: calc(var(--gap) * 1.4); padding-top: 28px; padding-bottom: 8px; }
.lead-grid__side { display: flex; flex-direction: column; gap: 18px; }
.lead-grid__side .card--row { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.lead-grid__side .card--row:last-child { border-bottom: 0; }
.lead-grid__side .card--row .card__media { width: 128px; aspect-ratio: 4 / 3; }
.lead-grid__side .card__title { font-size: 1.06rem; }
@media (max-width: 900px) {
	.lead-grid { grid-template-columns: 1fr; padding-top: 18px; }
}

/* Temos */
.topics { display: flex; align-items: center; gap: 14px; padding-top: 22px; padding-bottom: 6px; }
.topics__label { font-weight: 800; font-size: .9rem; white-space: nowrap; }
.topics ul { display: flex; gap: 8px; list-style: none; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
@media (max-width: 760px) { .topics ul { mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); } }
.topics ul::-webkit-scrollbar { display: none; }
.topic {
	--c: var(--ink-2);
	display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
	padding: 8px 15px; border-radius: 999px; font-weight: 650; font-size: .9rem;
	background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
	transition: .2s;
}
.topic span { font-size: .75rem; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border-radius: 999px; padding: 1px 7px; }
.topic:hover { border-color: var(--c); color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.topic--tag { color: var(--muted); }
.topic--random { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.topic--random:hover { color: var(--bg); background: var(--brand); border-color: var(--brand); }

/* Šventės */
.holidays { margin-top: 30px; padding: 26px; border-radius: calc(var(--r) + 6px); background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.holidays::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 35%, transparent), transparent 70%); pointer-events: none; }
.holidays .section-head { margin-bottom: 14px; }
.holidays__list { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; min-height: 132px; position: relative; z-index: 1; }
.holidays__list:empty { display: none; }
.hol {
	display: flex; flex-direction: column; gap: 6px; height: 100%;
	padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hol:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--ink); }
.hol__date { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hol__name { font: 750 1rem/1.25 var(--f-head); }
.hol__left { margin-top: auto; font-size: .82rem; font-weight: 800; color: var(--brand-ink); }
.hol--today { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; }
.hol--today .hol__date, .hol--today .hol__left { color: #fff; }
.hol--today:hover { color: #fff; }
@media (max-width: 1100px) { .holidays__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.holidays { padding: 20px 16px; }
	.holidays__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
	.holidays__list > li { flex: 0 0 62%; scroll-snap-align: start; }
}
.holidays--compact { margin-top: 0; padding: 20px; background: var(--surface); }
.holidays--compact::after { display: none; }
.holidays--compact .holidays__list { grid-template-columns: 1fr; display: grid; min-height: 0; gap: 0; }
.holidays--compact .holidays__list > li { flex: none; }
.holidays--compact .hol { flex-direction: row; align-items: center; gap: 12px; padding: 10px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.holidays--compact li:first-child .hol { border-top: 0; }
.holidays--compact .hol:hover { transform: none; box-shadow: none; }
.holidays--compact .hol__name { flex: 1; font-size: .95rem; }
.holidays--compact .hol__left { margin: 0; white-space: nowrap; }
.holidays--compact .hol__date { width: 46px; text-align: center; line-height: 1.1; }
.holidays--compact .hol--today { color: var(--brand-ink); }
.holidays--compact .hol--today .hol__left, .holidays--compact .hol--today .hol__date { color: var(--brand-ink); }

/* Su šonine juosta */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: calc(var(--gap) * 1.5); margin-top: 44px; }
@media (max-width: 1060px) { .with-sidebar { grid-template-columns: 1fr; } }
.feed-more { display: flex; justify-content: center; margin-top: 30px; }
.card.is-new { animation: dv5-rise .45s ease-out both; }
@keyframes dv5-rise { from { opacity: 0; transform: translateY(14px); } }

.sidebar__sticky { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.admin-bar .sidebar__sticky { top: calc(var(--header-h) + 52px); }
@media (max-width: 1060px) { .sidebar__sticky { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.box__title { display: flex; align-items: center; gap: 8px; font-size: 1.08rem; font-weight: 800; margin-bottom: 14px; }
.box__title .ico { color: var(--brand); }
.box--cta { background: linear-gradient(140deg, #2a1f3d, #1b1724 60%); color: #f3eff8; border: 0; position: relative; overflow: hidden; }
.box--cta > .ico { color: var(--gold); margin-bottom: 8px; }
.box--cta .box__title { color: #fff; margin-bottom: 6px; }
.box--cta p { color: #cfc6dc; font-size: .93rem; }
.box--cta::after { content: ""; position: absolute; width: 180px; height: 180px; right: -50px; bottom: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 72, 61, .55), transparent 70%); }
.cat-list { list-style: none; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-weight: 650; }
.cat-list li:first-child a { border-top: 0; }
.cat-list a::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c); margin-right: 10px; flex: none; }
.cat-list a span:first-of-type { flex: 1; }
.cat-list__n { font-size: .78rem; font-weight: 800; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 2px 9px; }

/* Rubrikų blokai */
.cat-block { padding: 48px 0 6px; }
.cat-block--b { background: var(--surface-2); padding-bottom: 48px; margin-top: 42px; }
.cat-block--b .card__media { background: var(--surface); }
.cat-block--b + .cat-block--a { padding-top: 48px; }
.cat-block .section-head--line { border-bottom-color: var(--c); }
.cat-block .section-title::before { content: ""; width: 12px; height: 12px; background: var(--c); border-radius: 3px; transform: rotate(45deg); margin-right: 4px; }
.cat-block__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: calc(var(--gap) * 1.3); }
.cat-block__list { display: flex; flex-direction: column; gap: 16px; }
.cat-block__list .card--row { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cat-block__list .card--row:last-child { border-bottom: 0; padding-bottom: 0; }
.cat-block__main .card__media { aspect-ratio: 16 / 10; }
.cat-block__main .card__title { font-size: 1.45rem; }
@media (max-width: 800px) { .cat-block__grid { grid-template-columns: 1fr; } }

/* Paieškos kvietimas */
.explore { margin-top: 56px; }
.explore__inner {
	display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center;
	padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--r) + 8px);
	background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff;
	position: relative; overflow: hidden;
}
.explore__inner::before { content: ""; position: absolute; inset: auto -80px -120px auto; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 77, .5), transparent 70%); }
.explore h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 850; margin-bottom: 6px; }
.explore p { margin: 0; opacity: .9; }
.explore .search-form { border-color: transparent; position: relative; }
.explore .search-form button { background: var(--ink); }
@media (max-width: 800px) { .explore__inner { grid-template-columns: 1fr; } }

/* ---------- Straipsnis ---------- */
.crumbs { padding: 20px 0 6px; font-size: .84rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }

.single__head { max-width: 860px; padding: 16px 0 24px; }
.single__head .chip { font-size: .78rem; }
.single__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 850; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 16px; }
.single__lead { font-size: 1.2rem; color: var(--ink-2); line-height: 1.55; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.byline__avatar {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
	background: linear-gradient(135deg, var(--brand), var(--gold)); color: #fff; font: 800 1.1rem var(--f-head);
}
.byline__avatar--lg { width: 64px; height: 64px; font-size: 1.5rem; }
.byline__info { display: flex; flex-direction: column; gap: 2px; }
.byline__author { font-weight: 750; }
.byline__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); }

.single__hero { margin: 0 0 28px; }
.single__hero img { width: 100%; max-height: 640px; object-fit: cover; border-radius: calc(var(--r) + 6px); }
.single__hero figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; }

.single__layout { display: grid; grid-template-columns: 56px minmax(0, 1fr) 320px; gap: calc(var(--gap) * 1.3); align-items: start; }
.single__rail { position: sticky; top: calc(var(--header-h) + 24px); }
.single__body { min-width: 0; max-width: 760px; }
@media (max-width: 1180px) { .single__layout { grid-template-columns: 56px minmax(0, 1fr); } .single__layout .sidebar { grid-column: 1 / -1; margin-top: 30px; } }
@media (max-width: 760px) { .single__layout { grid-template-columns: 1fr; } .single__rail { display: none; } }

.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share--rail { flex-direction: column; }
.share__btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
	transition: .2s;
}
.share__btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.share__btn--facebook:hover { background: #1877f2; }
.share__btn--messenger:hover { background: #0084ff; }
.share__btn--whatsapp:hover { background: #25d366; }
.share__btn--pinterest:hover { background: #e60023; }
.share__btn--x:hover { background: #111; }
.share__btn--copy:hover, .share__btn--native:hover { background: var(--brand); }
.share__btn--messenger { display: none; }
@media (hover: none) and (pointer: coarse) { .share__btn--messenger { display: inline-grid; } }

/* Turinys (TOC) */
.toc { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r-sm); padding: 0; margin-bottom: 30px; }
.toc summary { display: flex; align-items: center; gap: 9px; padding: 15px 18px; font-weight: 800; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.toc[open] summary::after { transform: rotate(-135deg); }
.toc__count { font-size: .75rem; background: var(--surface-2); padding: 1px 8px; border-radius: 999px; color: var(--muted); }
.toc ol { list-style: none; counter-reset: toc; padding: 0 18px 16px; display: grid; gap: 2px; }
.toc li a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); font-size: .95rem; line-height: 1.35; }
.toc li a:hover { background: var(--surface-2); color: var(--ink); }
.toc .toc__l2 { counter-increment: toc; }
.toc .toc__l2 > a::before { content: counter(toc) "."; font-weight: 800; color: var(--brand-ink); margin-right: 8px; }
.toc .toc__l3 a { padding-left: 34px; font-size: .9rem; color: var(--muted); }
.toc a.is-active { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--ink); font-weight: 650; }

/* Straipsnio tekstas */
.entry-content { font-family: var(--f-read); font-size: 1.16rem; line-height: 1.78; color: var(--ink-2); overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--f-head); color: var(--ink); margin-top: 1.8em; margin-bottom: .6em; }
.entry-content h2 { font-size: 1.7rem; font-weight: 800; }
.entry-content h3 { font-size: 1.32rem; font-weight: 750; }
.entry-content h4 { font-size: 1.1rem; font-weight: 750; }
.entry-content a { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content strong { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--brand); font-weight: 700; }
.entry-content img { border-radius: var(--r-sm); height: auto; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { font-family: var(--f-ui); font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }
.entry-content blockquote {
	position: relative; margin-inline: 0; padding: 20px 24px 20px 26px;
	background: var(--surface-2); border-radius: var(--r-sm); border-left: 4px solid var(--brand);
	font-style: italic; color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--f-ui); font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--surface-2); }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 2.2em 0; }
.entry-content .alignwide { max-width: none; }
.entry-content .wp-block-image.aligncenter, .entry-content .aligncenter { margin-inline: auto; text-align: center; }
.entry-content .wp-block-image.aligncenter img { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.2em .8em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 .8em 1.2em; max-width: 50%; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content iframe { max-width: 100%; border-radius: var(--r-sm); }
.entry-content .wp-block-button__link { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; border-radius: 999px; padding: 12px 24px; font-family: var(--f-ui); font-weight: 700; }

/* Kopijuojami sveikinimai */
.copy-btn {
	display: inline-flex; align-items: center; gap: 5px; vertical-align: middle;
	margin-left: 8px; font: 700 .72rem/1 var(--f-ui); padding: 5px 10px; border-radius: 999px;
	background: var(--surface); color: var(--muted); border: 1px solid var(--line);
	font-style: normal; transition: background .2s, color .2s, border-color .2s;
}
blockquote > .copy-btn, .wp-block-quote > .copy-btn { margin: 4px 0 0; }
.copyable:hover > .copy-btn { color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.copy-btn:hover { background: var(--brand); color: #fff !important; border-color: var(--brand); }
.copy-btn.is-done { background: #0f8a6c; color: #fff !important; border-color: #0f8a6c; }

/* Taip pat skaitykite */
.inline-read {
	display: flex; flex-direction: column; gap: 4px;
	margin: 1.6em 0; padding: 16px 20px; border-radius: var(--r-sm);
	background: var(--surface); border: 1px dashed color-mix(in srgb, var(--brand) 55%, var(--line));
	font-family: var(--f-ui);
}
.inline-read__label { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-ink); }
.entry-content .inline-read a { font-family: var(--f-head); font-size: 1.12rem; font-weight: 750; color: var(--ink); text-decoration: none; line-height: 1.3; }
.entry-content .inline-read a:hover { color: var(--brand-ink); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 30px 0 0; }
.tags a { display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--surface-2); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.tags a:hover { background: var(--brand); color: #fff; }

.share-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.share-box__text { margin: 0; }

.author-box { display: flex; gap: 18px; margin-top: 22px; padding: 22px; border-radius: var(--r); background: var(--surface-2); }
.author-box__name { font: 800 1.1rem var(--f-head); margin-bottom: 4px; }
.author-box__bio { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }
.author-box__link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: .9rem; color: var(--brand-ink); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.post-nav__item { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: .2s; }
.post-nav__item:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.post-nav__item--next { text-align: right; grid-column: 2; }
.post-nav__dir { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.post-nav__item--next .post-nav__dir { justify-content: flex-end; }
.post-nav__title { font: 750 1rem/1.3 var(--f-head); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__item--next { grid-column: auto; } }

.page-links { margin-top: 20px; font-weight: 700; }

.related { margin-top: 56px; padding: 48px 0 10px; background: var(--surface-2); }

/* Skaitykite toliau (iššokantis) */
.next-read {
	position: fixed; right: 20px; bottom: 88px; z-index: 150; width: min(360px, calc(100vw - 40px));
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
	padding: 12px; transform: translateY(20px); opacity: 0; transition: .35s cubic-bezier(.2, .9, .3, 1);
}
.next-read.is-visible { transform: none; opacity: 1; }
.next-read__link { display: flex; gap: 12px; align-items: center; padding-right: 22px; }
.next-read__thumb { width: 64px; height: 64px; flex: none; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.next-read__thumb img, .next-read__thumb .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.next-read__label { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-ink); }
.next-read__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 750 .95rem/1.3 var(--f-head); }
.next-read__close { position: absolute; top: 6px; right: 6px; border: 0; background: none; padding: 4px; color: var(--muted); border-radius: 6px; }
.next-read__close:hover { color: var(--ink); background: var(--surface-2); }

/* ---------- Archyvai ---------- */
.archive-head { --c: var(--brand); padding-bottom: 34px; margin-bottom: 34px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, var(--bg)), var(--bg)); border-bottom: 1px solid var(--line); }
.archive-head__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 6px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--c); }
.archive-head__kicker::before { content: ""; width: 10px; height: 10px; background: var(--c); border-radius: 3px; transform: rotate(45deg); }
[data-theme="dark"] .archive-head__kicker { color: color-mix(in srgb, var(--c) 55%, #fff); }
.archive-head__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 850; letter-spacing: -.03em; margin-bottom: 10px; }
.archive-head__desc { max-width: 760px; color: var(--ink-2); font-size: 1.08rem; }
.archive-head__count { color: var(--muted); font-weight: 600; margin-bottom: 0; }
.archive-head__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.archive-head__search { max-width: 640px; margin-top: 18px; }
.archive-head--404 .archive-head__title { max-width: 760px; }
.archive-head--404 .btn { margin-top: 18px; }
.archive-grid__lead { grid-column: 1 / -1; }
.archive-grid__lead .card--lead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: calc(var(--gap) * 1.2); align-items: center; }
.archive-grid__lead .card--lead .card__media { margin: 0; }
@media (max-width: 800px) { .archive-grid__lead .card--lead { grid-template-columns: 1fr; } }

.pager { margin-top: 44px; }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; }
.pager a.page-numbers:hover { border-color: var(--brand); color: var(--brand-ink); }
.pager .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager .dots { border: 0; background: none; }

.empty__box { text-align: center; max-width: 620px; margin: 10px auto 50px; padding: 34px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); }
.empty__box > .ico { color: var(--brand); margin: 0 auto 10px; }
.empty__title { font: 800 1.4rem var(--f-head); margin-bottom: 4px; }
.empty__box p { color: var(--muted); }

/* ---------- Poraštė ---------- */
.site-footer { background: #15121d; color: #cfc6dc; margin-top: 30px; font-size: .95rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 36px; padding-top: 54px; padding-bottom: 40px; }
.site-footer__brand p { margin: 16px 0; color: #a99fb8; max-width: 340px; }
.logo--footer { color: #fff; }
.logo--footer:hover { color: #fff; }
.logo--footer .logo__name { font-size: 1.25rem; }
.site-footer__title { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.site-footer__list { list-style: none; display: grid; gap: 10px; }
.site-footer__list span { color: #7f7590; font-size: .85em; }
.site-footer__list--posts a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; color: #8d839c; }
.site-footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Į viršų ---------- */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 160;
	width: 54px; height: 54px; border-radius: 50%; border: 0;
	display: grid; place-items: center;
	background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
	transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; }
.to-top:hover .ico { transform: translateY(-2px); }
.to-top .ico { position: relative; transition: transform .2s; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 3; stroke: rgba(255, 255, 255, .15); }
[data-theme="dark"] .to-top__ring circle { stroke: rgba(0, 0, 0, .15); }
.to-top__ring .to-top__bar { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--p, 0)); }

/* Pranešimas */
.toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translateX(-50%);
	background: var(--ink); color: var(--bg); padding: 11px 20px; border-radius: 999px;
	font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-lg); animation: dv5-rise .25s ease-out;
}
.toast[hidden] { display: none; }

/* WordPress klasės */
.wp-caption-text, .gallery-caption { font-size: .85rem; color: var(--muted); }

/* Spaudinys */
@media print {
	.topbar, .masthead, .single__rail, .sidebar, .share-box, .related, .site-footer, .to-top, .next-read, .read-progress, .toc { display: none !important; }
	body { background: #fff; color: #000; }
	.single__layout { display: block; }
}
