/* ==========================================================================
   Ciliukas 4 – pagrindiniai stiliai
   ========================================================================== */

:root {
	--c-bg: #fbf6ee;
	--c-paper: #ffffff;
	--c-tint: #f5ece0;
	--c-ink: #2b2420;
	--c-ink-soft: #4a3f38;
	--c-muted: #75685e;
	--c-line: #eadfd1;
	--c-accent: #c2462f;
	--c-accent-dark: #9e3523;
	--c-accent-soft: #f6e0d6;
	--c-sage: #5f7552;
	--c-sage-soft: #e5ecdf;

	--f-head: "Fraunces", Georgia, "Times New Roman", serif;
	--f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 22px;
	--r-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(60, 40, 25, .06), 0 2px 8px rgba(60, 40, 25, .05);
	--shadow-md: 0 10px 30px -10px rgba(60, 40, 25, .25);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 68px;
}

/* ---------- Bazė ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a { color: var(--c-accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-accent-dark); }

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-head);
	font-weight: 600;
	line-height: 1.2;
	color: var(--c-ink);
	margin: 0 0 .5em;
	letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 1000;
	background: var(--c-ink);
	color: #fff;
	padding: 10px 16px;
	border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Mygtukai, žetonai ---------- */

.btn,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .7em 1.3em;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--c-accent);
	color: #fff;
	font: 700 .95rem/1.2 var(--f-body);
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.btn:hover,
.comment-form .submit:hover { background: var(--c-accent-dark); color: #fff; }

.btn--ghost {
	background: transparent;
	color: var(--c-ink-soft);
	border: 1px solid var(--c-line);
	padding: .5em 1em;
	font-weight: 600;
	font-size: .9rem;
}
.btn--ghost:hover { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-muted); }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 0;
	border-radius: var(--r-pill);
	background: transparent;
	color: var(--c-ink);
	cursor: pointer;
	transition: background .2s;
}
.icon-btn:hover { background: var(--c-tint); }

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

.chip {
	display: inline-block;
	padding: .45em 1em;
	border-radius: var(--r-pill);
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	color: var(--c-ink-soft);
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

.chip--small {
	padding: .3em .75em;
	font-size: .78rem;
	letter-spacing: .02em;
	background: var(--c-accent-soft);
	border-color: transparent;
	color: var(--c-accent-dark);
}

.eyebrow {
	margin: 0 0 .6em;
	color: var(--c-accent);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* ---------- Paieškos forma ---------- */

.search-form {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 520px;
}

.search-form__input {
	width: 100%;
	min-height: 52px;
	padding: 0 56px 0 20px;
	border: 1px solid var(--c-line);
	border-radius: var(--r-pill);
	background: var(--c-paper);
	color: var(--c-ink);
	font: inherit;
	font-size: 1rem;
	box-shadow: var(--shadow-sm);
	-webkit-appearance: none;
	appearance: none;
}
.search-form__input::placeholder { color: #a0938a; }
.search-form__input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }

.search-form__btn {
	position: absolute;
	right: 6px; top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--c-accent);
	color: #fff;
	cursor: pointer;
}
.search-form__btn:hover { background: var(--c-accent-dark); }
.search-form__btn .icon { width: 20px; height: 20px; }

/* ---------- Antraštė ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 246, 238, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 4px 20px -12px rgba(60, 40, 25, .3); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
	min-width: 0;
}
.brand .custom-logo { display: block; max-height: 48px; width: auto; border-radius: 50%; }

.brand__mark {
	display: block;
	flex: none;
	line-height: 0;
	transition: transform .3s ease;
}
.brand__mark .logo-mark { width: 44px; height: 44px; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }

.brand--footer { display: inline-flex; margin: 0; text-decoration: none !important; }
.brand--footer .logo-mark { width: 40px; height: 40px; }

.brand__name {
	font-family: var(--f-head);
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--c-ink);
	text-decoration: none;
	letter-spacing: -.02em;
	white-space: nowrap;
}
.brand__name:hover { color: var(--c-accent); }

.site-header__actions { display: flex; align-items: center; gap: 4px; }

.nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav__list a {
	display: block;
	padding: .5em .9em;
	border-radius: var(--r-pill);
	color: var(--c-ink-soft);
	font-weight: 600;
	font-size: .98rem;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.nav__list a:hover { background: var(--c-tint); color: var(--c-ink); }
.nav__list .current-menu-item > a,
.nav__list .current-menu-parent > a,
.nav__list .current-category-ancestor > a { background: var(--c-accent-soft); color: var(--c-accent-dark); }

/* Antrinis meniu */
.nav__list li { position: relative; }
.nav__list .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__list .sub-menu a { border-radius: var(--r-sm); }

.nav__search { display: none; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }

.header-search {
	padding: 4px 0 20px;
	border-bottom: 1px solid var(--c-line);
}
.header-search .search-form { margin-inline: auto; max-width: 640px; }

@media (max-width: 959px) {
	.nav-toggle { display: inline-grid; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }

	.nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
		padding: 12px var(--gutter) 24px;
		background: var(--c-bg);
		border-bottom: 1px solid var(--c-line);
		box-shadow: var(--shadow-md);
		display: none;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav-open .nav { display: block; }

	.nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav__list a { padding: .85em 1em; font-size: 1.05rem; border-radius: var(--r-md); }
	.nav__list .sub-menu {
		position: static;
		opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; background: transparent;
		padding: 0 0 0 16px;
	}
	.nav__search { display: block; margin-top: 16px; }
	.nav__search .search-form { max-width: none; }
}

/* ---------- Įžanga (hero) ---------- */

.hero {
	padding: clamp(28px, 6vw, 72px) 0 clamp(32px, 6vw, 64px);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	gap: 40px;
	align-items: center;
}

@media (min-width: 900px) {
	.hero__inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

.hero__title {
	font-size: clamp(2.1rem, 5vw, 3.6rem);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -.025em;
	margin-bottom: .4em;
	text-wrap: balance;
}

.hero__lead {
	max-width: 46ch;
	color: var(--c-ink-soft);
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	margin-bottom: 1.6em;
}

.hero__search { margin-bottom: 22px; }

.hero__collage {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	aspect-ratio: 5 / 4;
}

.hero__tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--r-lg);
	background: var(--c-tint);
	box-shadow: var(--shadow-md);
}
.hero__tile img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.hero__tile:hover img { transform: scale(1.04); }
.hero__tile--1 { grid-row: 1 / 3; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 80px; }
.hero__tile--2 { border-top-right-radius: 80px; }

@media (max-width: 899px) {
	.hero__collage { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
	.hero__collage { grid-template-columns: 1fr 1fr; gap: 10px; }
	.hero__tile--1 { border-bottom-left-radius: 48px; }
	.hero__tile--2 { border-top-right-radius: 48px; }
}

/* ---------- Sekcijos ---------- */

.section { padding-block: clamp(28px, 5vw, 56px); }
.section--tinted { background: var(--c-tint); }

.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.section__title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }

.page-head {
	padding: clamp(32px, 6vw, 64px) 0 8px;
}
.page-head__title {
	font-size: clamp(2rem, 5vw, 3.2rem);
	letter-spacing: -.025em;
	margin-bottom: .25em;
}
.page-head__desc { max-width: 60ch; color: var(--c-ink-soft); }
.page-head__count { color: var(--c-muted); font-weight: 600; margin: 0; }
.page-head__search { margin-top: 20px; }

/* ---------- Kortelės ---------- */

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: clamp(18px, 2.4vw, 28px);
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--c-paper);
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--c-tint);
	overflow: hidden;
}
.card__img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.card:hover .card__img { transform: scale(1.04); }

.card__media--empty {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 30% 30%, #fde7c8 0, transparent 55%),
		radial-gradient(circle at 75% 70%, var(--c-accent-soft) 0, transparent 60%),
		var(--c-tint);
}
.card__placeholder {
	font-family: var(--f-head);
	font-size: 4rem;
	font-weight: 600;
	color: var(--c-accent);
	opacity: .55;
}

.card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 18px 20px 22px;
	flex: 1;
}

.card__title {
	font-size: 1.28rem;
	line-height: 1.25;
	margin: 0;
}
.card__title a {
	color: var(--c-ink);
	text-decoration: none;
}
.card__title a::after {
	/* Visa kortelė paspaudžiama */
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.card__title a:hover { color: var(--c-accent); }
.card .chip { position: relative; z-index: 2; }

.card__excerpt {
	margin: 0;
	color: var(--c-muted);
	font-size: .95rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Puslapiavimas ---------- */

.pagination { margin-top: 40px; }
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px; height: 44px;
	padding: 0 12px;
	border-radius: var(--r-pill);
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	color: var(--c-ink-soft);
	font-weight: 700;
	text-decoration: none;
}
.pagination a.page-numbers:hover { border-color: var(--c-accent); color: var(--c-accent); }
.pagination .page-numbers.current { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.pagination .page-numbers.dots { background: transparent; border-color: transparent; }

.empty {
	padding: 48px 24px;
	text-align: center;
	background: var(--c-paper);
	border-radius: var(--r-lg);
}
.empty .search-form { margin: 16px auto 0; }

/* ---------- Valdiklių juosta ---------- */

.band {
	padding-block: clamp(32px, 5vw, 56px);
	background: var(--c-tint);
}
.band__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px;
	align-items: start;
}

/* ---------- Valdikliai ---------- */

.widget {
	background: var(--c-paper);
	border-radius: var(--r-lg);
	padding: 22px 22px 18px;
	box-shadow: var(--shadow-sm);
	font-size: .97rem;
}
.widget + .widget { margin-top: 0; }
.sidebar .widget + .widget { margin-top: 20px; }

.widget-title,
.widget h2,
.widget .wp-block-heading {
	font-size: 1.2rem;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px dotted var(--c-line);
}

.widget ul,
.widget ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.widget li { padding: 7px 0; border-bottom: 1px solid #f3ebe1; line-height: 1.35; }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--c-ink); text-decoration: none; font-weight: 600; }
.widget li a:hover { color: var(--c-accent); }

/* Kategorijos – žetonai */
.widget_categories ul { display: flex; flex-wrap: wrap; gap: 6px; }
.widget_categories li { padding: 0; border: 0; }
.widget_categories li a {
	display: inline-block;
	padding: .35em .8em;
	border-radius: var(--r-pill);
	background: var(--c-bg);
	font-size: .88rem;
	font-weight: 600;
}
.widget_categories li a:hover { background: var(--c-accent); color: #fff; }

/* Žymų debesis */
.tagcloud,
.wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tagcloud a,
.wp-block-tag-cloud a {
	display: inline-block;
	padding: .3em .75em;
	border-radius: var(--r-pill);
	background: var(--c-sage-soft);
	color: var(--c-sage) !important;
	font-size: .82rem !important;
	font-weight: 600;
	text-decoration: none;
}
.tagcloud a:hover,
.wp-block-tag-cloud a:hover { background: var(--c-sage); color: #fff !important; }

/* WordPress Popular Posts */
.wpp-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; counter-increment: wpp; }
.wpp-list { counter-reset: wpp; }
.wpp-list li::before {
	content: counter(wpp);
	display: inline-grid;
	place-items: center;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--c-accent-soft);
	color: var(--c-accent-dark);
	font-size: .75rem;
	font-weight: 700;
	flex: none;
	align-self: center;
}
.wpp-list li > a { flex: 1; min-width: 0; }
.wpp-list .wpp-views,
.wpp-list .wpp-meta,
.wpp-list .post-stats { font-size: .78rem; color: var(--c-muted); width: 100%; padding-left: 32px; }
.wpp-thumbnail { border-radius: var(--r-sm); }

/* ---------- Įrašas (receptas) ---------- */

.single-layout {
	display: grid;
	gap: 40px;
	padding-block: clamp(24px, 5vw, 56px);
}
@media (min-width: 1024px) {
	.has-sidebar .single-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
	.sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}

.entry { min-width: 0; }
.entry--page { padding-block: clamp(24px, 5vw, 56px); }

.entry__head { margin-bottom: 28px; }
.entry__head .chips { margin-bottom: 16px; }

.entry__title {
	font-size: clamp(2rem, 5vw, 3.2rem);
	line-height: 1.08;
	letter-spacing: -.025em;
	margin-bottom: .45em;
	text-wrap: balance;
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding-top: 16px;
	border-top: 1px solid var(--c-line);
	color: var(--c-muted);
	font-size: .95rem;
}
.meta__date { font-weight: 600; }

.entry__hero { margin: 0 0 28px; }
.entry__hero img { width: 100%; border-radius: var(--r-lg); }

.entry__content {
	max-width: 720px;
	font-size: 1.1rem;
	line-height: 1.75;
	color: var(--c-ink-soft);
}
.entry__content::after { content: ""; display: table; clear: both; }

.entry__content > p:first-child,
.entry__content > p:first-of-type { font-size: 1.15rem; color: var(--c-ink); }

.entry__content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry__content h3 { font-size: 1.35rem; margin-top: 1.4em; }
.entry__content h2,
.entry__content h3,
.entry__content h4 { color: var(--c-ink); }

.entry__content strong { color: var(--c-ink); }

/* Seni įrašai: lygiavimas dešinėje / abipusis buvo skirtas senam maketui */
.entry__content p[style*="text-align: right"],
.entry__content p[style*="text-align:right"],
.entry__content p[style*="text-align: justify"],
.entry__content p[style*="text-align:justify"] { text-align: left !important; }
.entry__content .recipe-media { margin: 0; }
.entry__content p:empty { display: none; }

.entry__content img { border-radius: var(--r-md); }
.entry__content a > img { transition: opacity .2s; }
.entry__content a:hover > img { opacity: .9; }

.entry__content .alignleft { float: left; margin: .35em 1.6em 1.2em 0; max-width: 45%; }
.entry__content .alignright { float: right; margin: .35em 0 1.2em 1.6em; max-width: 45%; }
.entry__content .aligncenter { display: block; margin: 1.5em auto; }
.entry__content p:has(> a > img.alignleft),
.entry__content p:has(> img.alignleft) { overflow: visible; }

@media (max-width: 600px) {
	.entry__content .alignleft,
	.entry__content .alignright {
		float: none;
		display: block;
		max-width: 100%;
		width: 100%;
		margin: 0 0 1.2em;
	}
}

.entry__content figure { margin: 1.6em 0; }
.entry__content figcaption,
.wp-caption-text { font-size: .88rem; color: var(--c-muted); text-align: center; margin-top: .5em; }
.wp-caption { max-width: 100%; }

.entry__content blockquote {
	margin: 1.6em 0;
	padding: 1em 1.4em;
	border-left: 4px solid var(--c-accent);
	background: var(--c-paper);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	font-style: italic;
}

.entry__content ul,
.entry__content ol { padding-left: 1.3em; }
.entry__content li { margin-bottom: .35em; }

.entry__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.entry__content th,
.entry__content td { padding: .6em .8em; border-bottom: 1px solid var(--c-line); text-align: left; }

.entry__content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.entry__content .gallery-item { margin: 0; }
.entry__content .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Recepto struktūra (žymima main.js) */
.entry__content .recipe-heading {
	clear: none;
	display: flex;
	align-items: center;
	gap: .6em;
	margin: 1.8em 0 .8em;
	font-family: var(--f-head);
	font-size: 1.45rem;
	font-weight: 600;
	color: var(--c-ink);
	line-height: 1.2;
}
.entry__content .recipe-heading strong { font-weight: inherit; }
.entry__content .recipe-heading::before {
	content: "";
	width: 28px; height: 3px;
	border-radius: 2px;
	background: var(--c-accent);
	flex: none;
}

.entry__content .ingredients {
	display: flow-root;
	margin: 0 0 1.4em;
	padding: 10px 20px;
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	list-style: none;
}
.entry__content .ingredient {
	position: relative;
	margin: 0;
	padding: .55em 0 .55em 2.1em;
	border-bottom: 1px dashed var(--c-line);
	line-height: 1.45;
	cursor: pointer;
	transition: color .2s;
}
.entry__content .ingredient:last-child { border-bottom: 0; }
.entry__content .ingredient::before {
	content: "";
	position: absolute;
	left: 0; top: .65em;
	width: 1.15em; height: 1.15em;
	border: 2px solid #d9c9b7;
	border-radius: 6px;
	background: #fff;
	transition: background .2s, border-color .2s;
}
.entry__content .ingredient.is-checked { color: var(--c-muted); text-decoration: line-through; text-decoration-color: rgba(117, 104, 94, .6); }
.entry__content .ingredient.is-checked::before {
	background: var(--c-sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 75% no-repeat;
	border-color: var(--c-sage);
}
.ingredients__hint { font-size: .82rem; color: var(--c-muted); margin: -.6em 0 .8em; }

.entry__content .recipe-signoff {
	margin-top: 1.6em;
	font-family: var(--f-head);
	font-size: 1.5rem;
	font-style: italic;
	color: var(--c-accent);
}

/* Įrašo apačia */
.entry__foot { max-width: 720px; margin-top: 40px; }

.tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 32px;
}
.tags__label { font-weight: 700; color: var(--c-muted); margin-right: 4px; font-size: .9rem; }
.tags a {
	padding: .3em .75em;
	border-radius: var(--r-pill);
	background: var(--c-sage-soft);
	color: var(--c-sage);
	font-size: .85rem;
	font-weight: 600;
	text-decoration: none;
}
.tags a:hover { background: var(--c-sage); color: #fff; }

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 14px;
}
.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 16px 20px;
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	text-decoration: none;
	transition: border-color .2s;
}
.post-navigation a:hover { border-color: var(--c-accent); }
.post-navigation .nav-next a { text-align: right; }
.post-nav__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.post-nav__title { font-family: var(--f-head); font-size: 1.1rem; font-weight: 600; color: var(--c-ink); line-height: 1.3; }

.related { margin-top: 16px; }

/* ---------- Komentarai ---------- */

.comments { max-width: 720px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.comments__title { font-size: 1.5rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .children { list-style: none; padding-left: clamp(16px, 4vw, 40px); }
.comment-body {
	padding: 18px 20px;
	margin-bottom: 14px;
	background: var(--c-paper);
	border-radius: var(--r-md);
}
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .82rem; margin: 2px 0 10px 54px; }
.comment-metadata a { color: var(--c-muted); text-decoration: none; }
.comment-content { font-size: 1rem; }
.reply a { font-size: .88rem; font-weight: 700; }

.comment-respond { margin-top: 24px; }
.comment-reply-title { font-size: 1.4rem; }
.comment-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: .75em 1em;
	border: 1px solid var(--c-line);
	border-radius: var(--r-md);
	background: var(--c-paper);
	font: inherit;
	font-size: 1rem;
	color: var(--c-ink);
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- 404 ---------- */

.notfound { padding-block: clamp(48px, 10vw, 120px); text-align: center; }
.notfound .search-form { margin: 24px auto; }
.notfound__code {
	font-family: var(--f-head);
	font-size: clamp(4rem, 14vw, 8rem);
	font-weight: 700;
	line-height: 1;
	color: var(--c-accent);
	margin: 0 0 .1em;
	opacity: .85;
}

/* ---------- Poraštė ---------- */

.site-footer {
	margin-top: 0;
	background: #2b2420;
	color: #d8cbbd;
	font-size: .95rem;
}
.site-footer a { color: #f3e6d7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer__inner {
	display: grid;
	gap: 28px;
	padding-block: 48px 32px;
}
@media (min-width: 760px) {
	.site-footer__inner { grid-template-columns: 1.2fr 1fr; align-items: start; }
}
.site-footer__about p { max-width: 42ch; margin-top: 8px; }
.brand__name--footer { color: #fff !important; font-size: 1.6rem; }

.site-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: 600;
}
@media (min-width: 760px) { .site-footer__nav ul { justify-content: flex-end; } }
.site-footer__nav .nav__list { flex-direction: row; align-items: center; }
.site-footer__nav .nav__list a,
.site-footer__nav .nav__list .current-menu-item > a {
	padding: 0;
	border-radius: 0;
	background: none;
	color: #f3e6d7;
	font-size: .95rem;
}
.site-footer__nav .nav__list a:hover { background: none; color: #fff; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-block: 20px 28px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .88rem;
}
.site-footer__bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* ---------- Blokų redaktoriaus elementai ---------- */

.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--r-md); }
.wp-block-button__link { border-radius: var(--r-pill); background: var(--c-accent); }

/* ---------- Spausdinimas ---------- */

@media print {
	@page { margin: 16mm; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.site-header, .site-footer, .sidebar, .band, .related, .comments,
	.post-navigation, .entry__meta .btn, .chips, .tags, .skip-link,
	.ingredients__hint, #cookie-notice { display: none !important; }
	.single-layout { display: block; padding: 0; }
	.entry__title { font-size: 24pt; }
	.entry__content { max-width: none; font-size: 11pt; color: #000; }
	.entry__content img { max-width: 45mm !important; }
	.entry__content .ingredients { border: 1px solid #999; }
	.entry__content .ingredient { cursor: auto; }
	a { color: #000; text-decoration: none; }
}
