/*
Theme Name: Merdeka Atlas vI0N5MwC
Theme URI: https://merdeka138.asia/
Author: Panduan Merdeka138 Indonesia
Description: Tema editorial independen midnight modular brand atlas untuk run vI0N5MwC.
Version: 1.0.0
Text Domain: merdeka-atlas
*/

:root {
  --bg: #071321;
  --bg-soft: #0d1d31;
  --panel: #122a43;
  --panel-hi: #173a57;
  --text: #f7fafc;
  --muted: #b8c8d8;
  --cyan: #55d0ee;
  --violet: #9a93ff;
  --coral: #ff8f75;
  --line: #315573;
  --focus: #9feeff;
  --max: 1240px;
  --read: 780px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(85, 208, 238, .09), transparent 28rem),
    radial-gradient(circle at 8% 42%, rgba(154, 147, 255, .06), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration-thickness: .09em; text-underline-offset: .19em; }
a:hover { color: #adf0ff; }
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; }
.site-shell { width: min(var(--max), calc(100% - clamp(32px, 7vw, 96px))); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50; min-height: 72px;
  background: rgba(7, 19, 33, .96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 26px; }
.site-brand { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 48px; text-decoration: none; }
.site-brand img { width: 240px; height: 60px; object-fit: contain; object-position: left center; }
.site-brand-name { color: var(--text); font-weight: 800; line-height: 1.1; max-width: 230px; }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--panel); font: inherit; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; }
.primary-nav a { display: flex; align-items: center; min-height: 48px; padding: 8px 10px; color: var(--text); font-size: .8rem; font-weight: 700; text-decoration: none; border-radius: 9px; white-space: nowrap; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: #071321; background: var(--cyan); }
.site-main { min-height: 60vh; }
.article-hero { padding: clamp(48px, 7vw, 92px) 0 28px; }
.article-hero-inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(220px, 4fr); gap: 34px; align-items: end; }
.article-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); font-weight: 800; font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; }
.article-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 20px 0 0 var(--violet); margin-right: 20px; }
h1 { margin: 12px 0 0; max-width: 980px; font-size: clamp(2.3rem, 5.1vw, 4.15rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.hero-node-map { min-height: 180px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(85,208,238,.13), rgba(154,147,255,.05) 48%, rgba(255,143,117,.13)); position: relative; overflow: hidden; }
.hero-node-map::before, .hero-node-map::after { content: ""; position: absolute; border: 2px solid var(--cyan); border-radius: 50%; width: 18px; height: 18px; top: 32%; left: 26%; box-shadow: 128px 42px 0 -2px var(--violet), 74px 94px 0 -2px var(--coral); }
.hero-node-map::after { width: 180px; height: 1px; border: 0; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--coral)); transform: rotate(22deg); top: 50%; left: 17%; opacity: .75; }
.article-content { padding: 10px 0 clamp(76px, 9vw, 122px); }
.content-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(200px, 4fr); gap: 30px; align-items: start; }
.entry-content { min-width: 0; }
.entry-content > p, .entry-content > h2, .entry-content > h3, .entry-content > ul, .entry-content > ol, .entry-content > blockquote { max-width: var(--read); }
.entry-content > p:first-child { font-size: 1.18rem; line-height: 1.65; color: #e9f5fb; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content h2 { margin: clamp(58px, 7vw, 92px) 0 20px; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.18; letter-spacing: -.02em; scroll-margin-top: 95px; text-wrap: balance; }
.entry-content h2::before { content: ""; display: block; width: 72px; height: 5px; margin-bottom: 17px; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--coral)); }
.entry-content h3 { margin: 38px 0 14px; font-size: 1.35rem; line-height: 1.28; }
.entry-content ul, .entry-content ol { margin: 18px 0 30px; padding-left: 1.45rem; }
.entry-content li { margin: 0 0 .8rem; padding-left: .35rem; }
.entry-content strong { color: #fff; }
.entry-content figure { width: min(100%, 1120px); margin: clamp(34px, 5vw, 58px) 0; }
.entry-content figure img { width: 100%; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); background: var(--panel); }
.entry-content figcaption { margin-top: 10px; max-width: 760px; color: var(--muted); font-size: .88rem; }
.entry-content .hero-visual img { aspect-ratio: 16 / 9; object-fit: cover; }
.entry-content .portrait-visual { max-width: 760px; }
.entry-content .portrait-visual img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 56%; }
.table-wrap { width: min(100%, 1120px); margin: 30px 0 44px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--bg-soft); }
th, td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--panel-hi); color: #fff; font-size: .88rem; }
tr:last-child td { border-bottom: 0; }
.asset-list { width: min(100%, 920px); margin: 30px 0 44px !important; padding: 22px 24px 18px 48px !important; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--panel), var(--bg-soft)); box-shadow: var(--shadow); }
.evidence-note { max-width: 900px; padding: 22px 24px; margin: 30px 0; border-left: 5px solid var(--coral); background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0; }
.faq-section { width: min(100%, 900px); margin-top: clamp(64px, 8vw, 104px); }
.faq-section h2 { max-width: 800px; }
.faq-item { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); overflow: clip; }
.faq-item summary { cursor: pointer; min-height: 54px; padding: 16px 52px 16px 18px; color: #fff; font-weight: 750; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 10px; color: var(--cyan); font-size: 1.7rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 18px 20px; color: var(--muted); }
.side-atlas { position: sticky; top: 98px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(155deg, var(--panel), rgba(13,29,49,.9)); }
.side-atlas strong { display: block; margin-bottom: 10px; color: var(--cyan); }
.side-atlas p { margin: 0; color: var(--muted); font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); background: #050d17; }
.footer-inner { padding: 54px 0 28px; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 32px; padding: 0; }
.footer-nav a { min-height: 48px; display: inline-flex; align-items: center; color: var(--text); font-weight: 650; }
.footer-statement { max-width: 900px; margin: 0; color: var(--muted); }
.footer-statement a { color: var(--cyan); }
.footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid #1b344a; color: #8fa4b8; font-size: .84rem; }

@media (max-width: 1120px) {
  .site-brand img { width: 205px; }
  .primary-nav a { font-size: .72rem; padding-inline: 7px; }
}
@media (max-width: 940px) {
  .header-inner { min-height: 70px; }
  .site-brand img { width: 220px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; margin: 0; padding: 12px max(18px, calc((100% - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: #071321; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .primary-nav a { min-height: 48px; padding: 10px 12px; font-size: .9rem; white-space: normal; }
  .article-hero-inner, .content-grid { grid-template-columns: 1fr; }
  .hero-node-map { min-height: 130px; }
  .side-atlas { position: static; max-width: var(--read); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-shell { width: calc(100% - 32px); }
  .site-brand img { width: 185px; height: 52px; }
  .primary-nav ul { grid-template-columns: 1fr; }
  .article-hero { padding-top: 38px; }
  h1 { font-size: clamp(2rem, 10.4vw, 2.72rem); }
  .entry-content h2 { margin-top: 54px; font-size: clamp(1.7rem, 8vw, 2.15rem); }
  .entry-content > p:first-child { font-size: 1.08rem; }
  .entry-content figure { margin-block: 30px; }
  .entry-content figure img { border-radius: 14px; }
  .entry-content .hero-visual img { aspect-ratio: 5 / 4; object-position: 67% center; }
  .entry-content .portrait-visual img { aspect-ratio: 4 / 5; }
  th, td { padding: 12px; }
  .footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
