/*
Theme Name: Dapur Belanja
Theme URI: https://grocerskitchen.com/
Description: Tema editorial ringan untuk panduan belanja pangan, penyimpanan bahan, perencanaan menu, dan dapur rumah Indonesia.
Version: 1.1.9
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: dapur-belanja
*/

:root {
	--paper: #f4efe3;
	--paper-deep: #e8dfcd;
	--surface: #fffdf7;
	--ink: #16251f;
	--ink-soft: #4f5d56;
	--leaf: #215740;
	--leaf-dark: #123d2c;
	--tomato: #c54f36;
	--sun: #e8b84f;
	--line: #cfc5b1;
	--white: #ffffff;
	--shadow: 0 18px 55px rgba( 22, 37, 31, 0.12 );
	--radius: 18px;
	--wrap: 1180px;
	--narrow: 780px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--leaf);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--tomato);
}

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

:focus-visible {
	outline: 3px solid var(--sun);
	outline-offset: 3px;
}

.wrap,
.wrap-wide,
.wrap-narrow {
	width: min( calc(100% - 40px), var(--wrap) );
	margin-inline: auto;
}

.wrap-wide {
	width: min( calc(100% - 40px), 1320px );
}

.wrap-narrow {
	width: min( calc(100% - 40px), var(--narrow) );
}

.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;
}

.screen-reader-text:focus,
.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--white);
	color: var(--ink);
	font-weight: 800;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.65em;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.025em;
}

h1 {
	font-size: clamp( 2.4rem, 6vw, 5.5rem );
}

h2 {
	font-size: clamp( 1.75rem, 3.5vw, 3rem );
}

h3 {
	font-size: clamp( 1.25rem, 2vw, 1.65rem );
}

p,
ul,
ol {
	margin: 0 0 1.25em;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--tomato);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.15em;
	line-height: 1.3;
	text-transform: uppercase;
}

.button,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 2px solid var(--leaf-dark);
	border-radius: 999px;
	background: var(--leaf-dark);
	color: var(--white);
	font-size: 0.92rem;
	font-weight: 850;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--tomato);
	border-color: var(--tomato);
	color: var(--white);
	transform: translateY( -2px );
}

.button-secondary {
	background: transparent;
	color: var(--leaf-dark);
}

.button-light {
	border-color: var(--surface);
	background: var(--surface);
	color: var(--leaf-dark);
}

.text-link {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-weight: 850;
}

.light-link {
	color: var(--surface);
}

.header-note {
	border-bottom: 1px solid rgba( 255, 255, 255, 0.17 );
	background: var(--leaf-dark);
	color: #e8f0eb;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.header-note .wrap {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-block: 8px;
}

.header-note a {
	color: inherit;
}

.site-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid var(--line);
	background: rgba( 255, 253, 247, 0.97 );
}

.header-inner {
	display: grid;
	grid-template-columns: minmax( 240px, 1fr ) auto auto;
	align-items: center;
	gap: 26px;
	min-height: 88px;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	color: var(--ink);
	text-decoration: none;
}

.brand-mark {
	width: 52px;
	height: 52px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px 6px 16px 6px;
	box-shadow: 4px 4px 0 var(--sun);
}

.brand-copy {
	display: grid;
	line-height: 1.15;
}

.brand-copy strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.18rem;
}

.brand-copy small {
	margin-top: 5px;
	color: var(--ink-soft);
	font-size: 0.69rem;
}

.primary-navigation .menu {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation li {
	position: relative;
}

.primary-navigation a {
	color: var(--ink);
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current-menu-ancestor > a {
	color: var(--tomato);
}

.primary-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 14px);
	left: -18px;
	min-width: 220px;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	box-shadow: var(--shadow);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY( -6px );
	transition: 160ms ease;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-navigation .sub-menu a {
	display: block;
	padding: 8px;
}

.header-library {
	padding: 9px 14px;
	border: 1px solid var(--leaf);
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 850;
	text-decoration: none;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--surface);
	color: var(--ink);
	font-weight: 800;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	content: "";
}

.menu-toggle-lines::before {
	transform: translateY( -6px );
}

.menu-toggle-lines::after {
	transform: translateY( 4px );
}

.kitchen-hero {
	position: relative;
	overflow: hidden;
	padding: clamp( 64px, 9vw, 126px ) 0;
	background:
		linear-gradient( 90deg, transparent 49.75%, rgba( 22, 37, 31, 0.07 ) 50%, transparent 50.25% ),
		linear-gradient( var(--paper-deep) 1px, transparent 1px ),
		var(--paper);
	background-size: 100% 100%, 100% 42px, auto;
}

.kitchen-hero::before {
	position: absolute;
	top: -110px;
	right: -80px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: var(--sun);
	content: "";
	opacity: 0.72;
}

.kitchen-hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax( 0, 1.15fr ) minmax( 330px, 0.85fr );
	align-items: center;
	gap: clamp( 42px, 8vw, 100px );
}

.kitchen-hero-copy h1 {
	max-width: 820px;
}

.hero-intro {
	max-width: 690px;
	color: var(--ink-soft);
	font-size: clamp( 1.05rem, 2vw, 1.28rem );
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 30px 0;
}

.hero-principles {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ink-soft);
	font-size: 0.82rem;
	font-weight: 750;
}

.hero-principles li::before {
	margin-right: 7px;
	color: var(--tomato);
	content: "●";
}

.hero-board {
	position: relative;
	padding: 28px;
	border: 1px solid var(--ink);
	border-radius: 8px 30px 8px 30px;
	background: var(--surface);
	box-shadow: 16px 16px 0 var(--leaf);
	transform: rotate( 1deg );
}

.hero-board::before {
	position: absolute;
	top: -14px;
	left: 50%;
	width: 112px;
	height: 28px;
	background: rgba( 232, 184, 79, 0.78 );
	content: "";
	transform: translateX( -50% ) rotate( -3deg );
}

.board-heading {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 18px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
}

.board-heading span {
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: var(--tomato);
	color: var(--white);
}

.board-list {
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.board-list li {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 0.92rem;
	font-weight: 750;
}

.board-list span {
	color: var(--tomato);
	font-variant-numeric: tabular-nums;
}

.board-feature {
	display: grid;
	grid-template-columns: 112px 1fr;
	gap: 14px;
	align-items: center;
	color: var(--ink);
	text-decoration: none;
}

.board-feature img {
	width: 112px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}

.board-feature span {
	display: grid;
	gap: 5px;
}

.board-feature small {
	color: var(--tomato);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.board-feature strong {
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.25;
}

.topic-paths {
	padding-block: clamp( 72px, 10vw, 126px );
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 38px;
}

.section-heading h2 {
	max-width: 760px;
	margin-bottom: 0;
}

.section-heading > p {
	max-width: 370px;
	margin-bottom: 0;
	color: var(--ink-soft);
}

.topic-grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	border-top: 1px solid var(--ink);
	border-left: 1px solid var(--ink);
}

.topic-grid a {
	display: grid;
	min-height: 240px;
	align-content: space-between;
	padding: 24px;
	border-right: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease;
}

.topic-grid a:nth-child( 2 ) {
	background: #e2ebde;
}

.topic-grid a:nth-child( 3 ) {
	background: #f4dfcf;
}

.topic-grid a:nth-child( 4 ) {
	background: #eee1ae;
}

.topic-grid a:hover {
	background: var(--leaf);
	color: var(--white);
}

.topic-grid span {
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.topic-grid strong {
	align-self: end;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.65rem;
	line-height: 1.1;
}

.topic-grid small {
	color: inherit;
	font-size: 0.78rem;
	line-height: 1.45;
	opacity: 0.78;
}

.latest-guides,
.related-guides {
	padding-block: clamp( 72px, 10vw, 120px );
	background: var(--leaf-dark);
	color: var(--surface);
}

.section-heading-light h2,
.latest-guides .eyebrow,
.related-guides .eyebrow {
	color: inherit;
}

.guide-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 24px;
}

.guide-card {
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	box-shadow: 0 1px 0 rgba( 255, 255, 255, 0.1 );
}

.card-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--paper-deep);
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.guide-card:hover .card-image img {
	transform: scale( 1.025 );
}

.image-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background: linear-gradient( 135deg, var(--paper-deep), #e2ebde );
}

.card-body {
	padding: 24px;
}

.card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	color: var(--ink-soft);
	font-size: 0.72rem;
	font-weight: 800;
}

.card-kicker,
.article-kicker {
	color: var(--tomato);
	font-weight: 900;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.card-title {
	font-size: 1.45rem;
}

.card-title a {
	color: inherit;
	text-decoration: none;
}

.card-body > p {
	color: var(--ink-soft);
	font-size: 0.9rem;
}

.editorial-promise {
	padding: 72px 0;
	background: var(--tomato);
	color: var(--white);
}

.promise-grid {
	display: grid;
	grid-template-columns: 120px minmax( 0, 1fr ) auto;
	align-items: center;
	gap: 42px;
}

.promise-grid h2 {
	max-width: 790px;
}

.promise-grid p:not( .eyebrow ) {
	max-width: 720px;
	margin-bottom: 0;
}

.promise-number {
	display: grid;
	width: 110px;
	height: 110px;
	place-items: center;
	border: 2px solid currentColor;
	border-radius: 50% 8px 50% 8px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2rem;
	font-weight: 700;
}

.breadcrumbs {
	padding-top: 24px;
	font-size: 0.78rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li:not( :last-child )::after {
	margin-left: 7px;
	color: var(--line);
	content: "/";
}

.single-guide {
	padding-bottom: 96px;
}

.article-header {
	padding-block: 58px 38px;
	text-align: center;
}

.article-header h1 {
	font-size: clamp( 2.35rem, 5vw, 4.6rem );
}

.article-deck {
	color: var(--ink-soft);
	font-size: 1.14rem;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 9px;
	color: var(--ink-soft);
	font-size: 0.76rem;
	font-weight: 760;
}

.article-hero {
	margin-bottom: 56px;
}

.article-hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px 36px 8px 36px;
	box-shadow: var(--shadow);
}

figcaption {
	margin-top: 10px;
	color: var(--ink-soft);
	font-size: 0.78rem;
	text-align: center;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax( 0, 790px ) minmax( 230px, 280px );
	justify-content: center;
	gap: clamp( 42px, 7vw, 82px );
}

.article-content {
	min-width: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.08rem;
	line-height: 1.85;
}

.article-content > :first-child {
	font-size: 1.18rem;
}

.article-content h2,
.article-content h3 {
	scroll-margin-top: 24px;
}

.article-content h2 {
	margin-top: 2.2em;
	padding-top: 0.7em;
	border-top: 1px solid var(--line);
	font-size: clamp( 1.65rem, 3vw, 2.35rem );
}

.article-content h3 {
	margin-top: 1.8em;
	font-size: 1.32rem;
}

.article-content ul,
.article-content ol {
	padding-left: 1.35em;
}

.article-content li {
	margin-bottom: 0.45em;
}

.article-content a {
	font-weight: 700;
}

/* v1.1.3: kontras teks WCAG 2.1 AA (diukur pada render templat asli, 320-1440 px). */
:root {
	--tomato-text: #a33f29;
}

.eyebrow,
.article-kicker {
	color: var(--tomato-text);
}

.footer-callout .eyebrow,
.editorial-promise .eyebrow {
	color: inherit;
}

.site-footer .button-light {
	color: var(--leaf-dark);
}

/* v1.1.3: daftar bertingkat, aside keselamatan, dan daftar sumber dari naskah editorial. */
.article-content {
	overflow-wrap: break-word;
}

.article-content li > ul,
.article-content li > ol {
	margin-top: 0.45em;
}

.catatan-keamanan > :first-child {
	margin-top: 0;
}

.catatan-keamanan > :last-child {
	margin-bottom: 0;
}

.article-content ul.sources {
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.92rem;
	line-height: 1.6;
}

.article-content blockquote,
.catatan-keamanan {
	display: block;
	margin: 34px 0;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-left: 6px solid var(--tomato);
	border-radius: 6px 18px 6px 18px;
	background: var(--surface);
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.9rem;
	line-height: 1.65;
}

.article-content figure {
	margin: 42px 0;
}

.article-content figure img {
	width: 100%;
	border-radius: var(--radius);
}

.article-toc {
	margin-bottom: 44px;
	padding: 24px;
	border: 1px solid var(--ink);
	border-radius: 8px 22px 8px 22px;
	background: var(--surface);
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	font-size: 0.86rem;
}

.article-toc .toc-title {
	margin-bottom: 12px;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.article-toc ol {
	columns: 2;
	column-gap: 30px;
	margin-bottom: 0;
}

.article-toc li {
	break-inside: avoid;
	margin-bottom: 7px;
}

.article-aside {
	align-self: start;
	position: sticky;
	top: 26px;
}

.editorial-card {
	position: relative;
	padding: 28px;
	border: 1px solid var(--ink);
	border-radius: 8px 24px 8px 24px;
	background: #eee1ae;
	box-shadow: 9px 9px 0 var(--leaf);
}

.editorial-card h2 {
	font-size: 1.45rem;
}

.editorial-card p {
	font-size: 0.86rem;
}

.ledger-tabs {
	display: flex;
	gap: 5px;
	margin-bottom: 22px;
}

.ledger-tabs i {
	width: 34px;
	height: 7px;
	border-radius: 99px;
	background: var(--tomato);
}

.ledger-tabs i:nth-child( 2 ) {
	background: var(--leaf);
}

.ledger-tabs i:nth-child( 3 ) {
	background: var(--sun);
}

.article-footer {
	padding-top: 58px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
}

.tag-list a {
	padding: 6px 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	font-size: 0.76rem;
	font-weight: 800;
	text-decoration: none;
}

.guide-note {
	display: grid;
	grid-template-columns: 74px 1fr;
	gap: 22px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.guide-note-icon {
	display: grid;
	width: 74px;
	height: 74px;
	place-items: center;
	border-radius: 50% 8px 50% 8px;
	background: var(--leaf-dark);
	color: var(--white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
}

.guide-note h2 {
	font-size: 1.5rem;
}

.related-guides {
	margin-top: 78px;
}

.listing-page,
.page-main,
.error-page {
	padding-block: 58px 100px;
}

.archive-header,
.page-header {
	max-width: 840px;
	margin-bottom: 44px;
}

.archive-header h1,
.page-header h1 {
	font-size: clamp( 2.4rem, 5vw, 4.5rem );
}

.archive-description,
.archive-header > p:not( .eyebrow ) {
	color: var(--ink-soft);
	font-size: 1.08rem;
}

.listing-grid {
	margin-top: 36px;
}

.listing-page .guide-card {
	border: 1px solid var(--line);
}

.page-content {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	line-height: 1.82;
}

.page-content h1 {
	font-size: clamp( 2.35rem, 5vw, 4.2rem );
}

.page-content h2 {
	margin-top: 1.9em;
	font-size: 1.9rem;
}

.page-content .hero {
	margin-bottom: 46px;
	padding: 42px;
	border: 1px solid var(--line);
	border-radius: 8px 32px 8px 32px;
	background: var(--surface);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 18px;
}

.feature-grid article {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
}

.search-form {
	max-width: 620px;
	margin-top: 24px;
}

.search-form > label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.82rem;
	font-weight: 850;
}

.search-fields {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
}

.search-field,
.wpcf7 input:not( [type="submit"] ),
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--surface);
	color: var(--ink);
}

.wpcf7 label {
	font-weight: 750;
}

.wpcf7 textarea {
	min-height: 180px;
	resize: vertical;
}

.contact-unavailable,
.empty-state {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 46px;
}

.nav-links .page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	font-size: 0.8rem;
	font-weight: 800;
	text-decoration: none;
}

.nav-links .current {
	background: var(--leaf);
	color: var(--white);
}

.error-page {
	text-align: center;
}

.error-signal {
	display: grid;
	grid-template-columns: repeat( 9, 12px );
	justify-content: center;
	gap: 7px;
	margin-bottom: 28px;
}

.error-signal i {
	height: 48px;
	border-radius: 99px;
	background: var(--leaf);
}

.error-signal i:nth-child( 3n ) {
	background: var(--tomato);
}

.error-signal i:nth-child( 2n ) {
	height: 28px;
	align-self: end;
	background: var(--sun);
}

.site-footer {
	padding-top: 70px;
	background: var(--ink);
	color: #dae2dd;
}

.footer-callout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 30px;
	border: 1px solid rgba( 255, 255, 255, 0.2 );
	border-radius: 8px 28px 8px 28px;
	background: var(--leaf);
}

.footer-callout h2 {
	max-width: 760px;
	margin-bottom: 0;
	font-size: clamp( 1.55rem, 3vw, 2.35rem );
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 0.8fr;
	gap: 64px;
	padding-block: 70px;
}

.footer-brand {
	color: var(--white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.6rem;
	font-weight: 700;
	text-decoration: none;
}

.footer-note {
	color: #aebbb4;
	font-size: 0.86rem;
}

.footer-heading {
	color: var(--sun);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-menu {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 7px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	color: inherit;
}

.footer-discover p {
	margin-bottom: 0.65em;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-block: 22px;
	border-top: 1px solid rgba( 255, 255, 255, 0.15 );
	font-size: 0.74rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-utility-links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.cookie-consent {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	width: min( calc(100% - 36px), 650px );
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 10px 24px 10px 24px;
	background: var(--surface);
	box-shadow: var(--shadow);
}

.cookie-consent[hidden],
.cookie-consent-settings[hidden] {
	display: none;
}

.cookie-consent-main {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 24px;
	align-items: end;
}

.cookie-consent h2 {
	font-size: 1.45rem;
}

.cookie-consent p,
.cookie-consent a,
.cookie-consent label {
	font-size: 0.82rem;
}

.cookie-consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cookie-consent-actions button {
	min-height: 42px;
	padding: 9px 13px;
	border: 1px solid var(--leaf);
	border-radius: 999px;
	background: var(--leaf);
	color: var(--white);
	font-size: 0.76rem;
	font-weight: 850;
	cursor: pointer;
}

.cookie-consent-settings-toggle {
	background: transparent !important;
	color: var(--leaf) !important;
}

.cookie-consent-settings {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.cookie-consent-settings h3 {
	font-size: 1.1rem;
}

.cookie-essential-choice {
	display: flex;
	gap: 10px;
	align-items: start;
}

.cookie-essential-choice span {
	display: grid;
}

@media ( max-width: 1080px ) {
	.header-inner {
		grid-template-columns: 1fr auto;
	}

	.header-library {
		display: none;
	}

	.primary-navigation .menu {
		gap: 14px;
	}

	.topic-grid {
		grid-template-columns: repeat( 2, 1fr );
	}

	.article-layout {
		grid-template-columns: minmax( 0, 760px );
	}

	.article-aside {
		position: static;
	}
}

@media ( max-width: 880px ) {
	.header-note {
		display: none;
	}

	.header-inner {
		min-height: 76px;
	}

	.brand-copy small {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.primary-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		max-height: calc(100vh - 76px);
		overflow: auto;
		padding: 20px;
		border-bottom: 1px solid var(--line);
		background: var(--surface);
		opacity: 0;
		visibility: hidden;
		transform: translateY( -8px );
		transition: 160ms ease;
	}

	.primary-navigation.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-navigation .menu {
		display: grid;
		gap: 0;
	}

	.primary-navigation a {
		display: block;
		padding: 12px 4px;
		border-bottom: 1px solid var(--line);
	}

	.primary-navigation .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.kitchen-hero-grid {
		grid-template-columns: 1fr;
	}

	.hero-board {
		max-width: 580px;
		transform: none;
	}

	.guide-grid,
	.footer-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.promise-grid {
		grid-template-columns: 90px 1fr;
	}

	.promise-number {
		width: 84px;
		height: 84px;
	}

	.promise-grid .button {
		grid-column: 2;
		justify-self: start;
	}

	.section-heading {
		align-items: start;
		flex-direction: column;
		gap: 15px;
	}
}

@media ( max-width: 620px ) {
	.wrap,
	.wrap-wide,
	.wrap-narrow {
		width: min( calc(100% - 28px), var(--wrap) );
	}

	body {
		font-size: 16px;
	}

	h1 {
		font-size: clamp( 2.25rem, 12vw, 3.5rem );
	}

	.brand-copy strong {
		font-size: 1rem;
	}

	.brand-mark {
		width: 44px;
		height: 44px;
	}

	.topic-grid,
	.guide-grid,
	.footer-grid,
	.feature-grid,
	.promise-grid {
		grid-template-columns: 1fr;
	}

	.topic-grid a {
		min-height: 180px;
	}

	.hero-board {
		padding: 22px;
		box-shadow: 9px 9px 0 var(--leaf);
	}

	.board-feature {
		grid-template-columns: 88px 1fr;
	}

	.board-feature img {
		width: 88px;
	}

	.article-toc ol {
		columns: 1;
	}

	.article-content {
		font-size: 1.02rem;
	}

	.guide-note {
		grid-template-columns: 1fr;
	}

	.promise-grid .button {
		grid-column: auto;
	}

	.footer-callout,
	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-grid {
		gap: 34px;
	}

	.footer-menu {
		grid-template-columns: 1fr;
	}

	.cookie-consent-main {
		grid-template-columns: 1fr;
	}

	.cookie-consent-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.search-fields {
		grid-template-columns: 1fr;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
