/*
Theme Name: Vibanest
Theme URI: https://vibanest.com/
Author: Vibanest
Description: A warm, editorial recipe theme made for Vibanest. Recipe-card styling for ingredients and steps, jump-to-recipe and print buttons, a rotating Popular Topics grid under every post and page, theme-only widgets, a Header widget area and settings for Google Analytics / AdSense code, and a reliable Site Icon.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vibanest
Tags: blog, food-and-drink, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--vbn-cream: #fbf7f0;
	--vbn-cream-2: #f4ecdf;
	--vbn-paper: #ffffff;
	--vbn-ink: #2a1d17;
	--vbn-ink-2: #5a4a40;
	--vbn-ink-3: #8a776a;
	--vbn-paprika: #b4441f;
	--vbn-paprika-dark: #8f3416;
	--vbn-saffron: #e9a23b;
	--vbn-saffron-soft: #fbe9c8;
	--vbn-olive: #5b6b3a;
	--vbn-olive-soft: #e7ebd9;
	--vbn-line: #eadfce;

	--vbn-font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--vbn-font-body: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;

	--vbn-radius-s: 10px;
	--vbn-radius: 18px;
	--vbn-radius-l: 28px;
	--vbn-shadow: 0 1px 2px rgba(42, 29, 23, .05), 0 8px 24px -12px rgba(42, 29, 23, .18);
	--vbn-shadow-hover: 0 2px 4px rgba(42, 29, 23, .06), 0 22px 40px -18px rgba(42, 29, 23, .32);
	--vbn-ease: cubic-bezier(.2, .7, .2, 1);

	--vbn-container: 1200px;
	--vbn-narrow: 760px;
	--vbn-gutter: clamp(16px, 4vw, 32px);
}

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

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

body {
	margin: 0;
	background: var(--vbn-cream);
	color: var(--vbn-ink);
	font-family: var(--vbn-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: var(--vbn-paprika); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vbn-paprika-dark); }

:focus-visible { outline: 3px solid var(--vbn-saffron); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--vbn-font-display);
	font-optical-sizing: auto;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--vbn-ink);
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1.1em; }

button, input, select, textarea { font: inherit; color: inherit; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: 12px; left: 12px; z-index: 1000;
	background: var(--vbn-ink); color: var(--vbn-cream); padding: 12px 18px; border-radius: 999px;
}

.vbn-container { width: 100%; max-width: calc(var(--vbn-container) + var(--vbn-gutter) * 2); margin: 0 auto; padding: 0 var(--vbn-gutter); }
.vbn-container--narrow { max-width: calc(var(--vbn-narrow) + var(--vbn-gutter) * 2); }

.vbn-icon { flex: none; }

.vbn-main { display: block; outline: none; }

/* ---------- Buttons & pills ---------- */
.vbn-btn {
	display: inline-flex; align-items: center; gap: .5em;
	min-height: 44px; padding: .55em 1.15em;
	border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 700; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s var(--vbn-ease), color .2s var(--vbn-ease), border-color .2s var(--vbn-ease), transform .2s var(--vbn-ease);
}
.vbn-btn--primary { background: var(--vbn-paprika); color: #fff; }
.vbn-btn--primary:hover { background: var(--vbn-paprika-dark); color: #fff; transform: translateY(-1px); }
.vbn-btn--ghost { background: transparent; color: var(--vbn-ink); border-color: var(--vbn-line); }
.vbn-btn--ghost:hover { border-color: var(--vbn-ink); color: var(--vbn-ink); }
.vbn-btn[hidden] { display: none; }

.vbn-pill {
	display: inline-flex; align-items: center; gap: .45em;
	min-height: 44px; padding: .4em 1em;
	border-radius: 999px; background: var(--vbn-paper); border: 1px solid var(--vbn-line);
	font-size: .92rem; font-weight: 600; color: var(--vbn-ink-2);
}

.vbn-chip {
	display: inline-block; margin-bottom: 14px; padding: .3em .9em;
	border-radius: 999px; background: var(--vbn-olive-soft); color: var(--vbn-olive);
	font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.vbn-chip:hover { background: var(--vbn-olive); color: #fff; }

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

.vbn-section-head { text-align: center; margin: 0 auto 32px; max-width: 640px; }
.vbn-section-head--row { text-align: left; margin: 56px 0 24px; max-width: none; }
.vbn-section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0; position: relative; display: inline-block; padding-bottom: 14px; }
.vbn-section-title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
	width: 88px; height: 10px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 10'%3E%3Cpath d='M2 6c7-5 14-5 21 0s14 5 21 0 14-5 21 0 14 5 21 0' fill='none' stroke='%23E9A23B' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.vbn-section-head--row .vbn-section-title::after { left: 0; transform: none; }

/* ---------- Header ---------- */
.vbn-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 247, 240, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--vbn-line);
}
.admin-bar .vbn-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vbn-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .vbn-header { top: 0; } }

.vbn-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.vbn-header__brand { flex: none; }
.vbn-logo, .custom-logo-link { display: inline-flex; align-items: center; color: var(--vbn-ink); }
.vbn-logo svg, .custom-logo { height: 46px; width: auto; display: block; }

.vbn-nav { margin-left: auto; }
.vbn-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.vbn-menu li { position: relative; }
.vbn-menu a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
	color: var(--vbn-ink); font-weight: 600; text-decoration: none; border-radius: 999px;
	transition: background-color .2s var(--vbn-ease), color .2s var(--vbn-ease);
}
.vbn-menu a:hover, .vbn-menu .current-menu-item > a { background: var(--vbn-saffron-soft); color: var(--vbn-ink); }
.vbn-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--vbn-paper); border: 1px solid var(--vbn-line); border-radius: var(--vbn-radius); box-shadow: var(--vbn-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s var(--vbn-ease);
}
.vbn-menu li:hover > .sub-menu, .vbn-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.vbn-menu .sub-menu a { width: 100%; border-radius: var(--vbn-radius-s); }

.vbn-header__actions { display: flex; gap: 6px; }
.vbn-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border-radius: 999px; border: 1px solid var(--vbn-line); background: var(--vbn-paper);
	color: var(--vbn-ink); cursor: pointer; transition: background-color .2s var(--vbn-ease), border-color .2s var(--vbn-ease);
}
.vbn-iconbtn:hover { border-color: var(--vbn-ink); }
.vbn-iconbtn[aria-expanded="true"] { background: var(--vbn-ink); color: var(--vbn-cream); border-color: var(--vbn-ink); }
.vbn-menu-toggle { display: none; }
.vbn-menu-toggle__close { display: none; }
.vbn-menu-toggle[aria-expanded="true"] .vbn-menu-toggle__open { display: none; }
.vbn-menu-toggle[aria-expanded="true"] .vbn-menu-toggle__close { display: inline; }
.vbn-menu-toggle span { line-height: 0; }

.vbn-search-panel { border-top: 1px solid var(--vbn-line); padding: 18px 0 22px; background: var(--vbn-cream); }
.vbn-search-panel[hidden] { display: none; }

@media (max-width: 860px) {
	.vbn-header__inner { min-height: 64px; gap: 12px; }
	.vbn-logo svg, .custom-logo { height: 38px; }
	.vbn-header__actions { margin-left: auto; }
	.vbn-menu-toggle { display: inline-grid; }
	.vbn-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--vbn-cream); border-bottom: 1px solid var(--vbn-line);
		padding: 8px var(--vbn-gutter) 18px; margin: 0;
		display: none;
	}
	.vbn-nav.is-open { display: block; }
	.vbn-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.vbn-menu a { width: 100%; border-radius: var(--vbn-radius-s); font-size: 1.1rem; }
	.vbn-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; }
}

.vbn-progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; pointer-events: none; }
.admin-bar .vbn-progress { top: 32px; }
.vbn-progress__bar { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--vbn-saffron), var(--vbn-paprika)); transform-origin: 0 50%; transform: scaleX(0); }

.vbn-below-header { padding: 16px 0; border-bottom: 1px solid var(--vbn-line); }

/* ---------- Search form ---------- */
.vbn-searchform {
	display: flex; align-items: center; gap: 8px;
	background: var(--vbn-paper); border: 1.5px solid var(--vbn-line); border-radius: 999px;
	padding: 6px 6px 6px 20px; max-width: 680px; margin: 0 auto;
	transition: border-color .2s var(--vbn-ease), box-shadow .2s var(--vbn-ease);
}
.vbn-searchform:focus-within { border-color: var(--vbn-paprika); box-shadow: 0 0 0 4px rgba(180, 68, 31, .12); }
.vbn-searchform__input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 44px; font-size: 1.05rem; outline: none; }
.vbn-searchform__input::placeholder { color: var(--vbn-ink-3); }
.vbn-searchform__btn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
	border: 0; border-radius: 999px; background: var(--vbn-ink); color: var(--vbn-cream); font-weight: 700; cursor: pointer;
	transition: background-color .2s var(--vbn-ease);
}
.vbn-searchform__btn:hover { background: var(--vbn-paprika); }
@media (max-width: 480px) { .vbn-searchform__btn span { display: none; } .vbn-searchform__btn { padding: 0 14px; } }

/* ---------- Intro / page heads ---------- */
.vbn-intro {
	position: relative; overflow: hidden; text-align: center;
	padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 5vw, 56px);
	background:
		radial-gradient(420px 260px at 12% 20%, rgba(233, 162, 59, .22), transparent 70%),
		radial-gradient(380px 260px at 88% 10%, rgba(91, 107, 58, .16), transparent 70%);
}
.vbn-intro__inner { max-width: 900px; }
.vbn-intro__title { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 600; margin: 0 0 18px; }
.vbn-intro__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--vbn-ink-2); max-width: 620px; margin: 0 auto; }

.vbn-page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); text-align: center; }
.vbn-page-head__title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0; }
.vbn-page-head__desc { color: var(--vbn-ink-2); max-width: 640px; margin: 14px auto 0; }
.vbn-page-head__search { margin-top: 24px; }

/* ---------- Cards ---------- */
.vbn-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--vbn-paper); border: 1px solid var(--vbn-line); border-radius: var(--vbn-radius);
	overflow: hidden; box-shadow: var(--vbn-shadow);
	transition: transform .3s var(--vbn-ease), box-shadow .3s var(--vbn-ease);
}
.vbn-card:hover { transform: translateY(-4px); box-shadow: var(--vbn-shadow-hover); }
.vbn-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--vbn-cream-2); }
.vbn-card__media img, .vbn-card__media .vbn-media__ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--vbn-ease); }
.vbn-card:hover .vbn-card__media img { transform: scale(1.05); }
.vbn-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.vbn-card__title { font-size: 1.32rem; margin: 0 0 10px; }
.vbn-card__title a { color: var(--vbn-ink); text-decoration: none; background-image: linear-gradient(var(--vbn-saffron), var(--vbn-saffron)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--vbn-ease); }
.vbn-card:hover .vbn-card__title a { background-size: 100% 2px; }
.vbn-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.vbn-card__excerpt { color: var(--vbn-ink-2); font-size: .98rem; margin: 0 0 16px; }
.vbn-card__meta { margin: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--vbn-ink-3); font-weight: 600; }
.vbn-card__time { display: inline-flex; align-items: center; gap: 6px; }
.vbn-card__time .vbn-icon { width: 16px; height: 16px; }
.vbn-card__more { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; color: var(--vbn-paprika); text-decoration: none; font-weight: 700; min-height: 44px; }
.vbn-card__more .vbn-icon { width: 16px; height: 16px; transition: transform .25s var(--vbn-ease); }
.vbn-card:hover .vbn-card__more .vbn-icon { transform: translateX(3px); }

/* Placeholder art for posts without any image */
.vbn-media__ph {
	display: grid; place-items: center; width: 100%; height: 100%;
	font-family: var(--vbn-font-display); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 600; color: rgba(255, 255, 255, .92);
}
.vbn-media__ph span {
	display: grid; place-items: center; width: 46%; aspect-ratio: 1; border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, .55); box-shadow: 0 0 0 10px rgba(255, 255, 255, .14);
}
.vbn-media__ph--saffron { background: radial-gradient(circle at 30% 25%, #f3c26f, var(--vbn-saffron)); }
.vbn-media__ph--olive { background: radial-gradient(circle at 30% 25%, #8a9a62, var(--vbn-olive)); }
.vbn-media__ph--paprika { background: radial-gradient(circle at 30% 25%, #d26a43, var(--vbn-paprika)); }
.vbn-media__ph--cream { background: radial-gradient(circle at 30% 25%, #fff6e6, #ead7b8); color: var(--vbn-paprika); }
.vbn-media__ph--cream span { border-color: rgba(180, 68, 31, .35); box-shadow: 0 0 0 10px rgba(180, 68, 31, .07); }

/* ---------- Home hero ---------- */
.vbn-listing { padding-bottom: 72px; }
.vbn-hero { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; }
.vbn-hero__side { display: grid; gap: 24px; grid-auto-rows: 1fr; }
.vbn-card--feature .vbn-card__media { aspect-ratio: 16 / 11; }
.vbn-card--feature .vbn-card__body { padding: 26px 30px 24px; }
.vbn-card--feature .vbn-card__title { font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
.vbn-card--feature .vbn-card__excerpt { font-size: 1.08rem; }
.vbn-card--side .vbn-card__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 180px; position: relative; }
.vbn-card--side .vbn-card__media img, .vbn-card--side .vbn-card__media .vbn-media__ph { position: absolute; inset: 0; }
.vbn-card--side .vbn-card__body { flex: none; padding: 18px 22px 12px; }
.vbn-card--side .vbn-card__title { font-size: 1.3rem; margin-bottom: 4px; }
@media (max-width: 960px) {
	.vbn-hero { grid-template-columns: 1fr; }
	.vbn-hero__side { grid-template-columns: 1fr 1fr; }
	.vbn-card--side .vbn-card__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 640px) {
	.vbn-hero__side { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.vbn-card--side { flex-direction: row; }
	.vbn-card--side .vbn-card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 140px; }
	.vbn-card--side .vbn-card__body { flex: 1 1 auto; min-width: 0; padding: 14px 16px 8px; }
	.vbn-card--side .vbn-card__title { font-size: 1.1rem; }
}

/* ---------- Post grid: rows are always complete ---------- */
.vbn-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.vbn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
	.vbn-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.vbn-grid > .vbn-card { grid-column: span 2; }
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child { grid-column: span 2; }
	.vbn-grid > .vbn-card:nth-child(3n + 1):nth-last-child(2),
	.vbn-grid > .vbn-card:nth-child(3n + 1):nth-last-child(2) + .vbn-card { grid-column: span 3; }
	.vbn-grid > .vbn-card:nth-child(3n + 1):last-child { grid-column: 1 / -1; }
}
/* A card that fills a whole row is laid out side by side */
@media (min-width: 640px) {
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child { flex-direction: row; }
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child .vbn-card__media { flex: 0 0 50%; aspect-ratio: auto; min-height: 280px; }
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child .vbn-card__body { padding: 32px; justify-content: center; }
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child .vbn-card__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
}
@media (min-width: 1000px) {
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child { flex-direction: column; }
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child .vbn-card__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child .vbn-card__body { padding: 20px 22px 18px; justify-content: flex-start; }
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child .vbn-card__title { font-size: 1.32rem; }
	.vbn-grid > .vbn-card:nth-child(3n + 1):last-child { flex-direction: row; }
	.vbn-grid > .vbn-card:nth-child(3n + 1):last-child .vbn-card__media { flex: 0 0 56%; aspect-ratio: auto; min-height: 340px; }
	.vbn-grid > .vbn-card:nth-child(3n + 1):last-child .vbn-card__body { padding: 40px; justify-content: center; }
	.vbn-grid > .vbn-card:nth-child(3n + 1):last-child .vbn-card__title { font-size: 2rem; }
}

@media (min-width: 640px) and (max-width: 999px) {
	.vbn-grid > .vbn-card:nth-child(2n + 1):last-child .vbn-card__meta { margin-top: 12px; }
}
@media (min-width: 1000px) {
	.vbn-grid > .vbn-card:nth-child(3n + 1):last-child .vbn-card__meta { margin-top: 12px; }
	.vbn-grid > .vbn-card:nth-child(3n + 1):last-child .vbn-card__excerpt { font-size: 1.08rem; }
}

/* ---------- Pagination ---------- */
.vbn-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.vbn-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 999px; border: 1px solid var(--vbn-line); background: var(--vbn-paper);
	color: var(--vbn-ink); text-decoration: none; font-weight: 700;
	transition: background-color .2s var(--vbn-ease), color .2s var(--vbn-ease), border-color .2s var(--vbn-ease);
}
.vbn-pagination a.page-numbers:hover { border-color: var(--vbn-ink); }
.vbn-pagination .page-numbers.current { background: var(--vbn-paprika); border-color: var(--vbn-paprika); color: #fff; }
.vbn-pagination .page-numbers.dots { border: 0; background: transparent; }

.vbn-empty { text-align: center; padding: 48px 0; }
.vbn-empty .vbn-searchform { margin-top: 24px; }

/* ---------- Popular Topics ---------- */
.vbn-popular {
	position: relative; background: var(--vbn-cream-2);
	padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 96px);
	margin-top: 24px;
}
.vbn-popular::before {
	content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 24px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24V12C10 2 20 2 30 12s20 10 30 0 20-10 30 0 20 10 30 0v12z' fill='%23F4ECDF'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 24px;
}
.vbn-popular__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 18px;
	grid-template-columns: repeat(var(--pt-sm, 2), minmax(0, 1fr));
}
@media (min-width: 700px) { .vbn-popular__grid { grid-template-columns: repeat(var(--pt-md, 3), minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1040px) { .vbn-popular__grid { grid-template-columns: repeat(var(--pt-lg, 4), minmax(0, 1fr)); gap: 26px; } }

.vbn-pt { display: flex; }
.vbn-pt__link {
	display: flex; flex-direction: column; width: 100%;
	background: var(--vbn-paper); border-radius: var(--vbn-radius); overflow: hidden;
	color: var(--vbn-ink); text-decoration: none; box-shadow: var(--vbn-shadow);
	transition: transform .3s var(--vbn-ease), box-shadow .3s var(--vbn-ease);
}
.vbn-pt__link:hover { color: var(--vbn-ink); transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--vbn-shadow-hover); }
.vbn-pt:nth-child(even) .vbn-pt__link:hover { transform: translateY(-4px) rotate(.4deg); }
.vbn-pt__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--vbn-cream); position: relative; }
.vbn-pt__media img, .vbn-pt__media .vbn-media__ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--vbn-ease); }
.vbn-pt__media .vbn-media__ph { font-size: 2.6rem; }
.vbn-pt__link:hover .vbn-pt__media img { transform: scale(1.06); }
.vbn-pt__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 16px; }
.vbn-pt__title { font-family: var(--vbn-font-display); font-weight: 600; font-size: 1.06rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vbn-pt__meta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--vbn-ink-3); }
.vbn-pt__meta .vbn-icon { width: 15px; height: 15px; }
@media (max-width: 480px) {
	.vbn-pt__body { padding: 12px 12px 14px; }
	.vbn-pt__title { font-size: .98rem; }
}

/* ---------- Single ---------- */
.vbn-single__head { text-align: center; padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); }
.vbn-single__title { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin: 0 0 16px; }
.vbn-single__lead { font-size: 1.2rem; color: var(--vbn-ink-2); max-width: 640px; margin: 0 auto 20px; }
.vbn-single__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

.vbn-single__figure { margin: 0 auto clamp(32px, 5vw, 56px); }
.vbn-single__img { width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--vbn-radius-l); box-shadow: var(--vbn-shadow); }

.vbn-single__layout { display: block; max-width: calc(var(--vbn-narrow) + var(--vbn-gutter) * 2); padding-bottom: 64px; }
.vbn-has-sidebar .vbn-single__layout { max-width: calc(var(--vbn-container) + var(--vbn-gutter) * 2); }
@media (min-width: 1040px) {
	.vbn-has-sidebar .vbn-single__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
	.vbn-has-sidebar .vbn-single__main { max-width: var(--vbn-narrow); }
	.vbn-sidebar { position: sticky; top: 104px; }
}
.vbn-sidebar { display: grid; gap: 24px; }
@media (max-width: 1039px) { .vbn-sidebar { margin-top: 48px; } }

/* ---------- Content (recipes) ---------- */
.vbn-content { font-size: 1.125rem; line-height: 1.78; }
.vbn-content > * { margin-top: 0; margin-bottom: 1.25em; }
.vbn-content h2 { font-size: clamp(1.6rem, 3vw, 2.05rem); margin: 1.8em 0 .6em; }
.vbn-content h3 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); margin: 1.6em 0 .55em; }
.vbn-content h4 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.vbn-content a { color: var(--vbn-paprika); font-weight: 600; text-decoration-color: rgba(180, 68, 31, .35); }
.vbn-content a:hover { text-decoration-color: currentColor; }
.vbn-content strong { color: var(--vbn-ink); }
.vbn-content img { border-radius: var(--vbn-radius); }
.vbn-content figure { margin: 2em 0; }
.vbn-content figcaption, .vbn-content .wp-caption-text { font-size: .9rem; color: var(--vbn-ink-3); text-align: center; margin-top: 10px; }
.vbn-content .aligncenter { margin-left: auto; margin-right: auto; }
.vbn-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.vbn-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.vbn-content hr { border: 0; height: 10px; margin: 2.5em auto; width: 120px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 10'%3E%3Cpath d='M2 6c7-5 14-5 21 0s14 5 21 0 14-5 21 0 14 5 21 0' fill='none' stroke='%23E9A23B' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }

.vbn-content ul, .vbn-content ol { padding: 0; list-style: none; }
.vbn-content ul li { position: relative; padding-left: 1.6em; margin-bottom: .55em; }
.vbn-content ul li::before { content: ""; position: absolute; left: .25em; top: .68em; width: 9px; height: 9px; border-radius: 50%; background: var(--vbn-saffron); box-shadow: 0 0 0 3px var(--vbn-saffron-soft); }
.vbn-content ol { counter-reset: vbn-step; }
.vbn-content ol > li { counter-increment: vbn-step; position: relative; padding-left: 3em; margin-bottom: 1em; min-height: 2.1em; }
.vbn-content ol > li::before {
	content: counter(vbn-step); position: absolute; left: 0; top: .05em;
	width: 2.1em; height: 2.1em; display: grid; place-items: center; border-radius: 50%;
	background: var(--vbn-paprika); color: #fff; font-family: var(--vbn-font-display); font-weight: 600; font-size: .92em;
}

.vbn-content blockquote {
	margin: 2em 0; padding: 1.4em 1.6em; border-left: 4px solid var(--vbn-saffron);
	background: var(--vbn-paper); border-radius: 0 var(--vbn-radius) var(--vbn-radius) 0;
	font-family: var(--vbn-font-display); font-style: italic; font-size: 1.25rem; line-height: 1.5;
}
.vbn-content blockquote p:last-child { margin-bottom: 0; }

.vbn-content table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--vbn-paper); border-radius: var(--vbn-radius-s); overflow: hidden; }
.vbn-content th, .vbn-content td { padding: 12px 14px; border-bottom: 1px solid var(--vbn-line); text-align: left; }
.vbn-content th { background: var(--vbn-cream-2); font-weight: 700; }
.vbn-content iframe { border-radius: var(--vbn-radius); }

/* Recipe box (wrapped by main.js around the Ingredients/Instructions part) */
.vbn-recipe {
	position: relative; margin: 2.5em 0; padding: clamp(24px, 4vw, 40px);
	background: var(--vbn-paper); border-radius: var(--vbn-radius-l);
	border: 2px dashed rgba(180, 68, 31, .28); box-shadow: var(--vbn-shadow);
}
.vbn-recipe::before {
	content: ""; position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
	width: 52px; height: 52px; border-radius: 50%; background: var(--vbn-cream) url("assets/img/mark.svg") no-repeat center / 36px;
	border: 2px dashed rgba(180, 68, 31, .28);
}
.vbn-recipe > :first-child { margin-top: .4em; text-align: center; }
.vbn-recipe h2, .vbn-recipe h3 { scroll-margin-top: 110px; }
.vbn-recipe__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 1.6em; padding: 0; list-style: none; }
.vbn-content .vbn-recipe__facts li { padding: .5em 1.1em; margin: 0; border-radius: 999px; background: var(--vbn-saffron-soft); font-size: .95rem; }
.vbn-content .vbn-recipe__facts li::before { display: none; }
.vbn-recipe__facts b { font-weight: 700; color: var(--vbn-paprika-dark); margin-right: .35em; }
.vbn-recipe__actions { display: flex; justify-content: center; gap: 10px; margin-top: 1.5em; flex-wrap: wrap; }

.vbn-content .vbn-ingredients li { padding-left: 2.2em; cursor: pointer; transition: color .2s var(--vbn-ease); }
.vbn-content .vbn-ingredients li::before {
	left: 0; top: .32em; width: 1.25em; height: 1.25em; border-radius: 6px;
	background: var(--vbn-paper); border: 2px solid var(--vbn-saffron); box-shadow: none;
}
.vbn-content .vbn-ingredients li.is-done { color: var(--vbn-ink-3); text-decoration: line-through; text-decoration-color: var(--vbn-saffron); }
.vbn-content .vbn-ingredients li.is-done::before {
	background: var(--vbn-saffron) 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 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / 80%;
}

.vbn-callout {
	padding: 1.1em 1.4em; border-radius: var(--vbn-radius); background: var(--vbn-olive-soft); color: var(--vbn-ink);
	border-left: 4px solid var(--vbn-olive);
}

/* ---------- Single footer bits ---------- */
.vbn-single__foot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
	margin-top: 40px; padding: 22px 24px; border-radius: var(--vbn-radius); background: var(--vbn-paper); border: 1px solid var(--vbn-line);
}
.vbn-single__share-label { margin: 0; font-family: var(--vbn-font-display); font-size: 1.15rem; font-weight: 600; }
.vbn-share { display: flex; gap: 8px; }
.vbn-share__btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--vbn-cream); color: var(--vbn-ink); border: 1px solid var(--vbn-line); cursor: pointer;
	transition: background-color .2s var(--vbn-ease), color .2s var(--vbn-ease), transform .2s var(--vbn-ease);
}
.vbn-share__btn:hover { background: var(--vbn-paprika); color: #fff; border-color: var(--vbn-paprika); transform: translateY(-2px); }
.vbn-share__btn.is-copied { background: var(--vbn-olive); color: #fff; border-color: var(--vbn-olive); }

.vbn-after-content { margin-top: 32px; display: grid; gap: 24px; }

.vbn-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.vbn-postnav__link {
	display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--vbn-radius);
	background: var(--vbn-paper); border: 1px solid var(--vbn-line); color: var(--vbn-ink); text-decoration: none;
	transition: border-color .2s var(--vbn-ease), transform .2s var(--vbn-ease);
}
.vbn-postnav__link:hover { border-color: var(--vbn-paprika); color: var(--vbn-ink); transform: translateY(-2px); }
.vbn-postnav__link--next { text-align: right; grid-column: 2; }
.vbn-postnav__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vbn-paprika); }
.vbn-postnav__title { font-family: var(--vbn-font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.3; }
@media (max-width: 600px) { .vbn-postnav { grid-template-columns: 1fr; } .vbn-postnav__link--next { grid-column: auto; } }

/* ---------- Comments ---------- */
.vbn-comments { margin-top: 48px; }
.vbn-comments__title { font-size: 1.6rem; }
.vbn-comments__list, .vbn-comments__list .children { list-style: none; margin: 0; padding: 0; }
.vbn-comments__list .children { padding-left: clamp(16px, 4vw, 40px); }
.vbn-comments__list .comment-body { background: var(--vbn-paper); border: 1px solid var(--vbn-line); border-radius: var(--vbn-radius); padding: 18px 20px; margin-bottom: 16px; }
.vbn-comments__list .comment-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: .9rem; color: var(--vbn-ink-3); margin-bottom: 8px; }
.vbn-comments__list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--vbn-ink); }
.vbn-comments__list .avatar { border-radius: 50%; }
.vbn-comments__list .says { display: none; }
.vbn-comments__list .comment-metadata a { color: inherit; text-decoration: none; }
.vbn-comments__list .reply a { font-weight: 700; font-size: .9rem; text-decoration: none; }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.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 16px; border-radius: var(--vbn-radius-s);
	border: 1.5px solid var(--vbn-line); background: var(--vbn-paper);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--vbn-paprika); box-shadow: 0 0 0 4px rgba(180, 68, 31, .12); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }

/* ---------- Widgets ---------- */
.vbn-widget__title { font-size: 1.25rem; margin: 0 0 14px; }
.vbn-sidebar .vbn-widget { background: var(--vbn-paper); border: 1px solid var(--vbn-line); border-radius: var(--vbn-radius); padding: 22px; }
.vbn-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vbn-mini__link { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.vbn-mini__media { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--vbn-cream-2); }
.vbn-mini__media img, .vbn-mini__media .vbn-media__ph { width: 100%; height: 100%; object-fit: cover; font-size: 1.4rem; }
.vbn-mini__media .vbn-media__ph span { border-width: 2px; box-shadow: none; width: 60%; }
.vbn-mini__body { display: flex; flex-direction: column; gap: 4px; }
.vbn-mini__title { font-family: var(--vbn-font-display); font-weight: 600; line-height: 1.25; }
.vbn-mini__link:hover .vbn-mini__title { color: var(--vbn-paprika); }
.vbn-mini__meta { font-size: .82rem; color: var(--vbn-ink-3); font-weight: 600; }
.vbn-about { text-align: center; }
.vbn-about__img, .vbn-about__mark { display: block; width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; background: var(--vbn-cream); }
.vbn-about__mark svg { width: 70%; height: 70%; margin: 15%; }
.vbn-about__text, .vbn-textbox { color: var(--vbn-ink-2); font-size: .98rem; }
.vbn-about__text p:last-child, .vbn-textbox p:last-child { margin-bottom: 0; }
.vbn-ad { text-align: center; }
.vbn-ad__label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vbn-ink-3); margin-bottom: 6px; }
.vbn-widget .vbn-searchform { margin: 0; }

/* ---------- 404 ---------- */
.vbn-404 { text-align: center; padding: clamp(56px, 8vw, 96px) 0; }
.vbn-404__mark { display: block; width: 120px; margin: 0 auto 18px; }
.vbn-404 .vbn-searchform { margin-top: 28px; }

/* ---------- Footer ---------- */
.vbn-footer { position: relative; background: var(--vbn-ink); color: #e9dccb; margin-top: 48px; }
.vbn-popular + .vbn-footer, .vbn-main:has(> .vbn-popular:last-child) + .vbn-footer { margin-top: 0; }
.vbn-footer__wave { position: absolute; left: 0; bottom: 100%; width: 100%; height: 40px; fill: var(--vbn-ink); display: block; }
.vbn-footer a { color: #fbf7f0; }
.vbn-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 0 32px; border-bottom: 1px solid rgba(251, 247, 240, .12); }
.vbn-footer__brand .vbn-logo svg { height: 48px; }
.vbn-footer__tagline { margin: 12px 0 0; max-width: 420px; color: #cdbba7; }
.vbn-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; }
.vbn-footer-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; border-radius: 999px; transition: background-color .2s var(--vbn-ease); }
.vbn-footer-menu a:hover { background: rgba(251, 247, 240, .1); color: #fff; }
.vbn-footer__cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 40px 0; border-bottom: 1px solid rgba(251, 247, 240, .12); }
.vbn-footer .vbn-widget__title { color: #fbf7f0; }
.vbn-footer .vbn-mini__meta, .vbn-footer .vbn-about__text, .vbn-footer .vbn-textbox { color: #cdbba7; }
.vbn-footer .vbn-mini__link:hover .vbn-mini__title { color: var(--vbn-saffron); }
.vbn-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0 28px; font-size: .92rem; color: #b9a690; }
.vbn-footer__bottom p { margin: 0; }
.vbn-totop {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
	border: 1px solid rgba(251, 247, 240, .2); background: transparent; color: #fbf7f0; cursor: pointer; font-weight: 600;
	transition: background-color .2s var(--vbn-ease);
}
.vbn-totop:hover { background: rgba(251, 247, 240, .1); }
.vbn-totop .vbn-icon { width: 18px; height: 18px; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.vbn-card:hover, .vbn-pt__link:hover, .vbn-pt:nth-child(even) .vbn-pt__link:hover { transform: none; }
	.vbn-card:hover .vbn-card__media img, .vbn-pt__link:hover .vbn-pt__media img { transform: none; }
}

@media print {
	.vbn-header, .vbn-footer, .vbn-popular, .vbn-progress, .vbn-single__meta, .vbn-single__foot, .vbn-postnav, .vbn-comments, .vbn-sidebar, .vbn-after-content, .vbn-below-header, .vbn-recipe__actions, .skip-link { display: none !important; }
	body { background: #fff; font-size: 12pt; }
	.vbn-single__img { max-height: 320px; box-shadow: none; }
	.vbn-recipe { box-shadow: none; border-color: #999; }
	body.vbn-print-recipe .vbn-content > :not(.vbn-recipe), body.vbn-print-recipe .vbn-single__figure { display: none !important; }
	a { color: inherit; text-decoration: none; }
}
