/* =========================================================
   N. Tjahajono & Co — Halaman Artikel & Daftar Artikel
   Dipakai bersama style.css (token warna, tipografi, header, footer).
   ========================================================= */

/* ---------- Progres baca ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--crimson), var(--gold)); }

/* ---------- Breadcrumb ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 0; list-style: none; font: 600 12.5px/1.4 var(--ff-ui); color: var(--slate); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; rotate: 45deg; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--crimson); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs--light { color: rgba(251, 251, 249, .62); }
.crumbs--light [aria-current] { color: var(--ivory); }
.crumbs--light a:hover { color: var(--gold); }

/* ---------- Hero artikel ---------- */
.a-hero { position: relative; padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 56px); background: var(--paper); border-bottom: 1px solid var(--line); }
.a-hero::after { content: ""; position: absolute; right: 4%; top: 50%; width: min(360px, 40vw); aspect-ratio: 1; translate: 0 -50%; background: url("../img/brand/emblem-gold.webp") center / contain no-repeat; opacity: .07; pointer-events: none; }
.a-hero__inner { position: relative; z-index: 1; max-width: 900px; }
.a-chip {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 7px 14px;
  border: 1px solid rgba(166, 22, 46, .28); border-radius: 999px; background: rgba(166, 22, 46, .06);
  font: 700 11px/1 var(--ff-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); text-decoration: none;
}
.a-chip:hover { background: rgba(166, 22, 46, .12); }
.a-title {
  margin: 18px 0 18px; font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(1.95rem, 4.2vw, 3.15rem); line-height: 1.16; letter-spacing: -.012em; color: var(--ink); text-wrap: balance;
}
.a-title em { font-style: italic; color: var(--crimson); }
.a-dek { max-width: 68ch; margin: 0; font-size: clamp(1.15rem, 1.5vw, 1.32rem); line-height: 1.55; color: #3D4350; }
.a-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; font: 500 13.5px/1.45 var(--ff-ui); color: var(--slate); }
.a-meta__author { display: flex; align-items: center; gap: 12px; }
.a-meta__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--ivory); box-shadow: 0 0 0 1px var(--gold); }
.a-meta__author strong { display: block; font-weight: 700; color: var(--ink); }
.a-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.a-meta__item .i { width: 16px; height: 16px; color: var(--gold-700); }

/* ---------- Gambar sampul ---------- */
.a-cover { margin: clamp(28px, 4vw, 48px) auto 0; }
.a-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-2); }
.a-cover figcaption { margin-top: 12px; font: 500 13px/1.5 var(--ff-ui); color: var(--slate); }

/* ---------- Layout isi + sidebar ---------- */
.a-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 72px); align-items: start; padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.a-body { min-width: 0; max-width: 760px; }

/* ---------- Tipografi artikel ---------- */
.prose { font-size: 1.22rem; line-height: 1.75; color: #22252B; }
.prose p { margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin: 2.2em 0 .7em; scroll-margin-top: 110px;
  font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.25; color: var(--ink);
}
.prose h2::before { content: ""; display: block; width: 44px; height: 2px; margin-bottom: 18px; background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.prose h3 { margin: 1.8em 0 .5em; scroll-margin-top: 110px; font: 700 1.12rem/1.4 var(--ff-ui); color: var(--ink); }
.prose a:not([class]) { color: var(--crimson); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:not([class]):hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); }
.prose ul:not([class]), .prose ol:not([class]) { padding-left: 1.3em; }
.prose ul:not([class]) li, .prose ol:not([class]) li { margin: .45em 0; padding-left: .3em; }
.prose ul:not([class]) li::marker { color: var(--crimson); }
.prose ol:not([class]) li::marker { font: 700 .9em var(--ff-ui); color: var(--crimson); }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold); font-family: var(--ff-display); font-style: italic; font-size: 1.12em; line-height: 1.6; color: var(--ink); }
.prose .lede { font-size: 1.32rem; line-height: 1.65; color: var(--ink); }
.prose .lede::first-letter { float: left; margin: .08em .12em 0 0; font-family: var(--ff-display); font-size: 3.4em; line-height: .82; color: var(--crimson); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 2px; background: #fff; }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font: 500 14.5px/1.55 var(--ff-ui); }
.prose th, .prose td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--obsidian); color: var(--ivory); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.prose tbody tr:nth-child(even) { background: rgba(244, 240, 232, .55); }
.prose tbody th { font-weight: 700; color: var(--ink); }

/* ---------- Poin penting ---------- */
.a-keypoints { padding: 26px 28px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: #fff; box-shadow: var(--shadow-1); }
.a-keypoints__title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px !important; font: 700 12px/1.3 var(--ff-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.a-keypoints__title .i { width: 18px; height: 18px; }
.a-keypoints ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font: 500 15.5px/1.55 var(--ff-ui); color: #2B2F36; }
.a-keypoints li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.a-keypoints li .i { width: 18px; height: 18px; margin-top: 2px; color: var(--crimson); }

/* ---------- Daftar isi ---------- */
.a-toc { border: 1px solid var(--line); background: #fff; }
.a-toc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none;
  font: 700 12px/1.3 var(--ff-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.a-toc summary::-webkit-details-marker { display: none; }
.a-toc summary .i { width: 18px; height: 18px; color: var(--crimson); transition: rotate .3s var(--ease-out); }
.a-toc[open] summary .i { rotate: 45deg; }
.a-toc ol { counter-reset: toc; display: grid; gap: 2px; margin: 0; padding: 0 12px 14px; list-style: none; }
.a-toc li { counter-increment: toc; }
.a-toc a {
  display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 9px 8px; border-radius: 2px;
  font: 500 14px/1.45 var(--ff-ui); color: var(--slate); text-decoration: none; transition: background-color .2s, color .2s;
}
.a-toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; font-size: 12px; color: var(--gold-700); padding-top: 1px; }
.a-toc a:hover { color: var(--crimson); background: rgba(166, 22, 46, .05); }
.a-toc a[aria-current="true"] { color: var(--crimson); background: rgba(166, 22, 46, .07); font-weight: 700; }
.a-toc--inline { display: none; }

/* ---------- CTA 1: strip ringan setelah pembuka ---------- */
.a-cta-strip {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 22px; margin-block: 2em !important;
  padding: 20px 22px; border: 1px solid rgba(166, 22, 46, .22); background: linear-gradient(100deg, rgba(166, 22, 46, .07), rgba(197, 160, 89, .08));
}
.a-cta-strip__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--crimson); color: var(--ivory); }
.a-cta-strip__icon .i { width: 22px; height: 22px; }
.a-cta-strip p { margin: 0; font: 500 15.5px/1.5 var(--ff-ui); color: #2B2F36; }
.a-cta-strip strong { display: block; font-family: var(--ff-display); font-weight: 400; font-size: 1.12rem; color: var(--ink); }

/* ---------- CTA 2: kartu gelap di tengah artikel ---------- */
.a-cta-card {
  position: relative; isolation: isolate; overflow: hidden; margin-block: 2.4em !important; padding: clamp(28px, 4vw, 44px);
  background: var(--obsidian); color: rgba(251, 251, 249, .78); box-shadow: var(--shadow-2);
}
.a-cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 320px at 100% 0%, rgba(166, 22, 46, .45), transparent 65%), radial-gradient(420px 300px at 0% 100%, rgba(197, 160, 89, .16), transparent 60%); }
.a-cta-card::after { content: ""; position: absolute; right: -50px; bottom: -60px; z-index: -1; width: 260px; aspect-ratio: 1; background: url("../img/brand/emblem-gold.webp") center / contain no-repeat; opacity: .1; }
.a-cta-card .a-cta-card__kicker { margin: 0 0 10px !important; font: 700 11.5px/1.3 var(--ff-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.a-cta-card .a-cta-card__title { margin: 0 0 14px !important; font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.28; color: var(--ivory); }
.a-cta-card__title em { color: var(--gold); }
.a-cta-card p { font: 400 16px/1.6 var(--ff-ui); }
.a-cta-card ul { display: grid; gap: 10px; margin: 18px 0 0 !important; padding: 0; list-style: none; font: 500 15px/1.5 var(--ff-ui); }
.a-cta-card li { display: flex; gap: 10px; }
.a-cta-card li .i { width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }
.a-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px !important; }
.a-cta-card .a-cta-note { margin: 16px 0 0 !important; font: 500 12.5px/1.5 var(--ff-ui); color: rgba(251, 251, 249, .5); }

/* ---------- CTA 3: checklist dokumen ---------- */
.a-checklist { margin-block: 2em !important; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1); }
.a-checklist__head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
.a-checklist__head .i { width: 26px; height: 26px; color: var(--crimson); }
.a-checklist__head p { margin: 0; font: 700 15px/1.35 var(--ff-ui); color: var(--ink); }
.a-checklist__head small { display: block; font-weight: 500; font-size: 13px; color: var(--slate); }
.a-checklist ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 22px 24px; list-style: none; font: 500 15px/1.5 var(--ff-ui); color: #2B2F36; }
.a-checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.a-checklist li .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(46, 139, 87, .12); color: #1F6B41; stroke-width: 2.4; }
.a-checklist__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 24px; border-top: 1px dashed var(--line); }
.a-checklist__foot p { margin: 0; max-width: 40ch; font: 500 14px/1.5 var(--ff-ui); color: var(--slate); }

/* ---------- FAQ ---------- */
.a-faq { display: grid; gap: 10px; }
.a-faq details { border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s; }
.a-faq details[open] { border-color: rgba(166, 22, 46, .3); box-shadow: var(--shadow-1); }
.a-faq summary {
  display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none;
  font: 700 16px/1.45 var(--ff-ui); color: var(--ink);
}
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); font: 500 18px/1 var(--ff-ui); color: var(--crimson); transition: rotate .3s var(--ease-out), background-color .3s; }
.a-faq details[open] summary::after { rotate: 45deg; background: rgba(166, 22, 46, .07); }
.a-faq details > div { padding: 0 22px 20px; font-size: 1.12rem; line-height: 1.7; color: #3D4350; }
.a-faq details > div p { margin: 0; }
.a-faq-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px !important; padding: 18px 22px; background: var(--paper); border: 1px dashed rgba(197, 160, 89, .7); }
.a-faq-cta p { margin: 0; font: 600 15px/1.45 var(--ff-ui); color: var(--ink); }

/* ---------- Catatan, bagikan, penulis ---------- */
.a-note { display: flex; gap: 14px; padding: 18px 20px; background: rgba(90, 101, 119, .07); font: 500 13.5px/1.6 var(--ff-ui); color: var(--slate); }
.a-note .i { width: 20px; height: 20px; margin-top: 2px; color: var(--slate); }
.a-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 22px; border-block: 1px solid var(--line); font: 700 11.5px/1 var(--ff-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.a-share span { margin-right: 6px; }
.a-share a, .a-share button {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.a-share a:hover, .a-share button:hover { background: var(--obsidian); border-color: var(--obsidian); color: var(--gold); }
.a-share .i { width: 17px; height: 17px; }

.a-author { display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: 26px; border: 1px solid var(--line); background: var(--paper); }
.a-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--ivory); box-shadow: 0 0 0 1px var(--gold); }
.a-author .a-author__label { margin: 0 0 4px !important; font: 700 10.5px/1.3 var(--ff-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-700); }
.a-author .a-author__name { margin: 0 !important; font-family: var(--ff-display); font-size: 1.2rem; color: var(--ink); }
.a-author .a-author__role { margin: 4px 0 12px !important; font: 600 13px/1.4 var(--ff-ui); color: var(--slate); }
.a-author p { font-size: 1.05rem; line-height: 1.6; }
.a-author .link-arrow { margin-top: 14px; }

/* ---------- Sidebar (lengket) ---------- */
.a-aside { position: sticky; top: 96px; display: grid; gap: 20px; max-height: calc(100vh - 112px); overflow-y: auto; scrollbar-width: thin; }
.a-side-card { position: relative; overflow: hidden; padding: 26px; background: var(--obsidian); color: rgba(251, 251, 249, .75); box-shadow: var(--shadow-2); }
.a-side-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--crimson), var(--gold)); }
.a-side-card__person { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.a-side-card__person img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--gold); }
.a-side-card__person strong { display: block; font: 700 14px/1.35 var(--ff-ui); color: var(--ivory); }
.a-side-card__person span { font: 500 12px/1.4 var(--ff-ui); color: rgba(251, 251, 249, .55); }
.a-side-card .a-side-card__title { margin: 0 0 10px; font-family: var(--ff-display); font-size: 1.25rem; line-height: 1.3; color: var(--ivory); }
.a-side-card p { margin: 0 0 18px; font: 400 14.5px/1.55 var(--ff-ui); }
.a-side-card .btn { width: 100%; }
.a-side-card .btn + .btn { margin-top: 10px; }
.a-side-card .office-status { margin-top: 16px; color: rgba(251, 251, 249, .6); }
.a-side-card .office-status[data-state="open"] { color: #7FD3A2; }
.a-side-card__trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-light); }
.a-side-card__trust div { font: 500 12px/1.35 var(--ff-ui); color: rgba(251, 251, 249, .55); }
.a-side-card__trust strong { display: block; font-family: var(--ff-display); font-size: 1.35rem; font-weight: 400; color: var(--gold); }

/* ---------- CTA akhir (band) ---------- */
.a-endcta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 8vw, 104px); background: #0F0D0B; color: rgba(251, 251, 249, .72); }
.a-endcta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 480px at 85% 30%, rgba(166, 22, 46, .38), transparent 62%), radial-gradient(600px 420px at 0% 100%, rgba(197, 160, 89, .14), transparent 60%); }
.a-endcta__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.a-endcta .section-title { margin-bottom: 18px; }
.a-endcta__lead { max-width: 52ch; font-size: 1.2rem; }
.a-endcta .a-cta-actions { margin-top: 30px; }
.a-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.a-steps li { counter-increment: st; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 18px 20px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .03); }
.a-steps li::before { content: counter(st); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(197, 160, 89, .6); font-family: var(--ff-display); font-size: 1.3rem; color: var(--gold); }
.a-steps strong { display: block; margin-bottom: 4px; font: 700 15px/1.4 var(--ff-ui); color: var(--ivory); }
.a-steps span { font: 400 14.5px/1.55 var(--ff-ui); }

/* ---------- Kartu artikel (terkait & daftar) ---------- */
.a-related { padding-block: clamp(64px, 8vw, 104px); background: var(--paper); }
.a-related__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.a-related__head .section-title { margin-bottom: 0; }
.a-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.a-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s;
}
.a-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: rgba(166, 22, 46, .25); }
.a-card__img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--obsidian); }
.a-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.a-card:hover .a-card__img img { transform: scale(1.05); }
.a-card__cat { position: absolute; left: 14px; top: 14px; padding: 6px 10px; background: var(--obsidian); font: 700 10px/1 var(--ff-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.a-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.a-card .a-card__meta, .b-featured .a-card__meta { flex: none; display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; font: 600 12px/1.4 var(--ff-ui); color: var(--slate); }
.a-card__meta span + span::before { content: "·"; margin-right: 12px; color: var(--gold-700); }
.a-card h2, .a-card h3 { margin: 0 0 10px; font-family: var(--ff-display); font-weight: 400; font-size: 1.18rem; line-height: 1.38; color: var(--ink); }
.a-card h2 a, .a-card h3 a { color: inherit; text-decoration: none; }
.a-card h2 a::after, .a-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.a-card p { flex: 1; margin: 0 0 18px; font-size: 1.05rem; line-height: 1.55; color: var(--slate); }
.a-card .link-arrow { margin-top: auto; }
.a-card:hover .link-arrow .i { transform: translate(3px, -3px); }

/* ---------- Bar CTA mobile ---------- */
.a-mbar { display: none; }

/* =========================================================
   DAFTAR ARTIKEL (/artikel/)
   ========================================================= */
.b-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); background: #0F0D0B; color: rgba(251, 251, 249, .72); }
.b-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 520px at 80% 40%, rgba(166, 22, 46, .34), transparent 62%), radial-gradient(700px 520px at 0% 100%, rgba(197, 160, 89, .13), transparent 60%); }
.b-hero::after { content: ""; position: absolute; right: -6%; top: 50%; z-index: -1; width: min(560px, 60vw); aspect-ratio: 1; translate: 0 -50%; background: url("../img/brand/emblem-gold.webp") center / contain no-repeat; opacity: .06; }
.b-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: end; margin-top: 28px; }
.b-hero h1 { margin: 16px 0 18px; font-family: var(--ff-display); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.1; letter-spacing: -.012em; color: var(--ivory); text-wrap: balance; }
.b-hero h1 em { font-style: italic; color: var(--gold); }
.b-hero__lead { max-width: 58ch; margin: 0; font-size: 1.2rem; }
.b-search { position: relative; }
.b-search label { display: block; margin-bottom: 10px; font: 700 11px/1.3 var(--ff-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.b-search input {
  width: 100%; min-height: 56px; padding: 0 18px 0 50px; border: 1px solid rgba(251, 251, 249, .2); border-radius: 2px;
  background: rgba(255, 255, 255, .06); font: 500 15.5px/1 var(--ff-ui); color: var(--ivory);
}
.b-search input::placeholder { color: rgba(251, 251, 249, .45); }
.b-search input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .09); }
.b-search .i { position: absolute; left: 17px; bottom: 18px; width: 20px; height: 20px; color: var(--gold); pointer-events: none; }
.b-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; font: 500 13px/1.4 var(--ff-ui); color: rgba(251, 251, 249, .55); }
.b-stats strong { color: var(--gold); font-weight: 700; }

.b-bar { position: sticky; top: 70px; z-index: 20; background: rgba(251, 251, 249, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.b-chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.b-chips::-webkit-scrollbar { display: none; }
.b-chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font: 600 13px/1 var(--ff-ui); color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.b-chip span { font-size: 11px; color: var(--slate); }
.b-chip:hover { border-color: var(--crimson); color: var(--crimson); }
.b-chip[aria-pressed="true"] { background: var(--crimson); border-color: var(--crimson); color: var(--ivory); }
.b-chip[aria-pressed="true"] span { color: rgba(251, 251, 249, .75); }

.b-main { padding-block: clamp(40px, 5vw, 64px) clamp(64px, 8vw, 104px); }
.b-featured {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); margin-bottom: 40px; overflow: hidden;
  background: var(--obsidian); color: rgba(251, 251, 249, .72); box-shadow: var(--shadow-2);
}
.b-featured__img { min-height: 100%; }
.b-featured__img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.b-featured__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 52px); }
.b-featured .b-featured__label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 11px/1.3 var(--ff-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.b-featured__label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.b-featured h2 { margin: 0 0 16px; font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.25; color: var(--ivory); }
.b-featured h2 a { color: inherit; text-decoration: none; }
.b-featured h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.b-featured p { font-size: 1.12rem; }
.b-featured .a-card__meta { margin: 6px 0 0; color: rgba(251, 251, 249, .55); }
.b-featured .link-arrow { margin-top: 10px; color: var(--gold); }

.b-cta-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px 26px; overflow: hidden;
  background: linear-gradient(160deg, var(--crimson), var(--crimson-900)); color: rgba(251, 251, 249, .82);
}
.b-cta-card::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 200px; aspect-ratio: 1; background: url("../img/brand/emblem-gold.webp") center / contain no-repeat; opacity: .14; }
.b-cta-card .b-cta-card__kicker { margin: 0; font: 700 11px/1.3 var(--ff-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.b-cta-card h3 { margin: 8px 0 10px; font-family: var(--ff-display); font-weight: 400; font-size: 1.4rem; line-height: 1.3; color: var(--ivory); }
.b-cta-card p { margin: 0; font: 400 15px/1.55 var(--ff-ui); }
.b-cta-card .btn { position: relative; z-index: 1; align-self: flex-start; }

.b-empty { display: none; padding: 48px 24px; border: 1px dashed var(--line); text-align: center; font: 500 15px/1.6 var(--ff-ui); color: var(--slate); }
.b-empty.is-show { display: block; }
.b-empty .btn { margin-top: 16px; }

.b-topics { padding-block: clamp(56px, 7vw, 96px); background: var(--paper); border-top: 1px solid var(--line); }
.b-topics__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.b-topics__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); background: #fff;
  font: 600 14.5px/1.4 var(--ff-ui); color: var(--ink); text-decoration: none; transition: border-color .25s, color .25s, transform .3s var(--ease-out);
}
.b-topics__list a:hover { border-color: var(--crimson); color: var(--crimson); transform: translateY(-2px); }
.b-topics__list .i { width: 16px; height: 16px; color: var(--crimson); }
.b-seo { max-width: 78ch; margin-top: 40px; font-size: 1.1rem; color: #3D4350; }
.b-seo h2 { margin: 0 0 12px; font-family: var(--ff-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); }

/* ---------- Responsif ---------- */
@media (max-width: 1199px) {
  .a-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .a-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-topics__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .a-layout { grid-template-columns: minmax(0, 1fr); }
  .a-body { max-width: none; }
  .a-aside { position: static; max-height: none; overflow: visible; }
  .a-aside .a-toc { display: none; }
  .a-toc--inline { display: block; }
  .a-endcta__grid, .b-hero__grid, .b-featured { grid-template-columns: minmax(0, 1fr); }
  .b-featured__img img { min-height: 0; aspect-ratio: 16 / 9; }
  .b-bar { top: 70px; }
  .a-hero::after { display: none; }
}

@media (max-width: 767px) {
  .prose { font-size: 1.14rem; line-height: 1.65; }
  .prose .lede { font-size: 1.2rem; }
  .a-cover img { aspect-ratio: 16 / 10; }
  .a-cta-strip { grid-template-columns: auto 1fr; }
  .a-cta-strip .btn { grid-column: 1 / -1; width: 100%; }
  .a-cta-actions .btn { flex: 1 1 100%; }
  .a-checklist ul { grid-template-columns: minmax(0, 1fr); }
  .a-checklist__foot .btn { width: 100%; }
  .a-author { grid-template-columns: minmax(0, 1fr); }
  .a-grid, .b-topics__list { grid-template-columns: minmax(0, 1fr); }
  .a-faq-cta .btn { width: 100%; }

  /* Bar CTA mobile menggantikan dock navigasi di halaman artikel */
  .page-article .wa-fab { display: none; }
  .a-mbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55;
    display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px;
    border: 1px solid rgba(197, 160, 89, .35); border-radius: 16px; background: rgba(17, 17, 17, .95);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6);
    transform: translateY(140%); transition: transform .45s var(--ease-out);
  }
  .a-mbar.is-visible { transform: none; }
  .a-mbar__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 11px;
    font: 700 13px/1.2 var(--ff-ui); letter-spacing: .04em; text-decoration: none;
  }
  .a-mbar__btn--wa { background: var(--gold); color: var(--obsidian); }
  .a-mbar__btn--call { width: 52px; padding: 0; border: 1px solid rgba(251, 251, 249, .25); color: var(--ivory); }
  .a-mbar__btn .i { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .a-card, .a-card__img img, .a-mbar { transition: none; }
}
