/* WDES-UX-003 P2-B v02 | Shared corporate hero appearance.
 * Canonical visual parameters transcribed verbatim from accepted G6R3 styles.css.
 * One approved PNG, same crop positioning / overlay / lighting on all marketing heroes.
 * Page-specific CSS owns layout and text, not background / lighting.
 * This CSS is intentionally linked AFTER styles.css and optional page stylesheets.
 */
:root {
  --wdes-hero-image: url('assets/hero-mountains-web.webp');
  --wdes-hero-base-color: #0b497c;
  --wdes-hero-image-position: center 45%;
  --wdes-hero-overlay: linear-gradient(100deg,rgba(2,24,54,.95) 0%,rgba(5,43,83,.82) 28%,rgba(6,62,104,.43) 59%,rgba(7,83,118,.12) 100%);
}
/* Same visual scene for Home, Produk, and future menu/feature page heroes. */
.hero, .product-hero, .wdes-corporate-hero {
  background-color: var(--wdes-hero-base-color);
  background-image: var(--wdes-hero-image);
  background-position: var(--wdes-hero-image-position);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  isolation: isolate;
}
.hero::before, .product-hero::before, .wdes-corporate-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--wdes-hero-overlay);
}
/* All captions, buttons and previews remain in front of the shared overlay. */
.hero-layout, .product-hero-grid, .wdes-corporate-hero > .container {
  position: relative;
  z-index: 1;
}
@media (max-width: 767.98px) {
  :root {
    --wdes-hero-image-position: 67% center;
    --wdes-hero-overlay: linear-gradient(180deg,rgba(2,29,64,.92),rgba(3,46,83,.78) 45%,rgba(6,64,102,.48) 100%);
  }
}
