/*
Theme Name: Bromo77 Panduan Ocean Run thimp3S6
Theme URI: https://bromo77login.asia/
Author: Bromo77 Panduan Indonesia
Description: Tema editorial independen dengan panorama biru untuk panduan Bromo77.
Version: 1.0.0
Text Domain: bromo77-panduan
*/

:root {
  --ink: #17303d;
  --muted: #536c78;
  --navy: #092f49;
  --navy-2: #0e4562;
  --blue: #147493;
  --teal: #0c746d;
  --amber: #e5a43b;
  --paper: #ffffff;
  --wash: #eef5f8;
  --mist: #dcecf3;
  --line: #bfd7e0;
  --focus: #ffca68;
  --shadow: 0 18px 44px rgba(12, 56, 78, .14);
  --reading: 760px;
  --wide: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  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;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #075f7b; text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { color: #0b4255; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 999; background: white; color: var(--navy); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { color: #f7fbfd; background: linear-gradient(115deg, #082d45 0%, #0d526d 62%, #0c746d 100%); }
.header-inner { max-width: var(--wide); min-height: 76px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link, .custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; color: #fff; text-decoration: none; }
.custom-logo { width: min(280px, 34vw); max-height: 60px; object-fit: contain; object-position: left center; }
.brand-fallback { font-size: 1.15rem; font-weight: 800; color: #fff; }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 9px; background: transparent; color: #fff; font: inherit; font-weight: 700; }
.primary-menu { margin: 0; padding: 0; display: flex; align-items: center; gap: 3px; list-style: none; }
.primary-menu a { display: flex; align-items: center; min-height: 48px; padding: 8px 9px; border-radius: 7px; color: #fff; font-size: .82rem; 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,.14); }

.page-hero { background: linear-gradient(140deg, #0a324d 0%, #0f5d78 58%, #0c746d 100%); color: #f8fcfd; padding: clamp(50px, 7vw, 96px) clamp(18px, 5vw, 56px); }
.page-hero-inner { max-width: 920px; margin: 0 auto; }
.page-hero .kicker { margin: 0 0 13px; color: #a9e7df; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(2.2rem, 5.2vw, 4.5rem); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.page-hero p { max-width: 720px; margin: 23px 0 0; color: #d9edf3; font-size: clamp(1rem, 1.5vw, 1.18rem); }

.content-shell { background: var(--paper); }
.entry-content > section { padding: clamp(44px, 7vw, 92px) clamp(18px, 5vw, 56px); scroll-margin-top: 90px; }
.entry-content > section:nth-of-type(3n+2) { background: var(--mist); }
.entry-content > section:nth-of-type(4n) { background: var(--wash); }
.entry-content > section > * { max-width: var(--reading); margin-left: auto; margin-right: auto; }
.entry-content > section > figure,
.entry-content > section > table,
.entry-content > section > .comparison,
.entry-content > section > .timeline,
.entry-content > section > .decision { max-width: 1040px; }
.entry-content h2 { margin-top: 0; margin-bottom: 20px; color: #0a3d55; font-size: clamp(1.75rem, 3.6vw, 2.7rem); line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.entry-content h2::before { display: block; width: 54px; height: 5px; margin-bottom: 18px; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--amber)); content: ""; }
.entry-content h3 { color: #0b5269; font-size: 1.35rem; line-height: 1.25; }
.entry-content p { margin-top: 0; margin-bottom: 1.15em; }
.entry-content strong { color: #0a4057; }
.entry-content ol, .entry-content ul { padding-left: 1.3rem; }
.entry-content li { margin-bottom: .72rem; }
.entry-content .eyebrow { color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.editorial-image { max-width: 1280px !important; margin-top: 0; margin-bottom: 0; padding: clamp(26px, 4vw, 50px) clamp(18px, 5vw, 56px); background: linear-gradient(180deg, var(--navy), var(--navy-2)); }
.editorial-image img { width: 100%; max-height: 680px; border-radius: 14px; box-shadow: var(--shadow); object-fit: cover; object-position: center; }
.editorial-image figcaption { max-width: 900px; margin: 11px auto 0; color: #d9eaf0; font-size: .83rem; }
.hero-image { padding-top: 34px; }
.hero-image img { aspect-ratio: 16/9; }

.table-wrap { max-width: 1040px !important; margin: 28px auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgba(20,70,95,.08); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
th, td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #fff; background: var(--navy-2); }
tr:last-child td { border-bottom: 0; }
.timeline, .decision { margin-top: 28px; padding: 22px 22px 22px 48px !important; border-left: 6px solid var(--teal); border-radius: 8px; background: #f5fbfc; }

.faq { background: #e6f3f4 !important; }
.faq-list { max-width: 880px !important; margin: 25px auto 0; }
.faq-list details { margin-bottom: 12px; border: 1px solid #a9cdd3; border-radius: 10px; background: #fff; }
.faq-list summary { min-height: 52px; padding: 15px 52px 15px 18px; cursor: pointer; color: #0a4057; font-weight: 800; line-height: 1.35; }
.faq-list .faq-answer { padding: 0 18px 18px; }

.site-footer { padding: 48px clamp(18px, 5vw, 56px) 28px; color: #dcecf2; background: #082d45; }
.footer-inner { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(260px, 1.1fr) minmax(280px, 1fr); gap: 40px; }
.footer-title { margin: 0 0 9px; color: #fff; font-size: 1.15rem; font-weight: 800; }
.footer-note { max-width: 620px; margin: 0; color: #bdd3dc; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px 20px; }
.footer-links a, .footer-contact { color: #e8f5f7; }
.footer-bottom { max-width: var(--wide); margin: 35px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); color: #a9c4cf; font-size: .82rem; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: absolute; top: 76px; left: 0; right: 0; z-index: 50; display: none; padding: 12px 18px 20px; background: #082d45; box-shadow: 0 20px 30px rgba(0,0,0,.2); }
  .site-nav.is-open { display: block; }
  .primary-menu { display: grid; gap: 4px; }
  .primary-menu a { min-height: 48px; padding: 12px 14px; font-size: 1rem; }
  .custom-logo { width: min(270px, 65vw); }
}

@media (max-width: 620px) {
  body { font-size: 16px; line-height: 1.7; }
  .header-inner { min-height: 70px; padding: 8px 16px; }
  .site-nav { top: 70px; }
  .custom-logo { width: min(235px, 63vw); max-height: 52px; }
  .page-hero { padding: 46px 18px 50px; }
  .page-hero h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .entry-content > section { padding: 46px 18px; }
  .editorial-image { padding: 22px 16px 28px; }
  .editorial-image img { aspect-ratio: 5/4; max-height: 420px; object-fit: cover; }
  .table-wrap { margin-left: 0 !important; margin-right: 0 !important; }
  th, td { min-width: 150px; padding: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

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