/*
Theme Name: Panduan Rajabotak DWOMVWL2
Theme URI: https://rajabotaklogin.asia/
Author: Panduan Rajabotak Indonesia
Description: Tema editorial sinematik independen untuk Panduan Rajabotak Indonesia.
Version: 1.0.0
Text Domain: panduan-rajabotak
*/

:root {
  --bg: #090a0c;
  --panel: #12151a;
  --panel-2: #181c22;
  --text: #f2f2ef;
  --muted: #b4b6b9;
  --gold: #d8a64a;
  --coral: #d96c59;
  --blue: #7da7c7;
  --line: #30343a;
  --focus: #f3ce7b;
  --wide: 1320px;
  --read: 820px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.74;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(circle at 50% -40%, rgba(216,166,74,.17), transparent 63%);
  z-index: -1;
}
a { color: var(--focus); text-decoration-thickness: .09em; text-underline-offset: .2em; }
a:hover { color: #fff1c8; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; background: var(--focus); color: #111; border-radius: 6px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
  background: rgba(9,10,12,.93);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.header-inner { max-width: var(--wide); min-height: 72px; margin: 0 auto; padding: 6px 28px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link { display: block; }
.custom-logo { width: auto; height: 58px; max-width: 300px; object-fit: contain; }
.brand-fallback { color: var(--text); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--panel); color: var(--text); min-width: 48px; min-height: 48px; border-radius: 999px; font: inherit; cursor: pointer; }
.primary-nav ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 999px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--focus); background: rgba(216,166,74,.08); }

.site-main { min-height: 65vh; }
.article-header { max-width: 980px; margin: 0 auto; padding: 88px 24px 44px; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6.2vw, 78px); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.page:not(.home) h1 { font-size: clamp(40px, 5vw, 66px); }
.article-content { padding: 0 24px 90px; }
.article-content > p,
.article-content > h2,
.article-content > h3,
.article-content > ul,
.article-content > ol,
.article-content > blockquote,
.article-content > .asset-flow,
.article-content > .source-note,
.article-content > .faq-section { max-width: var(--read); margin-left: auto; margin-right: auto; }
.article-content > p { margin-top: 0; margin-bottom: 1.35em; }
.article-content > p:first-child { font-size: 1.18em; color: #fff; }
.article-content h2 { margin-top: 96px; margin-bottom: 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 4vw, 49px); line-height: 1.12; letter-spacing: -.025em; scroll-margin-top: 96px; }
.article-content h3 { margin-top: 48px; margin-bottom: 16px; font-size: 1.35rem; line-height: 1.3; scroll-margin-top: 96px; }
.article-content h2::before { content: ""; display: block; width: 52px; height: 3px; margin-bottom: 20px; background: linear-gradient(90deg, var(--gold), var(--coral)); }
.article-content strong { color: #fff; }
.editorial-image { max-width: var(--wide); margin: 44px auto 20px; }
.editorial-image img { width: 100%; border-radius: var(--radius); box-shadow: 0 28px 72px rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.08); }
.editorial-image figcaption { max-width: var(--read); margin: 12px auto 0; color: var(--muted); font-size: .88rem; }
.editorial-image.hero-image { margin-top: 8px; }
.editorial-image.hero-image img { aspect-ratio: 16/9; object-fit: cover; }

.table-wrap { max-width: 1080px; margin: 40px auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; min-width: 700px; font-size: .93rem; }
th, td { padding: 15px 17px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
th { color: var(--focus); background: #181c22; font-size: .84rem; letter-spacing: .025em; }
tr:last-child td { border-bottom: 0; }
.asset-flow { margin-top: 38px; margin-bottom: 38px; padding: 26px 28px; border: 1px solid rgba(216,166,74,.35); border-left: 4px solid var(--gold); border-radius: 14px; background: linear-gradient(135deg, rgba(216,166,74,.09), rgba(125,167,199,.05)); color: #fff; }

.faq-section { margin-top: 90px; }
.faq-section h2 { margin-top: 0; }
.faq-item { margin: 0 0 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.faq-item summary { cursor: pointer; min-height: 58px; padding: 17px 54px 17px 20px; font-weight: 800; line-height: 1.35; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 26px; color: var(--gold); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }

.trust-page .article-content { max-width: 900px; margin: 0 auto; }
.trust-page .article-content > * { max-width: 100%; }
.trust-page .article-content > p:first-child { font-size: 1.08em; }

.site-footer { border-top: 1px solid var(--line); background: #07080a; }
.footer-inner { max-width: var(--wide); margin: 0 auto; padding: 54px 28px 32px; display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: 42px; align-items: start; }
.footer-statement { margin: 0 0 10px; color: var(--text); font-weight: 700; }
.footer-identity { margin: 0; color: var(--muted); }
.footer-identity a { color: var(--focus); }
.footer-nav ul { justify-content: flex-end; flex-wrap: wrap; gap: 8px 18px; }
.footer-nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.footer-nav a:hover { color: var(--focus); }
.site-credit { max-width: var(--wide); margin: 0 auto; padding: 18px 28px 28px; border-top: 1px solid rgba(255,255,255,.06); color: #7f8388; font-size: .8rem; }

@media (max-width: 1120px) {
  .header-inner { gap: 10px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav { position: absolute; inset: 72px 16px auto; display: none; padding: 12px; background: #11151a; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; align-items: stretch; }
  .primary-nav a { padding: 10px 14px; font-size: 16px; }
}
@media (max-width: 768px) {
  body { font-size: 17px; }
  .header-inner { padding: 6px 18px; }
  .custom-logo { max-width: 250px; height: 58px; }
  .article-header { padding: 64px 20px 32px; }
  .article-content { padding: 0 18px 64px; }
  .article-content h2 { margin-top: 66px; }
  .editorial-image { margin-top: 32px; }
  .editorial-image img { border-radius: 14px; }
  .footer-inner { grid-template-columns: 1fr; padding: 44px 20px 28px; }
  .footer-nav ul { justify-content: flex-start; }
}
@media (max-width: 390px) {
  body { font-size: 16px; }
  h1 { font-size: 39px; }
  .custom-logo { max-width: 250px; height: 56px; }
  .header-inner { padding-inline: 14px; }
  .primary-nav { inset-inline: 10px; }
  .article-content { padding-inline: 16px; }
  .editorial-image.hero-image img, .editorial-image img { aspect-ratio: 4/5; object-fit: cover; object-position: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
