/*
Theme Name: RPVIP4 Ocean KLDK0GTI
Theme URI: https://rpvip4login.asia/
Author: RPVIP4 Panduan Indonesia
Description: Tema editorial independen bergaya ocean panorama untuk panduan RPVIP4 Indonesia.
Version: 1.0.0
Text Domain: rpvip4-ocean
*/

:root {
  --ink: #15303e;
  --muted: #5a7280;
  --paper: #ffffff;
  --mist: #eef6f8;
  --soft: #dcecf3;
  --navy: #082d43;
  --navy-2: #0e4760;
  --teal: #087f80;
  --aqua: #1aa796;
  --amber: #d69227;
  --line: #bfd6de;
  --focus: #ffc857;
  --warn-bg: #fff3d7;
  --radius: 16px;
  --shadow: 0 18px 46px rgba(8, 45, 67, .14);
  --wide: 1240px;
  --read: 780px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.74;
  overflow-wrap: break-word;
}
a { color: #086b7b; text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: #064f5c; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: relative;
  z-index: 20;
  background: linear-gradient(108deg, #062b40 0%, #0a4a62 58%, #096d71 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.header-inner {
  width: min(calc(100% - 48px), var(--wide));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-link, .custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 48px; }
.custom-logo { width: min(330px, 30vw); max-height: 58px; object-fit: contain; object-position: left center; }
.brand-fallback { color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.55); border-radius: 10px; color: #fff; background: transparent; font: inherit; font-weight: 700; }
.primary-menu, .primary-menu ul { list-style: none; padding: 0; margin: 0; }
.primary-menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 3px; }
.primary-menu a { display: flex; align-items: center; min-height: 48px; padding: 9px 11px; color: #f7fcfd; border-radius: 8px; font-size: .83rem; font-weight: 700; text-decoration: none; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { background: rgba(255,255,255,.13); color: #fff; }

.site-main { min-height: 60vh; }
.entry-hero {
  padding: clamp(54px, 8vw, 104px) 0 clamp(40px, 6vw, 76px);
  color: #f6fbfd;
  background: linear-gradient(115deg, #082d43, #0d5870 67%, #0c7272);
}
.entry-hero .wrap { width: min(calc(100% - 48px), var(--read)); margin: 0 auto; }
.entry-hero .eyebrow { margin: 0 0 12px; color: #9ee5dc; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; font-size: .75rem; }
.entry-hero h1 { max-width: 940px; margin: 0; color: #fff; font-size: clamp(2.35rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; }
.entry-hero .dek { max-width: 740px; margin: 22px 0 0; color: #d9edf2; font-size: clamp(1rem, 1.5vw, 1.22rem); }
.home .entry-hero .wrap { width: min(calc(100% - 48px), var(--wide)); }

.entry-content { background: var(--paper); }
.article-body { width: min(calc(100% - 48px), var(--read)); margin: 0 auto; padding: clamp(46px, 7vw, 86px) 0 clamp(72px, 9vw, 112px); }
.article-body > p:first-child { font-size: 1.12rem; color: #244552; }
.article-body h2, .article-body h3 { scroll-margin-top: 28px; color: #0b4058; line-height: 1.17; letter-spacing: -.022em; }
.article-body h2 { margin: clamp(56px, 8vw, 92px) 0 20px; font-size: clamp(1.72rem, 3.2vw, 2.55rem); padding-top: 17px; border-top: 3px solid var(--aqua); }
.article-body h3 { margin: 38px 0 14px; font-size: clamp(1.3rem, 2vw, 1.68rem); }
.article-body p { margin: 0 0 1.25em; }
.article-body ul, .article-body ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.article-body li { margin-bottom: .66em; }
.article-body strong { color: #103c4e; }
.article-body blockquote { margin: 2rem 0; padding: 20px 24px; border-left: 5px solid var(--amber); background: var(--warn-bg); }

.editorial-figure {
  width: min(calc(100vw - 48px), var(--wide));
  max-width: none;
  margin: clamp(34px, 6vw, 70px) 50%;
  transform: translateX(-50%);
}
.editorial-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--soft); }
.editorial-figure figcaption { max-width: var(--read); margin: 11px auto 0; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.editorial-figure.is-portrait img { aspect-ratio: 4 / 3; object-position: center; }
.editorial-figure.hero-visual { margin-top: -18px; }

.article-body table { width: 100%; margin: 30px 0 40px; border-collapse: collapse; font-size: .91rem; line-height: 1.52; }
.article-body th, .article-body td { padding: 14px 13px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.article-body th { background: var(--navy); color: #fff; }
.article-body tr:nth-child(even) td { background: #f1f7f9; }
.asset-panel { margin: 28px 0 44px; padding: clamp(20px, 4vw, 34px); border: 1px solid #9acbd1; border-radius: var(--radius); background: #e6f4f3; box-shadow: 0 12px 30px rgba(8,45,67,.08); }
.asset-panel > :last-child { margin-bottom: 0; }

.faq-section { margin-top: 80px; padding: clamp(24px, 5vw, 42px); background: #edf6f8; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-section h2 { margin-top: 0; border-top: 0; padding-top: 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 0; }
.faq-item summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; padding: 14px 0; color: #0b4058; font-weight: 800; }
.faq-item p { padding: 0 0 18px; margin: 0; }

.site-footer { padding: 52px 0 34px; color: #d6e8ed; background: var(--navy); }
.footer-inner { width: min(calc(100% - 48px), var(--wide)); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1.95fr; gap: 48px; }
.footer-title { color: #fff; font-weight: 800; margin: 0 0 12px; }
.footer-note { max-width: 500px; margin: 0 0 12px; font-size: .9rem; }
.footer-email { color: #aee9e2; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px 22px; align-content: start; }
.footer-links a { display: flex; min-height: 44px; align-items: center; color: #f2fbfc; font-size: .88rem; }
.footer-bottom { width: min(calc(100% - 48px), var(--wide)); margin: 34px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #9fbac3; font-size: .78rem; }

@media (max-width: 980px) {
  body { font-size: 17px; }
  .header-inner { width: min(calc(100% - 36px), var(--wide)); min-height: 70px; }
  .custom-logo { width: min(300px, 66vw); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-navigation { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 12px 18px 20px; background: #082d43; box-shadow: 0 18px 26px rgba(0,0,0,.22); }
  .main-navigation.is-open { display: block; }
  .primary-menu { display: block; }
  .primary-menu a { padding: 10px 13px; font-size: .98rem; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; line-height: 1.68; }
  .header-inner, .entry-hero .wrap, .home .entry-hero .wrap, .article-body, .footer-inner, .footer-bottom { width: min(calc(100% - 32px), var(--wide)); }
  .entry-hero { padding: 44px 0 42px; }
  .entry-hero h1 { font-size: clamp(2rem, 10.5vw, 2.75rem); }
  .article-body { padding-top: 38px; }
  .article-body h2 { margin-top: 54px; }
  .editorial-figure { width: calc(100vw - 32px); margin-top: 32px; margin-bottom: 42px; }
  .editorial-figure img { aspect-ratio: 5 / 4; }
  .article-body table { display: block; max-width: 100%; overflow-x: auto; white-space: normal; }
  .article-body th, .article-body td { min-width: 145px; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
