/* ── noir: majalah kuliner gelap ─────────────────────────── */
:root {
  --bg: #0f0d0c;
  --bg2: #171412;
  --card: #1d1916;
  --line: #2e2824;
  --ink: #efe9e1;
  --ink2: #b9b0a6;
  --mute: #847a70;
  --accent: #e8402f;
  --amber: #f2a541;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.section { padding-top: 44px; padding-bottom: 56px; }
.meta { color: var(--mute); font-size: 12.5px; letter-spacing: .02em; }
.kicker { display: inline-block; color: var(--accent); font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.kicker:hover { color: var(--amber); }
.kicker-s { display: block; color: var(--accent); font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2a201b, #120f0d); color: var(--accent); font: 900 54px/1 var(--serif); width: 100%; height: 100%; }

/* ── header ── */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(15, 13, 12, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo { width: auto; }
.wordmark { font: 900 21px/1 var(--serif); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.wordmark i { color: var(--accent); font-style: normal; margin: 0 .28em; }
.nav { display: none; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 11px; font-size: 13.5px; font-weight: 600; color: var(--ink2); white-space: nowrap; border-radius: 999px; }
.nav a:hover, .nav a.on { color: var(--ink); background: var(--card); }
.head-search { display: none; position: relative; }
.head-search input { width: 190px; height: 38px; padding: 0 38px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); font: 14px var(--sans); outline: none; }
.head-search input:focus { border-color: var(--accent); }
.head-search button { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; border: 0; background: none; color: var(--ink2); cursor: pointer; display: grid; place-items: center; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; cursor: pointer; }
.burger span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; }
.burger span:nth-child(2) { width: 15px; background: var(--accent); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.drawer { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: var(--bg2); border-right: 1px solid var(--line); padding: 18px 20px 30px; overflow-y: auto; transform: translateX(-100%); transition: transform .28s ease; }
.nav-toggle:checked ~ .drawer { visibility: visible; }
.nav-toggle:checked ~ .drawer .drawer-bg { opacity: 1; }
.nav-toggle:checked ~ .drawer .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-x { cursor: pointer; font-size: 20px; color: var(--ink2); padding: 4px 8px; }
.drawer-search { display: flex; gap: 8px; margin-bottom: 22px; }
.drawer-search input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 15px var(--sans); }
.drawer-search button, .nf-search button { height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: 700 14px var(--sans); cursor: pointer; }
.drawer h4 { margin: 18px 0 8px; color: var(--mute); font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.drawer-links, .drawer-pages { display: flex; flex-direction: column; }
.drawer-links a { padding: 10px 0; border-bottom: 1px solid var(--line); font: 700 17px/1.3 var(--serif); }
.drawer-links a.on, .drawer-links a:hover { color: var(--accent); }
.drawer-pages a { padding: 6px 0; color: var(--ink2); font-size: 14px; }

/* ── hero ── */
.hero { position: relative; min-height: min(78vh, 820px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg .ph { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 13, 12, .15) 0%, rgba(15, 13, 12, .55) 45%, rgba(15, 13, 12, .97) 100%); }
.hero-in { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 34px; display: grid; gap: 28px; }
.hero-title { margin: 12px 0 12px; font: 900 clamp(34px, 7vw, 68px)/1.04 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.hero-title a:hover { color: var(--amber); }
.hero-ex { max-width: 640px; margin: 0 0 12px; color: var(--ink2); font-size: 17px; }
.hero-side { display: grid; gap: 2px; }
.hero-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-item:hover b { color: var(--amber); }
.hero-n { font: 900 26px/1 var(--serif); color: var(--accent); min-width: 34px; }
.hero-item em { display: block; font: 700 10.5px/1 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.hero-item b { font: 700 16.5px/1.3 var(--serif); }

/* ── section head ── */
.sec-head { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; }
.sec-head h2 { margin: 0; font: 800 28px/1.1 var(--serif); white-space: nowrap; }
.sec-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent) 0 60px, var(--line) 60px); }
.sec-more { font-size: 13px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.sec-more:hover { color: var(--accent); }

/* ── cards ── */
.grid { display: grid; gap: 30px 24px; grid-template-columns: 1fr; }
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--card); }
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s; filter: saturate(1.05); }
.card:hover .card-img img { transform: scale(1.045); filter: saturate(1.2); }
.card-body { padding-top: 14px; }
.card-title { margin: 8px 0 8px; font: 700 21px/1.25 var(--serif); text-wrap: pretty; }
.card-title a:hover { color: var(--amber); }
.card-ex { margin: 0 0 10px; color: var(--ink2); font-size: 15px; }
.card-big .card-title { font-size: 26px; }
.cat-block { margin-top: 56px; }
.cat-row { display: grid; gap: 26px; }
.cat-list { display: grid; gap: 18px; align-content: start; }
.mini { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; }
.mini-img { width: 112px; height: 84px; object-fit: cover; border-radius: 10px; font-size: 30px; }
.mini b { display: block; font: 700 16px/1.3 var(--serif); margin-bottom: 4px; }
.mini:hover b { color: var(--amber); }

/* ── pager ── */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 50px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.pager a:hover { border-color: var(--accent); color: var(--ink); }
.pager .cur { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .gap { border: 0; }

/* ── list head ── */
.list-head { padding: 54px 0 34px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at top left, rgba(232, 64, 47, .16), transparent 60%); }
.list-head h1 { margin: 0 0 10px; font: 900 clamp(34px, 6vw, 58px)/1.05 var(--serif); }
.count { color: var(--mute); font-size: 13.5px; }
.empty { color: var(--ink2); }

/* ── article ── */
.art-head { padding: 40px 0 26px; text-align: left; }
.art-head .wrap > * { max-width: 880px; }
.crumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--mute); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.crumbs a:hover { color: var(--accent); }
.crumbs a:last-child { color: var(--accent); }
.art-title { margin: 0 0 16px; font: 900 clamp(32px, 6vw, 56px)/1.08 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.art-dek { margin: 0 0 18px; font: italic 600 19px/1.5 var(--serif); color: var(--ink2); }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); font-weight: 500; }
.art-meta a { color: var(--ink); font-weight: 700; }
.art-meta a:hover { color: var(--accent); }
.dot { color: var(--accent); }
.art-fig { margin: 0 auto 10px; }
.art-fig img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r); }
.art-fig figcaption { color: var(--mute); font-size: 13px; padding-top: 8px; }
.layout { display: grid; gap: 40px; padding-top: 16px; padding-bottom: 20px; }
.main-col { min-width: 0; }

/* isi artikel (termasuk HTML hasil import WordPress yg pakai inline style) */
.prose { font-size: 17.5px; line-height: 1.8; color: #e4ddd4; overflow-wrap: break-word; }
.prose > *:first-child { margin-top: 0; }
.prose article { display: block; }
.prose p { margin: 0 0 1.25em; }
.prose a { color: var(--amber) !important; text-decoration: underline !important; text-decoration-color: rgba(242, 165, 65, .4) !important; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent) !important; }
.prose strong, .prose b { color: var(--ink); }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--serif); color: var(--ink); line-height: 1.22; margin: 1.8em 0 .6em; }
.prose h1 { font-size: 34px; }
.prose h2 { font-size: 29px; font-weight: 800; padding-bottom: 0 !important; border-bottom: 0 !important; }
.prose h2::before { content: ''; display: block; width: 44px; height: 3px; background: var(--accent); margin-bottom: 14px; border-radius: 2px; }
.prose h3 { font-size: 23px; font-weight: 700; }
.prose img { border-radius: 12px !important; margin: 1.4em 0 .6em; width: 100%; }
.prose img + p[style*="italic"], .prose img + br + p[style*="italic"] { margin-top: 0 !important; }
.prose p[style*="italic"] { color: var(--mute); font-size: 13px !important; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px !important; border-left: 3px solid var(--accent) !important; background: var(--card) !important; border-radius: 0 12px 12px 0 !important; font: italic 600 19px/1.55 var(--serif); color: var(--ink); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose [data-box] { background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 14px !important; }
.prose [data-box] [data-box] { background: var(--bg2) !important; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line) !important; text-align: left; }
.prose th { color: var(--ink); background: var(--card); }
.prose code { background: var(--card); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose iframe, .prose video { max-width: 100%; border-radius: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.chips a:hover { border-color: var(--accent); color: var(--ink); }
.chips small { color: var(--mute); margin-left: 3px; }
.art-tags { margin: 34px 0 0; }
.share { display: flex; align-items: center; gap: 8px; margin: 26px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.share span { font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-right: 6px; }
.share a, .sh-copy { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink2); cursor: pointer; }
.share a:hover, .sh-copy:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.sh-copy.done { background: #2f8f4e; border-color: #2f8f4e; color: #fff; }
.author { display: flex; gap: 16px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin: 26px 0; }
.author-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; font-size: 26px; }
.author h3 { margin: 0 0 6px; font: 800 20px/1.2 var(--serif); }
.author p { margin: 0 0 8px; color: var(--ink2); font-size: 14.5px; }
.author-links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--amber); }
.author-head { background: none; border: 0; padding: 0; margin: 10px 0 14px; }
.prevnext { display: grid; gap: 14px; margin: 26px 0; }
.prevnext a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); font: 700 17px/1.35 var(--serif); }
.prevnext a:hover { border-color: var(--accent); }
.prevnext small { display: block; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.prevnext .next { text-align: right; }
.related { border-top: 1px solid var(--line); }

/* ── sidebar ── */
.sidebar { display: grid; gap: 26px; align-content: start; }
.widget { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.widget-title { margin: 0 0 16px; font: 800 19px/1 var(--serif); }
.widget-title::after { content: ''; display: block; width: 32px; height: 3px; background: var(--accent); margin-top: 10px; border-radius: 2px; }
.pop { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pop li { display: flex; gap: 12px; align-items: flex-start; }
.pop-n { font: 900 22px/1 var(--serif); color: var(--accent); min-width: 30px; }
.pop a { font: 700 15px/1.35 var(--serif); }
.pop a:hover { color: var(--amber); }

/* ── page / 404 ── */
.page-title { margin-bottom: 26px; }
.notfound { text-align: center; }
.big404 { display: block; font: 900 clamp(90px, 22vw, 180px)/1 var(--serif); color: var(--accent); }
.notfound h1 { font: 800 32px/1.2 var(--serif); margin: 6px 0 10px; }
.notfound p { color: var(--ink2); }
.nf-search { display: flex; gap: 8px; max-width: 460px; margin: 22px auto 46px; }
.nf-search input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); font: 15px var(--sans); }
.notfound .grid { text-align: left; }

/* ── form kontak & daftar isi (shortcode) ── */
.cfb-form { display: grid; gap: 14px; max-width: 560px; }
.cfb-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.cfb-form input, .cfb-form textarea { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); font: 15px var(--sans); }
.cfb-form button { justify-self: start; padding: 12px 22px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: 700 15px var(--sans); cursor: pointer; }
.cfb-hp { position: absolute; left: -9999px; }
.cfb-note { padding: 12px 16px; border-radius: 10px; }
.cfb-note.ok { background: rgba(47, 143, 78, .18); }
.cfb-note.err { background: rgba(232, 64, 47, .18); }

/* ── footer ── */
.footer { border-top: 1px solid var(--line); background: #0a0908; margin-top: 30px; }
.foot-grid { display: grid; gap: 30px; padding-top: 50px; padding-bottom: 34px; }
.foot-brand p { color: var(--ink2); font-size: 14.5px; max-width: 360px; }
.footer h4 { margin: 0 0 14px; font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink2); }
.footer ul a:hover { color: var(--accent); }
.foot-cats { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.foot-copy { padding-top: 18px; padding-bottom: 26px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }

/* ── iklan ── */
.cfb-ad { margin: 1.6em auto; text-align: center; overflow: hidden; }
.grid > .cfb-ad { grid-column: 1 / -1; }

@media (min-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
  .prevnext { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .burger { display: none; }
  .nav { display: flex; }
  .head-search { display: block; margin-left: auto; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-in { grid-template-columns: 1.7fr 1fr; align-items: end; }
  .cat-row { grid-template-columns: 1.25fr 1fr; }
  .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
  .sidebar { position: sticky; top: 86px; }
}
@media (max-width: 899px) {
  .hero { min-height: 68vh; }
  .hero-side { display: none; }
  .head-in { justify-content: space-between; }
  .site-head .brand { position: absolute; left: 50%; transform: translateX(-50%); }
  .head-in { position: relative; }
  .wordmark { font-size: 18px; }
}
@media (max-width: 380px) {
  .wordmark { font-size: 15.5px; }
}
.cfb-ad-label { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
@media (min-width: 768px) { .cfb-mobile { display: none !important; } }
@media (max-width: 767px) { .cfb-desktop { display: none !important; } }
.cfb-toc { columns: 2 260px; column-gap: 32px; }
.cfb-toc section { break-inside: avoid; }
.cfb-toc h2 { font-size: 20px !important; margin: 1em 0 .5em !important; }
.cfb-toc h2::before { display: none; }
.cfb-toc ul { margin: 0; padding-left: 1.1em; font-size: 15.5px; line-height: 1.5; }
.hero .kicker { background: var(--accent); color: #fff; padding: 6px 10px 5px; border-radius: 4px; }
.hero .kicker:hover { background: var(--amber); color: #111; }

/* ── footer HP: logo + deskripsi, kategori jadi chip, info 2 kolom, copyright ringkas ── */
.foot-top { display: none; }
@media (max-width: 639px) {
  .footer { margin-top: 10px; }
  .foot-grid { gap: 26px; padding-top: 36px; padding-bottom: 24px; }
  .foot-brand .brand { margin-bottom: 4px; }
  .foot-brand p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; }
  .footer h4 { margin-bottom: 12px; }
  .foot-cats { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
  .foot-cats a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; }
  .foot-cats a:hover { border-color: var(--accent); }
  .foot-info { grid-template-columns: 1fr 1fr; gap: 10px 16px !important; font-size: 14px !important; }
  .foot-copy { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 22px; font-size: 12px; }
  .foot-top { display: inline-grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink2); font-size: 16px; }
  .foot-top:hover { border-color: var(--accent); color: var(--accent); }
}
