/* ==========================================================================
   ARSIP X — tampilan publik
   Kertas peta tua, tinta cokelat tua, dan coretan spidol merah.
   ========================================================================== */

@font-face { font-family: "Playfair Display"; font-weight: 900; font-style: normal; font-display: swap;
  src: url(../fonts/playfair-display-latin-900-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-weight: 900; font-style: normal; font-display: swap;
  src: url(../fonts/playfair-display-latin-ext-900-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(../fonts/playfair-display-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap;
  src: url(../fonts/playfair-display-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-weight: 400; font-style: normal; font-display: swap;
  src: url(../fonts/literata-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-weight: 400; font-style: normal; font-display: swap;
  src: url(../fonts/literata-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-weight: 400; font-style: italic; font-display: swap;
  src: url(../fonts/literata-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-weight: 400; font-style: italic; font-display: swap;
  src: url(../fonts/literata-latin-ext-400-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-weight: 600; font-style: normal; font-display: swap;
  src: url(../fonts/literata-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Literata"; font-weight: 600; font-style: normal; font-display: swap;
  src: url(../fonts/literata-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Literata"; font-weight: 600; font-style: italic; font-display: swap;
  src: url(../fonts/literata-latin-600-italic.woff2) format("woff2"); }

/* ---------- Token ---------- */
:root {
  --paper: #EEE4CC;        /* kertas peta */
  --paper-2: #E5D8B9;      /* lipatan kertas */
  --paper-hi: #F7F1E2;     /* tepi foto cetak */
  --ink: #231E17;          /* tinta */
  --ink-2: #5E5240;        /* tinta pudar */
  --rule: #CDBB94;         /* garis */
  --contour: #8C7652;      /* garis kontur peta */
  --marker: #D1202A;       /* spidol merah */
  --marker-ink: #B3161F;
  --focus: #1F5F8B;
  --shadow: 0 1px 0 rgba(60, 45, 20, .08), 0 10px 24px -14px rgba(60, 45, 20, .45);

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --text: "Literata", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --measure: 40rem;
  color-scheme: light;
}
[data-theme="dark"] {
  --paper: #1D1913;
  --paper-2: #2A241B;
  --paper-hi: #322B20;
  --ink: #EBE0C8;
  --ink-2: #B5A688;
  --rule: #4A4032;
  --contour: #6E5F45;
  --marker: #E8484F;
  --marker-ink: #F06B70;
  --focus: #7DB7DE;
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 12px 26px -14px rgba(0,0,0,.8);
  color-scheme: dark;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--marker-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; color: var(--paper); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: flex-start; gap: 0; line-height: 1; color: var(--ink); white-space: nowrap; }
.logo__word { font: 900 1.65rem/1 var(--display); letter-spacing: .01em; }
.logo__x { width: 1.55rem; height: 1.7rem; margin: -.32rem 0 0 .06rem; overflow: visible; }
.logo__x path { fill: none; stroke: var(--marker); stroke-width: 6.2; stroke-linecap: round; stroke-linejoin: round; }
.logo__x .logo__x2 { stroke-width: 2.6; opacity: .55; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: .55em 1.15em;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.1 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--marker); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { border-color: var(--marker); color: var(--marker-ink); }
.btn--yt { background: var(--marker); color: #fff; }
.btn--yt:hover { background: var(--marker-ink); color: #fff; }
.btn--yt svg { background: #fff; color: var(--marker); border-radius: 4px; padding: 1px; }
.btn--big { min-height: 52px; font-size: 1.05rem; padding-inline: 1.5em; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: none; border-radius: 50%; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
[data-theme="light"] .i-moon, [data-theme="dark"] .i-sun { display: none; }

/* ---------- Kepala situs ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.masthead__row { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.masthead__brand { text-decoration: none; flex: none; padding: 4px 0; }
.masthead__brand:hover { color: inherit; }
.nav { flex: 1; min-width: 0; }
.nav ul { display: flex; flex-wrap: nowrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 6px 0; font-weight: 600; font-size: .93rem; text-decoration: none; white-space: nowrap; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 0; height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5c20-3 40-3 60-1.5S90 5 98 3' fill='none' stroke='%23D1202A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.masthead__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.masthead__tools .btn--yt { margin-left: 8px; min-height: 40px; padding: .45em 1em; font-size: .9rem; }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 18px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.35);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
  .nav li:last-child a { border-bottom: 0; }
  .nav a::after { display: none; }
}
@media (max-width: 560px) {
  .masthead__row { gap: 10px; min-height: 60px; }
  .nav { inset: 60px 0 auto 0; }
  .masthead__tools .btn--yt span { display: none; }
  .masthead__tools .btn--yt { padding: .45em .7em; margin-left: 4px; }
  .logo__word { font-size: 1.45rem; }
}

/* ---------- Tekstur peta (kontur) ---------- */
.hero, .footer, .listing__head, .ytband { position: relative; isolation: isolate; }
.hero::before, .footer::before, .listing__head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--contour);
  -webkit-mask: url(../img/contours.svg) center/cover no-repeat;
          mask: url(../img/contours.svg) center/cover no-repeat;
  opacity: .32;
}
[data-theme="dark"] .hero::before, [data-theme="dark"] .footer::before, [data-theme="dark"] .listing__head::before { opacity: .4; }

/* ---------- Kartu ---------- */
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card__media {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--paper-2);
  border: 7px solid var(--paper-hi);
  box-shadow: var(--shadow);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper-2); }
.card__ph::before { content: ""; position: absolute; inset: 0; background: var(--contour); opacity: .35; -webkit-mask: url(../img/contours.svg) center/cover; mask: url(../img/contours.svg) center/cover; }
.card__ph span { position: relative; font: 900 4.5rem/1 var(--display); color: var(--ink-2); opacity: .6; }
.card__video {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px 4px 7px; border-radius: 4px;
  background: rgba(20, 16, 10, .82); color: #fff;
  font: 600 .78rem/1 var(--text); font-variant-numeric: tabular-nums;
}
.card__video svg { width: 10px; height: 10px; fill: #fff; }
.card__body { display: flex; flex-direction: column; gap: 6px; }
.card__cat { align-self: flex-start; color: var(--marker-ink); font-weight: 600; font-size: .86rem; text-decoration: none; }
.card__cat:hover { text-decoration: underline; }
.card__title { margin: 0; font: 700 1.32rem/1.2 var(--display); letter-spacing: -.005em; text-wrap: balance; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; }
.card__desc { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--ink-2); font-size: .86rem; font-style: italic; }
.card--sm .card__title { font-size: 1.15rem; }

.grid { display: grid; gap: 44px 32px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; } }
@media (max-width: 620px) { .grid--3 { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Beranda: hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 72px); border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: center; }
.hero__media {
  position: relative; display: block; aspect-ratio: 16 / 9;
  border: 10px solid var(--paper-hi); box-shadow: var(--shadow);
  background: var(--paper-2);
  transform: rotate(-1.2deg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__mark {
  position: absolute; width: clamp(54px, 6vw, 84px); height: auto; right: -30px; top: -38px; overflow: visible;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.08));
}
.hero__mark path { fill: none; stroke: var(--marker); stroke-width: 11; stroke-linecap: round; }
.hero__mark path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .55s .25s ease-out forwards; }
.hero__mark path + path { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__text { display: flex; flex-direction: column; gap: 14px; }
.hero__cat { align-self: flex-start; color: var(--marker-ink); font-weight: 600; text-decoration: none; }
.hero__cat:hover { text-decoration: underline; }
.hero__title { margin: 0; font: 900 clamp(2.1rem, 4vw, 3.5rem)/1.04 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.hero__title--long { font-size: clamp(1.9rem, 3vw, 2.65rem); line-height: 1.08; }
.hero__title a { text-decoration: none; }
.hero__title a:hover { color: var(--ink); }
.hero__dek { margin: 0; font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { transform: rotate(-.8deg); }
  .hero__mark { right: -6px; top: -20px; width: 46px; }
}

/* ---------- Blok & judul bagian ---------- */
.block { padding-block: clamp(40px, 6vw, 72px) 0; }
.block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 30px; }
.block__title { margin: 0; font: 900 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--display); }
.block__title a { text-decoration: none; }
.block__more { font-weight: 600; font-size: .95rem; }
.marker {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-4 70-6 110-4s70 3 84 1' fill='none' stroke='%23D1202A' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") left 100% / 100% .42em no-repeat;
  padding-bottom: .18em;
}

/* Indeks kategori */
.cat-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.cat-index li { border-bottom: 1px solid var(--rule); }
.cat-index li:nth-child(odd) { border-right: 1px solid var(--rule); }
.cat-index a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 22px 22px 0; text-decoration: none; height: 100%; }
.cat-index li:nth-child(even) a { padding-left: 22px; }
.cat-index__name { font: 700 1.3rem/1.2 var(--display); }
.cat-index__n { color: var(--marker-ink); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.cat-index__d { grid-column: 1 / -1; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.cat-index a:hover .cat-index__name { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 2px; }
@media (max-width: 720px) {
  .cat-index { grid-template-columns: 1fr; }
  .cat-index li:nth-child(odd) { border-right: 0; }
  .cat-index li:nth-child(even) a { padding-left: 0; }
}

/* Pita YouTube */
.ytband { margin-top: clamp(56px, 8vw, 96px); background: var(--ink); color: var(--paper); overflow: hidden; }
.ytband::after {
  content: ""; position: absolute; z-index: -1; right: -30px; top: 50%; width: 200px; height: 220px; transform: translateY(-50%) rotate(6deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 52'%3E%3Cg fill='none' stroke='%23D1202A' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M7 6c6 7 13 15 18 21s11 13 17 20'/%3E%3Cpath d='M42 5c-5 6-12 14-17 21-6 7-12 14-19 21'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  opacity: .9;
}
.ytband__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(40px, 6vw, 64px); flex-wrap: wrap; }
@media (min-width: 900px) { .ytband__inner { padding-right: calc(var(--gutter) + 170px); } }
.ytband__title { margin: 0 0 8px; font: 900 clamp(1.8rem, 3.4vw, 2.6rem)/1.05 var(--display); }
.ytband p { margin: 0; max-width: 34rem; color: color-mix(in srgb, var(--paper) 80%, transparent); font-size: 1.05rem; }
.ytband .btn--yt svg { color: var(--marker); }

/* ---------- Kaki situs ---------- */
.footer { padding-top: clamp(48px, 6vw, 72px); border-top: 1.5px solid var(--ink); margin-top: clamp(56px, 8vw, 96px); }
.is-home .footer { margin-top: 0; border-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr .8fr; gap: 36px; }
.footer__brand .logo__word { font-size: 2.2rem; }
.footer__brand .logo__x { width: 2rem; height: 2.2rem; }
.footer__tagline { margin: 14px 0 8px; font-style: italic; font-size: 1.1rem; }
.footer__note { margin: 0; color: var(--ink-2); font-size: .95rem; max-width: 26rem; }
.footer__col h2 { margin: 6px 0 12px; font: 700 1.05rem/1.2 var(--display); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer__col a { text-decoration: none; font-size: .95rem; }
.footer__col a:hover { text-decoration: underline; }
.footer__base { margin-top: 44px; padding-block: 20px 34px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .85rem; }
.footer__base p { margin: 0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Artikel ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--marker); transform: scaleX(0); transform-origin: left; }

.article { padding-top: clamp(24px, 4vw, 48px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--marker-ink); font-weight: 600; text-decoration: none; }
.crumbs a:first-child { color: var(--ink-2); font-weight: 400; }
.crumbs a:hover { text-decoration: underline; }
.article__head { max-width: 56rem; }
.article__title { margin: 0; font: 900 clamp(2.1rem, 5.2vw, 3.9rem)/1.04 var(--display); letter-spacing: -.018em; text-wrap: balance; }
.article__dek { margin: 18px 0 0; font-size: clamp(1.12rem, 1.8vw, 1.32rem); line-height: 1.5; font-style: italic; color: var(--ink-2); max-width: 46rem; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .93rem; }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline a:hover { text-decoration: underline; }

.article__layout { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 290px); justify-content: space-between; gap: 64px; margin-top: 34px; }
.article__side { position: relative; }
.side-sticky { position: sticky; top: 96px; display: grid; gap: 28px; }
@media (max-width: 1080px) {
  .article__layout { grid-template-columns: minmax(0, 1fr); max-width: var(--measure); }
  .article__side { display: none; }
}

/* Daftar isi */
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 1.6em 1fr; gap: 4px; padding: 6px 0; text-decoration: none; font-size: .93rem; line-height: 1.4; color: var(--ink-2); }
.toc a::before { content: counter(toc) "."; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.toc li.nonum a { grid-template-columns: 1fr; }
.toc li.nonum a::before { content: none; }
.toc a.is-active::before { color: var(--marker); font-weight: 600; }
.toc__title { margin: 0 0 8px; font: 700 1.05rem/1.2 var(--display); }
.toc--side { padding-left: 16px; border-left: 2px solid var(--rule); }
.toc--inline { display: none; margin-bottom: 26px; border: 1px solid var(--rule); border-radius: 6px; padding: 4px 16px; background: color-mix(in srgb, var(--paper-2) 50%, transparent); }
.toc--inline summary { cursor: pointer; padding: 10px 0; font-weight: 600; }
.toc--inline[open] summary { border-bottom: 1px solid var(--rule); margin-bottom: 6px; }
.toc--inline ol { padding-bottom: 10px; }
@media (max-width: 1080px) { .toc--inline { display: block; } }

/* Isi artikel */
.prose { font-size: clamp(1.06rem, 1.1vw + .7rem, 1.18rem); line-height: 1.75; }
.prose > * { margin-block: 0 1.15em; }
.prose h2 { font: 900 clamp(1.55rem, 2.6vw, 2.05rem)/1.15 var(--display); margin: 2.1em 0 .6em; letter-spacing: -.01em; text-wrap: balance; }
.prose h3 { font: 700 1.3rem/1.25 var(--display); margin: 1.7em 0 .5em; }
.prose h2 + h3 { margin-top: .6em; }
.prose a { color: var(--marker-ink); text-decoration-color: color-mix(in srgb, var(--marker) 45%, transparent); }
.prose a:hover { text-decoration-color: var(--marker); }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--marker); }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--marker); font-style: italic; font-size: 1.08em; }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; height: 14px; margin: 2.5em auto; width: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M3 8c25-5 50-5 75-2s33 2 39 0' fill='none' stroke='%23D1202A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.prose code { font-size: .9em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
.prose .figure { margin: 2.2em 0; }
.prose .figure img, .prose > p img { border: 7px solid var(--paper-hi); box-shadow: var(--shadow); margin-inline: auto; max-height: 78vh; width: auto; }
.prose .figure figcaption { margin-top: 12px; font-size: .86rem; line-height: 1.5; color: var(--ink-2); font-style: italic; padding-left: 12px; border-left: 2px solid var(--marker); }
.prose .qa { padding-top: .2em; }
.prose .qa .q { display: block; font-family: var(--display); font-weight: 700; font-size: 1.12em; line-height: 1.3; margin-bottom: .25em; }

.table-wrap { overflow-x: auto; margin: 1.6em 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92em; line-height: 1.5; }
.prose th { text-align: left; font-weight: 600; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.prose td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }

/* Video */
.video { margin: 2em 0 2.2em; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border: 8px solid var(--paper-hi); box-shadow: var(--shadow); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #000; display: block; width: 100%; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.video__play:hover img { opacity: 1; }
.video__btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--marker); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .15s; }
.video__play:hover .video__btn { transform: scale(1.06); }
.video__btn svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.video__cap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: .92rem; color: var(--ink-2); }
.video__lead { font-style: italic; }
.video__cap a { color: var(--marker-ink); font-weight: 600; }
.chapters { margin-top: 14px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.chapters summary { cursor: pointer; padding: 10px 0; font-weight: 600; font-size: .95rem; }
.chapters ol { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.chapters a { display: flex; gap: 12px; padding: 7px 0; text-decoration: none; font-size: .93rem; line-height: 1.35; color: var(--ink); }
.chapters__t { flex: none; min-width: 3.1em; color: var(--marker-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.chapters a:hover .chapters__l { text-decoration: underline; }
@media (max-width: 560px) { .chapters ol { grid-template-columns: 1fr; } .video__btn { width: 62px; height: 62px; margin: -31px 0 0 -31px; } }

/* Ajakan komentar YouTube */
.talk { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: start; margin: 3em 0 0; padding: 24px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--paper-hi); }
.talk__x { width: 40px; height: 44px; }
.talk__x path { fill: none; stroke: var(--marker); stroke-width: 6; stroke-linecap: round; }
.talk__title { margin: 0 0 4px; font: 900 1.4rem/1.15 var(--display); }
.talk p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.talk .btn { grid-column: 2; justify-self: start; margin-top: 10px; }
@media (max-width: 520px) { .talk { grid-template-columns: 1fr; } .talk .btn { grid-column: 1; } }

.article__foot { margin-top: 2.4em; display: grid; gap: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags a { display: inline-block; padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: .86rem; text-decoration: none; color: var(--ink-2); }
.tags a:hover { border-color: var(--marker); color: var(--marker-ink); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: .93rem; }
.share__label { color: var(--ink-2); font-style: italic; }
.share a, .share button { font-weight: 600; text-decoration: none; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.share a:hover, .share button:hover { color: var(--marker-ink); text-decoration: underline; }

.related { margin-top: clamp(48px, 7vw, 80px); }
.related .block__head { border-top: 1.5px solid var(--ink); padding-top: clamp(32px, 4vw, 48px); }

/* ---------- Iklan ---------- */
.ad { margin: 2.2em 0; text-align: center; min-height: 120px; }
.ad__label { display: block; margin-bottom: 6px; font-size: .72rem; color: var(--ink-2); letter-spacing: .04em; }
.ad--sidebar { margin: 0; min-height: 280px; }
.ad--home_feed { margin-top: clamp(40px, 6vw, 64px); }
.ad--after_intro, .ad--mid_article { min-height: 280px; }

/* ---------- Daftar / kategori ---------- */
.listing__head { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.listing__title { margin: 0; font: 900 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--display); letter-spacing: -.015em; }
.listing__intro { margin: 14px 0 0; max-width: 40rem; font-size: 1.12rem; color: var(--ink-2); }
.listing__count { margin: 14px 0 0; font-style: italic; color: var(--ink-2); font-size: .93rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 56px; font-weight: 600; }
.pager span { color: var(--ink-2); font-weight: 400; font-variant-numeric: tabular-nums; }

/* ---------- Halaman, cari, 404 ---------- */
.page { padding-top: clamp(32px, 5vw, 56px); max-width: calc(var(--measure) + 2 * var(--gutter)); }
.page__head { margin-bottom: 30px; }
.contact { display: grid; gap: 16px; margin-top: 10px; max-width: 34rem; }
.contact label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.contact input, .contact textarea, .search__form input {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--paper-hi);
  border: 1.5px solid var(--rule); border-radius: 6px; padding: 12px 14px; width: 100%;
}
.contact input:focus, .contact textarea:focus, .search__form input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent); }
.contact .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 16px; border-radius: 6px; margin: 0; font-weight: 600; }
.notice--ok { background: color-mix(in srgb, #2e7d4f 14%, var(--paper)); border: 1px solid #2e7d4f; }
.notice--err { background: color-mix(in srgb, var(--marker) 12%, var(--paper)); border: 1px solid var(--marker); }

.search { padding-top: clamp(32px, 5vw, 56px); max-width: 52rem; }
.search__form { display: flex; gap: 10px; margin-top: 24px; }
.search__form input { font-size: 1.1rem; }
.search__status { color: var(--ink-2); font-style: italic; margin: 18px 0 0; }
.search__results { list-style: none; padding: 0; margin: 12px 0 0; }
.search__results li { border-bottom: 1px solid var(--rule); }
.search__results a { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding: 18px 0; text-decoration: none; }
.search__results img { width: 140px; aspect-ratio: 16/9; object-fit: cover; border: 4px solid var(--paper-hi); }
.search__results strong { display: block; font: 700 1.2rem/1.25 var(--display); margin-bottom: 4px; }
.search__results span { color: var(--ink-2); font-size: .93rem; }
.search__results mark { background: color-mix(in srgb, var(--marker) 22%, transparent); color: inherit; }
@media (max-width: 520px) { .search__results a { grid-template-columns: 96px 1fr; } .search__results img { width: 96px; } }

.notfound { padding-top: clamp(40px, 6vw, 80px); }
.notfound__x { width: 72px; height: 78px; margin-bottom: 14px; }
.notfound__x path { fill: none; stroke: var(--marker); stroke-width: 6; stroke-linecap: round; }
.notfound .search__form { max-width: 34rem; }
.empty-state, .notice-page { padding-block: 80px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__mark path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
@media print {
  .masthead, .footer, .ad, .article__side, .share, .talk, .related, .ytband, .progress { display: none !important; }
  body { background: #fff; color: #000; }
}
