/*
Theme Name: V87 Ocean Panorama QDYJIKL6
Theme URI: https://v87login.asia/
Author: V87 Panduan Indonesia
Description: Tema editorial independen bergaya panorama laut untuk panduan V87 Indonesia.
Version: 1.0.1
Text Domain: v87-ocean
*/

:root {
  --ink: #17303d;
  --muted: #526f7d;
  --paper: #f2f7fa;
  --surface: #ffffff;
  --wash: #dcecf3;
  --deep: #082f49;
  --deep-2: #0e4864;
  --accent: #0f7695;
  --teal: #168f83;
  --amber: #e2a640;
  --border: #bed7e2;
  --focus: #f0b85a;
  --wide: 1240px;
  --read: 780px;
  --radius: 16px;
  --shadow: 0 20px 48px rgba(15, 67, 91, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.76;
  text-rendering: optimizeLegibility;
}
a { color: #075f7b; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: .09em; }
a:hover { color: #0b7a6f; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 10px 14px; transform: translateY(-150%); background: #fff; color: #000; }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 20; background: var(--deep); color: #f5fbfd; border-bottom: 1px solid rgba(255,255,255,.14); }
.header-inner { width: min(var(--wide), calc(100% - 48px)); min-height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.custom-logo-link { flex: 0 0 auto; text-decoration: none; }
.custom-logo { width: auto; height: 54px; max-width: 320px; object-fit: contain; }
.site-name-fallback { color: #fff; font-weight: 800; font-size: 1.22rem; text-decoration: none; }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; background: transparent; color: #fff; font: inherit; font-weight: 700; }
.primary-menu, .primary-menu ul { margin: 0; padding: 0; list-style: none; }
.primary-menu { display: flex; align-items: center; gap: 5px; }
.primary-menu a { display: flex; align-items: center; min-height: 48px; padding: 10px 11px; border-radius: 8px; color: #f5fbfd; font-size: .83rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { background: rgba(255,255,255,.12); }

.site-main { min-height: 70vh; }
.article-shell { width: min(var(--wide), calc(100% - 48px)); margin: clamp(38px, 6vw, 78px) auto clamp(70px, 9vw, 112px); }
.entry-content > * { width: min(100%, var(--read)); margin-left: auto; margin-right: auto; }
.entry-content > h1 { margin-top: 0; color: var(--deep); font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.06; letter-spacing: -.035em; max-width: 980px; }
.entry-content > h2 { margin-top: clamp(52px, 7vw, 88px); color: var(--deep); font-size: clamp(1.72rem, 3.2vw, 2.6rem); line-height: 1.18; letter-spacing: -.02em; scroll-margin-top: 26px; }
.entry-content > h2::before { content: ""; display: block; width: 54px; height: 5px; margin-bottom: 16px; border-radius: 9px; background: linear-gradient(90deg, var(--teal), var(--amber)); }
.entry-content > h3 { margin-top: 38px; color: var(--deep-2); font-size: 1.35rem; line-height: 1.3; }
.entry-content p { margin-top: 0; margin-bottom: 1.22em; }
.entry-content > p:first-of-type { font-size: 1.15em; color: #244859; }
.entry-content ul, .entry-content ol { padding-left: 1.35em; }
.entry-content li { margin: .45em 0; }
.entry-content blockquote { border-left: 5px solid var(--teal); padding: 18px 24px; background: #e5f4f2; border-radius: 0 12px 12px 0; }

.home .article-shell { width: 100%; margin-top: 0; }
.home-hero { width: 100%; margin: 0 0 clamp(54px, 7vw, 92px); padding: clamp(54px, 9vw, 118px) max(24px, calc((100% - 1240px) / 2)) 0; background: linear-gradient(135deg, #062d48 0%, #0e4e69 58%, #106f79 100%); }
.home-hero > h1, .home-hero > p { width: min(100%, 1080px); margin-left: auto; margin-right: auto; }
.home-hero > h1 { margin-top: 0; color: #f5fbfd; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.06; letter-spacing: -.035em; }
.home-hero > p { color: #dcedf4; }
.home-hero > h1 + p { font-size: 1.08em; }
.home-hero > .editorial-image { margin-bottom: 0; transform: translateY(clamp(28px, 4vw, 56px)); }

.editorial-image { width: min(100%, 1280px); margin: clamp(30px, 5vw, 64px) auto; }
.editorial-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/9; object-fit: cover; object-position: center; }
.editorial-image figcaption { width: min(100%, var(--read)); margin: 10px auto 0; color: var(--muted); font-size: .86rem; }
.editorial-image.hero-image img { border-radius: 0 0 22px 22px; }

.table-wrap { width: min(100%, 1080px); margin: 30px auto 40px; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 14px 32px rgba(15,67,91,.08); }
table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .92rem; line-height: 1.52; }
th, td { padding: 15px 17px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { background: var(--deep); color: #fff; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #edf6f8; }

.faq-section { width: min(100%, 900px); margin: clamp(64px, 8vw, 100px) auto 0; padding: clamp(28px, 4vw, 50px); background: var(--wash); border-radius: 22px; }
.faq-section h2 { margin-top: 0; }
.faq-item { margin: 14px 0; border: 1px solid #a9cbd7; border-radius: 12px; background: #fff; }
.faq-item summary { min-height: 52px; padding: 15px 52px 15px 18px; cursor: pointer; font-weight: 750; line-height: 1.4; }
.faq-answer { padding: 0 18px 18px; }

.site-footer { background: var(--deep); color: #dcedf4; }
.footer-inner { width: min(var(--wide), calc(100% - 48px)); margin: auto; padding: 58px 0 38px; }
.footer-top { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(280px, 1.4fr); gap: 48px; align-items: start; }
.footer-title { margin: 0 0 8px; color: #fff; font-size: 1.35rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a, .site-footer a { color: #e7f6fa; }
.footer-meta { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); font-size: .88rem; color: #bcd3dc; }

@media (max-width: 1020px) {
  .header-inner { width: min(100% - 32px, var(--wide)); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-navigation { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 12px 16px 22px; background: var(--deep); box-shadow: 0 18px 28px rgba(0,0,0,.2); }
  .primary-navigation.is-open { display: block; }
  .primary-menu { display: block; }
  .primary-menu a { font-size: 1rem; padding: 12px 15px; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 72px; }
  .custom-logo { height: 44px; max-width: 235px; }
  .article-shell { width: calc(100% - 32px); margin-top: 34px; }
  .home-hero { padding: 46px 16px 0; margin-bottom: 76px; }
  .home-hero > h1 { font-size: clamp(2rem, 10.4vw, 2.7rem); }
  .entry-content > h2 { margin-top: 52px; }
  .editorial-image { margin: 30px auto 40px; }
  .editorial-image img { min-height: 270px; aspect-ratio: 4/3; }
  .faq-section { padding: 22px 16px; border-radius: 15px; }
  .footer-inner { width: calc(100% - 32px); }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-links { display: grid; }
}

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