/*
Theme Name: Avatar808 Ocean Panorama v27HJtrt
Theme URI: https://avatar808login.asia/
Author: Avatar808 Panduan Indonesia
Description: Tema editorial panorama untuk panduan independen Avatar808.
Version: 1.0.1
Text Domain: avatar808-ocean
*/

:root {
  --ink: #17303d;
  --muted: #56717f;
  --paper: #ffffff;
  --wash: #eef7fa;
  --wash-strong: #dcecf3;
  --ocean: #0a3048;
  --ocean-2: #0f4f6d;
  --teal: #168b87;
  --amber: #e5a93d;
  --line: #c5dce5;
  --focus: #ffca66;
  --max: 1240px;
  --reading: 790px;
  font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--wash); font-size: 18px; line-height: 1.74; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: #086785; text-decoration-thickness: .09em; text-underline-offset: .17em; }
a:hover { color: #07475b; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: .7rem 1rem; background: white; color: var(--ink); }
.skip-link:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(8,39,59,.97); color: white; border-bottom: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); }
.header-inner { width: min(var(--max), calc(100% - 40px)); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 28px; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link { display: flex; min-height: 48px; align-items: center; }
.custom-logo { width: min(310px, 36vw); height: auto; max-height: 52px; object-fit: contain; object-position: left center; }
.fallback-logo { color: white; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 10px; color: white; background: transparent; font: inherit; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; justify-content: flex-end; align-items: center; flex-wrap: nowrap; gap: 2px 11px; margin: 0; padding: 8px 0; list-style: none; }
.primary-nav a { display: flex; align-items: center; min-height: 44px; color: white; font-size: .72rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { color: #ffcf72; }

.site-main { overflow: hidden; }
.hero-shell { padding: clamp(54px,8vw,110px) 20px clamp(44px,6vw,82px); background: radial-gradient(circle at 78% 12%, rgba(31,151,164,.42), transparent 32%), linear-gradient(135deg, #082a41 0%, #0b4764 64%, #126e78 100%); color: white; }
.hero-copy { width: min(920px, 100%); margin: auto; text-align: center; }
.hero-copy .eyebrow { color: #8de1d6; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-copy h1 { margin: .25em 0 .35em; color: white; font-size: clamp(2.15rem,5.4vw,4.55rem); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.hero-copy p { max-width: 820px; margin: 1rem auto; color: #e8f5f8; font-size: clamp(1rem,1.5vw,1.2rem); }
.hero-copy p:last-child { font-size: .94rem; color: #bfd9e2; }
.home-panorama { width: min(1440px, calc(100% - 36px)); margin: -22px auto clamp(58px,7vw,94px); position: relative; z-index: 2; }
.home-panorama img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: 0 22px 60px rgba(3,32,48,.25); }
.home-panorama figcaption, .editorial-figure figcaption { padding: 10px 4px 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }

.home-article > section, .page-article { width: min(var(--reading), calc(100% - 40px)); margin: 0 auto; }
.home-article > section { padding: clamp(42px,6vw,78px) 0; }
.home-article > section:nth-of-type(3n+2) { position: relative; }
.home-article > section:nth-of-type(3n+2)::before { content: ""; position: absolute; inset: 0 calc((100vw - 100%) / -2); z-index: -1; background: rgba(220,236,243,.58); }
h1, h2, h3 { color: #0c3b52; line-height: 1.18; letter-spacing: -.026em; text-wrap: balance; }
h2 { margin: 0 0 .55em; font-size: clamp(1.75rem,3.4vw,2.72rem); }
h3 { margin-top: 1.8em; font-size: clamp(1.3rem,2vw,1.7rem); }
p { margin: 0 0 1.15em; }
.home-article section > p:first-of-type::first-letter { color: var(--teal); font-size: 1.12em; font-weight: 700; }
.editorial-figure { width: min(1180px, calc(100% - 40px)); margin: 14px auto clamp(58px,7vw,92px); }
.editorial-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 15px; box-shadow: 0 18px 44px rgba(14,65,85,.16); }
.editorial-figure.wide img { aspect-ratio: 16/9; }

.verdict-box { border-left: 6px solid var(--amber); padding: clamp(28px,4vw,44px); border-radius: 0 16px 16px 0; background: #fff5df; box-shadow: 0 18px 40px rgba(67,57,27,.08); }
.responsible-box { border: 1px solid #b8d9d6; padding: clamp(28px,4vw,44px); border-radius: 16px; background: #e9f7f5; }

.faq-section { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 96px; }
.faq-section details { margin: 14px 0; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 8px 24px rgba(22,74,95,.07); }
.faq-section summary { min-height: 56px; padding: 17px 54px 17px 20px; cursor: pointer; color: #0a405a; font-weight: 750; position: relative; }
.faq-section summary::after { content: "+"; position: absolute; right: 20px; top: 13px; font-size: 1.55rem; color: var(--teal); }
.faq-section details[open] summary::after { content: "–"; }
.faq-section details p { padding: 0 20px 20px; margin: 0; color: #35525f; }

.page-hero { padding: clamp(52px,7vw,90px) 20px; background: linear-gradient(135deg,#0a3048,#126c79); color: white; }
.page-hero-inner { width: min(900px,100%); margin: auto; }
.page-hero h1 { color: white; margin: 0 0 .38em; font-size: clamp(2.1rem,4.8vw,4rem); }
.page-hero p { color: #d9eef2; max-width: 760px; }
.page-article { padding: clamp(50px,7vw,92px) 0 100px; }
.page-article > h2 { margin-top: 2em; }
.page-article > h2:first-of-type { margin-top: .2em; }
.asset-matrix, .asset-table, .asset-flow, .asset-checklist, .asset-timeline, .asset-decision { width: min(1080px, calc(100vw - 40px)); margin: 56px 50%; transform: translateX(-50%); padding: clamp(24px,4vw,42px); border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 18px 46px rgba(12,68,91,.1); }
.asset-flow ol, .asset-checklist ol, .asset-timeline ol { padding-left: 1.3em; }
.asset-flow li, .asset-checklist li, .asset-timeline li { margin: .7em 0; }
table { width: 100%; border-collapse: collapse; font-size: .91rem; line-height: 1.5; }
th, td { padding: 13px 14px; border: 1px solid #c8dce4; text-align: left; vertical-align: top; }
th { background: #0d4a65; color: white; }
tbody tr:nth-child(even) { background: #f0f7f9; }

.site-footer { background: #072a40; color: #d8e9ee; padding: 54px 20px 34px; }
.footer-inner { width: min(var(--max),100%); margin: auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 38px; }
.footer-title { color: white; font-weight: 800; font-size: 1.08rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.site-footer a { color: #bce9e3; }
.email-address { color: #d8e9ee; unicode-bidi: isolate; }
.footer-note { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; margin-top: 10px; color: #a9c5ce; font-size: .82rem; }

@media (max-width: 1180px) {
  .header-inner { min-height: 70px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 12px 20px 22px; background: #082f47; border-top: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 32px rgba(0,0,0,.2); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 16px; }
  .primary-nav a { padding: 4px 8px; }
  .custom-logo { width: min(280px,62vw); }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .header-inner, .home-article > section, .page-article, .faq-section { width: min(100% - 32px, var(--reading)); }
  .header-inner { gap: 12px; }
  .primary-nav ul { grid-template-columns: 1fr; }
  .hero-shell { padding-top: 46px; }
  .hero-copy { text-align: left; }
  .hero-copy h1 { font-size: clamp(2.05rem,10.3vw,2.75rem); }
  .home-panorama, .editorial-figure { width: calc(100% - 32px); margin-bottom: 50px; }
  .home-panorama img, .editorial-figure.wide img { aspect-ratio: 4/3; }
  .editorial-figure img { border-radius: 11px; }
  .asset-matrix, .asset-table, .asset-flow, .asset-checklist, .asset-timeline, .asset-decision { width: calc(100vw - 32px); padding: 20px; margin-block: 42px; overflow-x: auto; }
  table { min-width: 660px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-note { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
