/* =====================================================================
   Darom09 – pagrindiniai stiliai
   Spalvos iš Lietuvos vėliavos: žalia (prekės ženklas), geltona (dėmesio signalas),
   raudona (tik išimtims). Šriftai: Bitter (antraštės), Source Sans 3 (tekstas).
   ===================================================================== */

@font-face {
	font-family: "Bitter";
	src: url("../fonts/bitter.woff") format("woff");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3.woff") format("woff");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-italic.woff") format("woff");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--green: #006a44;
	--green-strong: #00543a;
	--green-soft: #e6f2ec;
	--yellow: #fdb913;
	--red: #c1272d;

	--bg: #ffffff;
	--surface: #f1f5f2;
	--line: #dce5df;
	--ink: #14261e;
	--text: #2a3832;
	--muted: #5b6b63;
	--link: var(--green);
	--focus: var(--green);
	--footer-bg: #0d2b20;
	--footer-text: #c9d8d0;

	--logo-ink: #14261e;
	--logo-accent: #006a44;
	--logo-muted: #5b6b63;

	--font-head: "Bitter", "Georgia", "Times New Roman", serif;
	--font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 6px;
	--nav-h: 52px;
	color-scheme: light;
}

[data-theme="dark"] {
	--green: #3fd08f;
	--green-strong: #6fe0ab;
	--green-soft: #173a2b;
	--bg: #0e1a15;
	--surface: #15241e;
	--line: #263b31;
	--ink: #eef4f0;
	--text: #d2ded8;
	--muted: #94a89e;
	--focus: var(--yellow);
	--footer-bg: #08120e;
	--logo-ink: #ffffff;
	--logo-accent: #3fd08f;
	--logo-muted: #a9bcb2;
	color-scheme: dark;
}

/* ---------- Bazė ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1.0625rem/1.55 var(--font-body);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	font-kerning: normal;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--green-strong); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.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: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--bg); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Viršutinė juosta ---------- */
.topbar { background: var(--surface); font-size: .875rem; color: var(--muted); }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.topbar__date:first-letter { text-transform: uppercase; }
.topbar__nav { margin-left: auto; }
.topbar__list { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.topbar__list a { color: var(--muted); text-decoration: none; }
.topbar__list a:hover { color: var(--ink); text-decoration: underline; }
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--muted); font-size: .875rem; }
.topbar__date + .theme-toggle { margin-left: auto; }
.theme-toggle:hover { color: var(--ink); }
.theme-toggle span { display: inline-flex; align-items: center; gap: 6px; }
.theme-toggle__light, [data-theme="dark"] .theme-toggle__dark { display: none !important; }
[data-theme="dark"] .theme-toggle__light { display: inline-flex !important; }
html:not(.js) .theme-toggle { display: none; }

/* ---------- Galva ---------- */
.masthead__inner { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.brand { display: inline-block; flex: none; line-height: 0; }
.brand__svg { height: 46px; width: auto; }
.masthead__tagline { margin: 0; padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: .95rem; line-height: 1.3; max-width: 22ch; }
.search-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.search-toggle:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Navigacija (lipni) ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--bg); border-block: 1px solid var(--line); }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 0; } }
.nav__inner { display: flex; align-items: center; gap: 12px; min-height: var(--nav-h); }
.nav__mark { display: none; flex: none; }
.nav.is-stuck .nav__mark { display: block; }
.nav__mark img { width: 30px; height: 30px; }
.nav__scroller { position: relative; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.nav__scroller::-webkit-scrollbar { display: none; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0 32px 0 0; white-space: nowrap; }
.nav__list a { position: relative; display: block; padding: 14px 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav__list a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after,
.nav__list .current-menu-ancestor > a::after,
.nav__list .current-post-ancestor > a::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__search { display: none; flex: none; padding: 10px; color: var(--ink); }
.nav.is-stuck .nav__search { display: inline-flex; }
.search-panel { border-top: 1px solid var(--line); padding-block: 16px; background: var(--bg); }
.search-panel[hidden] { display: none; }

/* Paieškos forma */
.search-form { display: flex; gap: 8px; max-width: 720px; }
.search-form__input { flex: 1; min-width: 0; padding: 12px 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: inherit; font-size: 1.0625rem; }
.search-form__input:focus { border-color: var(--green); outline: none; }
.search-form__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; }
[data-theme="dark"] .search-form__btn { color: #08120e; }
.search-form__btn:hover { background: var(--green-strong); }

/* ---------- Juosta „Aktualu“ ---------- */
.ticker { background: #006a44; color: #fff; }
[data-theme="dark"] .ticker { background: #0f3a29; }
.ticker__inner { display: flex; align-items: center; gap: 16px; min-height: 44px; }
.ticker__label { display: inline-flex; align-items: center; gap: 8px; flex: none; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.ticker__viewport { position: relative; flex: 1; min-width: 0; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker__track { display: flex; flex: none; gap: 40px; margin: 0; padding: 0 40px 0 0; list-style: none; animation: ticker 70s linear infinite; }
.ticker__track a { color: #fff; text-decoration: none; white-space: nowrap; font-size: .95rem; }
.ticker__track a:hover { text-decoration: underline; color: #fff; }
.ticker__track li { position: relative; }
.ticker__track li + li::before { content: ""; position: absolute; left: -23px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--yellow); }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__toggle { flex: none; display: inline-flex; padding: 6px; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; }
.ticker__toggle .icon { width: 14px; height: 14px; }
.ticker__play, .ticker.is-paused .ticker__pause { display: none; }
.ticker.is-paused .ticker__play { display: inline-flex; }
html:not(.js) .ticker__toggle { display: none; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* Geltonas „gyvas“ taškas – vienintelis nuolatinis judesys */
.live-dot { position: relative; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--yellow); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- Kortelės ---------- */
.card { position: relative; }
.card__media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); aspect-ratio: 16 / 10; }
.card__media img, .card__media .thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.thumb-fallback { display: flex; align-items: flex-end; padding: 12px; background: linear-gradient(135deg, #006a44, #0d2b20); color: rgba(255,255,255,.9); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; }
.cat-label { align-self: flex-start; font-size: .875rem; font-weight: 700; color: var(--green); text-decoration: none; }
.cat-label:hover { text-decoration: underline; }
.card__title { font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
.card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 3px no-repeat; transition: background-size .25s ease; }
.card__title a:hover, .card__title a:focus-visible { background-size: 100% 3px; color: var(--ink); }
.card__excerpt { margin: 0; color: var(--text); font-size: 1rem; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--muted); font-size: .875rem; }
.card__read { display: inline-flex; align-items: center; gap: 4px; }
.card__read .icon { width: 14px; height: 14px; }

.card--lead .card__media { aspect-ratio: 16 / 10; border-radius: 8px; }
.card--lead .card__body { padding-top: 18px; gap: 10px; }
.card--lead .card__title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.card--lead .card__excerpt { font-size: 1.125rem; max-width: 62ch; }

.card--feature .card__title { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.18; }

.card--row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
.card--row .card__media { aspect-ratio: 1; }
.card--row .card__body { padding-top: 0; gap: 4px; }
.card--row .card__title { font-size: 1.0625rem; line-height: 1.3; }

.card--mini { position: relative; padding: 0 0 18px 22px; }
.card--mini::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--green); }
.card--mini time { display: block; font-size: .8125rem; color: var(--muted); font-weight: 600; }
.card--mini .card__title { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }

.card--rank { display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.card__rank { font-family: var(--font-head); font-weight: 800; font-size: 2.25rem; line-height: .95; color: var(--green); font-variant-numeric: lining-nums; }
.card--rank .card__body { padding-top: 0; gap: 2px; }
.card--rank .card__title { font-size: 1.0625rem; line-height: 1.3; }

/* ---------- Pradžia ---------- */
.section-title { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; }
.section-title a { color: inherit; text-decoration: none; }
.section-title a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.section-title .icon { color: var(--red); }
.more-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }

.top-stories { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; padding-block: 32px 40px; }
.top-stories__side { display: flex; flex-direction: column; }
.top-stories__side .card { padding-block: 18px; border-top: 1px solid var(--line); }
.top-stories__side .card:first-child { padding-top: 0; border-top: 0; }
.top-stories__side .card--row { grid-template-columns: 132px 1fr; }

.pulse { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 0 40px; padding-block: 0 32px; }
.pulse::before { content: ""; grid-column: 1 / -1; border-top: 3px solid var(--ink); margin-bottom: 28px; }
.pulse__col .section-title { font-size: 1.25rem; margin-bottom: 20px; }
.rank-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.timeline { border-left: 2px solid var(--line); margin-left: 4px; padding-left: 0; }
.timeline .card--mini { margin-left: -6px; }
.timeline .card--mini:first-child::before { background: var(--yellow); border-color: var(--yellow); }

.topics { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topics a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.topics a:hover, .topics a[aria-current="page"] { border-color: var(--green); background: var(--green-soft); color: var(--ink); }
.topics__count { min-width: 1.6em; padding: 1px 6px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .8125rem; text-align: center; font-variant-numeric: tabular-nums; }
.topics--inline { margin-top: 16px; }

.cat-block { padding-block: 40px 8px; }
.cat-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 14px; margin-bottom: 24px; border-top: 3px solid var(--green); }
.cat-block__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
.cat-block__list { display: flex; flex-direction: column; gap: 22px; }
.cat-block--b .cat-block__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cat-block--b .cat-block__list { display: contents; }
.cat-block--b .card--feature .card__title { font-size: 1.25rem; line-height: 1.25; }
.cat-block--b .card--feature .card__excerpt { display: none; }
.home-banner { padding-block: 24px; }

.stream { padding-block: 40px 16px; }

/* ---------- Tinklelis ir sąrašai ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 36px 28px; }
.grid--archive.is-first > .card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.grid--archive.is-first > .card:first-child .card__title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.grid .card.is-new { animation: appear .4s ease both; }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-bottom: 56px; }

.archive-head { padding-block: 16px 32px; max-width: 820px; }
.archive-head__title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.1; }
.archive-head__page { font-size: .5em; color: var(--muted); font-weight: 600; margin-left: 8px; }
.archive-head__desc { margin-top: 12px; font-size: 1.125rem; }
.archive-head__desc p:last-child { margin: 0; }
.archive-head__meta { margin: 10px 0 0; color: var(--muted); }
.archive-head__search { margin-top: 20px; }

.breadcrumbs { padding-top: 20px; font-size: .875rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

/* Puslapiavimas + „Rodyti daugiau“ */
.load-more { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 44px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn--more { border: 2px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--font-head); font-size: 1.0625rem; }
.btn--more:hover { background: var(--ink); color: var(--bg); }
.btn--more[aria-busy="true"] { opacity: .6; cursor: progress; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.page-numbers.dots { border: 0; }
a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.js .load-more.is-enhanced .pagination { display: none; }

/* ---------- Šoninė juosta ir valdikliai ---------- */
.sidebar { display: flex; flex-direction: column; gap: 36px; }
.widget__title { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 800; padding-top: 12px; margin-bottom: 18px; border-top: 3px solid var(--ink); }
.widget__title .icon { color: var(--red); }
.widget ul:not(.topics):not(.rank-list) { margin: 0; padding-left: 1.1em; }
.rank-list--compact { gap: 14px; }
.rank-list--compact .card__rank { font-size: 1.75rem; }
.rank-list--compact .card--rank { grid-template-columns: 34px 1fr; }

/* ---------- Straipsnis ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 60; pointer-events: none; }
.admin-bar .progress { top: 32px; }
.progress__bar { display: block; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

.article__head { max-width: 860px; padding-block: 20px 32px; }
.article__head .cat-label { display: inline-block; margin-bottom: 14px; font-size: .95rem; }
.article__title { font-size: clamp(2rem, 4.4vw, 3.05rem); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.article__lead { margin: 18px 0 0; font-size: 1.3125rem; line-height: 1.5; color: var(--ink); max-width: 64ch; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 20px; color: var(--muted); font-size: .95rem; }
.article__author { color: var(--ink); font-weight: 700; }
.article__read { display: inline-flex; align-items: center; gap: 6px; }
.article__head .share { margin-top: 20px; }

.article__hero { margin: 0 0 32px; }
.article__hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 35%; border-radius: 8px; background: var(--surface); }
.article__hero figcaption { margin-top: 8px; color: var(--muted); font-size: .875rem; }

.article__layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 56px; padding-bottom: 48px; }
.article__layout--single { grid-template-columns: minmax(0, 760px); }
.article__rail { display: flex; flex-direction: column; gap: 36px; }
.article__toc { position: sticky; top: calc(var(--nav-h) + 24px); }

/* Turinio rodyklė */
.toc { background: var(--surface); border-radius: 8px; padding: 16px 18px; }
.toc summary { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.toc details:not([open]) summary::after { transform: rotate(-45deg); }
.toc__list { list-style: none; margin: 12px 0 0; padding: 0; max-height: 60vh; overflow: auto; }
.toc__item a { display: block; padding: 6px 0 6px 12px; border-left: 3px solid var(--line); color: var(--text); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.toc__item--h3 a { padding-left: 26px; font-size: .9rem; color: var(--muted); }
.toc__item a:hover { color: var(--ink); border-left-color: var(--muted); }
.toc__item a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--yellow); }

/* Teksto tipografija */
.entry-content { font-size: 1.1875rem; line-height: 1.68; color: var(--text); }
.entry-content > * { margin-block: 0 1.15em; }
.entry-content h2 { font-size: 1.75rem; line-height: 1.22; margin-top: 1.8em; margin-bottom: .6em; font-weight: 800; }
.entry-content h3 { font-size: 1.375rem; line-height: 1.3; margin-top: 1.5em; margin-bottom: .5em; }
.entry-content h4 { font-size: 1.15rem; margin-top: 1.4em; margin-bottom: .4em; }
.entry-content a { color: var(--link); text-decoration-thickness: 1px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content strong { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--green); font-weight: 700; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--yellow); font-family: var(--font-head); font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-caption-text { color: var(--muted); font-size: .875rem; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--surface); color: var(--ink); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content .alignleft { float: left; margin: 0 1.2em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.2em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content::after { content: ""; display: table; clear: both; }

/* „Taip pat skaitykite“ */
.also-read { margin-block: 1.6em !important; }
.also-read a { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 8px; text-decoration: none; color: var(--ink); }
.also-read a:hover { border-color: var(--green); border-left-color: var(--yellow); background: var(--surface); }
.also-read__thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.also-read__thumb img, .also-read__thumb .thumb-fallback { width: 100%; height: 100%; object-fit: cover; border-radius: 0; font-size: .75rem; padding: 6px; }
.also-read__body { display: flex; flex-direction: column; gap: 4px; }
.also-read__label { color: var(--green); font-weight: 700; font-size: .875rem; line-height: 1.2; }
.also-read__title { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.in-article { margin-block: 1.6em !important; padding: 16px; background: var(--surface); border-radius: 8px; font-size: 1rem; }

/* Dalinimasis */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { margin-right: 4px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.share__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.share__btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
[data-theme="dark"] .share__btn:hover { color: #08120e; }
.share__btn .icon { width: 18px; height: 18px; }
.share__native { padding: 0 14px; }
.share__copied:not(:empty) { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 4px 10px; background: var(--ink); color: var(--bg); border-radius: 4px; font-size: .8125rem; white-space: nowrap; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 32px 0 0; }
.tags a { display: inline-block; padding: 5px 12px; background: var(--surface); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.tags a:hover { background: var(--green-soft); }

.article__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding: 20px 0; border-block: 1px solid var(--line); }
.article__end-text { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.125rem; }

.author-box { display: flex; gap: 16px; margin-top: 32px; padding: 20px; background: var(--surface); border-radius: 8px; }
.author-box img { border-radius: 50%; flex: none; }
.author-box__name { font-size: 1.125rem; margin-bottom: 4px; }
.author-box p { margin: 0; }

.adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.adjacent__link { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.adjacent__link:hover { border-color: var(--green); color: var(--ink); }
.adjacent__link--next { grid-column: 2; text-align: right; }
.adjacent__link--next .adjacent__label { justify-content: flex-end; }
.adjacent__label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.adjacent__title { font-family: var(--font-head); font-weight: 700; line-height: 1.3; }

.related { padding-block: 24px 56px; }
.page-links { margin-top: 24px; font-weight: 600; }

/* Siūlomas kitas straipsnis */
.next-up { position: fixed; left: 20px; bottom: 20px; z-index: 50; display: flex; align-items: flex-start; gap: 4px; width: min(380px, calc(100vw - 100px)); padding: 12px; background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: 10px; box-shadow: 0 12px 32px rgba(13, 43, 32, .18); transform: translateY(calc(100% + 40px)); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.next-up.is-visible { transform: none; }
.next-up__link { display: grid; grid-template-columns: 64px 1fr; gap: 12px; flex: 1; color: var(--ink); text-decoration: none; }
.next-up__thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.next-up__thumb img, .next-up__thumb .thumb-fallback { width: 100%; height: 100%; object-fit: cover; font-size: .7rem; padding: 4px; }
.next-up__body { display: flex; flex-direction: column; gap: 2px; }
.next-up__label { color: var(--green); font-size: .8125rem; font-weight: 700; }
.next-up__title { font-family: var(--font-head); font-weight: 700; line-height: 1.3; font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.next-up__link:hover .next-up__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.next-up__close { display: inline-flex; padding: 4px; border: 0; background: none; color: var(--muted); }
.next-up__close:hover { color: var(--ink); }

/* ---------- Mygtukas „Į viršų“ su skaitymo žiedu ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 6px 18px rgba(13, 43, 32, .22); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--bg); background: var(--green); }
.to-top > .icon { grid-area: 1 / 1; width: 22px; height: 22px; }
.to-top__ring { grid-area: 1 / 1; width: 52px; height: 52px; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: var(--to-top-progress, 100); stroke-linecap: round; }
html:not(.js) .to-top { opacity: 1; visibility: visible; transform: none; }

/* ---------- 404 / tuščia ---------- */
.not-found { padding-bottom: 40px; }
.not-found__code { margin: 24px 0 0; font-family: var(--font-head); font-weight: 800; font-size: 5rem; line-height: 1; color: var(--green); }
.not-found .topics { margin-bottom: 40px; }
.empty h2 { font-size: 1.5rem; margin-bottom: 8px; }
.empty .grid { margin-top: 28px; }

/* ---------- Poraštė ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 56px; margin-top: 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--yellow); color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 48px; padding-bottom: 40px; }
.site-footer__brand img { width: 220px; height: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 40ch; }
.site-footer__title { color: #fff; font-size: 1.0625rem; margin-bottom: 16px; }
.site-footer__cats { columns: 2; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-footer__cats li, .site-footer__list li { margin-bottom: 8px; break-inside: avoid; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__social { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }
.site-footer__bottom p { margin: 0; }

/* WordPress klasės */
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bypostauthor, .sticky, .gallery-caption { }

/* ---------- Prisitaikymas ---------- */
@media (max-width: 1100px) {
	.pulse { grid-template-columns: 1fr 1fr; }
	.pulse__col--topics { grid-column: 1 / -1; }
	.layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; }
	.article__layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 40px; }
}

@media (max-width: 960px) {
	.top-stories { grid-template-columns: 1fr; gap: 28px; }
	.cat-block__grid { grid-template-columns: 1fr; gap: 28px; }
	.cat-block--b .cat-block__grid { grid-template-columns: 1fr 1fr; }
	.layout { grid-template-columns: 1fr; }
	.article__layout { grid-template-columns: 1fr; gap: 0; }
	.article__rail { display: contents; }
	.article__toc { position: static; order: -1; margin-bottom: 28px; }
	.article__rail .sidebar { order: 2; margin-top: 40px; }
	.article__body { order: 1; }
	.masthead__tagline { display: none; }
	.grid--archive.is-first > .card:first-child { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 700px) {
	body { font-size: 1rem; }
	.topbar__nav { display: none; }
	.theme-toggle { margin-left: auto; }
	.masthead__inner { padding-block: 12px; }
	.brand__svg { height: 34px; }
	.search-toggle { padding: 9px; border: 0; }
	.search-toggle span { display: none; }
	.nav__list a { padding: 12px 8px; font-size: .95rem; }
	.nav__list a::after { left: 8px; right: 8px; }
	.ticker__label { font-size: .875rem; }
	.pulse { grid-template-columns: 1fr; gap: 36px; }
	.cat-block--b .cat-block__grid { grid-template-columns: 1fr; gap: 22px; }
	.cat-block--b .cat-block__list .card--grid { display: grid; grid-template-columns: 104px 1fr; gap: 14px; }
	.cat-block--b .cat-block__list .card--grid .card__media { aspect-ratio: 1; }
	.cat-block--b .cat-block__list .card--grid .card__body { padding-top: 0; }
	.card--row, .top-stories__side .card--row { grid-template-columns: 104px 1fr; gap: 14px; }
	.entry-content { font-size: 1.125rem; }
	.entry-content h2 { font-size: 1.5rem; }
	.article__lead { font-size: 1.1875rem; }
	.article__hero { margin-inline: calc(-1 * var(--gutter)); }
	.article__hero img { border-radius: 0; aspect-ratio: 4 / 3; }
	.article__hero figcaption { padding-inline: var(--gutter); }
	.adjacent { grid-template-columns: 1fr; }
	.adjacent__link--next { grid-column: auto; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.next-up { left: 12px; right: 76px; bottom: 12px; width: auto; }
	.to-top { right: 12px; bottom: 12px; }
	.share__label { width: 100%; }
	.breadcrumbs li:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.ticker__viewport { overflow-x: auto; }
	.ticker__track { animation: none; }
	.ticker__track--clone { display: none; }
	.live-dot::after { display: none; }
}

@media print {
	.topbar, .nav, .ticker, .share, .sidebar, .article__rail, .related, .next-up, .to-top, .site-footer, .progress, .adjacent, .also-read, .in-article { display: none !important; }
	body { color: #000; background: #fff; }
	.article__layout { display: block; }
}
