/* PANTAU LAUT SANGIHE — v20.1 DOCUMENTARY OPENER FIX
   Supersedes old v1.3/v1.5 !important image URLs in css/site.css.
   Intentionally does NOT touch maps, sticky scroll, or article typography.
   Photo credit: Zonautara.com/Ronny Adolof Buol.
*/
/* Correct the hero pseudo-element: older stylesheet still forced hero-cinematic.webp */
.hero::before {
  background-image: url('../assets/editorial20/15-pumpboat-senja.webp') !important;
  background-position: 55% 49% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  filter: saturate(.96) brightness(.87) contrast(1.08) !important;
}
/* Existing hero gradient is preserved to keep the headline legible. */
/* Match pre-existing important CSS selectors and override them last. */
#prolog .chapter-open::before { background-image: url('../assets/editorial20/07-nelayan-matutuang.webp') !important; background-position: 51% 47% !important; background-size: cover !important; background-repeat:no-repeat !important; filter:saturate(.97) brightness(.88) contrast(1.05) !important; }
#geografi .chapter-open::before { background-image: url('../assets/editorial20/11-dermaga-petta.webp') !important; background-position: 45% 54% !important; background-size: cover !important; background-repeat:no-repeat !important; filter:saturate(.97) brightness(.88) contrast(1.05) !important; }
#pantau-hoax .chapter-open::before { background-image: url('../assets/editorial20/04-kapal-perintis.webp') !important; background-position: 55% 58% !important; background-size: cover !important; background-repeat:no-repeat !important; filter:saturate(.97) brightness(.88) contrast(1.05) !important; }
#jejak .chapter-open::before { background-image: url('../assets/editorial20/08-pelintas-pumpboat.webp') !important; background-position: 55% 50% !important; background-size: cover !important; background-repeat:no-repeat !important; filter:saturate(.97) brightness(.88) contrast(1.05) !important; }
#kapal .chapter-open::before { background-image: url('../assets/editorial20/16-teluk-tahuna-02.webp') !important; background-position: 48% 53% !important; background-size: cover !important; background-repeat:no-repeat !important; filter:saturate(.97) brightness(.88) contrast(1.05) !important; }
#patroli .chapter-open::before { background-image: url('../assets/editorial20/18-teluk-tahuna.webp') !important; background-position: 55% 56% !important; background-size: cover !important; background-repeat:no-repeat !important; filter:saturate(.97) brightness(.88) contrast(1.05) !important; }
#perahu-kecil .chapter-open::before { background-image: url('../assets/editorial20/10-londe-ombak-lebar.webp') !important; background-position: 54% 60% !important; background-size: cover !important; background-repeat:no-repeat !important; filter:saturate(.97) brightness(.88) contrast(1.05) !important; }
#ekonomi .chapter-open::before { background-image: url('../assets/editorial20/17-suasana-petta.webp') !important; background-position: 49% 58% !important; background-size: cover !important; background-repeat:no-repeat !important; filter:saturate(.97) brightness(.88) contrast(1.05) !important; }
#metode .chapter-open::before { background-image: url('../assets/editorial20/03-samudra-terbuka.webp') !important; background-position: 52% 55% !important; background-size: cover !important; background-repeat:no-repeat !important; filter:saturate(.97) brightness(.88) contrast(1.05) !important; }

/* This chapter already has a separate documentary photo element. Preserve it. */
#sejarah18 .h18-cover img { object-fit:cover; object-position:50% 50%; }
/* Keep the documentary images readable with the existing chapter gradient. */
@media(max-width:700px) {
  .hero::before { background-position: 60% 50% !important; }
  #prolog .chapter-open::before { background-position: 60% 50% !important; }
  #geografi .chapter-open::before { background-position: 63% 50% !important; }
  #pantau-hoax .chapter-open::before { background-position: 52% 60% !important; }
  #perahu-kecil .chapter-open::before { background-position: 54% 58% !important; }
}
