/*
Theme Name: 77RP Ocean Editorial OTYV5IUz
Theme URI: https://77rplogin.asia/
Author: 77RP Panduan Indonesia
Description: Tema editorial independen bergaya ocean panorama untuk run OTYV5IUz.
Version: 1.0.0
Text Domain: rp-ocean-otyv5iuz
*/

:root {
  --rp-bg: #f2f7fa;
  --rp-paper: #ffffff;
  --rp-pale: #dcecf3;
  --rp-deep: #0b2f47;
  --rp-deeper: #071f31;
  --rp-blue: #117493;
  --rp-teal: #198f84;
  --rp-amber: #e4a93d;
  --rp-ink: #17303d;
  --rp-muted: #58717c;
  --rp-line: #bfd6df;
  --rp-info: #e5f4f2;
  --rp-warn: #fff2d4;
  --rp-focus: #f0b85a;
  --rp-reading: 780px;
  --rp-wide: 1280px;
  --rp-shadow: 0 20px 48px rgba(20, 70, 95, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--rp-bg);
  color: var(--rp-ink);
  font-family: "DejaVu Sans", "Segoe UI", Arial, sans-serif;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.76;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #0b607d; text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { color: #08485d; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--rp-focus);
  outline-offset: 3px;
}
.skip-link { position: fixed; left: 16px; top: -120px; z-index: 9999; background: #fff; color: #08293e; padding: 12px 18px; border-radius: 6px; }
.skip-link:focus { top: 16px; }

.site-header { background: linear-gradient(122deg, var(--rp-deeper), var(--rp-deep) 60%, #0d4d60); color: #f5fbfd; position: relative; z-index: 20; }
.header-inner { width: min(var(--rp-wide), calc(100% - 48px)); margin: 0 auto; min-height: 108px; display: flex; align-items: center; gap: 32px; }
.custom-logo-link { flex: 0 0 310px; display: block; }
.custom-logo { width: 310px; height: auto; max-height: 82px; object-fit: contain; object-position: left center; }
.site-name-fallback { color: #fff; font-weight: 800; text-decoration: none; font-size: 1.15rem; }
.menu-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; color: #fff; background: transparent; font: inherit; font-weight: 700; }
.primary-nav { margin-left: auto; }
.primary-nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; }
.primary-nav a { color: #f5fbfd; font-size: .82rem; font-weight: 700; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: #8be1d7; border-color: var(--rp-amber); }

.hero-shell { background: linear-gradient(125deg, var(--rp-deeper), var(--rp-deep) 56%, #126174); color: #f5fbfd; padding: clamp(42px, 7vw, 92px) 0 clamp(50px, 8vw, 108px); position: relative; overflow: hidden; }
.hero-shell::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -190px; top: -210px; background: radial-gradient(circle, rgba(42,182,166,.24), transparent 68%); pointer-events: none; }
.hero-shell .page-content { position: relative; z-index: 1; }
.hero-shell h1 { color: #fff; max-width: 970px; font-size: clamp(2.25rem, 5.7vw, 4.7rem); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 24px; }
.hero-shell p { max-width: 780px; color: #d6edf2; font-size: clamp(1.04rem, 1.45vw, 1.25rem); }

.page-content { width: min(var(--rp-reading), calc(100% - 48px)); margin: 0 auto; }
.article-body { padding: clamp(42px, 6vw, 80px) 0 clamp(70px, 9vw, 112px); }
.article-body > .page-content > h1 { font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.08; color: var(--rp-deep); margin: 0 0 28px; letter-spacing: -.03em; }
h2 { color: var(--rp-deep); font-size: clamp(1.72rem, 3.3vw, 2.65rem); line-height: 1.18; letter-spacing: -.025em; margin: 2.35em 0 .72em; }
h2::before { content: ""; display: block; width: 54px; height: 5px; border-radius: 6px; margin-bottom: 15px; background: linear-gradient(90deg, var(--rp-teal), var(--rp-amber)); }
h3 { color: #124b61; font-size: clamp(1.32rem, 2.1vw, 1.72rem); line-height: 1.3; margin: 1.9em 0 .6em; }
p { margin: 0 0 1.25em; }
.article-body > .page-content > p:first-of-type { font-size: 1.12em; color: #244a5b; }
.breadcrumb { width: min(var(--rp-wide), calc(100% - 48px)); margin: 0 auto; padding: 17px 0; font-size: .86rem; color: var(--rp-muted); }
.breadcrumb a { font-weight: 700; }

.home-article { padding-bottom: clamp(72px, 9vw, 116px); }
.content-band { padding: clamp(52px, 7vw, 92px) 0; }
.content-band:nth-of-type(3n+2) { background: #fff; }
.content-band:nth-of-type(3n) { background: linear-gradient(180deg, var(--rp-pale), #eff7f9); }
.content-band > .reading { width: min(var(--rp-reading), calc(100% - 48px)); margin: 0 auto; }
.content-band h2 { margin-top: 0; }
.editorial-figure { width: min(var(--rp-wide), calc(100% - 48px)); margin: clamp(34px, 5vw, 60px) auto; }
.editorial-figure img { width: 100%; border-radius: 16px; box-shadow: var(--rp-shadow); aspect-ratio: 16/9; object-fit: cover; background: #0a3049; }
.editorial-figure.is-hero img { aspect-ratio: 2/1; }
.editorial-figure.is-portrait img { aspect-ratio: 4/3; }
.editorial-figure figcaption { max-width: 780px; margin: 11px auto 0; color: var(--rp-muted); font-size: .84rem; }

.table-scroll { overflow-x: auto; margin: 28px 0 34px; border: 1px solid var(--rp-line); border-radius: 12px; background: #fff; box-shadow: 0 9px 26px rgba(20,70,95,.08); }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .91rem; }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--rp-line); text-align: left; vertical-align: top; }
th { background: var(--rp-deep); color: #fff; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f5fafb; }

.asset-box { margin: 28px 0; padding: 24px; border-left: 5px solid var(--rp-teal); background: var(--rp-info); border-radius: 0 12px 12px 0; }
.faq-section { width: min(var(--rp-reading), calc(100% - 48px)); margin: clamp(56px, 8vw, 96px) auto 0; }
.faq-item { background: #fff; border: 1px solid var(--rp-line); border-radius: 12px; margin: 0 0 13px; overflow: clip; box-shadow: 0 8px 24px rgba(20,70,95,.06); }
.faq-item summary { cursor: pointer; min-height: 56px; padding: 16px 52px 16px 19px; font-weight: 750; color: var(--rp-deep); position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 19px; top: 12px; font-size: 1.55rem; color: var(--rp-teal); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 19px 19px; }
.faq-answer p:last-child { margin-bottom: 0; }

.site-footer { background: var(--rp-deeper); color: #cfe6ec; padding: 64px 0 30px; }
.footer-inner { width: min(var(--rp-wide), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.45fr); gap: 48px; }
.footer-brand { font-size: 1.15rem; color: #fff; font-weight: 800; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 22px; }
.footer-links a, .site-footer a { color: #9de7de; }
.footer-bottom { width: min(var(--rp-wide), calc(100% - 48px)); margin: 42px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.17); color: #a9c7d0; font-size: .82rem; }

@media (max-width: 1040px) {
  .header-inner { width: min(100% - 40px, var(--rp-wide)); min-height: 84px; }
  .custom-logo-link { flex-basis: 270px; }
  .custom-logo { width: 270px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--rp-deeper); padding: 14px 24px 24px; border-top: 1px solid rgba(255,255,255,.16); display: none; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px 18px; }
  .primary-nav a { font-size: .96rem; }
}

@media (max-width: 599px) {
  .header-inner, .page-content, .breadcrumb, .content-band > .reading, .editorial-figure, .faq-section, .footer-inner, .footer-bottom { width: calc(100% - 32px); }
  .header-inner { gap: 16px; }
  .custom-logo-link { flex-basis: min(225px, calc(100vw - 96px)); }
  .custom-logo { width: 225px; max-height: 66px; }
  .primary-nav { padding-inline: 16px; }
  .primary-nav ul { grid-template-columns: 1fr; }
  .hero-shell { padding-block: 42px 56px; }
  .hero-shell h1 { font-size: clamp(2.05rem, 11vw, 2.75rem); }
  .content-band { padding-block: 48px; }
  .editorial-figure { margin-block: 28px; }
  .editorial-figure img, .editorial-figure.is-hero img, .editorial-figure.is-portrait img { aspect-ratio: 4/3; object-position: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .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; }
}
