:root {
	--rl-ink: #2a2722;
	--rl-muted: #70685e;
	--rl-accent: #6e7156;
	--rl-accent-dark: #555940;
	--rl-warm: #a86447;
	--rl-paper: #fbf7f0;
	--rl-canvas: #f4ebdd;
	--rl-soft: #e7e5d7;
	--rl-soft-warm: #eadac6;
	--rl-line: #ded2c1;
	--rl-shadow: 0 24px 70px rgb(76 57 37 / 0.12);
	--rl-radius-sm: 14px;
	--rl-radius: 22px;
	--rl-radius-lg: 30px;
	--rl-font: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	--rl-script: "Italianno", "Segoe Script", cursive;
}

@font-face {
	font-display: swap;
	font-family: "Italianno";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/Italianno-Regular.ttf") format("truetype");
}

html {
	overflow-x: clip;
	scroll-behavior: smooth;
}

body {
	background: var(--rl-canvas);
	color: var(--rl-ink);
	font-family: var(--rl-font);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	font-family: var(--rl-font);
}

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

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

a:hover,
a:focus-visible {
	color: var(--rl-accent-dark);
}

img {
	display: block;
	max-width: 100%;
}

/* Mouse clicks should not draw a focus ring; keyboard focus remains visible. */
:where(a, button, input, select, textarea, [tabindex]):focus:not(:focus-visible) {
	outline: none !important;
}

:where(
	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"],
	.wp-element-button,
	.wp-block-button__link,
	[role="button"]
):focus:not(:focus-visible) {
	box-shadow: none !important;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid rgb(42 39 34 / 0.58);
	outline-offset: 3px;
}

:where(
	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"],
	.wp-element-button,
	.wp-block-button__link,
	[role="button"]
):focus-visible {
	box-shadow: none;
}

.rl-back-to-top {
	-webkit-backdrop-filter: blur(16px) saturate(110%);
	align-items: center;
	backdrop-filter: blur(16px) saturate(110%);
	background: rgb(251 247 240 / 0.84);
	border: 1px solid rgb(168 100 71 / 0.28);
	bottom: clamp(1rem, 2.5vw, 1.8rem);
	box-shadow: 0 10px 30px rgb(76 57 37 / 0.12);
	color: var(--rl-warm);
	cursor: pointer;
	display: inline-flex;
	height: 46px;
	justify-content: center;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: fixed;
	right: clamp(1rem, 2.5vw, 1.8rem);
	transform: translate3d(0, 12px, 0);
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	visibility: hidden;
	width: 46px;
	z-index: 60;
}

.rl-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	visibility: visible;
}

.rl-back-to-top.is-visible:hover {
	background: var(--rl-paper);
	border-color: rgb(168 100 71 / 0.52);
	box-shadow: 0 13px 34px rgb(76 57 37 / 0.16);
	color: var(--rl-warm);
	transform: translate3d(0, -2px, 0);
}

.rl-back-to-top svg {
	fill: none;
	height: 21px;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 21px;
}

.rl-skip-link {
	background: var(--rl-ink);
	border-radius: 0 0 10px 10px;
	color: #fff;
	left: 1rem;
	padding: 0.7rem 1rem;
	position: fixed;
	top: -5rem;
	z-index: 99999;
}

.rl-skip-link:focus {
	color: #fff;
	top: 0;
}

header.wp-block-template-part {
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 100;
}

.admin-bar header.wp-block-template-part {
	top: 32px;
}

.rl-site-header {
	-webkit-backdrop-filter: blur(22px) saturate(105%);
	backdrop-filter: blur(22px) saturate(105%);
	background: rgb(255 255 255 / 0.68);
	border-bottom: 1px solid rgb(42 39 34 / 0.07);
	position: static;
}

.admin-bar .rl-site-header {
	top: auto;
}

.rl-header-inner {
	min-height: 84px;
	padding-block: 0.55rem;
	position: relative;
}

.rl-header-inner,
.rl-front-page > .alignwide,
.rl-front-page > .alignfull > .alignwide,
.rl-footer-inner,
.rl-main.alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1180px !important;
	width: calc(100% - 48px) !important;
}

.rl-brand .wp-block-site-title {
	font-family: var(--rl-script);
	font-size: clamp(2.7rem, 4vw, 3.7rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 0.72;
	margin: 0;
	transform: translateY(0.08em);
}

.rl-brand .wp-block-site-title a {
	text-decoration: none;
}

.rl-header-actions {
	display: flex;
	flex: 0 0 auto;
	gap: 0.5rem;
	justify-content: flex-end;
}

.rl-primary-navigation,
.rl-header-search {
	flex: 0 0 auto;
}

.rl-primary-navigation {
	position: relative;
}

.rl-header-search {
	transition: width 180ms ease;
	width: 42px;
}

.rl-primary-navigation .wp-block-navigation__responsive-container-open,
.rl-header-search .wp-block-search__button {
	align-items: center;
	background: transparent;
	border: 1px solid var(--rl-line);
	border-radius: 50%;
	color: var(--rl-ink);
	display: inline-flex;
	height: 42px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 42px;
}

.rl-primary-navigation .wp-block-navigation__responsive-container-open:hover,
.rl-header-search .wp-block-search__button:hover {
	background: var(--rl-soft);
	border-color: var(--rl-soft);
}

.rl-header-search .wp-block-search__button:focus,
.rl-header-search .wp-block-search__button:focus-visible {
	border-color: var(--rl-line);
	box-shadow: none !important;
	outline: none !important;
}

.rl-header-search .wp-block-search__button:hover:focus,
.rl-header-search .wp-block-search__button:hover:focus-visible {
	border-color: var(--rl-soft);
}

.rl-header-search .wp-block-search__inside-wrapper {
	justify-content: flex-end;
	padding: 0;
	width: 100%;
}

.rl-header-search .wp-block-search__input {
	background: var(--rl-canvas);
	border: 1px solid var(--rl-line);
	border-radius: 999px;
	flex: 0 1 auto;
	font-size: 0.9rem;
	max-width: 0;
	min-width: 0;
	opacity: 0;
	padding: 0;
	transition: max-width 180ms ease, opacity 180ms ease, padding 180ms ease, width 180ms ease;
	width: 0;
}

.rl-header-search:hover,
.rl-header-search:focus-within,
.rl-header-search.is-open {
	width: 240px;
}

.rl-header-search:hover .wp-block-search__input,
.rl-header-search:focus-within .wp-block-search__input,
.rl-header-search.is-open .wp-block-search__input {
	max-width: 190px;
	opacity: 1;
	padding: 0.55rem 0.85rem;
	width: 190px;
}

.rl-header-search .wp-block-search__input:focus,
.rl-header-search .wp-block-search__input:focus-visible {
	border-color: var(--rl-line);
	box-shadow: none !important;
	outline: none !important;
}

html.has-modal-open {
	overflow-y: auto !important;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
	background: rgb(251 247 240 / 0.985) !important;
	border: 1px solid rgb(222 210 193 / 0.92);
	border-radius: 22px;
	box-shadow: 0 22px 60px rgb(76 57 37 / 0.18);
	color: var(--rl-ink);
	display: block !important;
	height: auto !important;
	inset: calc(100% + 0.75rem) 0 auto auto !important;
	max-height: calc(100dvh - 7.5rem) !important;
	min-height: 0 !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
	padding: 0 !important;
	position: absolute !important;
	width: min(29rem, calc(100vw - 3rem)) !important;
}

.admin-bar .rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
	max-height: calc(100dvh - 9.5rem) !important;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
	height: auto;
	margin: 0;
	max-width: none;
	width: 100%;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	display: block;
	min-height: 0;
	position: relative;
}

.rl-primary-navigation .wp-block-navigation__responsive-container-close {
	align-items: center;
	background: rgb(251 247 240 / 0.72);
	border: 1px solid var(--rl-line);
	border-radius: 50%;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	padding: 0;
	right: 1rem;
	top: 1rem;
	width: 36px;
	z-index: 2;
}

.rl-primary-navigation .wp-block-navigation__responsive-container-close:hover {
	background: var(--rl-soft-warm);
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch !important;
	display: block;
	justify-content: flex-start;
	padding: 1.35rem 1.25rem 0.7rem !important;
	width: 100%;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::before {
	color: var(--rl-warm);
	content: "Kategorijos";
	font-size: 0.74rem;
	font-weight: 760;
	letter-spacing: 0.14em;
	display: block;
	margin: 0 3rem 0.75rem 0;
	text-transform: uppercase;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: stretch !important;
	counter-reset: rl-menu-item;
	display: block !important;
	max-width: none !important;
	width: 100% !important;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	border-bottom: 1px solid rgb(112 104 94 / 0.22);
	counter-increment: rl-menu-item;
	font-size: 1.05rem;
	font-weight: 650;
	letter-spacing: -0.018em;
	margin: 0;
	width: 100%;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child {
	border-bottom: 0;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	align-items: center;
	display: grid;
	gap: 0.7rem;
	grid-template-columns: 1.8rem minmax(0, 1fr) auto;
	padding: 0.72rem 0;
	text-decoration: none;
	transform: translate3d(0, 0, 0);
	transition: color 160ms ease, transform 160ms ease;
	width: 100%;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::before {
	color: var(--rl-warm);
	content: counter(rl-menu-item, decimal-leading-zero);
	font-size: 0.7rem;
	font-weight: 760;
	letter-spacing: 0.1em;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
	color: var(--rl-muted);
	content: "↗";
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0;
	opacity: 0.64;
}

.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
	color: var(--rl-warm);
	transform: translate3d(0.2rem, 0, 0);
}

.rl-main {
	min-height: 50vh;
}

.rl-front-page,
.rl-site-footer {
	font-size: 1rem;
	line-height: normal;
}

.rl-home-hero {
	background: var(--rl-canvas);
	overflow: hidden;
	padding-block: clamp(4rem, 8vw, 8rem) clamp(3.5rem, 7vw, 6.5rem);
	position: relative;
}

.rl-home-hero::before {
	background: var(--rl-soft-warm);
	border-radius: 50%;
	content: "";
	filter: blur(1px);
	height: clamp(22rem, 44vw, 42rem);
	position: absolute;
	right: clamp(-18rem, -12vw, -7rem);
	top: clamp(-17rem, -15vw, -6rem);
	width: clamp(22rem, 44vw, 42rem);
}

.rl-hero-grid {
	gap: clamp(3rem, 7vw, 7rem);
	margin-block: 0;
	position: relative;
}

.rl-hero-grid > .wp-block-column {
	align-self: stretch;
}

.rl-hero-copy h1 {
	font-size: clamp(3.25rem, 6vw, 5.65rem) !important;
	font-weight: 690;
	letter-spacing: -0.062em;
	line-height: 0.97;
	margin: 0.85rem 0 1.55rem;
	max-width: 9.7ch;
}

.rl-eyebrow,
.rl-kicker,
.rl-kicker a {
	color: var(--rl-warm);
	font-size: 0.74rem;
	font-weight: 760;
	letter-spacing: 0.14em;
	line-height: 1.4;
	margin: 0;
	text-decoration: none;
	text-transform: uppercase;
}

.rl-hero-lead {
	color: var(--rl-muted);
	font-size: clamp(1.05rem, 1.55vw, 1.28rem) !important;
	line-height: 1.62;
	max-width: 34rem;
}

.rl-hero-actions {
	gap: 0.7rem;
	margin-top: 2rem;
}

.wp-element-button,
.wp-block-button__link,
button,
input[type="submit"] {
	backface-visibility: hidden;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 700;
	padding: 0.82rem 1.25rem;
	transform: translate3d(0, 0, 0);
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
	transform: translate3d(0, -1px, 0);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border-color: var(--rl-line);
	border-width: 1px;
	color: var(--rl-ink);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--rl-soft);
	border-color: var(--rl-soft);
}

.rl-hero-actions .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--rl-warm);
	color: #fffaf2;
}

.rl-hero-actions .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: #8e5038;
	color: #fffaf2;
}

.rl-hero-query .wp-block-post-template {
	margin: 0;
	padding: 0;
}

.rl-hero-art {
	min-height: clamp(31rem, 43vw, 38rem);
	position: relative;
}

.rl-hero-contours {
	inset: -15% -29% -10% -34%;
	pointer-events: none;
	position: absolute;
}

.rl-hero-contours svg {
	display: block;
	height: 100%;
	overflow: visible;
	width: 100%;
}

.rl-hero-wave {
	fill: none;
	stroke: #aa7657;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
	will-change: transform;
}

.rl-hero-wave--strong {
	stroke-width: 1.6;
}

.rl-hero-wave--medium {
	opacity: 0.62;
	stroke-width: 1.25;
}

.rl-hero-wave--fine {
	opacity: 0.36;
	stroke-width: 1;
}

.rl-hero-badge {
	align-items: center;
	background: var(--rl-warm);
	border: 7px solid var(--rl-canvas);
	border-radius: 50%;
	color: #fffaf2;
	display: flex;
	font-size: 0.66rem;
	font-weight: 760;
	height: 92px;
	justify-content: center;
	letter-spacing: 0.04em;
	line-height: 1.35;
	position: absolute;
	right: -1.3rem;
	text-align: center;
	text-transform: uppercase;
	top: 2.7rem;
	transform: rotate(3deg);
	width: 92px;
	z-index: 3;
}

.rl-hero-query {
	margin-left: auto;
	max-width: 34rem;
	padding: 2.6rem 1.9rem 0 0;
	position: relative;
	z-index: 2;
}

.rl-hero-story {
	background: var(--rl-paper);
	border: 1px solid rgb(222 210 193 / 0.72);
	border-radius: 2px 72px 2px 2px;
	box-shadow: var(--rl-shadow);
	overflow: hidden;
	transform: rotate(-1.1deg);
	transition: transform 220ms ease;
}

.rl-hero-story:hover {
	transform: rotate(0);
}

.rl-hero-story .wp-block-post-featured-image {
	aspect-ratio: 4 / 3;
	margin: 0;
}

.rl-hero-story .wp-block-post-featured-image img {
	border-radius: 0;
	object-fit: cover;
}

.rl-hero-story__body {
	padding: 1.4rem 1.55rem 1.5rem;
}

.rl-hero-story__body > .wp-block-group {
	gap: 0.7rem;
}

.rl-hero-story__body .wp-block-post-date {
	color: var(--rl-muted);
	font-size: 0.78rem;
}

.rl-hero-story__body .wp-block-post-title {
	font-size: clamp(1.35rem, 2.4vw, 2rem) !important;
	letter-spacing: -0.045em;
	line-height: 1.1;
	margin: 0.85rem 0 0;
}

.rl-hero-read {
	display: block;
	font-size: 0.78rem;
	font-weight: 730;
	margin: 1.1rem 0 0;
	text-align: left;
	width: 100%;
}

.rl-hero-read,
.rl-hero-read a {
	text-decoration: none;
}

.rl-hero-story__body .wp-block-post-title a {
	text-decoration: none;
}

.rl-hero-facts {
	border-top: 1px solid var(--rl-line);
	display: grid;
	gap: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 0;
}

.rl-hero-facts > .wp-block-group {
	padding: 1.6rem 1rem 1.9rem;
	text-align: center;
}

.rl-hero-facts .wp-block-shortcode,
.rl-post-count-fact {
	display: contents;
}

.rl-hero-facts > .wp-block-group + .wp-block-group {
	border-left: 1px solid var(--rl-line);
}

.rl-fact-value {
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	font-weight: 750;
	letter-spacing: -0.045em;
	margin: 0;
}

.rl-fact-label {
	color: var(--rl-muted);
	font-size: 0.82rem;
	margin: 0.25rem 0 0;
}

.rl-home-section {
	margin-block: 0;
	padding-block: clamp(4.5rem, 8vw, 8rem);
}

.rl-publications-band {
	background: var(--rl-paper);
}

.rl-section-heading {
	align-items: flex-end;
	gap: 2rem;
	margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.rl-section-heading h2,
.rl-popular-grid h2,
.rl-author-copy h2,
.rl-newsletter-panel h2 {
	font-size: clamp(2.35rem, 4.5vw, 4.25rem) !important;
	font-weight: 720;
	letter-spacing: -0.06em;
	line-height: 1;
	margin: 0.55rem 0 0;
}

.rl-section-heading--center {
	margin-inline: auto;
	max-width: 46rem;
	text-align: center;
}

.rl-section-link {
	font-size: 0.92rem;
	font-weight: 700;
	margin: 0;
}

.rl-section-link a {
	text-decoration: none;
}

.rl-publications-link {
	white-space: nowrap;
}

.rl-publications-link a {
	align-items: center;
	display: inline-flex;
	gap: 0.35rem;
}

.rl-publications-link span {
	transition: transform 180ms ease;
}

.rl-publications-link a:hover span,
.rl-publications-link a:focus-visible span {
	transform: translateX(0.2rem);
}

.rl-all-publications-cta {
	display: flex;
	justify-content: center;
	margin-top: clamp(2.25rem, 4vw, 3.5rem);
	text-align: center;
}

.rl-all-publications-cta__link {
	align-items: center;
	background: var(--rl-accent);
	border: 1px solid var(--rl-accent);
	border-radius: 999px;
	color: var(--rl-paper);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 700;
	gap: 0.65rem;
	justify-content: center;
	padding: 0.9rem 1.35rem;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.rl-all-publications-cta__link:hover,
.rl-all-publications-cta__link:focus-visible {
	background: var(--rl-accent-dark);
	border-color: var(--rl-accent-dark);
	color: var(--rl-paper);
	transform: translateY(-1px);
}

.rl-all-publications-cta__link span {
	transition: transform 180ms ease;
}

.rl-all-publications-cta__link:hover span,
.rl-all-publications-cta__link:focus-visible span {
	transform: translateX(0.2rem);
}

.rl-latest-grid .wp-block-post-template {
	gap: clamp(1.5rem, 3vw, 2.4rem);
}

.rl-post-card {
	min-width: 0;
}

.rl-post-card .wp-block-post-featured-image {
	background: var(--rl-soft);
	border-radius: var(--rl-radius);
	margin: 0 0 1.25rem;
	overflow: hidden;
}

.rl-post-card .wp-block-post-featured-image img,
.rl-card__image img {
	backface-visibility: hidden;
	transform: translate3d(0, 0, 0) scale(1);
	transform-origin: center;
	transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rl-post-card:hover .wp-block-post-featured-image img,
.rl-card:hover .rl-card__image img {
	transform: translate3d(0, 0, 0) scale(1.025);
}

.rl-post-card__body {
	padding-inline: 0.15rem;
}

.rl-post-card .wp-block-post-title {
	font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
	letter-spacing: -0.04em;
	line-height: 1.18;
	margin: 0.75rem 0 0.8rem;
}

.rl-post-card .wp-block-post-title a {
	text-decoration: none;
}

.rl-post-card .wp-block-post-date,
.rl-post-card .wp-block-post-excerpt,
.rl-search-result .wp-block-post-date {
	color: var(--rl-muted);
	font-size: 0.9rem;
}

.rl-latest-section .rl-date-short {
	font-size: 1rem !important;
	text-transform: none;
}

.rl-home-topics {
	background: var(--rl-soft) !important;
}

.rl-topic-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rl-topic-card {
	backface-visibility: hidden;
	background: rgb(251 247 240 / 0.72);
	border: 1px solid rgb(251 247 240 / 0.9);
	border-radius: var(--rl-radius);
	cursor: pointer;
	min-height: 190px;
	padding: clamp(1.35rem, 2.5vw, 2rem);
	position: relative;
	transform: translate3d(0, 0, 0);
	transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rl-topic-card:hover {
	background: var(--rl-paper);
	box-shadow: 0 12px 34px rgb(76 57 37 / 0.08);
	transform: translate3d(0, -3px, 0);
}

.rl-topic-card:focus-within {
	background: var(--rl-paper);
	box-shadow: 0 0 0 3px rgb(181 105 72 / 0.2), 0 12px 34px rgb(76 57 37 / 0.08);
}

.rl-topic-dot {
	background: var(--rl-accent);
	border-radius: 50%;
	display: inline-block;
	height: 10px;
	width: 10px;
}

.rl-topic-card:nth-child(2n) .rl-topic-dot {
	background: var(--rl-warm);
}

.rl-topic-card h3 {
	font-size: 1.3rem !important;
	letter-spacing: -0.035em;
	margin: 1.2rem 0 0.55rem;
}

.rl-topic-card h3 a {
	text-decoration: none;
}

.rl-topic-card h3 a::after {
	border-radius: inherit;
	content: "";
	inset: 0;
	position: absolute;
}

.rl-topic-card p {
	color: var(--rl-muted);
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0.92rem 0 0;
}

.rl-topic-card .rl-topic-subcategories {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 0.22rem 0.55rem;
}

.rl-topic-subcategory {
	min-width: 0;
}

.rl-topic-subcategory::before {
	color: var(--rl-warm);
	content: "•";
	display: inline-block;
	font-size: 1.05em;
	font-weight: 800;
	line-height: 1;
	margin-right: 0.55rem;
}

.rl-topic-subcategory a {
	color: inherit;
	position: relative;
	text-decoration-color: rgb(168 100 71 / 0.42);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	z-index: 2;
}

.rl-topic-subcategory a:hover {
	color: var(--rl-ink);
	text-decoration-color: currentColor;
}

.rl-popular-grid {
	gap: clamp(3rem, 7vw, 7rem);
}

.rl-popular-grid h2 {
	font-size: clamp(2.2rem, 4vw, 3.8rem) !important;
}

.rl-section-intro {
	color: var(--rl-muted);
	line-height: 1.65;
	margin: 1rem 0;
	max-width: 25rem;
}

.rl-popular-panel {
	background: var(--rl-paper);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-lg);
	padding: clamp(1.2rem, 3vw, 2.2rem);
}

.rl-popular-panel ul,
.rl-popular-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rl-popular-panel li {
	backface-visibility: hidden;
	border-bottom: 1px solid var(--rl-line);
	counter-increment: popular;
	display: grid;
	gap: 1rem;
	grid-template-columns: 2rem minmax(0, 1fr) auto;
	padding: 1.15rem 0;
	position: relative;
	transform: translate3d(0, 0, 0);
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rl-popular-panel li:first-child {
	padding-top: 0.3rem;
}

.rl-popular-panel li:last-child {
	border-bottom: 0;
	padding-bottom: 0.3rem;
}

.rl-popular-panel li::before {
	color: var(--rl-accent);
	content: counter(popular, decimal-leading-zero);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	padding-top: 0.15rem;
}

.rl-popular-panel li a {
	font-weight: 680;
	letter-spacing: -0.025em;
	line-height: 1.35;
	text-decoration: none;
	transition: color 200ms ease;
}

.rl-popular-panel li a::after {
	content: "";
	cursor: pointer;
	inset: 0;
	position: absolute;
	z-index: 1;
}

.rl-popular-panel li:hover,
.rl-popular-panel li:focus-within {
	transform: translate3d(0.45rem, 0, 0);
}

.rl-popular-panel li:hover a,
.rl-popular-panel li:focus-within a {
	color: var(--rl-warm);
}

.rl-popular-panel .tptn_counter {
	color: var(--rl-muted);
	font-size: 0.75rem;
}

.rl-home-author {
	background: var(--rl-paper) !important;
}

.rl-author-grid {
	gap: clamp(3rem, 8vw, 8rem);
}

.rl-author-portrait {
	margin: 0;
	position: relative;
}

.rl-author-portrait::before {
	background: var(--rl-soft-warm);
	border-radius: var(--rl-radius-lg);
	content: "";
	inset: 1.4rem -1.4rem -1.4rem 1.4rem;
	position: absolute;
}

.rl-author-portrait img {
	aspect-ratio: 4 / 5;
	border-radius: var(--rl-radius-lg);
	object-fit: cover;
	position: relative;
	width: 100%;
}

.rl-author-copy .has-large-font-size {
	color: var(--rl-muted);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem) !important;
	line-height: 1.65;
	margin: 1.25rem 0;
	max-width: 38rem;
}

.rl-author-copy .wp-block-buttons {
	margin-top: 2rem;
}

.rl-book-list {
	border-top: 1px solid var(--rl-line);
}

.rl-book-row {
	align-items: center;
	backface-visibility: hidden;
	border-bottom: 1px solid var(--rl-line);
	cursor: pointer;
	display: grid;
	gap: clamp(1rem, 3vw, 3rem);
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	padding: 1.6rem 0;
	position: relative;
	transform: translate3d(0, 0, 0);
	transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rl-book-row:hover {
	transform: translate3d(0.6rem, 0, 0);
}

.rl-book-row h3,
.rl-book-row p {
	margin: 0;
}

.rl-book-row h3 {
	font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
	letter-spacing: -0.04em;
	line-height: normal;
}

.rl-book-row h3 a,
.rl-book-row h3 a:hover,
.rl-book-row h3 a:focus-visible {
	color: inherit;
	text-decoration: none;
}

.rl-book-row h3 a::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}

.rl-book-row > p:last-child {
	color: var(--rl-muted);
	font-size: 0.94rem;
}

.rl-newsletter-section {
	padding-top: 0;
}

.rl-newsletter-panel {
	background:
		radial-gradient(circle at 88% 8%, rgb(251 247 240 / 0.78), transparent 22rem),
		var(--rl-soft);
	border-radius: clamp(1.5rem, 3vw, 2rem);
	display: grid !important;
	gap: clamp(1.35rem, 2.4vw, 1.9rem);
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	padding: clamp(2rem, 4vw, 3rem);
}

.rl-newsletter-panel > .wp-block-column {
	flex-basis: auto !important;
	width: 100%;
}

.rl-newsletter-panel h2 {
	font-size: clamp(2rem, 2.8vw, 2.85rem) !important;
	max-width: none;
}

.rl-newsletter-panel p:not(.rl-eyebrow) {
	color: var(--rl-muted);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0.75rem 0 0;
	max-width: 48rem;
}

.rl-newsletter-panel.are-vertically-aligned-center {
	align-items: stretch;
}

/* Ramus, nuoseklus titulinio puslapio hero atsidarymas. */
@keyframes rl-hero-intro-glow {
	from {
		opacity: 0;
		transform: scale(0.84);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes rl-hero-intro-heading {
	from {
		opacity: 0;
		transform: translate3d(-1.4rem, 0.35rem, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes rl-hero-intro-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 1rem, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes rl-hero-intro-contours {
	from {
		opacity: 0;
		transform: translate3d(1.25rem, 0.65rem, 0) scale(0.92);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes rl-hero-intro-card {
	from {
		filter: blur(2px);
		opacity: 0;
		transform: translate3d(2rem, 0.8rem, 0) scale(0.975);
	}

	to {
		filter: blur(0);
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes rl-hero-intro-badge {
	from {
		opacity: 0;
		transform: rotate(-7deg) scale(0.72);
	}

	to {
		opacity: 1;
		transform: rotate(3deg) scale(1);
	}
}

@keyframes rl-entry-intro-title {
	from {
		opacity: 0;
		transform: translate3d(-1.15rem, 0.3rem, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes rl-entry-intro-image {
	from {
		filter: blur(2px);
		opacity: 0;
		transform: translate3d(0, 1.35rem, 0);
	}

	to {
		filter: blur(0);
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@media (prefers-reduced-motion: no-preference) {
	body.home .rl-home-hero::before {
		animation: rl-hero-intro-glow 1100ms cubic-bezier(0.22, 1, 0.36, 1) 80ms backwards;
		transform-origin: 58% 42%;
	}

	body.home .rl-home-hero .rl-hero-copy > .rl-eyebrow {
		animation: rl-hero-intro-rise 560ms cubic-bezier(0.22, 1, 0.36, 1) 70ms backwards;
	}

	body.home .rl-home-hero .rl-hero-copy > h1 {
		animation: rl-hero-intro-heading 860ms cubic-bezier(0.22, 1, 0.36, 1) 145ms both;
	}

	body.home .rl-home-hero .rl-hero-copy > .rl-hero-lead {
		animation: rl-hero-intro-rise 740ms cubic-bezier(0.22, 1, 0.36, 1) 285ms backwards;
	}

	body.home .rl-home-hero .rl-hero-copy > .rl-hero-actions {
		animation: rl-hero-intro-rise 680ms cubic-bezier(0.22, 1, 0.36, 1) 405ms backwards;
	}

	body.home .rl-home-hero .rl-hero-contours {
		animation: rl-hero-intro-contours 1120ms cubic-bezier(0.22, 1, 0.36, 1) 150ms backwards;
		transform-origin: 54% 48%;
	}

	body.home .rl-home-hero .rl-hero-query {
		animation: rl-hero-intro-card 940ms cubic-bezier(0.22, 1, 0.36, 1) 235ms backwards;
	}

	body.home .rl-home-hero .rl-hero-badge {
		animation: rl-hero-intro-badge 620ms cubic-bezier(0.2, 0.9, 0.28, 1.25) 690ms backwards;
	}

	.rl-single > h1 {
		animation: rl-entry-intro-title 820ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
	}

	.rl-single > .wp-block-post-featured-image {
		animation: rl-entry-intro-image 920ms cubic-bezier(0.22, 1, 0.36, 1) 285ms both;
	}

	body.category .rl-archive-page > h1 {
		animation: rl-entry-intro-title 820ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both;
	}
}

/* Svetainės judesio sistema. Turinys lieka matomas, kol scenarijus neparuoštas. */
body.rl-motion-ready [data-rl-reveal] {
	backface-visibility: hidden;
	opacity: 0;
	transform:
		translate3d(var(--rl-reveal-x, 0), var(--rl-reveal-y, 1.5rem), 0)
		scale(var(--rl-reveal-scale, 1))
		rotate(var(--rl-reveal-rotate, 0deg));
	transform-origin: center;
	transition:
		opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--rl-reveal-delay, 0ms);
}

body.rl-motion-ready [data-rl-reveal="left"] {
	--rl-reveal-x: -1.35rem;
	--rl-reveal-y: 0.3rem;
}

body.rl-motion-ready [data-rl-reveal="right"] {
	--rl-reveal-x: 1.35rem;
	--rl-reveal-y: 0.3rem;
}

body.rl-motion-ready [data-rl-reveal="lift"] {
	--rl-reveal-y: 1.55rem;
}

body.rl-motion-ready [data-rl-reveal="soft"] {
	--rl-reveal-y: 1rem;
}

body.rl-motion-ready [data-rl-reveal="image"] {
	--rl-reveal-x: -1rem;
	--rl-reveal-y: 0.65rem;
}

body.rl-motion-ready [data-rl-reveal="line"] {
	--rl-reveal-x: -0.9rem;
	--rl-reveal-y: 0;
}

body.rl-motion-ready [data-rl-reveal="content"] {
	--rl-reveal-y: 0.8rem;
}

body.rl-motion-ready [data-rl-reveal="image-wide"] {
	--rl-reveal-y: 1.25rem;
}

body.rl-motion-ready [data-rl-reveal].is-revealed {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

body.rl-motion-ready .is-reveal-complete {
	backface-visibility: hidden;
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
}

body.rl-motion-ready .is-reveal-complete.rl-topic-card:hover {
	transform: translate3d(0, -3px, 0);
}

/* Related cards keep a stable hit area after their entrance animation.
 * Moving the whole card on hover can repeatedly cross the pointer at an edge. */
body.rl-motion-ready .is-reveal-complete.rl-card,
body.rl-motion-ready .is-reveal-complete.rl-card:hover {
	backface-visibility: visible;
	transform: none;
}

body.rl-motion-ready .is-reveal-complete.rl-post-navigation__card:hover {
	transform: translate3d(0, -2px, 0);
}

body.rl-motion-ready .is-reveal-complete.rl-book-row:hover {
	transform: translate3d(0.6rem, 0, 0);
}

body.home.rl-motion-ready .rl-home-topics > .wp-block-group,
body.home.rl-motion-ready .rl-author-grid,
body.home.rl-motion-ready .rl-book-list {
	transform: translate3d(0, var(--rl-section-drift, 0), 0);
	will-change: transform;
}

.rl-newsletter-panel > .wp-block-column.is-vertically-aligned-center {
	align-self: stretch;
}

.rl-newsletter-form {
	align-items: start;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: minmax(0, 1fr) auto;
	min-width: 0;
	width: 100%;
}

.rl-newsletter-form > input {
	min-width: 0;
}

.rl-newsletter-form > button {
	white-space: nowrap;
}

.rl-newsletter-form [disabled] {
	cursor: default;
	opacity: 1;
}

.rl-newsletter-form form,
.rl-newsletter-form .mailpoet_form {
	align-items: start;
	background: transparent !important;
	display: grid !important;
	gap: 0.75rem !important;
	grid-column: 1 / -1;
	grid-template-columns: minmax(0, 1fr) auto;
	justify-self: start;
	margin: 0 !important;
	max-width: 48rem !important;
	min-width: 0;
	padding: 0 !important;
	width: 100% !important;
}

.rl-newsletter-form .mailpoet_paragraph {
	margin: 0 !important;
	min-width: 0;
}

.rl-newsletter-form .mailpoet_paragraph:first-of-type {
	grid-column: 1;
	width: 100%;
}

.rl-newsletter-form .mailpoet_paragraph:last-of-type {
	grid-column: 2;
}

.rl-newsletter-form .mailpoet_hp_email_label {
	display: none !important;
}

.rl-newsletter-form input[type="email"],
.rl-newsletter-form input[type="text"] {
	background: var(--rl-paper) !important;
	border: 1px solid var(--rl-line) !important;
	border-radius: 18px;
	box-sizing: border-box;
	font-size: 1rem;
	height: 52px;
	line-height: 1.2;
	margin: 0 !important;
	max-width: none !important;
	min-height: 52px;
	padding: 0 1.15rem !important;
	transition: border-color 180ms ease, box-shadow 180ms ease;
	width: 100% !important;
}

.rl-newsletter-form input[type="email"]:focus,
.rl-newsletter-form input[type="text"]:focus {
	border-color: rgb(168 100 71 / 0.62) !important;
	box-shadow: 0 0 0 3px rgb(168 100 71 / 0.12);
	outline: 0;
}

.rl-newsletter-form button,
.rl-newsletter-form .wp-element-button,
.rl-newsletter-form input[type="submit"] {
	background: var(--rl-warm);
	border: 0;
	border-radius: 18px;
	box-sizing: border-box;
	color: #fffaf2;
	cursor: pointer;
	font-size: 0.95rem;
	font-weight: 700;
	height: 52px;
	line-height: 1;
	margin: 0 !important;
	min-height: 52px;
	min-width: 9.75rem;
	padding: 0 1.5rem !important;
	white-space: nowrap;
}

.rl-newsletter-form button:hover,
.rl-newsletter-form .wp-element-button:hover,
.rl-newsletter-form input[type="submit"]:hover {
	background: #8e5038;
	border-color: #8e5038;
	color: #fffaf2;
}

.rl-newsletter-form .mailpoet_message {
	grid-column: 1 / -1;
	margin: 0.35rem 0 0 !important;
}

.rl-newsletter-form [class*="mailpoet_error_"],
.rl-newsletter-form .parsley-errors-list {
	color: #9d3c2d;
	display: block;
	font-size: 0.82rem;
	line-height: 1.35;
	list-style: none;
	margin: 0.45rem 0 0 !important;
	padding: 0 0 0 0.1rem !important;
}

.rl-newsletter-form .mailpoet_form_loading {
	margin-inline-start: 0.45rem;
}

.rl-newsletter-status {
	align-self: center;
	background: rgb(251 247 240 / 0.62);
	border: 1px solid var(--rl-line);
	border-radius: 14px;
	color: var(--rl-muted);
	font-size: 0.94rem !important;
	grid-column: 1 / -1;
	line-height: 1.5 !important;
	margin: 0 !important;
	padding: 0.9rem 1rem;
}

.rl-site-footer {
	background: #e9ddcc;
	border-top: 1px solid var(--rl-line);
	color: var(--rl-ink);
	padding-block: clamp(3.5rem, 7vw, 6rem) 1.6rem;
}

.rl-footer-inner {
	display: grid;
	gap: 2rem clamp(2rem, 7vw, 7rem);
	grid-template-columns: minmax(0, 1.7fr) minmax(10rem, 0.7fr) minmax(12rem, 0.8fr);
}

.rl-footer-brand .wp-block-site-title {
	font-family: var(--rl-script);
	font-size: clamp(2.7rem, 4vw, 3.7rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 0.72;
	margin: 0 !important;
	text-align: left;
	transform: translateY(0.08em);
}

.rl-footer-brand {
	text-align: left;
}

.rl-footer-brand .wp-block-site-title a,
.rl-site-footer a {
	text-decoration: none;
}

.rl-footer-brand p {
	color: var(--rl-muted);
	line-height: 1.65;
	max-width: 28rem;
}

.rl-footer-brand > p:not(.wp-block-site-title) {
	margin: 1rem 0;
	margin-inline: 0 !important;
}

.rl-footer-links,
.rl-footer-contact {
	align-items: flex-start !important;
	gap: 0.55rem !important;
}

.rl-footer-links p,
.rl-footer-contact p {
	font-size: 0.9rem;
	line-height: normal;
	margin: 0;
}

.rl-footer-label {
	color: var(--rl-muted);
	font-size: 0.7rem !important;
	font-weight: 750;
	letter-spacing: 0.14em;
	margin-bottom: 0.45rem !important;
	text-transform: uppercase;
}

.rl-footer-bottom {
	border-top: 1px solid var(--rl-line);
	color: var(--rl-muted);
	font-size: 0.78rem;
	grid-column: 1 / -1;
	line-height: normal;
	margin-top: 2rem;
	padding-top: 1.5rem;
}

/* Vidiniai puslapiai */
.rl-single,
.rl-page,
.rl-search-page,
.rl-archive-page,
.rl-not-found {
	padding-block: clamp(3.5rem, 8vw, 7rem);
}

.rl-single,
.rl-page {
	padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.rl-single > :where(h1, .wp-block-post-title),
.rl-single > .rl-kicker,
.rl-single > .rl-meta,
.rl-single > .aioseo-breadcrumbs {
	width: min(100%, 860px);
}

.rl-single > .wp-block-post-content,
.rl-single > .wp-block-post-terms,
.rl-single > .rl-share,
.rl-single > .rl-post-navigation,
.rl-single > .rl-related,
.rl-single > .wp-block-comments,
.rl-page > :where(h1, .wp-block-post-title),
.rl-page > .wp-block-post-content {
	width: min(100%, 760px);
}

.rl-single > h1,
.rl-page > h1,
.rl-archive-page > h1,
.rl-search-page > h1 {
	font-size: clamp(2.8rem, 5.5vw, 4.75rem) !important;
	font-weight: 720;
	letter-spacing: -0.065em;
	line-height: 1;
	margin-block: 0.9rem 1.35rem;
}

.rl-single > .wp-block-post-featured-image,
.rl-page > .wp-block-post-featured-image {
	border-radius: var(--rl-radius-lg);
	margin-block: clamp(2.5rem, 5vw, 4rem) clamp(2.6rem, 6vw, 4.8rem);
	overflow: hidden;
}

.rl-single > .wp-block-post-featured-image {
	aspect-ratio: 16 / 9;
	margin-inline: auto;
	width: min(100%, 960px);
}

.rl-single > .wp-block-post-featured-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.rl-page > .wp-block-post-featured-image img {
	display: block;
	height: auto;
	width: 100%;
}

/* Whole illustrations use their own proportions, never a landscape canvas. */
.rl-single > .wp-block-post-featured-image.rl-featured-fit-contain {
	aspect-ratio: auto !important;
	border-radius: 0;
	height: auto !important;
	max-width: 100%;
	width: min(100%, 760px);
}

.rl-single > .wp-block-post-featured-image.rl-featured-fit-contain.rl-featured-portrait {
	width: min(100%, 460px);
}

.rl-single > .wp-block-post-featured-image.rl-featured-fit-contain > a {
	display: block;
	height: auto !important;
}

.rl-single > .wp-block-post-featured-image.rl-featured-fit-contain img {
	/* Keep the intrinsic ratio from width/height even before lazy images load. */
	border-radius: 0;
	height: auto !important;
	max-width: 100%;
	object-fit: contain !important;
	width: 100%;
}

/* Full legacy illustrations promoted from the post body keep their natural ratio. */
.rl-single > .wp-block-post-featured-image.rl-featured-consolidated {
	aspect-ratio: auto !important;
	border-radius: var(--rl-radius-lg);
	height: auto !important;
	max-width: 100%;
	width: min(100%, var(--rl-featured-source-width, 900px), 900px);
}

.rl-single > .wp-block-post-featured-image.rl-featured-consolidated > a {
	display: block;
	height: auto !important;
}

.rl-single > .wp-block-post-featured-image.rl-featured-consolidated img {
	border-radius: 0;
	height: auto !important;
	max-width: 100%;
	object-fit: contain !important;
	width: 100%;
}

.rl-meta {
	color: var(--rl-muted);
	font-size: 0.92rem;
	gap: 0.7rem 1.4rem;
}

.rl-meta .wp-block-post-date {
	align-items: center;
	display: flex;
	gap: 0.65rem;
}

.rl-meta .wp-block-post-date::before {
	background: var(--rl-warm);
	border-radius: 50%;
	content: "";
	height: 0.42rem;
	width: 0.42rem;
}

.rl-single .tptn_counter,
.rl-single .rl-view-count {
	display: none !important;
}

/* MailPoet atsisakymo patvirtinimas: tik šis virtualus puslapis. */
.rl-mailpoet-unsubscribe-confirm .rl-meta {
	display: none !important;
}

.rl-mailpoet-unsubscribe-confirm .mailpoet_confirm_unsubscribe a {
	align-items: center;
	background: var(--rl-warm);
	border: 0;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 0.94rem;
	font-weight: 750;
	justify-content: center;
	margin-top: 1rem;
	min-height: 3rem;
	padding: 0.72rem 1.25rem;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.rl-mailpoet-unsubscribe-confirm .mailpoet_confirm_unsubscribe a:hover {
	background: #8e5038;
	color: #fff;
	transform: translateY(-1px);
}

.rl-mailpoet-unsubscribe-confirm .mailpoet_confirm_unsubscribe a:focus-visible {
	outline: 2px solid var(--rl-ink);
	outline-offset: 3px;
}

.rl-single .wp-block-post-content,
.rl-page .wp-block-post-content {
	font-size: clamp(1.06rem, 1.3vw, 1.18rem);
	line-height: 1.78;
}

.rl-single .wp-block-post-content > * + *,
.rl-page .wp-block-post-content > * + * {
	margin-top: 1.5em;
}

.rl-single .wp-block-post-content h2,
.rl-page .wp-block-post-content h2 {
	font-size: clamp(1.9rem, 4vw, 2.85rem);
	letter-spacing: -0.05em;
	line-height: 1.08;
	margin-top: 2.2em;
}

.rl-single .wp-block-post-content h3,
.rl-page .wp-block-post-content h3 {
	font-size: clamp(1.45rem, 3vw, 2rem);
	letter-spacing: -0.04em;
	line-height: 1.15;
	margin-top: 2em;
}

.rl-single blockquote,
.rl-page blockquote {
	background: var(--rl-soft);
	border: 0;
	border-radius: var(--rl-radius);
	font-size: 1.2em;
	margin-inline: 0;
	padding: 1.4rem 1.6rem;
}

.rl-share {
	align-items: center;
	background: rgb(251 247 240 / 0.66);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	display: grid;
	gap: 1.25rem 2rem;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-top: clamp(3rem, 7vw, 5rem);
	padding: 1.35rem 1.5rem;
}

.rl-share__heading {
	display: grid;
	gap: 0.2rem;
}

.rl-share__label {
	color: var(--rl-warm);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.rl-share__note {
	color: var(--rl-muted);
	font-size: 0.86rem;
	line-height: 1.45;
	max-width: 24rem;
}

.rl-share__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.rl-copy-link,
.rl-share a {
	align-items: center;
	backface-visibility: hidden;
	background: transparent;
	border: 1px solid var(--rl-line);
	border-radius: 999px;
	color: var(--rl-ink);
	cursor: pointer;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	gap: 0.45rem;
	min-height: 2.65rem;
	padding: 0.55rem 0.85rem;
	text-decoration: none;
	transform: translate3d(0, 0, 0);
	transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.rl-copy-link:hover,
.rl-share a:hover {
	background: var(--rl-paper);
	border-color: rgb(168 100 71 / 0.45);
	transform: translate3d(0, -1px, 0);
}

.rl-copy-link svg,
.rl-share a svg {
	fill: none;
	height: 1rem;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 1rem;
}

.rl-share a:first-child svg {
	fill: currentColor;
	stroke: none;
}

.rl-copy-status {
	color: var(--rl-muted);
	font-size: 0.75rem;
	line-height: 1.35;
	margin-top: 0.2rem;
}

.rl-copy-status:empty {
	display: none;
}

.rl-single > .rl-share + .wp-block-post-terms {
	margin-top: 1rem;
}

.rl-related {
	margin-top: clamp(3.5rem, 8vw, 6rem);
}

.rl-related__heading {
	margin-bottom: 1.4rem;
}

.rl-related h2,
.wp-block-comments-title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	letter-spacing: -0.05em;
	margin: 0.45rem 0 0;
}

.rl-card-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rl-card {
	background: rgb(251 247 240 / 0.62);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	min-width: 0;
	overflow: hidden;
	transition: background 180ms ease, box-shadow 220ms ease;
}

.rl-card:hover {
	background: var(--rl-paper);
	box-shadow: 0 14px 34px rgb(76 57 37 / 0.09);
}

.rl-related-card {
	color: inherit;
	display: block;
	height: 100%;
	text-decoration: none;
}

.rl-card__image {
	aspect-ratio: 4 / 3;
	background: var(--rl-soft);
	display: block;
	overflow: hidden;
}

.rl-card__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Cover images overlap the clipping frame by one physical CSS pixel.
 * This prevents a subpixel seam on fractional three-column widths while the
 * image is promoted to its own layer for the gentle hover zoom. */
.rl-card__image img:not(.rl-featured-fit-contain) {
	height: calc(100% + 2px);
	margin: -1px;
	max-width: none;
	width: calc(100% + 2px);
}

/* Keep card frames uniform while showing the complete cover inside them.
 * The inset also leaves room for the existing subtle hover zoom. */
.rl-post-card .wp-block-post-featured-image.rl-featured-fit-contain,
.rl-hero-story .wp-block-post-featured-image.rl-featured-fit-contain {
	aspect-ratio: 4 / 3;
	background: var(--rl-canvas);
	position: relative;
}

.rl-card__image {
	position: relative;
}

.rl-post-card .wp-block-post-featured-image img.rl-featured-fit-contain,
.rl-hero-story .wp-block-post-featured-image img.rl-featured-fit-contain,
.rl-card__image img.rl-featured-fit-contain {
	aspect-ratio: auto !important;
	background: var(--rl-canvas);
	border-radius: 0;
	box-sizing: border-box;
	display: block;
	height: 100% !important;
	inset: 0;
	margin: 0;
	object-fit: contain !important;
	object-position: center;
	padding: clamp(10px, 1.2vw, 16px);
	position: absolute;
	width: 100% !important;
}

.rl-card__image-placeholder {
	background: linear-gradient(145deg, var(--rl-soft), var(--rl-soft-warm));
	display: block;
	height: 100%;
}

.rl-card__body {
	display: grid;
	padding: 1rem 1rem 1.1rem;
}

.rl-card__category {
	color: var(--rl-warm);
	font-size: 0.68rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.rl-card__title {
	display: block;
	font-size: 1.05rem;
	font-weight: 720;
	letter-spacing: -0.03em;
	line-height: 1.25;
	margin-top: 0.65rem;
}

.rl-card__meta {
	color: var(--rl-muted);
	display: block;
	font-size: 0.75rem;
	margin-top: 0.7rem;
}

.rl-post-navigation {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 2.5rem;
}

.rl-post-navigation--single {
	grid-template-columns: 1fr;
}

.rl-post-navigation__card {
	backface-visibility: hidden;
	background: rgb(251 247 240 / 0.42);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	color: var(--rl-ink);
	display: block;
	min-width: 0;
	padding: 1.15rem 1.25rem;
	text-decoration: none;
	transform: translate3d(0, 0, 0);
	transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rl-post-navigation__card:hover {
	background: var(--rl-paper);
	box-shadow: 0 12px 30px rgb(76 57 37 / 0.07);
	transform: translate3d(0, -2px, 0);
}

.rl-post-navigation__card--next {
	text-align: right;
}

.rl-post-navigation__label {
	color: var(--rl-warm);
	display: block;
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	margin-bottom: 0.45rem;
	text-transform: uppercase;
}

.rl-post-navigation__title {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
}

.wp-block-comments {
	margin-top: 4rem;
}

.rl-comment {
	border-top: 1px solid var(--rl-line);
	padding-block: 1.3rem;
}

.rl-comment > .wp-block-group:first-child {
	column-gap: 0.55rem;
	row-gap: 0.25rem;
}

.rl-comment .wp-block-comment-author-name,
.rl-comment .wp-block-comment-date {
	margin: 0;
}

.wp-block-post-comments-form input:not([type="submit"]),
.wp-block-post-comments-form textarea,
.wp-block-search__input {
	background: var(--rl-paper);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-sm);
	padding: 0.8rem;
}

.rl-archive-page .wp-block-query-title {
	max-width: 760px;
	width: min(100%, 760px);
}

.rl-search-page .wp-block-query-title {
	max-width: 16ch;
}

.rl-search-page > .wp-block-search,
.rl-not-found > .wp-block-search {
	margin-block: 1.6rem 2rem;
	width: min(100%, 760px);
}

.rl-search-page > .wp-block-search .wp-block-search__inside-wrapper,
.rl-not-found > .wp-block-search .wp-block-search__inside-wrapper {
	align-items: stretch;
	border: 0;
	display: flex;
	gap: 0.65rem;
	padding: 0;
}

.rl-search-page > .wp-block-search .wp-block-search__input,
.rl-not-found > .wp-block-search .wp-block-search__input {
	background: var(--rl-paper);
	border: 1px solid var(--rl-line);
	border-radius: 999px;
	font-size: 1rem;
	min-height: 50px;
	min-width: 0;
	padding: 0.75rem 1.25rem;
}

.rl-search-page > .wp-block-search .wp-block-search__input:focus,
.rl-search-page > .wp-block-search .wp-block-search__input:focus-visible,
.rl-not-found > .wp-block-search .wp-block-search__input:focus,
.rl-not-found > .wp-block-search .wp-block-search__input:focus-visible {
	border-color: rgb(168 100 71 / 0.42);
	box-shadow: 0 0 0 3px rgb(168 100 71 / 0.08);
	outline: none;
}

.rl-search-page > .wp-block-search .wp-block-search__button,
.rl-not-found > .wp-block-search .wp-block-search__button,
.rl-not-found > .wp-block-buttons .wp-block-button__link {
	background: var(--rl-warm);
	border: 1px solid var(--rl-warm);
	border-radius: 999px;
	color: #fffaf2;
	font-size: 0.92rem;
	font-weight: 700;
	margin: 0;
	min-height: 50px;
	padding: 0.75rem 1.45rem;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
	white-space: nowrap;
}

.rl-search-page > .wp-block-search .wp-block-search__button:hover,
.rl-not-found > .wp-block-search .wp-block-search__button:hover,
.rl-not-found > .wp-block-buttons .wp-block-button__link:hover {
	background: #8e5038;
	border-color: #8e5038;
	color: #fffaf2;
	transform: translate3d(0, -1px, 0);
}

.rl-search-page > .wp-block-search .wp-block-search__button:focus,
.rl-search-page > .wp-block-search .wp-block-search__button:focus-visible,
.rl-not-found > .wp-block-search .wp-block-search__button:focus,
.rl-not-found > .wp-block-search .wp-block-search__button:focus-visible {
	box-shadow: none !important;
	outline: none !important;
}

.rl-not-found > .wp-block-buttons {
	margin-top: 0.85rem;
}

.rl-archive-page > .wp-block-query-title,
.rl-publications-page > .wp-block-heading {
	margin-block: 0.9rem clamp(1.9rem, 3vw, 2.5rem);
}

.rl-archive-page .wp-block-post-template,
.rl-search-page .wp-block-post-template {
	gap: 2rem;
}

.rl-post-card--archive {
	background: var(--rl-paper);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	padding: 1rem;
}

.rl-post-card--archive .wp-block-post-featured-image {
	border-radius: calc(var(--rl-radius) - 5px);
}

.rl-post-card--archive .wp-block-post-excerpt {
	font-size: 0.92rem;
	line-height: 1.6;
}

.rl-search-result {
	border-bottom: 1px solid var(--rl-line);
	padding-block: 1.4rem;
}

.rl-search-result .wp-block-post-title {
	font-size: clamp(1.35rem, 3vw, 2rem);
	letter-spacing: -0.04em;
	margin: 0.4rem 0;
}

.rl-child-categories {
	align-items: start;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin-block: 0 clamp(2.25rem, 4vw, 3rem);
	padding: 0;
}

.rl-child-categories > p:empty {
	display: none !important;
}

.rl-child-categories__label {
	color: var(--rl-warm);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rl-child-categories ul {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.rl-child-categories li {
	margin: 0;
	padding: 0;
}

.rl-child-categories a {
	backface-visibility: hidden;
	background: rgb(251 247 240 / 84%);
	border: 1px solid rgb(180 104 72 / 16%);
	border-radius: 999px;
	color: var(--rl-ink);
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.68rem 1rem;
	text-decoration: none;
	transform: translate3d(0, 0, 0);
	transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rl-child-categories a:hover {
	background: var(--rl-paper);
	border-color: var(--rl-warm);
	box-shadow: 0 5px 14px rgb(76 57 37 / 8%);
	transform: translate3d(0, -2px, 0);
}

.rl-child-categories a:focus-visible {
	background: var(--rl-paper);
	border-color: var(--rl-warm);
	outline: 2px solid rgb(180 104 72 / 28%);
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.rl-child-categories {
		gap: 0.4rem;
	}
}

.wp-block-query-pagination {
	border-top: 1px solid var(--rl-line);
	margin-top: 3rem;
	padding-top: 1.5rem;
}

/* „Užduokite klausimą“ įskiepio integracija */
.rl-main .rlq-archive-cta {
	background:
		radial-gradient(circle at 88% 12%, rgb(234 218 198 / 0.82), transparent 13rem),
		linear-gradient(115deg, rgb(231 229 215 / 0.96), rgb(251 247 240 / 0.78));
	border: 1px solid rgb(222 210 193 / 0.86);
	border-radius: var(--rl-radius-lg);
	box-shadow: 0 18px 46px rgb(76 57 37 / 0.07);
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
	overflow: hidden;
	padding: clamp(1.45rem, 3.5vw, 2.25rem);
	position: relative;
	width: min(100%, 980px);
}

.rl-main .rlq-archive-cta::after {
	border: 1px solid rgb(168 100 71 / 0.16);
	border-radius: 50%;
	content: "";
	height: 8rem;
	pointer-events: none;
	position: absolute;
	right: -3.2rem;
	top: -4.4rem;
	width: 8rem;
}

.rlq-archive-cta__copy {
	position: relative;
	z-index: 1;
}

.rlq-kicker {
	color: var(--rl-warm);
	display: block;
	font-size: 0.72rem;
	font-weight: 760;
	letter-spacing: 0.14em;
	margin-bottom: 0.45rem;
	text-transform: uppercase;
}

.rl-main .rlq-archive-cta h2 {
	font-size: clamp(1.65rem, 3.2vw, 2.35rem);
	letter-spacing: -0.045em;
	line-height: 1.08;
	margin-bottom: 0.55rem;
}

.rl-main .rlq-archive-cta p {
	color: var(--rl-muted);
	font-size: clamp(0.95rem, 1.5vw, 1.05rem);
	line-height: 1.62;
	margin-bottom: 0;
	max-width: 62ch;
}

.rlq-button {
	backface-visibility: hidden;
	background: var(--rl-warm);
	border: 1px solid var(--rl-warm);
	border-radius: 999px;
	box-shadow: none;
	color: #fffaf2;
	font-size: 0.9rem;
	font-weight: 730;
	line-height: 1.2;
	min-height: 3.15rem;
	padding: 0.85rem 1.25rem;
	position: relative;
	transform: translate3d(0, 0, 0);
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
	z-index: 1;
}

.rlq-button:hover {
	background: #8e5038;
	border-color: #8e5038;
	box-shadow: 0 8px 24px rgb(76 57 37 / 0.12);
	color: #fffaf2;
	transform: translate3d(0, -2px, 0);
}

.rlq-button:focus-visible {
	color: #fffaf2;
	outline: 2px solid var(--rl-ink);
	outline-offset: 3px;
}

.rlq-button span {
	font-size: 1.05em;
}

.rlq-form-shell {
	color: var(--rl-ink);
	margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.rlq-form-intro {
	color: var(--rl-muted);
	font-size: clamp(1rem, 1.7vw, 1.08rem);
	line-height: 1.72;
	margin-bottom: 1.4rem;
	max-width: 66ch;
}

.rlq-form {
	background:
		radial-gradient(circle at 100% 0, rgb(234 218 198 / 0.46), transparent 15rem),
		rgb(251 247 240 / 0.78);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-lg);
	box-shadow: 0 20px 54px rgb(76 57 37 / 0.07);
	padding: clamp(1.25rem, 4vw, 2.3rem);
}

.rlq-field label {
	color: var(--rl-ink);
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.35;
}

.rlq-optional {
	color: var(--rl-muted);
	font-size: 0.77rem;
	font-weight: 500;
	margin-left: 0.3rem;
}

.rlq-field :where(input, select, textarea) {
	appearance: none;
	background: rgb(255 253 249 / 0.92);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-sm);
	color: var(--rl-ink);
	font-size: 1rem;
	line-height: 1.45;
	padding: 0.82rem 0.95rem;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rlq-field select {
	background-image:
		linear-gradient(45deg, transparent 50%, var(--rl-muted) 50%),
		linear-gradient(135deg, var(--rl-muted) 50%, transparent 50%);
	background-position:
		calc(100% - 17px) calc(50% - 2px),
		calc(100% - 12px) calc(50% - 2px);
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	padding-right: 2.6rem;
}

.rlq-field :where(input, select, textarea):focus,
.rlq-field :where(input, select, textarea):focus-visible {
	background: #fffdf9;
	border-color: rgb(168 100 71 / 0.62);
	box-shadow: 0 0 0 3px rgb(168 100 71 / 0.12);
	outline: none;
}

.rlq-field textarea {
	line-height: 1.65;
}

.rlq-field small,
.rlq-privacy-note,
.rlq-submit-row > span {
	color: var(--rl-muted);
	font-size: 0.79rem;
	line-height: 1.48;
}

.rlq-field-error {
	color: #9b3f32;
	font-size: 0.82rem;
	font-weight: 650;
}

.rlq-field.has-error :where(input, select, textarea),
.rlq-consent-field.has-error {
	border-color: #b45f50;
}

.rlq-consent-field {
	background: rgb(231 229 215 / 0.52);
	border: 1px solid transparent;
	border-radius: var(--rl-radius-sm);
	font-size: 0.91rem;
	line-height: 1.55;
	padding: 0.9rem 1rem;
}

.rlq-consent-field input[type="checkbox"] {
	accent-color: var(--rl-warm);
	height: 1.05rem;
	width: 1.05rem;
}

.rlq-privacy-note {
	margin: -0.15rem 0 0;
}

.rlq-privacy-note a,
.rlq-success a {
	color: var(--rl-ink);
	font-weight: 650;
}

.rlq-submit-row {
	border-top: 1px solid var(--rl-line);
	padding-top: 1.25rem;
}

.rlq-urgent-note {
	color: var(--rl-muted);
	font-size: 0.82rem;
	line-height: 1.55;
	margin: 1rem 0 0;
	padding-inline: 0.35rem;
}

.rlq-error-summary {
	background: #fff7f4;
	border: 1px solid rgb(180 95 80 / 0.42);
	border-left: 4px solid #a64f40;
	border-radius: var(--rl-radius-sm);
	margin-bottom: 1rem;
	padding: 1rem 1.15rem;
}

.rlq-error-summary h2 {
	font-size: 1.12rem !important;
	letter-spacing: -0.02em !important;
	margin: 0 0 0.45rem !important;
}

.rlq-error-summary ul {
	font-size: 0.88rem;
	margin: 0;
	padding-left: 1.2rem;
}

.rlq-success {
	background:
		radial-gradient(circle at 90% 10%, rgb(234 218 198 / 0.72), transparent 14rem),
		var(--rl-paper);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius-lg);
	box-shadow: var(--rl-shadow);
	padding: clamp(1.35rem, 4vw, 2.2rem);
}

.rlq-success__mark {
	align-items: center;
	background: var(--rl-accent);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: 0 0 2.5rem;
	font-size: 1.15rem;
	height: 2.5rem;
	justify-content: center;
}

.rlq-success h2 {
	font-size: clamp(1.6rem, 3vw, 2.15rem) !important;
	letter-spacing: -0.04em !important;
	margin: 0 0 0.45rem !important;
}

.rlq-success p {
	color: var(--rl-muted);
	line-height: 1.65;
	margin-bottom: 0.75rem;
}

@media (max-width: 700px) {
	.rl-main .rlq-archive-cta {
		border-radius: var(--rl-radius);
	}

	.rlq-archive-cta__button,
	.rlq-submit-row .rlq-button {
		width: 100%;
	}

	.rlq-submit-row > span {
		text-align: center;
		width: 100%;
	}

	.rlq-form {
		border-radius: var(--rl-radius);
	}
}

.wp-block-query-pagination-numbers .page-numbers {
	border-radius: 50%;
	display: inline-grid;
	height: 38px;
	place-items: center;
	text-decoration: none;
	width: 38px;
}

.wp-block-query-pagination-numbers .current {
	background: var(--rl-ink);
	color: #fff;
}

.rl-archive-intro,
.rl-page .entry-content:has(> .rl-archive) > .has-large-font-size:first-child {
	color: var(--rl-muted);
	font-size: clamp(1.08rem, 1.45vw, 1.3rem) !important;
	line-height: 1.65;
	margin-bottom: 0;
	margin-inline: 0 auto !important;
	max-width: 45rem;
}

.rl-archive-count {
	color: var(--rl-muted);
	font-size: 0.96rem;
	line-height: 1.55;
	margin: 1rem 0 0;
}

.rl-archive-count strong {
	color: var(--rl-ink);
	font-weight: 720;
}

.rl-archive {
	margin-top: 1.35rem;
}

.rl-archive details {
	border-top: 1px solid var(--rl-line);
	padding-block: 1rem;
}

.rl-archive summary {
	cursor: pointer;
	font-weight: 700;
}

.rl-archive__year-count {
	color: var(--rl-muted);
	font-size: 0.8rem;
}

.rl-embed-consent {
	align-items: center;
	background: var(--rl-soft);
	border-radius: var(--rl-radius);
	display: grid;
	min-height: 280px;
	padding: 2rem;
	place-items: center;
	text-align: center;
}

.rl-load-embed {
	background: var(--rl-ink);
	border: 0;
	color: #fff;
	cursor: pointer;
}

.aioseo-breadcrumbs {
	color: var(--rl-muted);
	font-size: 0.92rem;
	line-height: 1.55;
	margin-bottom: 2.4rem;
}

.aioseo-breadcrumbs a {
	text-decoration: none;
}

.aioseo-breadcrumb-separator {
	display: inline-block;
	margin-inline: 0.45rem;
	opacity: 0.5;
}

/* Keep category breadcrumbs concise on page 2 and later. */
body.category.paged .aioseo-breadcrumbs > .aioseo-breadcrumb:last-child,
body.category.paged .aioseo-breadcrumbs > .aioseo-breadcrumb-separator:nth-last-child(2),
body.blog.paged .aioseo-breadcrumbs > .aioseo-breadcrumb:last-child,
body.blog.paged .aioseo-breadcrumbs > .aioseo-breadcrumb-separator:nth-last-child(2) {
	display: none;
}

@media (min-width: 901px) and (max-width: 1228px) {
	.rl-hero-badge {
		right: 0;
	}
}

@media (max-width: 900px) {
	.rl-single,
	.rl-page,
	.rl-not-found {
		padding-inline: 1.5rem;
	}

	.rl-header-inner {
		min-height: 70px;
	}

	.rl-brand-tagline {
		display: none;
	}

	.rl-hero-grid,
	.rl-popular-grid,
	.rl-author-grid,
	.rl-newsletter-panel {
		flex-wrap: wrap !important;
	}

	.rl-hero-grid > .wp-block-column,
	.rl-popular-grid > .wp-block-column,
	.rl-author-grid > .wp-block-column,
	.rl-newsletter-panel > .wp-block-column {
		flex-basis: 100% !important;
	}

	.rl-hero-copy h1 {
		max-width: 12ch;
	}

	.rl-hero-art {
		margin-inline: auto;
		max-width: 39rem;
	}

	.rl-hero-query {
		margin-inline: auto;
	}

	.rl-hero-story {
		margin-inline: auto;
		max-width: 37rem;
		transform: none;
	}

	.rl-topic-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rl-author-portrait {
		max-width: 32rem;
	}

	.rl-footer-inner {
		grid-template-columns: 1.5fr 1fr;
	}

	.rl-footer-brand {
		grid-column: 1 / -1;
	}

	.rl-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rl-share {
		grid-template-columns: 1fr;
	}

	.rl-latest-grid .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rl-archive-page .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.admin-bar header.wp-block-template-part {
		top: 46px;
	}

	.rl-header-inner,
	.rl-front-page > .alignwide,
	.rl-front-page > .alignfull > .alignwide,
	.rl-footer-inner,
	.rl-main.alignwide {
		width: calc(100% - 32px) !important;
	}

	.admin-bar .rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
		max-height: calc(100dvh - 8.5rem) !important;
	}

	.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
		border-radius: 18px;
		inset: calc(100% + 0.55rem) 0 auto auto !important;
		max-height: calc(100dvh - 6.5rem) !important;
		width: var(--rl-mobile-menu-width, calc(100vw - 32px)) !important;
	}

	.rl-back-to-top {
		bottom: 1rem;
		height: 42px;
		right: 1rem;
		width: 42px;
	}

	.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding: 1.2rem 1.05rem 0.6rem !important;
	}

	.rl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		font-size: 1rem;
	}

	.rl-header-inner {
		padding-inline: 0;
	}

	.rl-brand .wp-block-site-title,
	.rl-footer-brand .wp-block-site-title {
		font-size: 2.8rem;
	}

	.rl-header-search .wp-block-search__input {
		display: none;
	}

	.rl-header-search.is-open {
		background: var(--rl-paper);
		border-bottom: 1px solid var(--rl-line);
		box-shadow: 0 12px 24px rgb(24 40 31 / 0.08);
		left: -16px;
		padding: 0.7rem 1rem;
		position: absolute;
		right: -16px;
		top: 100%;
		width: auto !important;
	}

	.rl-header-search.is-open .wp-block-search__inside-wrapper {
		display: flex;
		gap: 0.5rem;
		max-width: 100%;
		width: 100%;
	}

	.rl-header-search.is-open .wp-block-search__input {
		display: block;
		flex: 1 1 auto;
		max-width: none;
		min-width: 0;
		opacity: 1;
		padding: 0.65rem 0.9rem;
		width: auto;
	}

	.rl-header-search.is-open .wp-block-search__button {
		flex: 0 0 38px;
	}

	.rl-primary-navigation .wp-block-navigation__responsive-container-open,
	.rl-header-search .wp-block-search__button {
		height: 38px;
		width: 38px;
	}

	.rl-home-hero {
		padding-top: 3.8rem;
	}

	.rl-hero-copy h1 {
		font-size: clamp(2.9rem, 15vw, 4.1rem) !important;
	}

	.rl-hero-art {
		min-height: 30rem;
	}

	.rl-hero-query {
		padding: 3rem 0.6rem 0 0;
	}

	.rl-hero-badge {
		border-width: 6px;
		font-size: 0.58rem;
		height: 76px;
		right: -0.3rem;
		top: 0.7rem;
		width: 76px;
	}

	.rl-hero-contours {
		inset: -12% -43% -5% -38%;
	}

	.rl-hero-actions .wp-block-button {
		width: 100%;
	}

	.rl-hero-actions .wp-block-button__link {
		text-align: center;
		width: 100%;
	}

	.rl-hero-facts {
		grid-template-columns: 1fr;
	}

	.rl-hero-facts > .wp-block-group {
		align-items: baseline;
		display: flex;
		gap: 1rem;
		justify-content: space-between;
		padding: 0.9rem 0;
		text-align: left;
	}

	.rl-hero-facts > .wp-block-group > .rl-fact-value,
	.rl-hero-facts > .wp-block-group > .rl-fact-label {
		margin-inline: 0 !important;
		max-width: none !important;
		width: auto !important;
	}

	.rl-hero-facts > .wp-block-group + .wp-block-group {
		border-left: 0;
		border-top: 1px solid var(--rl-line);
	}

	.rl-fact-label {
		text-align: right;
	}

	.rl-home-section {
		padding-block: 4rem;
	}

	.rl-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.rl-topic-grid,
	.rl-card-grid {
		grid-template-columns: 1fr;
	}

	.rl-share__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rl-copy-link,
	.rl-share a {
		justify-content: center;
	}

	.rl-copy-link {
		grid-column: 1 / -1;
	}

	.rl-post-navigation {
		grid-template-columns: 1fr;
	}

	.rl-latest-grid .wp-block-post-template {
		grid-template-columns: 1fr;
	}

	.rl-archive-page .wp-block-post-template {
		grid-template-columns: 1fr;
	}

	.rl-topic-card {
		min-height: 0;
	}

	.rl-popular-panel {
		border-radius: var(--rl-radius);
	}

	.rl-popular-panel li {
		grid-template-columns: 1.8rem minmax(0, 1fr);
	}

	.rl-popular-panel .tptn_counter {
		display: none;
	}

	.rl-author-portrait::before {
		inset: 0.8rem -0.5rem -0.8rem 0.5rem;
	}

	.rl-book-row {
		gap: 0.5rem 1rem;
		grid-template-columns: minmax(0, 1fr);
	}

	.rl-book-row > p:last-child {
		grid-column: 1;
	}

	.rl-newsletter-panel {
		border-radius: var(--rl-radius);
		padding: 1.6rem;
	}

	.rl-newsletter-form,
	.rl-newsletter-form form,
	.rl-newsletter-form .mailpoet_form {
		grid-template-columns: minmax(0, 1fr);
	}

	.rl-newsletter-form .mailpoet_paragraph:first-of-type,
	.rl-newsletter-form .mailpoet_paragraph:last-of-type {
		grid-column: 1 / -1;
		width: 100%;
	}

	.rl-newsletter-form button,
	.rl-newsletter-form .wp-element-button,
	.rl-newsletter-form input[type="submit"] {
		min-width: 0;
		width: 100%;
	}

	.rl-footer-inner {
		grid-template-columns: 1fr;
	}

	.rl-footer-brand,
	.rl-footer-bottom {
		grid-column: 1;
	}

	.rl-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.rl-single,
	.rl-page,
	.rl-not-found {
		padding-inline: 1rem;
	}

	.rl-single > h1,
	.rl-page > h1,
	.rl-archive-page > h1,
	.rl-search-page > h1 {
		font-size: clamp(2.5rem, 13vw, 4rem) !important;
	}
}

@media (max-width: 600px) {
	.rl-search-page > .wp-block-search .wp-block-search__inside-wrapper,
	.rl-not-found > .wp-block-search .wp-block-search__inside-wrapper {
		flex-direction: column;
	}

	.rl-search-page > .wp-block-search .wp-block-search__button,
	.rl-not-found > .wp-block-search .wp-block-search__button,
	.rl-not-found > .wp-block-buttons,
	.rl-not-found > .wp-block-buttons .wp-block-button,
	.rl-not-found > .wp-block-buttons .wp-block-button__link {
		width: 100%;
	}
}

/* Įrašų ir puslapių nuotraukų galerijos */
.rl-single .entry-content .wp-block-gallery.has-nested-images,
.rl-page .entry-content .wp-block-gallery.has-nested-images {
	align-items: start;
	display: grid !important;
	gap: 1rem !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: auto !important;
	margin-block: clamp(2.25rem, 5vw, 3.5rem);
	margin-inline: 0 !important;
	max-width: 100%;
	overflow: visible;
	width: 100%;
}

.rl-single .entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image,
.rl-page .entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image {
	align-self: start !important;
	break-inside: avoid;
	display: block !important;
	flex: none !important;
	grid-row-end: auto !important;
	height: auto !important;
	margin: 0 !important;
	min-height: 0 !important;
	overflow: visible !important;
	width: 100% !important;
}

.rl-single .entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image > a,
.rl-page .entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image > a {
	background: var(--rl-soft-warm);
	aspect-ratio: 4 / 3;
	border-radius: 18px;
	display: block !important;
	flex: none !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: hidden;
	position: relative !important;
	text-decoration: none;
	width: 100% !important;
}

.rl-single .entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image > a::after,
.rl-page .entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image > a::after {
	background:
		linear-gradient(currentColor, currentColor) center / 0.82rem 1.5px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1.5px 0.82rem no-repeat,
		rgb(251 247 240 / 0.92);
	border: 1px solid rgb(222 210 193 / 0.9);
	border-radius: 50%;
	bottom: 0.8rem;
	box-shadow: 0 8px 24px rgb(76 57 37 / 0.12);
	color: var(--rl-ink);
	content: "";
	display: block;
	height: 2.5rem;
	opacity: 0;
	position: absolute;
	right: 0.8rem;
	transform: translateY(6px);
	transition: opacity 180ms ease, transform 180ms ease;
	width: 2.5rem;
}

.rl-single .entry-content .wp-block-gallery.has-nested-images img,
.rl-page .entry-content .wp-block-gallery.has-nested-images img {
	aspect-ratio: 4 / 3 !important;
	backface-visibility: hidden;
	display: block !important;
	flex: none !important;
	height: 100% !important;
	max-height: none !important;
	min-height: 0 !important;
	object-fit: cover !important;
	transform: translate3d(0, 0, 0) scale(1);
	transform-origin: center;
	transition: filter 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
	width: 100% !important;
}

.rl-single .entry-content .wp-block-gallery.has-nested-images figcaption,
.rl-page .entry-content .wp-block-gallery.has-nested-images figcaption {
	background: linear-gradient(180deg, transparent, rgb(32 26 21 / 0.78));
	border-radius: 0 0 18px 18px;
	color: #fffaf2;
	font-size: 0.78rem;
	line-height: 1.45;
	margin: 0;
	padding: 2.2rem 0.85rem 0.75rem;
}

@media (hover: hover) and (pointer: fine) {
	.rl-gallery-trigger:hover img {
		filter: brightness(1.015) saturate(1.04);
		transform: translate3d(0, 0, 0) scale(1.03) !important;
	}

	.rl-gallery-trigger:hover::after {
		opacity: 1 !important;
		transform: translateY(0) !important;
	}
}

.rl-gallery-trigger:focus-visible {
	box-shadow: 0 0 0 3px rgb(168 100 71 / 0.3) !important;
}

html.rl-lightbox-open {
	overflow: hidden;
	scrollbar-gutter: stable;
}

body.rl-lightbox-open {
	overflow: hidden;
}

.rl-lightbox[hidden],
.rl-lightbox [hidden] {
	display: none !important;
}

.rl-lightbox {
	inset: 0;
	opacity: 0;
	overscroll-behavior: contain;
	position: fixed;
	transition: opacity 420ms ease;
	z-index: 100000;
}

.rl-lightbox.is-open {
	opacity: 1;
}

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

.rl-lightbox__backdrop {
	background: rgb(244 235 221 / 0.86);
	inset: 0;
	position: absolute;
}

.rl-lightbox__frame {
	display: grid;
	grid-template-columns: clamp(4.5rem, 7.5vw, 7rem) minmax(0, 1fr) clamp(4.5rem, 7.5vw, 7rem);
	grid-template-rows: minmax(0, 1fr) auto;
	inset: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
	place-items: center;
	position: absolute;
	transform: translate3d(0, 8px, 0) scale(0.99);
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rl-lightbox.is-open .rl-lightbox__frame {
	transform: translate3d(0, 0, 0) scale(1);
}

.rl-lightbox__stage {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	grid-column: 2;
	grid-row: 1;
	height: 100%;
	min-height: 0;
	min-width: 0;
	padding: 3.5rem 0.75rem 1rem;
	touch-action: pan-y pinch-zoom;
	width: 100%;
}

.rl-lightbox__layer {
	align-items: center;
	display: flex;
	grid-area: 1 / 1;
	height: 100%;
	justify-content: center;
	min-height: 0;
	min-width: 0;
	pointer-events: none;
	width: 100%;
}

.rl-lightbox__image {
	border-radius: clamp(12px, 2vw, 22px);
	box-shadow: 0 24px 70px rgb(55 42 29 / 0.2);
	display: block;
	height: auto;
	max-height: 100%;
	max-width: min(100%, 1280px);
	object-fit: contain;
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	user-select: none;
	width: auto;
}

.rl-lightbox.has-multiple .rl-lightbox__image {
	cursor: pointer;
}

.rl-lightbox__close,
.rl-lightbox__control {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--rl-ink);
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	padding: 0;
	position: relative;
	touch-action: manipulation;
	z-index: 2;
}

.rl-lightbox__control {
	height: min(62%, 400px);
	min-height: 5rem;
	width: 100%;
}

.rl-lightbox__button-icon {
	align-items: center;
	background: rgb(251 247 240 / 0.96);
	border: 1px solid var(--rl-line);
	border-radius: 50%;
	box-shadow: 0 4px 18px rgb(55 42 29 / 0.08);
	display: inline-flex;
	height: 3rem;
	justify-content: center;
	pointer-events: none;
	transform: translate3d(0, 0, 0) scale(1);
	transition: background 180ms ease, transform 180ms ease;
	width: 3rem;
}

.rl-lightbox__close:hover .rl-lightbox__button-icon,
.rl-lightbox__control:hover .rl-lightbox__button-icon {
	background: #fffaf2;
	transform: translate3d(0, 0, 0) scale(1.04);
}

.rl-lightbox__close:focus-visible,
.rl-lightbox__control:focus-visible {
	outline: none;
}

.rl-lightbox__close:focus-visible .rl-lightbox__button-icon,
.rl-lightbox__control:focus-visible .rl-lightbox__button-icon {
	outline: 2px solid var(--rl-warm);
	outline-offset: 4px;
}

.rl-lightbox__close svg,
.rl-lightbox__control svg {
	fill: none;
	height: 1.3rem;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 1.3rem;
}

.rl-lightbox__close {
	height: 4rem;
	position: absolute;
	right: 0;
	top: 0;
	width: 4rem;
	z-index: 3;
}

.rl-lightbox__control--previous {
	grid-column: 1;
	grid-row: 1;
}

.rl-lightbox__control--next {
	grid-column: 3;
	grid-row: 1;
}

.rl-lightbox__meta {
	align-items: center;
	background: rgb(251 247 240 / 0.88);
	border-radius: var(--rl-radius-sm);
	color: var(--rl-ink);
	display: flex;
	font-size: 0.82rem;
	gap: 1.5rem;
	grid-column: 2;
	grid-row: 2;
	justify-content: space-between;
	line-height: 1.45;
	min-height: 2.75rem;
	padding: 0.65rem 1rem;
	width: min(100%, 1280px);
}

.rl-lightbox__caption {
	max-height: min(16dvh, 6rem);
	max-width: 52rem;
	overflow: auto;
	overflow-wrap: anywhere;
	overscroll-behavior: contain;
}

.rl-lightbox__count {
	font-variant-numeric: tabular-nums;
	margin-left: auto;
	white-space: nowrap;
}

.rl-lightbox__status {
	background: var(--rl-paper);
	border-radius: var(--rl-radius-sm);
	box-shadow: 0 4px 20px rgb(55 42 29 / 0.08);
	color: var(--rl-ink);
	font-size: 0.875rem;
	left: 50%;
	margin: 0;
	max-width: calc(100% - 9rem);
	padding: 0.65rem 1rem;
	position: absolute;
	text-align: center;
	top: 0.5rem;
	transform: translateX(-50%);
	z-index: 2;
}

.rl-lightbox__status:empty {
	display: none;
}

@media (max-width: 600px) {
	.rl-single .entry-content .wp-block-gallery.has-nested-images,
	.rl-page .entry-content .wp-block-gallery.has-nested-images {
		gap: 0.85rem !important;
		grid-template-columns: minmax(0, 1fr);
	}

	.rl-lightbox__frame {
		grid-template-columns: 4.5rem minmax(0, 1fr) 4.5rem;
	}

	.rl-lightbox__stage {
		grid-column: 1 / -1;
		padding: 4rem 0 4.5rem;
	}

	.rl-lightbox__image {
		max-height: 100%;
		max-width: 100%;
	}

	.rl-lightbox__button-icon {
		height: 2.75rem;
		width: 2.75rem;
	}

	.rl-lightbox__control {
		align-self: end;
		height: 4.5rem;
		min-height: 4.5rem;
		z-index: 2;
	}

	.rl-lightbox__meta {
		grid-column: 1 / -1;
		padding: 0.65rem 0.85rem;
	}
}

@media (max-height: 450px) and (orientation: landscape) {
	.rl-lightbox__stage {
		padding-top: 0.5rem;
	}
	.rl-lightbox__close {
		right: 0;
		top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rl-lightbox__frame,
	.rl-lightbox.is-open .rl-lightbox__frame {
		transform: none;
	}
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.rl-hero-contours svg {
		transform: none;
	}

	.rl-hero-wave {
		transform: none;
	}

	body.rl-motion-ready [data-rl-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}

	body.home.rl-motion-ready .rl-home-topics > .wp-block-group,
	body.home.rl-motion-ready .rl-author-grid,
	body.home.rl-motion-ready .rl-book-list {
		transform: none !important;
	}
}

@media print {
	.rl-site-header,
	.rl-site-footer,
	.rl-back-to-top,
	.rl-lightbox,
	.rl-share,
	.wp-block-comments,
	.rl-related {
		display: none !important;
	}

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

	.rl-single {
		padding: 0;
	}

	a {
		text-decoration: none;
	}
}
