/* Homepage (2026 redesign). Loaded only on the editorial homepage, after editorial-v2.css. */

.wcwj-home {
	--wcwj-h-cream: #f7f4f0;
	--wcwj-h-radius: 6px;
}

/* ---------- Shared ---------- */
.wcwj-h-section { padding: 64px 0; }
.wcwj-h-kicker {
	margin: 0 0 4px;
	font: 700 26px/1.1 var(--wcwj-script);
	color: var(--wcwj-dark);
}
.wcwj-layout .wcwj-h-title {
	margin: 0;
	font: 700 34px/1.15 var(--wcwj-serif);
	color: var(--wcwj-ink);
	letter-spacing: -.01em;
	text-wrap: balance;
}
.wcwj-h-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--wcwj-line);
}
.wcwj-h-more {
	flex: 0 0 auto;
	padding: 6px 0;
	color: var(--wcwj-ink);
	font: 700 13px/1.2 var(--wcwj-sans);
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid var(--wcwj-mauve);
}
.wcwj-h-more:hover, .wcwj-h-more:focus-visible { color: var(--wcwj-dark); border-color: var(--wcwj-dark); }
.wcwj-h-center { margin: 36px 0 0; text-align: center; }

.wcwj-h-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	border: 2px solid var(--wcwj-dark);
	border-radius: 999px;
	background: var(--wcwj-dark);
	color: #fff !important;
	font: 700 13px/1.2 var(--wcwj-sans);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.wcwj-h-btn:hover, .wcwj-h-btn:focus-visible { background: var(--wcwj-ink); border-color: var(--wcwj-ink); color: #fff !important; }
.wcwj-h-btn--ghost { background: transparent; color: var(--wcwj-dark) !important; }
.wcwj-h-btn--ghost:hover, .wcwj-h-btn--ghost:focus-visible { background: var(--wcwj-dark); border-color: var(--wcwj-dark); }

/* Recipe grid: 4 columns desktop, 2 on phones; consistent 3:4 images */
.wcwj-h-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.wcwj-h-grid .wcwj-card { text-align: left; }
.wcwj-h-grid .wcwj-card__media { aspect-ratio: 3 / 4; border-radius: var(--wcwj-h-radius); }
.wcwj-h-grid .wcwj-card__body { padding-top: 14px; }
.wcwj-h-grid .wcwj-card__cat {
	display: inline-block;
	margin: 0 0 6px;
	padding: 0;
	background: none;
	color: var(--wcwj-dark);
	font: 700 11px/1.3 var(--wcwj-sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
}
.wcwj-h-grid .wcwj-card__cat:hover { color: var(--wcwj-ink); text-decoration: underline; }
.wcwj-layout .wcwj-h-grid .wcwj-card__title { font: 700 20px/1.25 var(--wcwj-serif); }
.wcwj-h-grid .wcwj-card__title a { text-decoration: none; }
.wcwj-h-grid .wcwj-card__title a:hover { text-decoration: underline; text-decoration-color: var(--wcwj-mauve); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.wcwj-h-hero { padding: 56px 0 64px; background: var(--wcwj-h-cream); }
.wcwj-h-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 56px; }
.wcwj-h-hero__inner--text { grid-template-columns: minmax(0, 720px); justify-content: center; text-align: center; }
.wcwj-h-hero .wcwj-h-kicker { font-size: 30px; }
.wcwj-layout .wcwj-h-hero__title {
	margin: 0 0 18px;
	font: 700 54px/1.05 var(--wcwj-serif);
	color: var(--wcwj-ink);
	letter-spacing: -.02em;
	text-wrap: balance;
}
.wcwj-h-hero__lead { max-width: 34em; margin: 0 0 28px; font-size: 19px; line-height: 1.6; color: var(--wcwj-text); }
.wcwj-h-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.wcwj-h-hero__inner--text .wcwj-h-hero__actions { justify-content: center; }
.wcwj-h-link {
	color: var(--wcwj-ink);
	font: 700 14px/1.2 var(--wcwj-sans);
	text-decoration: underline;
	text-decoration-color: var(--wcwj-mauve);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}
.wcwj-h-link:hover { color: var(--wcwj-dark); }

.wcwj-h-hero__media { position: relative; display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 18px; }
.wcwj-h-hero__media--1 { grid-template-columns: 1fr; max-width: 460px; justify-self: center; }
.wcwj-h-hero__fig { position: relative; margin: 0; }
.wcwj-h-hero__fig a { display: block; color: var(--wcwj-ink); text-decoration: none; }
.wcwj-h-hero__fig img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--wcwj-h-radius);
	background: var(--wcwj-tint);
	box-shadow: 0 18px 40px -22px rgba(46, 50, 50, .45);
}
.wcwj-h-hero__fig--2 { margin-bottom: 44px; }
.wcwj-h-hero__fig--2 img { aspect-ratio: 3 / 4; }
.wcwj-h-hero__fig figcaption {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 12px;
	padding: 10px 14px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .94);
	line-height: 1.25;
}
.wcwj-h-hero__cat { display: block; margin-bottom: 3px; color: var(--wcwj-dark); font: 700 10px/1.2 var(--wcwj-sans); letter-spacing: .14em; text-transform: uppercase; }
.wcwj-h-hero__name { display: block; font: 700 16px/1.25 var(--wcwj-serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wcwj-h-hero__fig a:hover .wcwj-h-hero__name { text-decoration: underline; text-decoration-color: var(--wcwj-mauve); }

/* ---------- Categories ---------- */
.wcwj-h-cats { padding-bottom: 24px; }
.wcwj-h-cats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.wcwj-h-cats__list--1 { grid-template-columns: minmax(0, 360px); }
.wcwj-h-cats__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wcwj-h-cats__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wcwj-h-cats__list li { margin: 0; padding: 0; }
.wcwj-h-cat { display: block; color: var(--wcwj-ink); text-decoration: none; text-align: center; }
.wcwj-h-cat__media { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--wcwj-h-radius); background: var(--wcwj-tint); }
.wcwj-h-cat__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wcwj-h-cat__name { display: block; margin-top: 14px; font: 700 24px/1.2 var(--wcwj-serif); }
.wcwj-h-cat__cta { display: block; margin-top: 4px; color: var(--wcwj-dark); font: 700 12px/1.3 var(--wcwj-sans); letter-spacing: .12em; text-transform: uppercase; }
.wcwj-h-cat:hover .wcwj-h-cat__name, .wcwj-h-cat:focus-visible .wcwj-h-cat__name { text-decoration: underline; text-decoration-color: var(--wcwj-mauve); text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) {
	.wcwj-h-cat:hover .wcwj-h-cat__media img { transform: scale(1.04); }
}

/* ---------- Latest / collections ---------- */
.wcwj-h-latest { scroll-margin-top: 20px; }
.wcwj-h-pagination { justify-content: center; margin-top: 44px; }
.wcwj-h-col--tint { background: var(--wcwj-h-cream); }

/* ---------- Welcome ---------- */
.wcwj-h-welcome { padding-top: 24px; }
.wcwj-h-welcome__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: center;
	gap: 48px;
	padding: 48px 52px;
	border-radius: var(--wcwj-h-radius);
	background: var(--wcwj-pale);
}
.wcwj-h-welcome__text p { margin: 14px 0 0; }
.wcwj-h-welcome__text .wcwj-h-kicker { margin: 0 0 4px; }
.wcwj-h-welcome__text .wcwj-h-btn { margin-top: 8px; }
.wcwj-h-welcome__label { margin: 0 0 10px; font: 700 20px/1.3 var(--wcwj-serif); color: var(--wcwj-ink); }
.wcwj-h-search { display: flex; height: 52px; background: #fff; border-radius: 999px; overflow: hidden; box-shadow: 0 0 0 1px rgba(46, 50, 50, .12); }
.wcwj-h-search:focus-within { box-shadow: 0 0 0 2px var(--wcwj-dark); }
.wcwj-layout .wcwj-h-search input[type="search"] {
	flex: 1 1 auto; min-width: 0; height: 52px; margin: 0; padding: 0 0 0 22px;
	border: 0 !important; border-radius: 0 !important; background: transparent; box-shadow: none !important; outline: 0;
	font: 400 16px/1 var(--wcwj-sans); color: var(--wcwj-ink);
}
.wcwj-layout .wcwj-h-search input::placeholder { color: #6f7372; opacity: 1; }
.wcwj-layout .wcwj-h-search button {
	display: flex; align-items: center; justify-content: center; flex: 0 0 56px; width: 56px; height: 52px; margin: 0; padding: 0;
	border: 0; border-radius: 0; background: transparent; color: var(--wcwj-ink); cursor: pointer;
}
.wcwj-layout .wcwj-h-search button:hover { background: var(--wcwj-tint); color: var(--wcwj-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.wcwj-h-section { padding: 52px 0; }
	.wcwj-h-hero { padding: 44px 0 52px; }
	.wcwj-h-hero__inner { gap: 36px; }
	.wcwj-layout .wcwj-h-hero__title { font-size: 42px; }
	.wcwj-h-hero__lead { font-size: 17px; }
	.wcwj-h-grid { gap: 32px 20px; }
	.wcwj-layout .wcwj-h-grid .wcwj-card__title { font-size: 18px; }
	.wcwj-h-cats__list { gap: 20px; }
	.wcwj-h-cat__name { font-size: 21px; }
	.wcwj-h-welcome__inner { gap: 32px; padding: 40px; }
}
@media (max-width: 767px) {
	.wcwj-h-section { padding: 40px 0; }
	.wcwj-h-kicker { font-size: 22px; }
	.wcwj-layout .wcwj-h-title { font-size: 26px; }
	.wcwj-h-head { margin-bottom: 20px; padding-bottom: 10px; }
	.wcwj-h-more { font-size: 12px; }

	.wcwj-h-hero { padding: 28px 0 36px; }
	.wcwj-h-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
	.wcwj-h-hero .wcwj-h-kicker { font-size: 24px; }
	.wcwj-layout .wcwj-h-hero__title { margin-bottom: 12px; font-size: 34px; line-height: 1.08; }
	.wcwj-h-hero__lead { margin-bottom: 22px; font-size: 16.5px; }
	.wcwj-h-hero__actions { gap: 14px 20px; }
	.wcwj-h-hero__media { gap: 12px; }
	.wcwj-h-hero__fig--2 { margin-bottom: 28px; }
	.wcwj-h-hero__fig figcaption { left: 8px; right: 8px; bottom: 8px; padding: 7px 9px; }
	.wcwj-h-hero__cat { font-size: 9px; }
	.wcwj-h-hero__name { font-size: 13px; }

	.wcwj-h-cats { padding-bottom: 8px; }
	.wcwj-h-cats__list, .wcwj-h-cats__list--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.wcwj-h-cat__media { aspect-ratio: 1 / 1; }
	.wcwj-h-cat__name { margin-top: 8px; font-size: 15px; line-height: 1.2; }
	.wcwj-h-cat__cta { display: none; }

	.wcwj-h-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
	.wcwj-h-grid .wcwj-card__body { padding-top: 10px; }
	.wcwj-h-grid .wcwj-card__cat { font-size: 10px; margin-bottom: 4px; }
	.wcwj-layout .wcwj-h-grid .wcwj-card__title { font-size: 16.5px; line-height: 1.25; }
	.wcwj-h-center { margin-top: 28px; }

	.wcwj-h-welcome { padding-top: 8px; }
	.wcwj-h-welcome__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 30px 22px; }
	.wcwj-h-welcome__text { font-size: 16.5px; line-height: 1.6; }
}
