/* ==========================================================================
   Puslapių dalys: „hero“, paslaugų tinklelis, kainoraštis, straipsniai, 404
   ========================================================================== */

/* --------------------------------------------------------------------------
   Pradžios „hero“
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	color: var(--text-on-dark);
	background: linear-gradient(155deg, var(--brand-primary-900) 0%, var(--surface-dark) 38%, var(--brand-primary) 100%);
	overflow: hidden;
}

.hero--home {
	padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px));
	padding-bottom: clamp(48px, 7vw, 104px);
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.hero__ring {
	position: absolute;
	top: 50%;
	right: -10%;
	width: var(--size);
	height: var(--size);
	margin-top: calc(var(--size) / -2);
	border-radius: 50%;
	border: 1px solid rgba(127, 216, 201, 0.16);
	animation: breathe 9s ease-in-out infinite;
}

.hero__ring--1 {
	--size: min(120vw, 560px);
}

.hero__ring--2 {
	--size: min(160vw, 820px);
	animation-delay: -3s;
}

.hero__ring--3 {
	--size: min(200vw, 1120px);
	animation-delay: -6s;
}

@keyframes breathe {
	0%,
	100% {
		transform: scale(1);
		opacity: 0.9;
	}

	50% {
		transform: scale(1.06);
		opacity: 0.45;
	}
}

.hero__grid {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.hero__title {
	font-size: var(--fs-hero);
	font-weight: 650;
	line-height: 1.04;
	letter-spacing: -0.035em;
}

.hero__lead {
	margin-top: var(--s-5);
	max-width: 54ch;
	font-size: var(--fs-lead);
	line-height: 1.55;
	color: var(--text-on-dark-2);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin-top: var(--s-6);
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: var(--s-4) clamp(20px, 5vw, 40px);
	margin: var(--s-7) 0 0;
	padding-top: var(--s-5);
	border-top: 1px solid var(--border-on-dark);
}

.hero__stat dt {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--text-on-dark-2);
}

.hero__stat dd {
	margin-top: 2px;
	font-size: clamp(1.25rem, 1vw + 1.05rem, 1.625rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.hero__visual {
	position: relative;
	width: min(100%, 440px);
	margin-inline: auto;
	padding-bottom: 36px;
}

.hero__photo {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: var(--surface-dark-2);
	box-shadow: var(--shadow-lg);
}

.hero__photo img,
.hero__photo video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__photo--small {
	position: absolute;
	left: -6%;
	bottom: 0;
	width: 42%;
	aspect-ratio: 1 / 1;
	border: 4px solid var(--surface-dark);
	border-radius: var(--radius-lg);
}

.hero__chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: var(--s-3);
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.94);
	color: var(--text-primary);
	box-shadow: var(--shadow-md);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	animation: float 7s ease-in-out infinite;
}

.hero__chip .icon {
	color: var(--brand-primary);
}

.hero__chip-body {
	display: grid;
	line-height: 1.25;
}

.hero__chip-body strong {
	font-size: var(--fs-sm);
	font-weight: 700;
}

.hero__chip-body small {
	font-size: 0.75rem;
	color: var(--text-muted);
}

.hero__chip--gauge {
	top: 7%;
	right: -4%;
}

.hero__chip--place {
	right: -2%;
	bottom: 72px;
	animation-delay: -2.5s;
}

.hero__chip--rating {
	top: 46%;
	left: -8%;
	animation-delay: -4.5s;
}

.hero__chip--rating .icon {
	color: var(--star);
	fill: var(--star);
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-7px);
	}
}

.gauge {
	position: relative;
	display: block;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: conic-gradient(var(--brand-secondary) 0 93%, var(--surface-sunken) 93% 100%);
}

.gauge::after {
	content: "";
	position: absolute;
	inset: 6px;
	border-radius: 50%;
	background: #fff;
}

@media (max-width: 479px) {
	.hero__photo--small {
		left: -6px;
	}

	.hero__chip--rating {
		left: -2%;
	}

	.hero__chip--gauge,
	.hero__chip--place {
		right: 0;
	}

	.hero__actions .btn {
		flex: 1 1 100%;
	}
}

@media (min-width: 1024px) {
	.hero__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	}

	.hero__visual {
		margin-right: 4%;
	}
}

/* --------------------------------------------------------------------------
   Vidinių puslapių viršus
   -------------------------------------------------------------------------- */
.page-hero {
	position: relative;
	isolation: isolate;
	padding-block: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 64px);
	background: var(--surface-soft);
	border-bottom: 1px solid var(--border);
	overflow: hidden;
}

.page-hero--plain {
	background: var(--surface);
	border-bottom: 0;
	padding-bottom: clamp(16px, 2vw, 28px);
}

.page-hero--dark {
	padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px));
	border-bottom: 0;
	color: var(--text-on-dark);
	background: linear-gradient(155deg, var(--brand-primary-900) 0%, var(--surface-dark) 40%, var(--brand-primary) 100%);
}

.page-hero__grid {
	display: grid;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.page-hero__narrow {
	max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.page-hero__title {
	font-size: var(--fs-h1);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.page-hero__lead {
	margin-top: var(--s-4);
	max-width: 60ch;
	font-size: var(--fs-lead);
	line-height: 1.55;
	color: var(--text-secondary);
}

.page-hero--dark .page-hero__lead {
	color: var(--text-on-dark-2);
}

.page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin-top: var(--s-6);
}

.page-hero__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
}

.fact-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin: var(--s-6) 0 0;
}

.fact-row__item {
	min-width: 112px;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--surface);
}

.fact-row__item dt {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.fact-row__item dd {
	margin-top: 2px;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.page-hero--dark .fact-row__item {
	border-color: var(--border-on-dark);
	background: rgba(255, 255, 255, 0.07);
}

.page-hero--dark .fact-row__item dt {
	color: var(--text-on-dark-2);
}

@media (max-width: 479px) {
	.page-hero__actions .btn {
		flex: 1 1 100%;
	}

	.fact-row__item {
		flex: 1 1 calc(50% - var(--s-2));
	}
}

@media (min-width: 960px) {
	.page-hero--media .page-hero__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	}
}

/* Vidinė puslapio navigacija */
.subnav {
	margin-top: clamp(28px, 4vw, 48px);
	margin-bottom: calc(clamp(32px, 5vw, 64px) * -1);
	border-top: 1px solid var(--border-on-dark);
	background: rgba(6, 40, 26, 0.35);
}

.page-hero:not(.page-hero--dark) .subnav {
	border-top-color: var(--border);
	background: var(--surface);
}

.subnav__list {
	display: flex;
	gap: 2px;
	margin-inline: calc(var(--gutter) * -1);
	padding: 8px var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
}

.subnav__list::-webkit-scrollbar {
	display: none;
}

.subnav__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 600;
	white-space: nowrap;
	opacity: 0.78;
	transition: background-color var(--dur-1) var(--ease), opacity var(--dur-1) var(--ease);
}

.subnav__link:hover,
.subnav__link.is-active {
	opacity: 1;
	background: rgba(127, 127, 127, 0.18);
}

/* --------------------------------------------------------------------------
   Paslaugų tinklelis (HBOT – didžiausia)
   -------------------------------------------------------------------------- */
.bento {
	display: grid;
	gap: var(--s-4);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bento__item {
	display: grid;
}

.bento__item--lead {
	grid-column: 1 / -1;
}

.bento__card {
	position: relative;
	display: grid;
	align-items: end;
	min-height: 200px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	color: #fff;
	background: var(--surface-dark);
	isolation: isolate;
}

.bento__item--lead .bento__card {
	min-height: 380px;
	border-radius: var(--radius-xl);
}

.bento__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.bento__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--ease);
}

.bento__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 40, 26, 0.28) 0%, rgba(6, 40, 26, 0.55) 45%, rgba(6, 40, 26, 0.94) 100%);
}

.bento__card:hover .bento__media img {
	transform: scale(1.05);
}

.bento__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: var(--s-4);
}

.bento__item--lead .bento__body {
	gap: var(--s-2);
	padding: clamp(20px, 3vw, 36px);
	max-width: 620px;
}

.bento__title {
	font-size: 1.0625rem;
	font-weight: 650;
	line-height: 1.25;
}

.bento__item--lead .bento__title {
	font-size: clamp(1.5rem, 2vw + 1rem, 2.375rem);
	letter-spacing: -0.025em;
	line-height: 1.1;
}

.bento__text {
	display: none;
	font-size: var(--fs-sm);
	color: rgba(255, 255, 255, 0.82);
}

.bento__item--lead .bento__text {
	display: block;
	font-size: var(--fs-body);
}

.bento__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-3);
	margin-top: var(--s-2);
}

.bento__price {
	font-size: var(--fs-sm);
	font-weight: 700;
}

.bento__item--lead .bento__price {
	font-size: 1.25rem;
}

.bento__more {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-left: auto;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}

.bento__card:hover .bento__more {
	background: #fff;
	color: var(--brand-primary);
	transform: rotate(-8deg);
}

@media (min-width: 720px) {
	.bento__text {
		display: block;
	}

	.bento__card {
		min-height: 240px;
	}

	.bento__body {
		padding: var(--s-5);
	}
}

@media (min-width: 1024px) {
	.bento {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-auto-rows: minmax(220px, auto);
	}

	.bento__item {
		grid-column: span 4;
	}

	.bento__item--lead {
		grid-column: span 7;
		grid-row: span 2;
	}

	/* Šalia pagrindinės – dvi kortelės viena po kita */
	.bento__item:nth-child(2),
	.bento__item:nth-child(3) {
		grid-column: span 5;
	}
}

/* --------------------------------------------------------------------------
   Registracijos modulis
   -------------------------------------------------------------------------- */
.picker {
	display: grid;
	gap: var(--s-6);
	padding: clamp(24px, 4vw, 56px);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(700px 360px at 0% 0%, rgba(127, 216, 201, 0.18), transparent 60%),
		var(--surface-dark);
	color: var(--text-on-dark);
}

.picker__title {
	font-size: var(--fs-h2);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.picker__text {
	margin-top: var(--s-3);
	max-width: 44ch;
	color: var(--text-on-dark-2);
}

.picker__steps {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin: var(--s-5) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: pick;
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--text-on-dark-2);
}

.picker__steps li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	counter-increment: pick;
}

.picker__steps li::before {
	content: counter(pick);
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1px solid var(--border-on-dark);
	font-size: 0.6875rem;
}

.picker__steps li:not(:last-child)::after {
	content: "";
	width: 14px;
	height: 1px;
	background: var(--border-on-dark);
}

.picker__list {
	display: grid;
	gap: var(--s-2);
	align-content: start;
}

.picker__item {
	display: grid;
	grid-template-columns: 46px 1fr auto;
	align-items: center;
	gap: var(--s-4);
	min-height: 68px;
	padding: 10px var(--s-4) 10px 10px;
	border: 1px solid var(--border-on-dark);
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.05);
	transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}

.picker__item:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.4);
	transform: translateX(4px);
}

.picker__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1);
}

.picker__body {
	display: grid;
	line-height: 1.3;
}

.picker__body strong {
	font-weight: 650;
}

.picker__body small {
	font-size: var(--fs-xs);
	color: var(--text-on-dark-2);
}

.picker__item--lead {
	background: #fff;
	border-color: #fff;
	color: var(--text-primary);
}

.picker__item--lead:hover {
	background: #eef7f1;
	border-color: #eef7f1;
}

.picker__item--lead .picker__icon {
	background: var(--brand-secondary-soft);
	color: var(--brand-primary);
}

.picker__item--lead .picker__body small {
	color: var(--text-muted);
}

@media (min-width: 900px) {
	.picker {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: center;
	}
}

/* --------------------------------------------------------------------------
   Įvertinimai
   -------------------------------------------------------------------------- */
.reviews {
	display: grid;
	gap: var(--s-5);
}

.rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-5) var(--s-6);
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	background: var(--surface);
}

.rating__value {
	font-size: clamp(3rem, 5vw + 1rem, 5rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--brand-primary);
}

.rating__body {
	flex: 1 1 240px;
}

.rating__stars {
	display: flex;
	gap: 2px;
	color: var(--star);
}

.rating__stars .icon {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.rating__text {
	margin-top: 6px;
	font-weight: 600;
	color: var(--text-secondary);
}

.rating__links {
	margin-top: var(--s-4);
}

.rating__qr {
	display: grid;
	justify-items: center;
	gap: 6px;
	width: 132px;
	text-align: center;
}

.rating__qr img {
	width: 112px;
	height: 112px;
	border-radius: var(--radius-sm);
}

.rating__qr figcaption {
	font-size: 0.6875rem;
	line-height: 1.3;
	color: var(--text-muted);
}

.quotes {
	display: grid;
	gap: var(--s-4);
}

.quote {
	display: grid;
	gap: var(--s-4);
	padding: var(--s-5);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.quote blockquote {
	font-size: var(--fs-body);
	color: var(--text-primary);
}

.quote__by {
	display: grid;
	font-size: var(--fs-sm);
}

.quote__by span {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

@media (min-width: 800px) {
	.quotes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* --------------------------------------------------------------------------
   Kainoraščio puslapis
   -------------------------------------------------------------------------- */
.pricing-app__bar {
	position: sticky;
	top: calc(var(--header-h) + var(--admin-bar) - 10px);
	z-index: 20;
	display: grid;
	gap: var(--s-3);
	margin-inline: calc(var(--gutter) * -1);
	margin-bottom: var(--s-6);
	padding: var(--s-3) var(--gutter);
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}

.chips--scroll {
	flex-wrap: nowrap;
	margin-inline: calc(var(--gutter) * -1);
	padding-inline: var(--gutter);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.chips--scroll::-webkit-scrollbar {
	display: none;
}

.chips--scroll .chip {
	scroll-snap-align: start;
}

.pricing-app__group {
	margin-bottom: var(--s-7);
}

.pricing-app__head {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	margin-bottom: var(--s-4);
}

.pricing-app__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--brand-secondary-soft);
	color: var(--brand-primary);
}

.pricing-app__title {
	font-size: clamp(1.25rem, 1vw + 1.05rem, 1.625rem);
}

.pricing-app__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	margin-left: auto;
	font-size: var(--fs-sm);
	font-weight: 650;
	color: var(--brand-primary);
	white-space: nowrap;
}

.pricing-app__link .icon {
	width: 1em;
	height: 1em;
}

@media (max-width: 639px) {
	.pricing-app__head {
		flex-wrap: wrap;
		row-gap: 0;
	}

	.pricing-app__title {
		flex: 1;
	}

	.pricing-app__link {
		flex-basis: 100%;
		margin-left: 56px;
		min-height: 36px;
	}
}

.pricing-app__empty,
.faq-page__empty {
	padding: var(--s-6);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius-lg);
	text-align: center;
	color: var(--text-secondary);
}

@media (min-width: 900px) {
	.pricing-app__bar {
		grid-template-columns: 1fr 300px;
		align-items: center;
		margin-inline: 0;
		padding-inline: 0;
	}

	.chips--scroll {
		margin-inline: 0;
		padding-inline: 0;
	}
}

/* --------------------------------------------------------------------------
   DUK puslapis
   -------------------------------------------------------------------------- */
.faq-page__grid {
	display: grid;
	gap: var(--s-6);
}

.faq-page__grid > * {
	min-width: 0;
}

.faq-page__links {
	display: flex;
	gap: var(--s-2);
	margin-top: var(--s-3);
	margin-inline: calc(var(--gutter) * -1);
	padding-inline: var(--gutter);
	overflow-x: auto;
	scrollbar-width: none;
}

.faq-page__links::-webkit-scrollbar {
	display: none;
}

.faq-page__links a {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-3);
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 600;
	white-space: nowrap;
}

.faq-page__links a:hover {
	border-color: var(--text-primary);
}

.faq-page__links small {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.faq-page__group + .faq-page__group {
	margin-top: var(--s-7);
}

.faq-page__title {
	margin-bottom: var(--s-4);
	font-size: clamp(1.375rem, 1vw + 1.1rem, 1.75rem);
}

@media (min-width: 960px) {
	.faq-page__grid {
		grid-template-columns: 280px minmax(0, 1fr);
		gap: var(--s-8);
	}

	.faq-page__sticky {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-bar) + 24px);
	}

	.faq-page__links {
		flex-direction: column;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}

	.faq-page__links a {
		border-radius: var(--radius-md);
		white-space: normal;
	}
}

/* --------------------------------------------------------------------------
   Žinių centras ir straipsnis
   -------------------------------------------------------------------------- */
.hub-tools {
	display: grid;
	gap: var(--s-4);
	margin-top: var(--s-6);
}

@media (min-width: 900px) {
	.hub-tools {
		grid-template-columns: 1fr 360px;
		align-items: center;
	}
}

.read-progress {
	position: fixed;
	inset: calc(var(--admin-bar)) 0 auto 0;
	z-index: 70;
	height: 3px;
	pointer-events: none;
}

.read-progress span {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--brand-secondary);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.article__head {
	padding-block: clamp(24px, 4vw, 48px) clamp(20px, 3vw, 32px);
}

.article__title {
	font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2) var(--s-5);
	margin-top: var(--s-5);
	font-size: var(--fs-sm);
	color: var(--text-muted);
}

.article__meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.article__meta .icon {
	width: 1.15em;
	height: 1.15em;
}

.article__cover {
	margin-top: var(--s-6);
}

.article__cover img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius-xl);
}

.article__layout {
	display: grid;
	gap: var(--s-6);
	padding-bottom: var(--section-y);
}

.article__body {
	min-width: 0;
	max-width: var(--container-narrow);
	margin-inline: auto;
	width: 100%;
}

.article__body > .prose {
	font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
	line-height: 1.75;
	color: var(--text-primary);
}

.toc {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface-soft);
}

.toc__title {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	min-height: 52px;
	padding: var(--s-3) var(--s-4);
	font-size: var(--fs-sm);
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

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

.toc__title .icon--chevron-down {
	margin-left: auto;
	transition: transform var(--dur-2) var(--ease);
}

.toc[open] .toc__title .icon--chevron-down {
	transform: rotate(180deg);
}

.toc__list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0 var(--s-3) var(--s-4);
	list-style: none;
	font-size: var(--fs-sm);
}

.toc__list a {
	display: block;
	padding: 8px 10px;
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	line-height: 1.35;
}

.toc__list a:hover,
.toc__list a.is-active {
	background: var(--surface);
	color: var(--brand-primary);
}

.toc__item--h3 a {
	padding-left: 24px;
	font-size: var(--fs-xs);
}

@media (min-width: 1100px) {
	.article__layout--toc {
		grid-template-columns: 260px minmax(0, var(--container-narrow));
		justify-content: center;
		gap: var(--s-8);
	}

	.article__layout--toc .article__body {
		margin-inline: 0;
	}

	.article__aside .toc {
		position: sticky;
		top: calc(var(--header-h) + var(--admin-bar) + 24px);
		max-height: calc(100vh - var(--header-h) - 64px);
		overflow: auto;
	}

	.article__aside .toc__title {
		pointer-events: none;
	}

	.article__aside .toc__title .icon--chevron-down {
		display: none;
	}
}

.inline-cta {
	display: grid;
	gap: var(--s-4);
	margin-top: var(--s-7);
	padding: clamp(20px, 3vw, 32px);
	border-radius: var(--radius-lg);
	background: var(--brand-secondary-soft);
}

.inline-cta__title {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.inline-cta__text {
	margin-top: 4px;
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.inline-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
}

@media (min-width: 720px) {
	.inline-cta {
		grid-template-columns: 1fr auto;
		align-items: center;
	}
}

.article__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-4);
	margin-top: var(--s-7);
	padding-top: var(--s-5);
	border-top: 1px solid var(--border);
}

.author {
	display: flex;
	align-items: center;
	gap: var(--s-3);
}

.author__avatar {
	border-radius: 50%;
}

.author__name {
	font-weight: 650;
}

.author__meta {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 4px 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.tags a:hover {
	border-color: var(--text-primary);
}

.post-navigation {
	margin-top: var(--s-6);
}

.post-navigation .nav-links {
	display: grid;
	gap: var(--s-3);
}

.post-navigation a {
	display: grid;
	gap: 4px;
	padding: var(--s-4) var(--s-5);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	transition: border-color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}

.post-navigation a:hover {
	border-color: var(--brand-primary);
	background: var(--surface-soft);
}

.post-nav__label {
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.post-nav__title {
	font-weight: 650;
	line-height: 1.35;
}

.nav-next {
	text-align: right;
}

@media (min-width: 720px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr 1fr;
	}

	.nav-next:only-child {
		grid-column: 2;
	}
}

/* Komentarai */
.comments {
	margin-top: var(--s-8);
}

.comments__title,
.comment-reply-title {
	margin-bottom: var(--s-4);
	font-size: var(--fs-h3);
	font-weight: 650;
}

.comments__list,
.comments__list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comments__list .children {
	padding-left: var(--s-5);
}

.comment-body {
	padding: var(--s-4) 0;
	border-bottom: 1px solid var(--border);
	font-size: var(--fs-sm);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: var(--s-2);
	font-weight: 650;
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.comment-form {
	display: grid;
	gap: var(--s-4);
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--fs-sm);
	font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-md);
	background: var(--surface);
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-notes,
.comment-form-cookies-consent {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   Paieškos rezultatai
   -------------------------------------------------------------------------- */
.results__title {
	margin: var(--s-6) 0 var(--s-3);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.results__title:first-child {
	margin-top: 0;
}

.results {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.results li + li {
	border-top: 1px solid var(--border);
}

.result {
	display: grid;
	gap: 2px;
	padding: var(--s-4) var(--s-5);
	transition: background-color var(--dur-1) var(--ease);
}

.result:hover {
	background: var(--surface-soft);
}

.result__title {
	font-weight: 650;
}

.result__text {
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.notfound {
	padding-block: clamp(40px, 8vw, 96px) var(--section-y);
}

.notfound__inner {
	max-width: 720px;
	text-align: center;
}

.notfound__code {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--brand-primary);
}

.notfound__o {
	display: grid;
	place-items: center;
	width: 0.82em;
	height: 0.82em;
	border-radius: 50%;
	background: var(--brand-secondary-soft);
	animation: float 6s ease-in-out infinite;
}

.notfound__o .icon {
	width: 0.5em;
	height: 0.5em;
}

.notfound__title {
	margin-top: var(--s-5);
	font-size: var(--fs-h2);
}

.notfound__text {
	margin-top: var(--s-3);
	color: var(--text-secondary);
}

.notfound__links {
	display: grid;
	gap: var(--s-3);
	margin-top: var(--s-6);
}

.notfound__search {
	display: flex;
	justify-content: center;
	margin-top: var(--s-6);
}

.notfound__search .search-form {
	width: 100%;
}

@media (min-width: 640px) {
	.notfound__links {
		grid-template-columns: 1fr 1fr;
	}
}

/* --------------------------------------------------------------------------
   Seno puslapių kūrėjo turinys, paverstas švariu HTML
   -------------------------------------------------------------------------- */
.bb-section + .bb-section {
	margin-top: var(--s-7);
}

.bb-row {
	display: grid;
	gap: var(--s-5);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	align-items: start;
}

.bb-row + .bb-row {
	margin-top: var(--s-5);
}

.bb-col > * + * {
	margin-top: var(--s-4);
}

.bb h2 {
	margin-top: 0;
}

.bb-sub {
	font-size: var(--fs-lead);
}

.bb-card {
	padding: var(--s-5);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.bb-card > * + * {
	margin-top: var(--s-3);
}

.bb-card h3 {
	margin-top: 0;
	font-size: 1.125rem;
}

.bb-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bb-card__price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--brand-primary);
}

.bb-gallery {
	display: grid;
	gap: var(--s-3);
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.bb-gallery img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.bb-video video,
.bb-video iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

.bb-menu {
	padding-left: 0;
	list-style: none;
}

.bb-action {
	margin-top: var(--s-4);
}

.bb-counter {
	font-size: 2rem;
	font-weight: 700;
	color: var(--brand-primary);
}
