/**
 * Custom Header Styles
 */

/* Fixed header: slides up when scrolling down, returns when scrolling up (see header.js) */
.site-header-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	max-height: 160px;
	box-sizing: border-box;
	/* Figma header: flat bar, no drop shadow */
	box-shadow: none;
	transform: translateY(0);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

body.site-header-hidden .site-header-wrapper {
	transform: translateY(-100%);
}

/*
 * Mega dropdown + header search panels live inside the header; children cannot stack above
 * siblings of the header (e.g. .sticky-search__fab at 10070). Lift the whole header while open.
 */
body.mtt-primary-menu-dropdown-open .site-header-wrapper,
body.mtt-header-search-dropdown-open .site-header-wrapper {
	z-index: 10090;
}

@media (prefers-reduced-motion: reduce) {
	.site-header-wrapper,
	.site-inner {
		transition: none;
	}

	.site-header__menu-toggle-bar {
		transition: none;
	}
}

/*
 * Main content offset for fixed header — on .site-inner so it wins over main.css body { padding } resets.
 * --header-height is set on :root by assets/js/header.js.
 */
.site-inner {
	padding-top: var(--header-height, 160px);
	transition: padding-top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Banner + wave: bar is 60px tall; wave is laid out at 90px height (same stretch as min-height: 90px bar) then clipped */
.header-banner-strip {
	position: relative;
	z-index: 2;
	display: flow-root;
	margin: 0 0 -10px;
	overflow: hidden;
}

.header-banner-bar {
	position: relative;
	z-index: 1;
	width: 100%;
	background-color: transparent;
	color: #5e4234;
	padding: 6px 0;
	box-sizing: border-box;
	min-height: 60px;
	font-size: 14px;
	display: flex;
	align-items: center;
}
.header-banner-bar p {
	margin:0;
}
.header-banner-bar a {
	text-decoration: none;
}
.header-banner-container {
	width: 95%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 0;
}

.banner-left,
.banner-center {
	flex: 1;
}

.banner-left {
	display: flex;
	gap: 0;
	align-items: center;
	font-family: "TT Norms Pro Condensed";
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	padding-bottom: 4px;
}
.banner-right {
	display: flex;
	align-items: center;
	gap: 24px;
	justify-content: flex-end;
	padding-bottom: 4px;
}

/* Figma 998:3849 — top bar: “My Substack” + socials, TT Norms Pro Condensed DemiBold 16 / 24 */
.nav-top .main-menu,
.nav-top .top-bar {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.nav-top .main-menu a,
.nav-top .top-bar a {
	font-family: var(--wp--preset--font-family--tt-norms-pro-cond), "TT Norms Pro Condensed", sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: #5e4234;
	text-decoration: none;
	letter-spacing: 0;
}

.nav-top .main-menu a:hover,
.nav-top .main-menu a:focus,
.nav-top .top-bar a:hover,
.nav-top .top-bar a:focus {
	text-decoration: underline;
}
.banner-right ul {
		margin: 0;
			padding: 0;
			list-style: none;
}

/* Social Links in Banner */
.social-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 12px;
	align-items: center;
}

.social-links li {
	margin: 0;
	padding: 0;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}

.social-links a:hover {
	opacity: 0.7;
}

.social-links svg {
	display: block;
}

/* Font Awesome: weight must match @font-face (brands 400, solid 900) or icons render blank. */
.social-links a i.fa-brands {
	display: inline-block;
	font-size: 14px;
	line-height: 1;
	color: #5e4234;
	font-style: normal;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

.social-links a i.fa-solid,
.social-links a i.fa-regular {
	display: inline-block;
	font-size: 14px;
	line-height: 1;
	color: #5e4234;
	font-style: normal;
	font-weight: 900;
	-webkit-font-smoothing: antialiased;
}

.social-links a i.fa-regular {
	font-weight: 400;
}

.banner-center {
	text-align: center;
}

/*
 * Wave: render at 90px tall (matches old full-fill when .header-banner-bar was min-height: 90px),
 * bottom-aligned so scallops sit on the strip edge; .header-banner-strip clips the top (60px bar only).
 */
.header-banner-wave {
	display: block;
	margin: 0;
	padding: 0;
	line-height: 0;
	position: absolute;
	left: 0;
	right: 0;
	top: auto;
	bottom: 0;
	height: 90px;
	z-index: 0;
	background-color: transparent;
	pointer-events: none;
}

.header-banner-wave__img {
	display: block;
	width: 100%;
	height: 90px;
	min-height: 90px;
	/* cover + design-time aspect: keeps scallop spacing on narrow viewports (no horizontal squash) */
	object-fit: cover;
	object-position: bottom center;
	vertical-align: top;
}

/* Search — Figma 998:3849: “Search” label + 14px icon, TT Norms Pro Bold 13, tracking ~1.95px */
.search-toggle {
	background: none;
	border: none;
	color: #5e4234;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	font-family: var(--wp--preset--font-family--tt-norms-pro), "TT Norms Pro", sans-serif;
	font-weight: 700;
	font-size: 13px;
	line-height: 28px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.search-toggle__label {
	display: inline-block;
}

.search-toggle__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.search-toggle__icon--desktop {
	width: 14px;
	height: 14px;
}

.search-toggle__icon--mobile {
	display: none;
	width: 38px;
	height: 38px;
}

.search-toggle__icon--desktop svg {
	display: block;
	width: 14px;
	height: 14px;
}

.search-toggle__icon--mobile svg {
	display: block;
	width: 38px;
	height: 38px;
}

.search-toggle:hover,
.search-toggle:focus-visible {
	opacity: 0.85;
	color: #5e4234;
}

/* Search lives in .nav-right; wrapper keeps toggle + dropdown grouped */
.header-search {
	position: relative;
	display: flex;
	align-items: center;
}

/* Search Dropdown - Full Width Mega Style */
.search-dropdown {
	position: fixed;
	top: var(--header-height, 160px);
	left: 0;
	right: 0;
	width: 100%;
	background: #FFFBEB;
	border-top: none;
	box-shadow: none;
	padding: 30px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	z-index: 998;
	max-height: calc(100vh - var(--header-height, 160px));
	overflow-y: auto;
}

/* Center search content */
.search-dropdown > * {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/*
 * Core Search block in header dropdown — prompt + underline; label/input typography only.
 * Submit button uses core / theme defaults (no overrides here).
 */
.search-dropdown .wp-block-search {
	margin: 0 auto;
	max-width:1190px;
}

.search-dropdown .wp-block-search__form {
	display: flex;
	flex-flow: row wrap;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 12px clamp(16px, 3vw, 32px);
	max-width: 100%;
}

/* One row: prompt (label) | underlined field | pill — when label is visible */
.search-dropdown .wp-block-search__form:has(> .wp-block-search__label:not(.screen-reader-text)) {
	display: grid;
	grid-template-columns: auto minmax(120px, 1fr) auto;
	align-items: flex-end;
	column-gap: clamp(12px, 2.5vw, 24px);
	row-gap: 0;
}

.search-dropdown .wp-block-search__form.wp-block-search__button-inside:has(> .wp-block-search__label:not(.screen-reader-text)) {
	grid-template-columns: auto minmax(0, 1fr);
}
.wp-block-search__button:hover {
	color:#FFFBEB!important;
	background:#5e4234!important;
}
.search-dropdown .wp-block-search__label:not(.screen-reader-text) {
	flex: 1 0 100%;
	margin: 0 0 2px;
	padding: 0;
	font-family: var(--wp--preset--font-family--tt-norms-pro-cond), "TT Norms Pro Condensed", sans-serif;
	font-size: 28px;
	font-style: normal;
	font-weight: 600;
	line-height: 100%;
	color: #5e4234;
}

.search-dropdown .wp-block-search__form:has(> .wp-block-search__label:not(.screen-reader-text)) .wp-block-search__label:not(.screen-reader-text) {
	flex: unset;
	margin: 0 0 6px;
	grid-column: 1;
	grid-row: 1;
}

.search-dropdown .wp-block-search__inside-wrapper {
	flex: 1 1 240px;
	min-width: min(100%, 180px);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 2px 6px 0;
	margin: 0;
	background: transparent;
	box-shadow: none;
}

.search-dropdown .wp-block-search__form:has(> .wp-block-search__label:not(.screen-reader-text)) .wp-block-search__inside-wrapper {
	flex: unset;
	grid-column: 2;
	grid-row: 1;
	min-width: 0;
}

.search-dropdown .wp-block-search__button-outside .wp-block-search__inside-wrapper {
	/* underline sits on the field row only */
	margin-top: 0;
}

.search-dropdown .wp-block-search__input {
	-webkit-appearance: none;
	appearance: none;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--wp--preset--font-family--tt-norms-pro-cond), "TT Norms Pro Condensed", sans-serif;
	font-size: 28px;
	font-style: normal;
	font-weight: 600;
	line-height: 100%;
	color: #5e4234;
	border-bottom: 2px solid #5e4234;
	height:70px;
}

.search-dropdown .wp-block-search__input::placeholder {
	font-family: var(--wp--preset--font-family--tt-norms-pro-cond), "TT Norms Pro Condensed", sans-serif;
	font-size: 28px;
	font-style: normal;
	font-weight: 600;
	line-height: 100%;
	color: #5e4234;
	opacity: 1;
}

.search-dropdown .wp-block-search__input:focus {
	outline: none;
}

/* Button-inside: keep one underline bar on the field row */
.search-dropdown .wp-block-search__button-inside .wp-block-search__inside-wrapper {
	padding-bottom: 6px;
}

.search-dropdown.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Backdrop overlay when search is open */
.search-toggle[aria-expanded="true"]::before {
	content: '';
	position: fixed;
	top: var(--header-height, 160px);
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(94, 66, 52, 0.35);
	z-index: 997;
	pointer-events: none;
}

/* Main navigation row — kept within site header max-height 160px (with banner strip + wave overlap) */
.main-navigation-bar {
	background-color: #fffbeb;
	padding: 10px 0 1px;
	position: relative;
	z-index: 1;
}
.yellow-blog .main-navigation-bar {
	background: #FFF8D2;
}

.main-navigation-bar .site-title {
	color: #FFFBEB;
}



.main-nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-height: 88px;
	box-sizing: border-box;
	width: 95%;
}

/* Hamburger: hidden on ≥1030px viewports; shown in @media (max-width: 1029px) */
.site-header__menu-toggle {
	display: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: #5e4234;
	line-height: 0;
	align-items: center;
	justify-content: center;
}

.site-header__menu-toggle:focus-visible {
	outline: 2px solid #5e4234;
	outline-offset: 3px;
}

.site-header__menu-toggle-icon {
	position: relative;
	display: block;
	width: 24px;
	height: 18px;
	flex-shrink: 0;
}

.site-header__menu-toggle-bar {
	position: absolute;
	left: 0;
	display: block;
	width: 100%;
	height: 1.5px;
	background-color: #5e4234;
	border-radius: 1px;
	transform-origin: center;
	transition:
		transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.25s ease,
		top 0.3s cubic-bezier(0.4, 0, 0.2, 1),
		bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__menu-toggle-bar:nth-child(1) {
	top: 0;
}

.site-header__menu-toggle-bar:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.site-header__menu-toggle-bar:nth-child(3) {
	bottom: 0;
}

/* Hamburger → X when mobile flyout is open */
body.mtt-mobile-nav-open .site-header__menu-toggle-bar:nth-child(1) {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%) rotate(45deg);
}

body.mtt-mobile-nav-open .site-header__menu-toggle-bar:nth-child(2) {
	opacity: 0;
	transform: translateY(-50%) scaleX(0);
}

body.mtt-mobile-nav-open .site-header__menu-toggle-bar:nth-child(3) {
	top: 50%;
	bottom: auto;
	transform: translateY(-50%) rotate(-45deg);
}

/* Figma: primary links centered as a group; logo left, utilities right */
.nav-center {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
}

.nav-left,
.nav-right {
	flex: 1;
}

.nav-left {
	display: flex;
	justify-content: flex-start;
}

.nav-right {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 30px;
	position: relative;
}

/* Site Logo — Figma Logo_Main ~275×47 aspect */
.site-logo {
	flex-shrink: 0;
	max-width: 275px;
	width: 100%;
}

.site-logo a {
	display: block;
	text-decoration: none;
	line-height: 0;
}

.logo-img {
	width: 100%;
	max-width: 200px;
	height: auto;
	object-fit: contain;
	display: block;
	image-rendering: -webkit-optimize-contrast;
	-ms-interpolation-mode: bicubic;
}

.site-title {
	font-family: var(--wp--preset--font-family--tt-norms-pro-cond);
	font-weight: 600;
	font-size: 28px;
	color: inherit;
	margin: 0;
}

/* Primary Menus — Figma 998:3849: TT Norms Pro Bold 13px, line-height 34, tracking 1.95px */
.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 30px;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.primary-menu li {
	position: relative;
	margin: 0;
	padding: 0;
}

.primary-menu a {
	color: #5e4234;
	text-decoration: none;
	font-size: 13px;
	font-family: var(--wp--preset--font-family--tt-norms-pro), "TT Norms Pro", sans-serif;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 1.95px;
	text-transform: uppercase;
	transition: opacity 0.2s ease, color 0.2s ease;
	display: block;
	padding: 0;
}

/* First primary link in Figma is 14px (e.g. “all recipes”) */
.nav-center .primary-menu > li:first-child > a {
	font-size: 14px;
	letter-spacing: 1.96px;
}

.primary-menu a:hover,
.primary-menu a:focus {
	color: #5e4234;
	text-decoration: underline;
	opacity: 0.9;
}

/* Figma “merlot” for Contact (primary-right menu) */
.nav-right .right-menu a[href*="contact"] {
	color: #3c1e21;
}

.nav-right .right-menu a {
	letter-spacing: 1.95px;
}

/* Dropdown Menus with Block Areas - Full Width Mega Menu Style */
.primary-menu .menu-item-has-children {
	position: static;
}

/* Dropdown indicator: FA solid sort-down (fa-sort-down / \f0dd) */
.primary-menu .menu-item-has-children > a::after {
	content: '\f0dd';
	font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
	font-weight: 900;
	font-size: 12px;
	line-height: 1;
	display: inline-block;
	margin-left: 0.25em;
	vertical-align: middle;
	border: none;
	width: auto;
	height: auto;
	transition: transform 0.3s ease;
	-webkit-font-smoothing: antialiased;
	padding-bottom: 10px;
	margin-left: 6px;
}

.primary-menu .menu-item-has-children:hover > a::after,
.primary-menu .menu-item-has-children:focus-within > a::after {
	transform: rotate(180deg);
}

.primary-menu .sub-menu {
	position: fixed;
	top: var(--header-height, 160px);
	left: 0;
	right: 0;
	width: 100%;
	background: #FFFBEB;
	box-shadow: 0 4px 12px rgba(94, 66, 52, 0.15);
	border-top: 1px solid #D1E7FF;
	padding: 30px 0;
	list-style: none;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	z-index: 998;
	max-height: calc(100vh - var(--header-height, 160px));
	overflow-y: auto;
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Center submenu content */
.primary-menu .sub-menu > li {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.primary-menu .sub-menu li {
	margin: 0;
	padding: 0;
}

.primary-menu .sub-menu a {
	color: #5E4234;
	padding: 12px 20px;
	display: block;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.primary-menu .sub-menu a:hover {
	background-color: #FFF8D2;
	opacity: 1;
}

/* Row that only holds block area / description (no nested link) */
.primary-menu .sub-menu > li.menu-item-block-area-item {
	list-style: none;
	width: 100%;
	max-width: 1400px;
}

/* Block Area in Full-Width Dropdowns */
.primary-menu .sub-menu .block-area,
.primary-menu .sub-menu .menu-block-area {
	padding: 20px 0;
	border-top: 1px solid #D1E7FF;
	margin-top: 15px;
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.primary-menu .sub-menu .menu-block-area {
	padding: 20px;
}
.block-area-recipes-dropdown .wp-block-column p {
	margin: 0!important;
}
.block-area-recipes-dropdown .wp-block-column p strong {
	font-family: "TT Norms Pro";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.96px;
    text-transform: uppercase;
}
.block-area-recipes-dropdown .wp-block-column ul {
	padding:0;
	margin: 5px 0 0;
}
.block-area-recipes-dropdown .wp-block-column ul li {
	list-style:none;
	padding:0 0 5px;
	margin:0;
}
.block-area-recipes-dropdown .wp-block-column ul li a {
	font-family: "TT Norms Pro";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 160%; /* 25.6px */
	text-decoration:none;
}
.primary-menu .sub-menu .menu-block-area p:last-child {
	margin-bottom: 0;
}

/* Menu Description with Shortcodes */
.primary-menu .sub-menu .menu-description {
	border-top: 1px solid #D1E7FF;
	margin-top: 15px;
	padding-top: 20px;
}

.primary-menu .sub-menu li:first-child .menu-description {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}

/* Block Area slot mega dropdowns (no .sub-menu markup; panels live in #mtt-primary-menu-dropdowns) */
.mtt-primary-menu-dropdowns {
	position: static;
}

.mtt-primary-menu-dropdown {
	position: fixed;
	top: var(--header-height, 160px);
	left: 0;
	right: 0;
	width: 100%;
	background: #FFFBEB;
	padding: 30px 0px;
	margin: 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	/* Above .sticky-search__fab (10070) */
	z-index: 10080;
	max-height: calc(100vh - var(--header-height, 160px));
	overflow-y: auto;
	pointer-events: none;
}

.mtt-primary-menu-dropdown.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.mtt-primary-menu-dropdown .block-area,
.mtt-primary-menu-dropdown .menu-block-area {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding: 20px 0;
}
.mtt-primary-menu-dropdown .block-area .wp-block-columns {
	max-width:1190px;
	margin: 0 auto;
}

/* -------------------------------------------------------------------------
   Viewports under 1030px: mobile bar (hamburger + centered logo + Figma search) + flyout
   ------------------------------------------------------------------------- */
@media (max-width: 1029px) {
	.header-banner-container {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 0;
	}

	.banner-left {
		flex: 1 1 auto;
		width: 100%;
		text-align: center;
		justify-content: center;
	}

	.banner-right {
		display: none;
	}

	.main-nav-container {
		display: grid;
		grid-template-columns: auto 1fr auto;
		align-items: center;
		gap: 12px 16px;
		min-height: 72px;
	}

	.site-header__menu-toggle {
		display: inline-flex;
		grid-column: 1;
		grid-row: 1;
	}

	.site-logo {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		margin: 0;
		text-align: center;
	}

	.nav-center {
		display: none;
	}

	.nav-right {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		flex: 0 0 auto;
		width: auto;
		min-width: 0;
	}

	.nav-right .right-menu {
		display: none;
	}

	.logo-img {
		max-width: 160px;
		width: auto;
		margin: 0 auto;
	}

	/* Header search: Figma scalloped control (inline SVG) */
	.search-toggle {
		gap: 0;
		position: relative;
		width: 38px;
		height: 38px;
		min-width: 38px;
		min-height: 38px;
		align-items: center;
		justify-content: center;
		letter-spacing: 0;
	}

	.search-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.search-toggle__icon--desktop {
		display: none;
	}

	.search-toggle__icon--mobile {
		display: inline-flex;
	}

	/* Flyout: below fixed header so bar (hamburger / logo / search) stays tappable; shell is a sibling of header */
	body.mtt-mobile-nav-open .site-header-wrapper {
		z-index: 10090;
	}

	.site-mobile-menu {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		z-index: 10050;
		pointer-events: none;
	}

	.site-mobile-menu:not([hidden]) {
		pointer-events: auto;
	}

	.site-mobile-menu__backdrop {
		position: absolute;
		top: var(--header-height, 160px);
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(94, 66, 52, 0.45);
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.site-mobile-menu:not([hidden]) .site-mobile-menu__backdrop {
		opacity: 1;
	}

	.site-mobile-menu__panel {
		position: absolute;
		top: var(--header-height, 160px);
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: 100%;
		background: #fffbeb;
		box-shadow: 0 4px 24px rgba(94, 66, 52, 0.12);
		display: flex;
		flex-direction: column;
		overflow: hidden;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
	}

	.site-mobile-menu:not([hidden]) .site-mobile-menu__panel {
		transform: translateX(0);
	}

	/* Closing: keep shell visible briefly so slide + backdrop can transition (JS adds --is-closing before [hidden]) */
	.site-mobile-menu:not([hidden]).site-mobile-menu--is-closing .site-mobile-menu__backdrop {
		opacity: 0;
	}

	.site-mobile-menu:not([hidden]).site-mobile-menu--is-closing .site-mobile-menu__panel {
		transform: translateX(-100%);
	}

	.site-mobile-menu__inner {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		padding: 16px 20px 32px;
		-webkit-overflow-scrolling: touch;
	}

	.site-mobile-menu__recipes {
		margin: 0 0 20px;
		padding: 0;
		height: 230px;
	}
	.mtt-primary-menu-dropdown .block-area, .mtt-primary-menu-dropdown .menu-block-area {
		text-align:left;
		text-transform:capitalize;
	}
	.block-area-recipes-dropdown .wp-block-column ul li a {
		text-transform:capitalize;
		font-family: "TT Norms Pro";
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 160%;
		letter-spacing:0;
		text-align: left;
	}

	.mtt-primary-menu-dropdown--in-drawer .block-area-recipes-dropdown .wp-block-column:last-child {
		display:none;
	}
	.site-mobile-menu__nav--primary,
	.site-mobile-menu__nav--right {
		margin: 0;
		padding: 0;
	}

	.site-mobile-menu__nav--right {
		margin-bottom: 0;
	}

	.site-mobile-menu__banner-right {
		padding-top: 8px;
		display: flex;
		align-items: center;
		gap: 14px;
	}
	.nav-top .main-menu a, .nav-top .top-bar a {
	    letter-spacing: 0.02rem;
	    font-family: "TT Norms Pro Condensed";
	    font-size: 24px;
	    font-style: normal;
	    font-weight: 600;
	    line-height: normal;
	    text-transform: capitalize;
	}
	.social-links a i.fa-brands {
		font-size:16px;
		text-decoration:none;
	}
	.social-links a  {
		text-decoration:none;
	}
	.site-mobile-menu__banner-right .nav-top {
		margin: 0;
	}

	.site-mobile-menu__banner-right .top-bar,
	.site-mobile-menu__banner-right .main-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.primary-menu--mobile {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.primary-menu--mobile > li {
		width: 100%;
	}

	.primary-menu--mobile > li > a {
		padding: 14px 0;
		font-size: 15px;
		line-height: 1.3;
		text-align: left;
		letter-spacing: 0.02rem;
		font-family: "TT Norms Pro Condensed";
		font-size: 24px;
		font-style: normal;
		font-weight: 600;
		line-height: normal;
		text-transform: capitalize;
	}

	.primary-menu--mobile .menu-item-has-children {
		position: relative;
	}

	.primary-menu--mobile .menu-item-has-children > a::after {
		display: none;
	}

	/* Mega slot row: top-level link + chevron (not the whole row as one control) */
	.mtt-mobile-menu__slot-row {
		display: flex;
		align-items: center;
		gap: 8px;
		width: 100%;
		min-height: 48px;
	}

	.primary-menu--mobile .mtt-mobile-menu__slot-link {
		flex: 1 1 auto;
		min-width: 0;
		padding: 14px 0;
		margin: 0;
		color: #5e4234;
		text-decoration: none;
		text-align: left;
		letter-spacing: 0.02rem;
		text-transform: capitalize;
		font-family: "TT Norms Pro Condensed";
		font-size: 24px;
		font-style: normal;
		font-weight: 600;
		line-height: normal;
	}

	.mtt-mobile-menu__slot-toggle {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		margin: 0;
		padding: 0;
		border: none;
		background: transparent;
		color: #5e4234;
		cursor: pointer;
		border-radius: 4px;
	}

	.mtt-mobile-menu__slot-toggle:hover,
	.mtt-mobile-menu__slot-toggle:focus-visible {
		opacity: 0.85;
	}

	.mtt-mobile-menu__slot-toggle:focus-visible {
		outline: 2px solid #5e4234;
		outline-offset: 2px;
	}

	.mtt-mobile-menu__slot-chevron {
		display: inline-block;
		line-height: 1;
		transition: transform 0.25s ease;
	}

	.mtt-mobile-menu__slot-chevron::before {
		content: '\f0d7';
		font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
		font-weight: 900;
		font-size: 14px;
		-webkit-font-smoothing: antialiased;
	}

	.mtt-mobile-menu__slot-toggle[aria-expanded="true"] .mtt-mobile-menu__slot-chevron {
		transform: rotate(180deg);
	}

	/* Slot accordion host (injected or adjacent in DOM) */
	.mtt-mobile-menu__slot-content {
		padding: 0 0 12px 4px;
	}

	.mtt-mobile-menu__slot-content[hidden] {
		display: none;
	}

	body.mtt-mobile-nav-open {
		overflow: hidden;
	}

	/* Sticky search FAB: avoid clashing with header search control */
	.sticky-search__fab {
		display: none;
	}

	/* Mega slot panel reparented into mobile flyout (see header.js) */
	.mtt-primary-menu-dropdown.mtt-primary-menu-dropdown--in-drawer {
		position: static;
		left: auto;
		right: auto;
		top: auto;
		width: 100%;
		max-width: 100%;
		max-height: none;
		margin: 0;
		padding: 12px 0 8px;
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
		box-shadow: none;
		border: none;
		z-index: auto;
		overflow: visible;
	}
}

/* Responsive Styles */
@media (max-width: 768px) {
	.site-inner {
		padding-top: var(--header-height, 160px);
	}
	
	.header-banner-container {
		flex-direction: column;
		gap: 10px;
	}
	
	.banner-left,
	.banner-center {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
	
	.primary-menu {
		gap: 0;
	}
	
	.primary-menu a {
		font-size: 14px;
	}
	
	/* Keep search dropdown full width on mobile */
	.search-dropdown {
		padding: 20px 0;
	}
	
	.search-dropdown > * {
		padding: 0 15px;
	}
	
	/* Mobile mega menu adjustments */
	.primary-menu .sub-menu {
		padding: 15px 0;
	}
	
	.primary-menu .sub-menu > li {
		padding: 0 10px;
	}
	
	.primary-menu .sub-menu .menu-block-area {
		padding: 15px 10px;
	}

}

@media (max-width: 480px) {
	.primary-menu {
		flex-direction: column;
		gap: 0;
		width: 100%;
	}
	
	.primary-menu li {
		width: 100%;
		text-align: center;
	}
	
	/* Keep mega menu full-width on mobile */
	.primary-menu .sub-menu {
		position: fixed;
		padding: 20px 10px;
	}
	
	.primary-menu .sub-menu > li {
		padding: 0 10px;
	}
	
}

/* -------------------------------------------------------------------------
   Sticky search (floating badge + centred modal — matches site credits popup)
   ------------------------------------------------------------------------- */
.sticky-search__fab {
	/* top set in JS so it can transition smoothly with the auto-hide header */
	position: fixed;
	top: calc(var(--header-height, 160px) + 10px);
	right: 31px;
	z-index: 10070;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	line-height: 0;
	transition:
		top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.2s ease,
		filter 0.2s ease;
}

.sticky-search__fab:hover {
	transform: scale(1.04);
	filter: brightness(1.02);
}

.sticky-search__fab:focus-visible {
	outline: 3px solid #5e4234;
	outline-offset: 4px;
	border-radius: 8px;
}

.sticky-search__fab .sticky-search__fab-img {
	display: block;
	width: 103px;
	height: auto;
}

/* Modal shell + panel: .site-footer__credits-modal on #sticky-search-modal (see footer.css). */

@media (prefers-reduced-motion: reduce) {
	.sticky-search__fab {
		transition: none;
	}
}
@media (max-width:1170px) {
	.mtt-primary-menu-dropdown .block-area, .mtt-primary-menu-dropdown .menu-block-area {
		max-width:1000px;
		gap: 0;
	}
	.search-dropdown > * {
		max-width:1000px;
	}
}

@media (max-width: 768px) {
	.sticky-search__fab {
		right: 10px;
	}

	.sticky-search__fab .sticky-search__fab-img {
		width: 64px;
	}
}

/* -------------------------------------------------------------------------
   Nav: never use a full-viewport <li> ::before / :before overlay (mega is full
   width; Customizer or other CSS may reintroduce the old dim layer).
   ------------------------------------------------------------------------- */
.primary-menu .menu-item-has-children::before,
.primary-menu .menu-item-has-children:before,
.primary-menu .menu-item-has-children:hover::before,
.primary-menu .menu-item-has-children:hover:before,
.primary-menu .menu-item-has-children:focus-within::before,
.primary-menu .menu-item-has-children:focus-within:before {
	content: none !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

