/*
Theme Name: Bumbu Cerita
Theme URI: https://bumbucerita.com/
Author: Bumbu Cerita
Description: Tema Bumbu Cerita — resep rumahan dan kisah kuliner Nusantara. Setiap rasa punya cerita.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: bumbucerita
*/

:root {
	--bc-cream: #FBF6EE;
	--bc-sand: #F1E6D3;
	--bc-line: #E6D8C3;
	--bc-line-2: #D8C6AC;
	--bc-ink: #2B1D14;
	--bc-muted: #6B5545;
	--bc-soft: #D9C9B3;
	--bc-accent: #A63D24;
	--bc-accent-dark: #8A3019;
	--bc-green: #3E6A4B;
	--bc-green-soft: #E7EFE5;
	--bc-white: #FFFFFF;
	--bc-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--bc-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bc-radius: 20px;
	--bc-radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bc-cream);
	color: var(--bc-ink);
	font-family: var(--bc-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bc-ink); text-decoration: none; }
a:hover { color: var(--bc-accent); }
:focus-visible { outline: 3px solid var(--bc-accent); outline-offset: 2px; border-radius: 6px; }
button, input { font: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.bc-skip { position: absolute; left: -9999px; top: 8px; background: var(--bc-ink); color: var(--bc-cream); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.bc-skip:focus { left: 16px; color: var(--bc-cream); }

.bc-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Type helpers ---------- */
.bc-eyebrow {
	display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--bc-accent);
}
.bc-eyebrow--green { color: var(--bc-green); }
.bc-eyebrow--light { color: #E9A27F; }
.bc-eyebrow--soft { color: #FFE3D3; }
.bc-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bc-accent); }
.bc-kicker--green { color: var(--bc-green); }
.bc-h2 {
	margin: 6px 0 0; font-family: var(--bc-serif); font-weight: 600;
	font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em;
}

/* ---------- Buttons ---------- */
.bc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
	background: var(--bc-accent); color: var(--bc-white); font-weight: 700; cursor: pointer;
}
.bc-btn:hover { background: var(--bc-accent-dark); color: var(--bc-white); }
.bc-btn--dark { background: var(--bc-ink); color: var(--bc-cream); }
.bc-btn--dark:hover { background: #46301F; color: var(--bc-cream); }
.bc-btn--light { background: var(--bc-cream); color: var(--bc-ink); }
.bc-btn--light:hover { background: var(--bc-white); color: var(--bc-ink); }
.bc-btn--ghost { background: var(--bc-white); color: var(--bc-ink); border: 1px solid var(--bc-line-2); font-weight: 600; }
.bc-btn--ghost:hover { background: var(--bc-sand); color: var(--bc-ink); }
.bc-btn--block { width: 100%; }

/* ---------- Top bar & header ---------- */
.bc-topbar { background: var(--bc-ink); color: var(--bc-sand); font-size: 13px; }
.bc-topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.bc-topbar__links { display: flex; gap: 20px; }
.bc-topbar a { color: var(--bc-sand); }
.bc-topbar a:hover { color: var(--bc-white); }

.bc-header { background: var(--bc-cream); border-bottom: 1px solid var(--bc-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .bc-header { top: 32px; }
.bc-header__inner { display: flex; align-items: center; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.bc-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.bc-brand__mark {
	width: 44px; height: 44px; border-radius: 50%; background: var(--bc-accent); color: var(--bc-cream);
	display: flex; align-items: center; justify-content: center; font-family: var(--bc-serif); font-weight: 700; font-size: 20px;
}
.bc-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.bc-brand__name { font-family: var(--bc-serif); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.bc-brand__tag { font-size: 11px; color: var(--bc-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }

.bc-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; font-weight: 600; font-size: 15px; }
.bc-nav__list a { display: inline-block; padding: 6px 0; }
.bc-nav__list .current-menu-item > a { color: var(--bc-accent); }

.bc-header__search { display: flex; align-items: center; background: var(--bc-white); border: 1px solid var(--bc-line); border-radius: 999px; padding: 3px 3px 3px 16px; }
.bc-header__search input { border: 0; outline: 0; background: transparent; width: 150px; height: 38px; color: var(--bc-ink); }
.bc-header__search button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bc-ink); color: var(--bc-cream); display: flex; align-items: center; justify-content: center; cursor: pointer; }

.bc-menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--bc-ink); align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Hero ---------- */
.bc-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.bc-hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.bc-hero__title { margin: 0; font-family: var(--bc-serif); font-weight: 600; font-size: clamp(44px, 6vw, 78px); line-height: 1.02; letter-spacing: -0.025em; }
.bc-hero__title em { font-style: italic; color: var(--bc-accent); }
.bc-hero__lead { margin: 0; font-size: 19px; color: var(--bc-muted); max-width: 540px; }

.bc-searchbar { display: flex; flex-wrap: wrap; gap: 8px; background: var(--bc-white); border: 1px solid var(--bc-line); border-radius: 999px; padding: 6px; max-width: 560px; box-shadow: 0 8px 24px rgba(43, 29, 20, 0.06); }
.bc-searchbar input { flex: 1 1 220px; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 16px; height: 48px; font-size: 16px; color: var(--bc-ink); }
.bc-searchbar button { height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--bc-accent); color: var(--bc-white); font-weight: 700; cursor: pointer; }
.bc-searchbar button:hover { background: var(--bc-accent-dark); }
.bc-searchbar--compact { margin-top: 8px; }

.bc-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bc-chips__label { font-size: 14px; color: var(--bc-muted); margin-right: 4px; }
.bc-chip { padding: 8px 16px; border-radius: 999px; background: var(--bc-sand); font-size: 14px; font-weight: 600; }
.bc-chip:hover { background: var(--bc-line); color: var(--bc-ink); }

.bc-feature { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; background: var(--bc-white); border-radius: var(--bc-radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(43, 29, 20, 0.12); transition: transform .2s ease; }
.bc-feature:hover { transform: translateY(-3px); color: var(--bc-ink); }
.bc-feature__media { position: relative; display: block; aspect-ratio: 16 / 11; background: #C98B5A; }
.bc-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.bc-feature__badge { position: absolute; top: 18px; left: 18px; background: var(--bc-cream); color: var(--bc-ink); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.bc-feature__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.bc-feature__title { font-family: var(--bc-serif); font-size: 32px; font-weight: 600; line-height: 1.1; }
.bc-feature__text { color: var(--bc-muted); }
.bc-feature__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; padding-top: 4px; }
.bc-feature__cta { color: var(--bc-accent); }

/* ---------- Bands & sections ---------- */
.bc-band { background: var(--bc-sand); }
.bc-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; padding-top: 52px; padding-bottom: 52px; }
.bc-pillar { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: var(--bc-cream); border-radius: var(--bc-radius); transition: transform .2s ease; }
.bc-pillar:hover { transform: translateY(-3px); color: var(--bc-ink); }
.bc-pillar__num { font-size: 13px; font-weight: 700; color: var(--bc-accent); }
.bc-pillar__title { font-family: var(--bc-serif); font-size: 24px; font-weight: 600; }
.bc-pillar__text { color: var(--bc-muted); font-size: 15px; }

.bc-section { padding-top: 84px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 34px; }
.bc-section--tight { padding-top: 24px; padding-bottom: 84px; }
.bc-section--top0 { padding-top: 8px; padding-bottom: 84px; }
.bc-section__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.bc-more { font-weight: 700; border-bottom: 2px solid var(--bc-accent); padding-bottom: 2px; }

/* ---------- Cards ---------- */
.bc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 28px; }
.bc-grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.bc-card { display: flex; flex-direction: column; gap: 14px; }
.bc-card:hover { color: var(--bc-ink); }
.bc-card__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--bc-radius); overflow: hidden; background: var(--bc-sand); }
.bc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bc-card:hover .bc-card__media img { transform: scale(1.04); }
.bc-card__body { display: flex; flex-direction: column; gap: 6px; }
.bc-card__title { font-family: var(--bc-serif); font-size: 23px; font-weight: 600; line-height: 1.22; }
.bc-card:hover .bc-card__title { color: var(--bc-accent); }
.bc-card__text { color: var(--bc-muted); font-size: 15px; }
.bc-card--large .bc-card__media { aspect-ratio: 16 / 11; border-radius: var(--bc-radius-lg); }
.bc-card--large .bc-card__title { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -0.015em; }
.bc-card--large .bc-card__text { font-size: 17px; }

.bc-stories { display: flex; flex-wrap: wrap; gap: 40px; }
.bc-stories__lead { flex: 1 1 520px; min-width: 0; }
.bc-stories__list { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; }
.bc-listitem { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--bc-line); }
.bc-listitem:first-child { padding-top: 0; }
.bc-listitem__media { flex: 0 0 104px; width: 104px; height: 80px; border-radius: 14px; overflow: hidden; background: var(--bc-sand); }
.bc-listitem__media img { width: 100%; height: 100%; object-fit: cover; }
.bc-listitem__title { font-family: var(--bc-serif); font-size: 18px; font-weight: 600; line-height: 1.3; }

/* ---------- Regions ---------- */
.bc-dark { background: var(--bc-ink); color: var(--bc-cream); margin-top: 44px; }
.bc-regions { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.bc-regions__text { flex: 1 1 360px; min-width: 0; }
.bc-regions__text p { color: var(--bc-soft); font-size: 17px; }
.bc-regions__list { flex: 1 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.bc-region { display: flex; flex-direction: column; padding: 14px 22px; border: 1px solid #5A4535; border-radius: 18px; color: var(--bc-cream); min-width: 150px; }
.bc-region:hover { background: #3A281C; color: var(--bc-white); border-color: #8A6A52; }
.bc-region__name { font-family: var(--bc-serif); font-size: 20px; font-weight: 600; }
.bc-region__dish { font-size: 13px; color: var(--bc-soft); }

/* ---------- Coming soon, collab ---------- */
.bc-soon { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; padding: 40px; background: var(--bc-white); border: 1px dashed var(--bc-line-2); border-radius: var(--bc-radius-lg); }
.bc-soon__text { flex: 1 1 480px; min-width: 0; }
.bc-soon__text p { color: var(--bc-muted); margin: 12px 0 0; max-width: 620px; }

.bc-collab { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; padding: 56px; background: var(--bc-accent); color: #FFF6EA; border-radius: 32px; }
.bc-collab__text { flex: 1 1 460px; min-width: 0; }
.bc-collab__text p { color: #FFE3D3; font-size: 17px; margin: 12px 0 0; }
.bc-collab__side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.bc-collab__stat { display: flex; flex-direction: column; }
.bc-collab__stat strong { font-family: var(--bc-serif); font-size: 56px; line-height: 1; }
.bc-collab__stat span { font-size: 14px; color: #FFE3D3; }

/* ---------- Archive & page head ---------- */
.bc-archive-head { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.bc-archive-head__title { margin: 0; font-family: var(--bc-serif); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.025em; }
.bc-archive-head__desc { margin: 0; color: var(--bc-muted); font-size: 18px; max-width: 720px; }
.bc-empty { color: var(--bc-muted); font-size: 18px; }

.bc-pagination ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bc-pagination a, .bc-pagination span { display: inline-flex; align-items: center; min-width: 44px; height: 44px; padding: 0 16px; justify-content: center; border-radius: 999px; background: var(--bc-white); border: 1px solid var(--bc-line); font-weight: 600; }
.bc-pagination .current { background: var(--bc-ink); color: var(--bc-cream); border-color: var(--bc-ink); }

/* ---------- Single ---------- */
.bc-single__head { padding-top: 40px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 16px; }
.bc-crumbs { font-size: 14px; color: var(--bc-muted); display: flex; flex-wrap: wrap; gap: 8px; }
.bc-crumbs a { color: var(--bc-muted); }
.bc-single__title { margin: 0; font-family: var(--bc-serif); font-weight: 600; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.025em; max-width: 960px; }
.bc-single__lead { margin: 0; font-size: 20px; color: var(--bc-muted); max-width: 760px; }
.bc-single__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bc-single__date { font-size: 14px; color: var(--bc-muted); margin-left: 6px; }
.bc-single__hero { margin: 0 auto; }
.bc-single__hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 32px; }
.bc-single__layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 52px; padding-bottom: 80px; scroll-margin-top: 90px; }
.bc-single__main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.bc-single__side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }

.bc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--bc-line); border: 1px solid var(--bc-line); border-radius: var(--bc-radius); overflow: hidden; }
.bc-meta__item { background: var(--bc-white); padding: 16px 20px; display: flex; flex-direction: column; }
.bc-meta__item span { font-size: 13px; color: var(--bc-muted); }
.bc-meta__item strong { font-family: var(--bc-serif); font-size: 26px; font-weight: 600; }

.bc-sidecard { background: var(--bc-white); border: 1px solid var(--bc-line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.bc-sidecard--soft { background: var(--bc-sand); border-color: var(--bc-sand); }
.bc-sidecard__title { font-family: var(--bc-serif); font-size: 21px; font-weight: 600; line-height: 1.25; }
.bc-sidecard p { margin: 0; font-size: 15px; color: var(--bc-muted); }

/* ---------- Prose (post & page content) ---------- */
.bc-prose { font-size: 18px; line-height: 1.75; max-width: 760px; }
.bc-prose > * + * { margin-top: 1.1em; }
.bc-prose h2, .bc-prose h3, .bc-prose h4 { font-family: var(--bc-serif); font-weight: 600; line-height: 1.2; margin-top: 1.8em; margin-bottom: 0; }
.bc-prose h2 { font-size: 32px; }
.bc-prose h3 { font-size: 26px; }
.bc-prose h4 { font-size: 22px; }
.bc-prose > :first-child { margin-top: 0; }
.bc-prose p { margin-bottom: 0; }
.bc-prose a { color: var(--bc-accent); text-decoration: underline; text-underline-offset: 3px; }
.bc-prose img { border-radius: var(--bc-radius); }
.bc-prose blockquote { margin-left: 0; padding: 20px 26px; background: var(--bc-green-soft); border-radius: var(--bc-radius); font-style: italic; }

/* Recipe body: the posts use h4 + div labels + ul (bahan) + ol (langkah). */
.bc-prose--recipe { max-width: none; }
.bc-prose--recipe > h4:first-child { font-size: 30px; margin-bottom: 0.4em; }
.bc-prose--recipe > div,
.bc-prose--recipe > p > strong:only-child {
	display: block; margin-top: 1.6em; font-family: var(--bc-sans); font-size: 16px; font-weight: 700;
	letter-spacing: 0; text-transform: none; color: var(--bc-accent);
}
.bc-prose--recipe > div::first-letter { text-transform: uppercase; }
/* Opening paragraph written as a <div>: show it as normal body text, not as a label. */
.bc-prose--recipe > div:first-child {
	margin-top: 0; font-size: 18px; font-weight: 400; line-height: 1.75; color: var(--bc-ink);
}
.bc-prose--recipe ul {
	list-style: none; margin: 0.6em 0 0; padding: 12px 28px; background: var(--bc-white);
	border: 1px solid var(--bc-line); border-radius: var(--bc-radius-lg);
}
.bc-prose--recipe ul li { position: relative; padding: 12px 0 12px 38px; border-bottom: 1px dashed var(--bc-line); cursor: pointer; }
.bc-prose--recipe ul li:last-child { border-bottom: 0; }
.bc-prose--recipe ul li::before {
	content: ""; position: absolute; left: 0; top: 15px; width: 22px; height: 22px;
	border: 2px solid var(--bc-line-2); border-radius: 7px; background: var(--bc-cream);
}
.bc-prose--recipe ul li.is-done { color: var(--bc-muted); text-decoration: line-through; }
.bc-prose--recipe ul li.is-done::before { background: var(--bc-accent); border-color: var(--bc-accent); }
.bc-prose--recipe ul li.is-done::after {
	content: ""; position: absolute; left: 7px; top: 19px; width: 7px; height: 11px;
	border: solid var(--bc-white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.bc-prose--recipe ol { list-style: none; counter-reset: bc-step; margin: 0.6em 0 0; padding: 0; }
.bc-prose--recipe ol li { counter-increment: bc-step; position: relative; padding: 16px 0 16px 64px; border-bottom: 1px solid var(--bc-line); min-height: 76px; }
.bc-prose--recipe ol li::before {
	content: counter(bc-step); position: absolute; left: 0; top: 14px; width: 44px; height: 44px; border-radius: 50%;
	background: var(--bc-sand); color: var(--bc-accent); display: flex; align-items: center; justify-content: center;
	font-family: var(--bc-serif); font-weight: 700; font-size: 18px;
}
.bc-prose--recipe > a:last-child {
	display: block; margin-top: 2em; padding: 24px 28px; background: var(--bc-ink); color: var(--bc-cream);
	border-radius: var(--bc-radius-lg); font-family: var(--bc-serif); font-size: 22px; font-weight: 600; line-height: 1.3; text-decoration: none;
}
.bc-prose--recipe > a:last-child::before {
	content: "Cerita di balik rasa"; display: block; margin-bottom: 6px; font-family: var(--bc-sans); font-size: 12px;
	font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #E9A27F;
}
.bc-prose--recipe > a:last-child:hover { background: #3A281C; color: var(--bc-white); }

/* WP Recipe Maker card, matched to the theme */
.wprm-recipe-container .wprm-recipe { border-radius: var(--bc-radius-lg) !important; border-color: var(--bc-line) !important; background: var(--bc-white) !important; font-family: var(--bc-sans) !important; }
.wprm-recipe-container .wprm-recipe-name { font-family: var(--bc-serif) !important; }

.bc-page__body { padding-bottom: 84px; }

/* ---------- Footer ---------- */
.bc-footer { background: var(--bc-ink); color: var(--bc-soft); }
.bc-footer .bc-wrap { padding-top: 64px; padding-bottom: 32px; }
.bc-footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.bc-footer__about { flex: 1 1 300px; max-width: 380px; }
.bc-footer__about p { font-size: 15px; margin: 10px 0 0; }
.bc-footer__name { font-family: var(--bc-serif); font-size: 28px; font-weight: 700; color: var(--bc-cream); }
.bc-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 56px; font-size: 15px; }
.bc-footer__cols > div { display: flex; flex-direction: column; gap: 10px; }
.bc-footer__head { color: var(--bc-cream); font-weight: 700; }
.bc-footer a { color: var(--bc-soft); }
.bc-footer a:hover { color: var(--bc-white); }
.bc-footer__bottom { border-top: 1px solid #5A4535; margin-top: 40px; padding-top: 24px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.bc-menu-toggle { display: inline-flex; }
	.bc-header__inner { gap: 10px; }
	.bc-nav { display: none; width: 100%; order: 5; }
	.bc-nav.is-open { display: block; }
	.bc-nav__list { flex-direction: column; gap: 0; padding: 8px 0 4px; }
	.bc-nav__list a { padding: 12px 0; display: block; border-top: 1px solid var(--bc-line); }
	.bc-header__search { order: 6; width: 100%; }
	.bc-header__search input { flex: 1; width: auto; }
	.bc-single__side { position: static; }
}
@media (max-width: 782px) {
	.admin-bar .bc-header { top: 46px; }
}
@media (max-width: 640px) {
	.bc-wrap { padding-left: 16px; padding-right: 16px; }
	.bc-topbar__inner > span:first-child { display: none; }
	.bc-brand__tag { display: none; }
	.bc-hero { padding-top: 36px; padding-bottom: 40px; gap: 32px; }
	.bc-hero__lead { font-size: 17px; }
	.bc-searchbar { border-radius: 24px; }
	.bc-searchbar button { width: 100%; }
	.bc-section { padding-top: 56px; }
	.bc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.bc-card__title { font-size: 18px; }
	.bc-card__text { display: none; }
	.bc-card--large .bc-card__text { display: block; }
	.bc-collab, .bc-soon { padding: 28px 22px; }
	.bc-collab__stat strong { font-size: 44px; }
	.bc-regions { padding-top: 52px; padding-bottom: 52px; }
	.bc-region { min-width: 0; padding: 10px 16px; }
	.bc-prose { font-size: 17px; }
	.bc-prose--recipe ul { padding: 8px 18px; }
	.bc-single__hero img { aspect-ratio: 4 / 3; border-radius: 20px; }
}

/* ---------- Sumber Referensi ---------- */
.bc-sources { margin-top: 2.4em; padding: 22px 26px; background: var(--bc-white); border: 1px solid var(--bc-line); border-radius: var(--bc-radius); font-size: 15px; line-height: 1.55; }
.bc-prose .bc-sources__title { margin: 0 0 10px; font-family: var(--bc-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bc-muted); }
.bc-sources__list { margin: 0; padding-left: 1.4em; color: var(--bc-muted); }
.bc-sources__list li { margin: 0; padding: 4px 0; }
.bc-sources__list li::marker { color: var(--bc-muted); font-weight: 600; }
.bc-prose .bc-sources__list a { color: var(--bc-ink); text-decoration: underline; text-decoration-color: var(--bc-line-2); text-underline-offset: 3px; word-break: break-word; }
.bc-prose .bc-sources__list a:hover { color: var(--bc-accent); text-decoration-color: currentColor; }

/* ---------- Existing logo ---------- */
.bc-brand .bc-logo { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; }
.bc-footer__logo { display: inline-flex; align-self: flex-start; width: auto; height: auto; margin-bottom: 12px; line-height: 0; }
.bc-footer__logo .bc-logo { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 640px) {
	.bc-footer__logo .bc-logo { height: 44px; max-width: 200px; }
}

/* ---------- Footer: left-to-right gradient (light behind logo, dark for links) ---------- */
.bc-footer { position: relative; overflow: hidden; background: linear-gradient(90deg, #FBF6EE 0%, #F6EDE0 28%, #E8D6BE 36%, #B8916F 45%, #5A3E2B 54%, #2B1D14 64%); }
.bc-footer__logo { display: inline-flex; margin-bottom: 26px; line-height: 0; }
.bc-footer__logo .bc-logo { display: block; height: 52px; width: auto; max-width: 240px; object-fit: contain; }
.bc-footer__about p { color: var(--bc-muted); }
.bc-footer__bottom { border-top-color: rgba(107, 85, 69, 0.35); }
.bc-footer__bottom > span:first-child { color: var(--bc-muted); }
.bc-footer__bottom > span:last-child { color: var(--bc-soft); }

/* Tablet and phone: logo block on top in a light band that fades down into the dark footer. */
@media (max-width: 960px) {
	.bc-footer { background: var(--bc-ink); }
	.bc-footer__top { flex-direction: column; gap: 32px; }
	.bc-footer__about {
		flex: none; max-width: none;
		margin: -64px -24px 0; padding: 56px 24px 72px;
		background: linear-gradient(180deg, #FBF6EE 0, #F6EDE0 calc(100% - 72px), #D9BFA0 calc(100% - 48px), #7A5740 calc(100% - 24px), #2B1D14 100%);
	}
	.bc-footer__about p { max-width: 460px; }
	.bc-footer__bottom > span:first-child { color: var(--bc-soft); }
}
@media (max-width: 640px) {
	.bc-footer .bc-wrap { padding-top: 52px; }
	.bc-footer__about { margin: -52px -16px 0; padding: 44px 16px 68px; text-align: center; }
	.bc-footer__logo { display: flex; justify-content: center; margin-bottom: 22px; }
	.bc-footer__logo .bc-logo { height: 44px; max-width: 200px; }
	.bc-footer__about p { max-width: 300px; margin-left: auto; margin-right: auto; }
	.bc-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
	.bc-footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
}
.bc-footer__name { display: block; }
@media (max-width: 640px) {
	.bc-brand .bc-logo { height: 40px; max-width: 180px; }
}
