/*
Theme Name: Varpelis
Theme URI: https://www.kaunovarpelis.lt/
Author: Varpelis
Description: Savita, greita ir SEO optimizuota naujienų ir straipsnių tema „Varpelis“ svetainei. Veikia be papildomų įskiepių: struktūrizuoti duomenys, Open Graph, turinio rodyklė, susiję ir populiariausi straipsniai, skaitymo eiga, „Kitas straipsnis“, tamsus režimas, mygtukas „Į viršų“ ir senų adresų peradresavimas.
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: varpelis
Tags: news, blog, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Šriftai ir spalvos
   ========================================================================== */

@font-face {
	font-family: "Bitter";
	src: url("assets/fonts/bitter-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bitter";
	src: url("assets/fonts/bitter-italic-var.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

:root {
	/* Patina: varpo bronzos žalsvumas, žalvaris ir šviesus mineralinis fonas. */
	--paper: #EEF1EA;
	--paper-2: #E1E8E0;
	--surface: #F8FAF6;
	--ink: #18262A;
	--ink-2: #4A5B58;
	--line: #C8D2CA;
	--verd: #2E7365;
	--verd-ink: #1F5A4F;
	--brass: #CFA23A;
	--brass-ink: #8A6A16;
	--band: #1F4A43;
	--band-ink: #EEF1EA;
	--on-verd: #FFFFFF;

	--font-display: "Bitter", "Rockwell", "Roboto Slab", Georgia, serif;
	--font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--step--1: 0.8125rem;
	--step-0: 1rem;
	--step-1: 1.125rem;
	--step-2: 1.3125rem;
	--step-3: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
	--step-4: clamp(1.75rem, 1.35rem + 1.6vw, 2.4rem);
	--step-5: clamp(2.1rem, 1.3rem + 3vw, 3.5rem);

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 8px;
	--shadow: 0 1px 2px rgba(24, 38, 42, 0.08), 0 8px 24px rgba(24, 38, 42, 0.12);

	color-scheme: light;
}

[data-theme="dark"] {
	--paper: #111B1C;
	--paper-2: #182526;
	--surface: #1B292A;
	--ink: #E4ECE7;
	--ink-2: #A2B4AE;
	--line: #2D3E3F;
	--verd: #7CC2B1;
	--verd-ink: #A7DCCD;
	--brass: #E0B54C;
	--brass-ink: #E0B54C;
	--band: #1B3632;
	--band-ink: #E4ECE7;
	--on-verd: #0F1A1B;
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.45);
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #111B1C;
		--paper-2: #182526;
		--surface: #1B292A;
		--ink: #E4ECE7;
		--ink-2: #A2B4AE;
		--line: #2D3E3F;
		--verd: #7CC2B1;
		--verd-ink: #A7DCCD;
		--brass: #E0B54C;
		--brass-ink: #E0B54C;
		--band: #1B3632;
		--band-ink: #E4ECE7;
		--on-verd: #0F1A1B;
		--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.45);
		color-scheme: dark;
	}
}

/* ==========================================================================
   2. Pagrindai
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: var(--step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

img {
	height: auto;
	display: block;
}

a {
	color: var(--verd);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--verd-ink);
}

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

p {
	margin: 0;
}

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

button {
	font: inherit;
	color: inherit;
}

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

::selection {
	background: var(--brass);
	color: #18262A;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap .wrap {
	padding-inline: 0;
	max-width: none;
}

.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-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	background: var(--ink);
	color: var(--paper);
	padding: 10px 16px;
	border-radius: var(--radius);
	font-weight: 600;
}

.skip-link:focus {
	top: 12px;
	color: var(--paper);
}

.site-main {
	outline: none;
	padding-bottom: 32px;
}

/* ==========================================================================
   3. Varpelio ženklas
   ========================================================================== */

.bell .bell-body {
	fill: var(--bell-body, var(--verd));
}

.bell .bell-v {
	fill: none;
	stroke: var(--bell-v, var(--paper));
	stroke-width: 3.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bell .bell-clapper {
	fill: var(--brass);
}

.bell .bell-ring {
	fill: none;
	stroke: var(--brass);
	stroke-width: 3.2;
	stroke-linecap: round;
}

.bell .bell-ring--2 {
	opacity: 0.55;
}

@keyframes varpelis-swing {
	0% { transform: rotate(0); }
	20% { transform: rotate(14deg); }
	45% { transform: rotate(-11deg); }
	70% { transform: rotate(6deg); }
	100% { transform: rotate(0); }
}

/* ==========================================================================
   4. Mygtukai, žymės
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: 2px solid var(--verd);
	border-radius: 999px;
	background: var(--verd);
	color: var(--on-verd);
	font-family: var(--font-text);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
	background: var(--verd-ink);
	border-color: var(--verd-ink);
	color: var(--on-verd);
}

.btn--ghost {
	background: transparent;
	color: var(--verd);
}

.btn--ghost:hover {
	background: var(--verd);
	color: var(--on-verd);
}

.btn--brass {
	background: var(--brass);
	border-color: var(--brass);
	color: #18262A;
}

.btn--brass:hover {
	background: #E6BC55;
	border-color: #E6BC55;
	color: #18262A;
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.icon-btn:hover {
	background: var(--paper-2);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.chip {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-size: 0.9rem;
	text-decoration: none;
	background: var(--surface);
}

.chip:hover {
	border-color: var(--verd);
	color: var(--verd);
}

.chip__count {
	color: var(--ink-2);
	font-size: var(--step--1);
	font-variant-numeric: tabular-nums;
}

.section-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: var(--step-2);
	font-weight: 650;
	margin-bottom: 20px;
}

.section-label::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--brass);
	flex: none;
}

/* ==========================================================================
   5. Viršutinė juosta ir antraštė
   ========================================================================== */

.topbar {
	background: var(--paper-2);
	color: var(--ink-2);
	font-size: var(--step--1);
}

.topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 38px;
}

.topbar__date::first-letter {
	text-transform: uppercase;
}

.topbar__actions {
	display: flex;
	gap: 4px;
}

.topbar__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--ink-2);
	font-size: var(--step--1);
	text-decoration: none;
	cursor: pointer;
}

.topbar__link:hover {
	color: var(--ink);
	background: var(--paper);
}

.topbar__link .icon {
	width: 16px;
	height: 16px;
}

.site-header {
	position: relative;
	z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 84px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
	flex: none;
}

.site-brand:hover {
	color: var(--ink);
}

.site-brand__bell {
	width: 50px;
	height: auto;
	overflow: visible;
}

.site-brand:hover .site-brand__bell .bell-body,
.site-brand:hover .site-brand__bell .bell-v,
.site-brand:hover .site-brand__bell .bell-clapper {
	transform-origin: 32px 8px;
	transform-box: view-box;
}

@media (prefers-reduced-motion: no-preference) {
	.site-brand:hover .site-brand__bell .bell-body,
	.site-brand:hover .site-brand__bell .bell-v,
	.site-brand:hover .site-brand__bell .bell-clapper {
		animation: varpelis-swing 0.8s ease-in-out;
	}
}

.site-brand__name {
	font-family: var(--font-display);
	font-weight: 760;
	font-size: 1.85rem;
	letter-spacing: -0.012em;
	line-height: 1;
}

.site-brand--custom img {
	max-height: 56px;
	width: auto;
}

.site-nav {
	flex: 1;
}

.nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 26px;
	list-style: none;
}

.nav-list a {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}

.nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 3px;
	border-radius: 3px;
	background: var(--brass);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after,
.nav-list .current-menu-item > a::after,
.nav-list .current-menu-parent > a::after {
	transform: scaleX(1);
}

.nav-list .sub-menu {
	display: none;
}

.site-header__tools {
	display: flex;
	gap: 4px;
	margin-left: auto;
}

.icon-btn--menu {
	display: none;
}

.search-panel {
	background: var(--paper-2);
	border-top: 1px solid var(--line);
	padding: 24px 0 28px;
}

.search-form__label {
	display: block;
	font-family: var(--font-display);
	font-weight: 650;
	font-size: var(--step-2);
	margin-bottom: 10px;
}

.search-form__row {
	display: flex;
	gap: 10px;
	max-width: 720px;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 20px;
	border: 2px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	font-size: var(--step-1);
}

.search-form__input:focus {
	border-color: var(--verd);
	outline: none;
}

@media (max-width: 960px) {
	.site-header__inner {
		min-height: 70px;
		gap: 12px;
	}

	.site-brand__bell {
		width: 40px;
	}

	.site-brand__name {
		font-size: 1.55rem;
	}

	.icon-btn--menu {
		display: inline-grid;
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		padding: 8px var(--gutter) 20px;
	}

	.nav-open .site-nav {
		display: block;
	}

	.nav-list {
		flex-direction: column;
		gap: 0;
	}

	.nav-list a {
		display: block;
		padding: 12px 0;
		font-family: var(--font-display);
		font-size: var(--step-2);
		border-bottom: 1px solid var(--line);
	}

	.nav-list a::after {
		display: none;
	}

	.search-form__row .btn span {
		display: none;
	}
}

@media (max-width: 560px) {
	.topbar__link span {
		display: none;
	}
}

/* ==========================================================================
   6. Kortelės
   ========================================================================== */

.card {
	position: relative;
	display: grid;
	align-content: start;
	gap: 14px;
}

.card__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-2);
	aspect-ratio: 3 / 2;
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__body {
	display: grid;
	align-content: start;
	gap: 8px;
	min-width: 0;
}

.card__cat {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	justify-self: start;
	color: var(--verd);
	font-size: var(--step--1);
	font-weight: 650;
	text-decoration: none;
}

.card__cat::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--brass);
}

.card__cat:hover {
	text-decoration: underline;
}

.card__title {
	font-size: var(--step-2);
	font-weight: 650;
	line-height: 1.22;
}

.card__title a {
	color: var(--ink);
	text-decoration: none;
	background-image: linear-gradient(var(--brass), var(--brass));
	background-size: 0 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.3s;
}

.card__title a:hover {
	background-size: 100% 2px;
	color: var(--ink);
}

.card__title a::after {
	/* Visa kortelė paspaudžiama, bet nuoroda viena (prieinamumas). */
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
}

.card__cat {
	position: relative;
	z-index: 1;
}

.card__excerpt {
	color: var(--ink-2);
	font-size: 0.975rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	color: var(--ink-2);
	font-size: var(--step--1);
}

.card__read {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--paper-2);
	color: var(--ink-2);
	font-size: 0.75rem;
	font-weight: 600;
}

.card.is-read .card__title a {
	color: var(--ink-2);
}

.card mark,
.search-results mark {
	background: rgba(207, 162, 58, 0.35);
	color: inherit;
	border-radius: 2px;
	padding: 0 1px;
}

/* Eilutė su miniatiūra */
.card--row {
	grid-template-columns: 96px 1fr;
	gap: 16px;
	align-items: start;
}

.card--row .card__media {
	aspect-ratio: 1;
	border-radius: 6px;
}

.card--row .card__title {
	font-size: 1.05rem;
	line-height: 1.28;
}

.card--row .card__meta {
	gap: 2px 10px;
}

/* Didelė kortelė */
.card--feature .card__media {
	aspect-ratio: 16 / 10;
}

.card--feature .card__title {
	font-size: var(--step-4);
	font-weight: 720;
	line-height: 1.12;
}

.card--feature .card__excerpt {
	font-size: var(--step-1);
	-webkit-line-clamp: 4;
}

/* Pagrindinė kortelė: arkos (varpo) formos vaizdas */
.card--lead {
	grid-template-columns: 44% 1fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.card--lead .card__media {
	aspect-ratio: 4 / 5;
	border-radius: 999px 999px var(--radius) var(--radius);
}

.card--lead .card__body {
	gap: 14px;
}

.card--lead .card__title {
	font-size: var(--step-5);
	font-weight: 760;
	line-height: 1.06;
	letter-spacing: -0.01em;
}

.card--lead .card__excerpt {
	font-size: var(--step-1);
	-webkit-line-clamp: 5;
}

@media (max-width: 760px) {
	.card--lead {
		grid-template-columns: 1fr;
	}

	.card--lead .card__media {
		aspect-ratio: 4 / 3;
	}
}

/* Firminis piešinys įrašams be nuotraukos */
.placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--band);
	overflow: hidden;
	--bell-body: var(--band-ink);
	--bell-v: var(--band);
}

.placeholder__rings {
	position: absolute;
	inset: 0;
	background: repeating-radial-gradient(circle at 50% 45%, transparent 0 22px, rgba(207, 162, 58, 0.28) 22px 24px, transparent 24px 46px);
}

.placeholder__bell {
	position: relative;
	width: 28%;
	max-width: 120px;
	min-width: 36px;
}

.placeholder__label {
	position: absolute;
	left: 14px;
	bottom: 12px;
	color: var(--band-ink);
	font-family: var(--font-display);
	font-weight: 650;
	font-size: 0.9rem;
}

.card--row .placeholder__label {
	display: none;
}

/* ==========================================================================
   7. Pagrindinis puslapis
   ========================================================================== */

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
	gap: clamp(32px, 4vw, 64px);
	padding-top: clamp(28px, 4vw, 56px);
	padding-bottom: clamp(28px, 4vw, 48px);
	overflow-x: clip;
}

.hero__lead {
	position: relative;
	isolation: isolate;
	padding-top: 14px;
}

/* Garso bangos aplink arką: vienintelis animuotas momentas puslapyje. */
.hero .card--lead {
	grid-template-columns: 40% 1fr;
	align-items: start;
	gap: clamp(32px, 4.5vw, 64px);
}

.hero .card--lead .card__title {
	font-size: clamp(2rem, 1.1rem + 2vw, 2.9rem);
}

.hero .card--lead .card__body {
	padding-top: 12px;
}

.hero__rings {
	position: absolute;
	top: 14px;
	left: 0;
	width: 40%;
	aspect-ratio: 1;
	z-index: -1;
	pointer-events: none;
}

.hero__rings::before,
.hero__rings::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: 2px solid var(--brass);
}

.hero__rings::before {
	inset: -5%;
	opacity: 0.75;
}

.hero__rings::after {
	inset: -11%;
	opacity: 0.35;
}

@media (prefers-reduced-motion: no-preference) {
	.hero__rings::before {
		animation: varpelis-ding 1.1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.hero__rings::after {
		animation: varpelis-ding-2 1.3s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}
}

@keyframes varpelis-ding {
	from { transform: scale(0.9); opacity: 0; }
	to { transform: scale(1); opacity: 0.75; }
}

@keyframes varpelis-ding-2 {
	from { transform: scale(0.88); opacity: 0; }
	to { transform: scale(1); opacity: 0.35; }
}

.hero__side {
	display: grid;
	align-content: start;
	gap: 22px;
	padding-left: clamp(0px, 3vw, 40px);
	border-left: 1px solid var(--line);
}

.hero__side .section-label {
	margin-bottom: 0;
}

@media (max-width: 1100px) {
	.hero {
		grid-template-columns: 1fr;
	}

	.hero__side {
		border-left: 0;
		padding-left: 0;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero__side .section-label {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.hero .card--lead {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.hero .card--lead .card__body {
		padding-top: 0;
	}

	.hero .card--lead .card__title {
		font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.3rem);
	}

	.hero__rings {
		width: 100%;
		aspect-ratio: 4 / 3;
	}

	.hero__rings::before,
	.hero__rings::after {
		display: none;
	}

	.hero__side {
		grid-template-columns: 1fr;
	}
}

.resume {
	display: flex;
	align-items: center;
	gap: 12px 16px;
	flex-wrap: wrap;
	margin-block: 8px 24px;
	padding: 14px 18px;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--verd);
}

.resume[hidden] {
	display: none;
}

.resume__label {
	color: var(--ink-2);
	font-size: 0.9rem;
}

.resume__link {
	font-family: var(--font-display);
	font-weight: 650;
	color: var(--ink);
	text-decoration: none;
}

.resume__link:hover {
	text-decoration: underline;
}

.resume__pct {
	color: var(--ink-2);
	font-size: var(--step--1);
}

.resume .icon-btn {
	margin-left: auto;
	width: 36px;
	height: 36px;
}

/* Trumpai */
.brief {
	background: var(--paper-2);
	padding-block: 28px 32px;
	margin-block: 8px 56px;
}

.brief .section-label {
	margin-bottom: 16px;
}

.brief__list {
	list-style: none;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(230px, 1fr);
	gap: 0;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	padding-bottom: 6px;
}

.brief__item {
	display: grid;
	align-content: start;
	gap: 6px;
	padding: 2px 22px;
	border-left: 1px solid var(--line);
	scroll-snap-align: start;
}

.brief__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.brief__item time {
	color: var(--ink-2);
	font-size: var(--step--1);
}

.brief__item a {
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.02rem;
	line-height: 1.3;
	text-decoration: none;
}

.brief__item a:hover {
	color: var(--verd);
}

.brief__item.is-read a {
	color: var(--ink-2);
}

/* Temų skyriai */
.topic {
	margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head {
	position: relative;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding-top: 18px;
	margin-bottom: 28px;
	border-top: 1px solid var(--line);
}

.section-head::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 64px;
	height: 4px;
	border-radius: 0 0 4px 4px;
	background: var(--verd);
}

.section-head__title {
	font-size: var(--step-4);
	font-weight: 740;
	letter-spacing: -0.01em;
}

.section-head__title a {
	color: var(--ink);
	text-decoration: none;
}

.section-head__title a:hover {
	color: var(--verd);
}

.section-head__more {
	font-weight: 600;
	font-size: 0.95rem;
}

.topic--a .topic__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	grid-template-rows: repeat(3, auto);
	gap: 24px clamp(24px, 4vw, 56px);
}

.topic--a .card--feature {
	grid-row: 1 / span 3;
}

.topic--a .card--row {
	grid-template-columns: 132px 1fr;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

.topic--a .card--row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.topic--a .card--row .card__media {
	aspect-ratio: 4 / 3;
}

.topic--b .topic__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 32px;
}

@media (max-width: 900px) {
	.topic--a .topic__grid,
	.topic--b .topic__grid {
		grid-template-columns: 1fr;
	}

	.topic--a .card--feature {
		grid-row: auto;
	}

	.topic--a .card--row {
		grid-template-columns: 96px 1fr;
	}
}

/* Populiariausi + temos */
.pulse {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 40px clamp(32px, 5vw, 80px);
	margin-bottom: clamp(48px, 6vw, 80px);
}

.rank {
	list-style: none;
	counter-reset: rank;
	display: grid;
	gap: 0;
}

.rank__item {
	counter-increment: rank;
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	position: relative;
}

.rank__item:first-child {
	padding-top: 4px;
}

.rank__item::before {
	content: counter(rank);
	grid-row: 1 / span 2;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--brass-ink);
	font-variant-numeric: lining-nums tabular-nums;
}

.rank__item a {
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 640;
	font-size: 1.15rem;
	line-height: 1.3;
	text-decoration: none;
}

.rank__item a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.rank__item:hover a {
	color: var(--verd);
}

.rank__item.is-read a {
	color: var(--ink-2);
}

.rank__meta {
	color: var(--ink-2);
	font-size: var(--step--1);
	margin-top: 4px;
}

@media (max-width: 900px) {
	.pulse {
		grid-template-columns: 1fr;
	}
}

/* Atsitiktinio straipsnio juosta */
.ring-band {
	background: var(--band);
	color: var(--band-ink);
	padding-block: clamp(40px, 6vw, 72px);
	margin-block: 16px clamp(48px, 6vw, 80px);
	overflow: hidden;
	--bell-body: var(--band-ink);
	--bell-v: var(--band);
}

.ring-band__inner {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: clamp(24px, 6vw, 80px);
}

.ring-band__art {
	position: relative;
	width: clamp(110px, 16vw, 190px);
}

.ring-band__art::before {
	content: "";
	position: absolute;
	inset: -40%;
	border-radius: 50%;
	background: repeating-radial-gradient(circle, transparent 0 34px, rgba(224, 181, 76, 0.22) 34px 36px, transparent 36px 64px);
	pointer-events: none;
}

.ring-band__bell {
	position: relative;
	width: 100%;
	overflow: visible;
}

.ring-band__bell .bell-body,
.ring-band__bell .bell-v,
.ring-band__bell .bell-clapper {
	transform-origin: 32px 8px;
	transform-box: view-box;
}

.ring-band.is-ringing .ring-band__bell .bell-body,
.ring-band.is-ringing .ring-band__bell .bell-v,
.ring-band.is-ringing .ring-band__bell .bell-clapper {
	animation: varpelis-swing 0.8s ease-in-out;
}

.ring-band__title {
	font-size: var(--step-4);
	font-weight: 740;
	margin-bottom: 10px;
}

.ring-band__text p {
	max-width: 52ch;
	margin-bottom: 22px;
	color: inherit;
	opacity: 0.88;
	font-size: var(--step-1);
}

.archive-link {
	display: flex;
	justify-content: center;
	margin-block: 8px 40px;
}

@media (max-width: 600px) {
	.ring-band__inner {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   8. Archyvai, paieška, 404
   ========================================================================== */

.archive-head {
	padding-top: clamp(28px, 4vw, 48px);
	padding-bottom: 32px;
	display: grid;
	gap: 14px;
	justify-items: start;
}

.archive-head__title {
	font-size: var(--step-5);
	font-weight: 760;
	letter-spacing: -0.012em;
}

.archive-head__desc {
	max-width: 65ch;
	color: var(--ink-2);
	font-size: var(--step-1);
}

.archive-head__desc p + p {
	margin-top: 0.8em;
}

.archive-head__count {
	color: var(--ink-2);
	font-size: 0.9rem;
}

.archive-head__search {
	width: 100%;
	margin-top: 8px;
}

.archive-head--404 .lost {
	width: 110px;
}

.lost__bell {
	overflow: visible;
}

.lost__bell .bell-body,
.lost__bell .bell-v,
.lost__bell .bell-clapper {
	transform-origin: 32px 8px;
	transform-box: view-box;
}

@media (prefers-reduced-motion: no-preference) {
	.lost__bell .bell-body,
	.lost__bell .bell-v,
	.lost__bell .bell-clapper {
		animation: varpelis-swing 1.2s 0.3s ease-in-out;
	}
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 44px 32px;
}

.post-grid > .card--feature {
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(20px, 4vw, 48px);
	align-items: center;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--line);
}

@media (max-width: 760px) {
	.post-grid > .card--feature {
		grid-template-columns: 1fr;
	}
}

.post-grid--list {
	grid-template-columns: 1fr;
	max-width: 860px;
	gap: 28px;
}

.post-grid--list .card--row {
	grid-template-columns: 160px 1fr;
	gap: 20px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--line);
}

.post-grid--list .card--row .card__media {
	aspect-ratio: 4 / 3;
}

.post-grid--list .card--row .card__title {
	font-size: var(--step-2);
}

@media (max-width: 560px) {
	.post-grid--list .card--row {
		grid-template-columns: 96px 1fr;
	}
}

.empty {
	display: grid;
	gap: 24px;
	margin-bottom: 56px;
}

.empty__lead {
	max-width: 60ch;
	font-size: var(--step-1);
}

.load-more {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

.load-more[hidden] {
	display: none;
}

.pagination {
	margin-block: 28px 16px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.pagination a.page-numbers:hover {
	background: var(--paper-2);
}

.pagination .page-numbers.current {
	background: var(--verd);
	color: var(--on-verd);
}

/* ==========================================================================
   9. Straipsnis
   ========================================================================== */

.read-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 4px;
	z-index: 200;
	pointer-events: none;
}

.read-progress span {
	display: block;
	height: 100%;
	background: var(--brass);
	transform: scaleX(0);
	transform-origin: left;
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	list-style: none;
	color: var(--ink-2);
	font-size: var(--step--1);
}

.crumbs li:not(:last-child)::after {
	content: "/";
	margin-inline: 8px;
	color: var(--line);
}

.crumbs a {
	color: var(--ink-2);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--verd);
	text-decoration: underline;
}

.crumbs [aria-current] {
	display: inline-block;
	max-width: 40ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

.entry-head {
	display: grid;
	gap: 16px;
	justify-items: start;
	padding-top: clamp(24px, 4vw, 44px);
	padding-bottom: 32px;
	max-width: calc(940px + var(--gutter) * 2);
	margin-inline: auto;
}

.entry-head .crumbs {
	margin-bottom: 8px;
}

.entry-title {
	font-size: var(--step-5);
	font-weight: 760;
	line-height: 1.08;
	letter-spacing: -0.012em;
}

.entry-dek {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
	line-height: 1.45;
	color: var(--ink-2);
	max-width: 60ch;
}

.entry-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 4px;
}

.entry-meta__avatar {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--verd);
	color: var(--on-verd);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.2rem;
	flex: none;
}

.entry-meta__author a {
	color: var(--ink);
	font-weight: 650;
	text-decoration: none;
}

.entry-meta__author a:hover {
	text-decoration: underline;
}

.entry-meta__dates {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 14px;
	color: var(--ink-2);
	font-size: 0.9rem;
}

.entry-figure {
	margin: 0 auto 40px;
	max-width: calc(1180px + var(--gutter) * 2);
}

.entry-figure img {
	width: 100%;
	max-height: min(560px, 62vh);
	object-fit: cover;
	border-radius: 12px;
}

.entry-figure figcaption {
	margin-top: 10px;
	color: var(--ink-2);
	font-size: var(--step--1);
}

.entry-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 720px);
	justify-content: center;
	gap: clamp(32px, 5vw, 72px);
	max-width: calc(1180px + var(--gutter) * 2);
	margin-bottom: clamp(48px, 6vw, 80px);
}

.entry-layout--single {
	grid-template-columns: minmax(0, 720px);
}

.entry-aside__sticky {
	position: sticky;
	top: 28px;
	display: grid;
	gap: 28px;
}

.toc {
	border-left: 2px solid var(--line);
	padding-left: 18px;
}

.toc__summary {
	cursor: pointer;
	font-family: var(--font-display);
	font-weight: 650;
	font-size: 1.05rem;
	list-style: none;
	margin-bottom: 12px;
}

.toc__summary::-webkit-details-marker {
	display: none;
}

.toc__summary::after {
	content: "+";
	margin-left: 8px;
	color: var(--verd);
}

.toc[open] .toc__summary::after {
	content: "–";
}

.toc__list {
	list-style: none;
	display: grid;
	gap: 2px;
	max-height: calc(100vh - 240px);
	overflow-y: auto;
	scrollbar-width: thin;
}

.toc__item a {
	position: relative;
	display: block;
	padding: 5px 0;
	color: var(--ink-2);
	font-size: 0.9rem;
	line-height: 1.35;
	text-decoration: none;
}

.toc__item--h3 a {
	padding-left: 14px;
	font-size: 0.85rem;
}

.toc__item a:hover {
	color: var(--ink);
}

.toc__item a.is-active {
	color: var(--verd);
	font-weight: 650;
}

.toc__item a.is-active::before {
	content: "";
	position: absolute;
	left: -20px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: var(--verd);
}

.share__label {
	font-family: var(--font-display);
	font-weight: 650;
	margin-bottom: 10px;
}

.share__list {
	list-style: none;
	display: grid;
	gap: 6px;
}

.share__list li[hidden] {
	display: none;
}

.share__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--ink-2);
	font-size: 0.9rem;
	text-decoration: none;
	cursor: pointer;
}

.share__btn:hover {
	color: var(--verd);
}

.share__status {
	min-height: 1.4em;
	color: var(--verd);
	font-size: var(--step--1);
	margin-top: 6px;
}

@media (max-width: 1100px) {
	.entry-layout {
		grid-template-columns: minmax(0, 720px);
		gap: 24px;
	}

	.entry-aside__sticky {
		position: static;
		gap: 16px;
	}

	.toc {
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: var(--surface);
		padding: 14px 18px;
	}

	.toc__summary {
		margin-bottom: 0;
	}

	.toc[open] .toc__summary {
		margin-bottom: 10px;
	}

	.toc__list {
		max-height: none;
	}

	.toc__item a.is-active::before {
		display: none;
	}

	.share {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 4px 12px;
	}

	.share__label {
		margin: 0;
		font-size: 0.95rem;
	}

	.share__list {
		display: flex;
		gap: 4px;
	}

	.share__btn {
		width: 42px;
		height: 42px;
		justify-content: center;
		border: 1px solid var(--line);
		border-radius: 50%;
		padding: 0;
	}

	.share__btn span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.share__status {
		margin: 0;
	}
}

/* Straipsnio tekstas */
.prose {
	font-size: var(--step-1);
	line-height: 1.75;
	overflow-wrap: break-word;
}

.prose > * + * {
	margin-top: 1.15em;
}

.prose h2,
.prose h3,
.prose h4 {
	scroll-margin-top: 24px;
	margin-top: 2em;
}

.prose h2 {
	font-size: var(--step-3);
	font-weight: 720;
}

.prose h3 {
	font-size: 1.3rem;
	font-weight: 680;
}

.prose h4 {
	font-size: 1.1rem;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
	margin-top: 0.6em;
}

.prose a {
	color: var(--verd);
}

.prose ul,
.prose ol {
	padding-left: 1.4em;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose li::marker {
	color: var(--verd);
	font-weight: 700;
}

.prose blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--brass);
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.2rem;
	line-height: 1.55;
}

.prose blockquote cite {
	display: block;
	margin-top: 8px;
	font-family: var(--font-text);
	font-style: normal;
	font-size: 0.9rem;
	color: var(--ink-2);
}

.prose img {
	border-radius: var(--radius);
}

.prose figure {
	margin-inline: 0;
}

.prose figcaption,
.prose .wp-element-caption {
	margin-top: 8px;
	color: var(--ink-2);
	font-size: var(--step--1);
	line-height: 1.5;
}

.prose hr {
	border: 0;
	height: 4px;
	width: 64px;
	margin: 2.4em auto;
	border-radius: 4px;
	background: var(--brass);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	line-height: 1.5;
}

.prose th,
.prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.prose th {
	font-weight: 650;
	background: var(--paper-2);
}

.prose .wp-block-table {
	overflow-x: auto;
}

.prose code {
	padding: 2px 6px;
	border-radius: 4px;
	background: var(--paper-2);
	font-size: 0.9em;
}

.prose pre {
	padding: 18px;
	border-radius: var(--radius);
	background: var(--paper-2);
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.5;
}

.prose pre code {
	padding: 0;
	background: none;
}

.prose .alignwide {
	margin-inline: calc(-1 * min(120px, 8vw));
	max-width: none;
}

.prose .alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.prose .alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
	max-width: 50%;
}

.prose .alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
	max-width: 50%;
}

.prose .aligncenter {
	margin-inline: auto;
}

.prose::after {
	content: "";
	display: table;
	clear: both;
}

@media (max-width: 1100px) {
	.prose .alignwide {
		margin-inline: 0;
	}
}

.inline-read {
	display: grid;
	gap: 4px;
	margin-block: 1.8em;
	padding: 18px 22px;
	border-left: 4px solid var(--brass);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--surface);
	line-height: 1.4;
}

.inline-read__label {
	color: var(--verd);
	font-size: var(--step--1);
	font-weight: 650;
}

.prose .inline-read__link {
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 650;
	font-size: 1.15rem;
	text-decoration: none;
}

.prose .inline-read__link:hover {
	color: var(--verd);
	text-decoration: underline;
}

.inline-read__meta {
	color: var(--ink-2);
	font-size: var(--step--1);
}

.entry-tags {
	margin-top: 2.4em;
}

.prose .chips {
	padding-left: 0;
}

.prose .chips li + li {
	margin-top: 0;
}

.page-links {
	display: flex;
	gap: 8px;
	margin-top: 2em;
	font-weight: 600;
}

.resume-here {
	display: inline-flex;
	margin: 0 0 1.2em;
	padding: 8px 16px;
	border: 2px solid var(--verd);
	border-radius: 999px;
	background: var(--surface);
	color: var(--verd);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}

.resume-here[hidden] {
	display: none;
}

.resume-here:hover {
	background: var(--verd);
	color: var(--on-verd);
}

.next-read,
.related {
	margin-bottom: clamp(48px, 6vw, 80px);
}

.next-read .card--lead {
	grid-template-columns: minmax(0, 340px) 1fr;
	padding: clamp(20px, 3vw, 36px);
	border-radius: 16px;
	background: var(--surface);
	border: 1px solid var(--line);
}

.next-read .card--lead .card__title {
	font-size: var(--step-4);
}

@media (max-width: 760px) {
	.next-read .card--lead {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   10. „Skaitykite toliau“ ir „Į viršų“
   ========================================================================== */

.nudge {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 120;
	display: grid;
	gap: 8px;
	width: min(360px, calc(100vw - 110px));
	padding: 14px 16px 16px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface);
	box-shadow: var(--shadow);
}

.nudge[hidden] {
	display: none;
}

@media (prefers-reduced-motion: no-preference) {
	.nudge.is-visible {
		animation: varpelis-rise 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
	}
}

@keyframes varpelis-rise {
	from { transform: translateY(24px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.nudge__label {
	color: var(--verd);
	font-size: var(--step--1);
	font-weight: 650;
	padding-right: 36px;
}

.nudge__link {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	align-items: center;
	color: var(--ink);
	text-decoration: none;
}

.nudge__link:hover .nudge__title {
	color: var(--verd);
	text-decoration: underline;
}

.nudge__media {
	display: block;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--paper-2);
}

.nudge__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nudge__title {
	font-family: var(--font-display);
	font-weight: 650;
	font-size: 1rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nudge__close {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 36px;
	height: 36px;
}

.to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 130;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--surface);
	box-shadow: var(--shadow);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.to-top__track,
.to-top__progress {
	fill: none;
	stroke-width: 3;
}

.to-top__track {
	stroke: var(--line);
}

.to-top__progress {
	stroke: var(--brass);
	stroke-linecap: round;
	stroke-dasharray: 144.51;
	stroke-dashoffset: 144.51;
}

.to-top__bell {
	position: relative;
	width: 28px;
	overflow: visible;
}

.to-top__bell .bell-body,
.to-top__bell .bell-v,
.to-top__bell .bell-clapper {
	transform-origin: 32px 8px;
	transform-box: view-box;
}

.to-top:hover .to-top__bell .bell-body,
.to-top:hover .to-top__bell .bell-v,
.to-top:hover .to-top__bell .bell-clapper,
.to-top.is-ringing .to-top__bell .bell-body,
.to-top.is-ringing .to-top__bell .bell-v,
.to-top.is-ringing .to-top__bell .bell-clapper {
	animation: varpelis-swing 0.8s ease-in-out;
}

.to-top__label {
	position: absolute;
	right: calc(100% + 10px);
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: var(--step--1);
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.to-top:hover .to-top__label,
.to-top:focus-visible .to-top__label {
	opacity: 1;
}

@media (max-width: 600px) {
	.to-top {
		right: 14px;
		bottom: 14px;
		width: 54px;
		height: 54px;
	}

	.nudge {
		left: 14px;
		bottom: 14px;
		width: calc(100vw - 96px);
	}
}

/* ==========================================================================
   11. Poraštė
   ========================================================================== */

.site-footer {
	background: var(--paper-2);
	padding-top: clamp(48px, 6vw, 72px);
	font-size: 0.95rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 40px clamp(32px, 5vw, 72px);
	padding-bottom: 48px;
}

.site-footer__about {
	display: grid;
	gap: 16px;
	align-content: start;
	max-width: 46ch;
	color: var(--ink-2);
}

.site-brand--footer .site-brand__bell {
	width: 44px;
}

.site-brand--footer .site-brand__name {
	font-size: 1.6rem;
}

.site-footer__social {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

.site-footer__title {
	font-size: 1.1rem;
	font-weight: 650;
	margin-bottom: 14px;
}

.site-footer__col ul {
	list-style: none;
	display: grid;
	gap: 8px;
}

.site-footer__col a,
.site-footer__social a,
.site-footer__menu a {
	color: var(--ink-2);
	text-decoration: none;
}

.site-footer__col a:hover,
.site-footer__social a:hover,
.site-footer__menu a:hover {
	color: var(--verd);
	text-decoration: underline;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px 28px;
	border-top: 1px solid var(--line);
	color: var(--ink-2);
	font-size: var(--step--1);
}

.site-footer__menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}

@media (max-width: 900px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   12. WordPress klasės, judesio mažinimas, spausdinimas
   ========================================================================== */

.wp-caption,
.gallery-caption {
	max-width: 100%;
}

.sticky,
.bypostauthor {
	/* WordPress reikalaujamos klasės. */
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.topbar,
	.site-header,
	.site-footer,
	.entry-aside,
	.nudge,
	.to-top,
	.read-progress,
	.next-read,
	.related,
	.ring-band,
	.inline-read,
	.resume-here {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.entry-layout {
		display: block;
	}
}
