/* v1.9.8 -- homepage-inspired hero consistency, internal pages only.
   Keep original fuel image in place; brighten the pouring fuel by reducing dark overlays. */
.ox-about .oxa-hero,
.ox-how .oxh-hero,
.ox-environment .oxe-hero,
.ox-tests .oxt-hero,
.ox-secondary .oxp-hero,
.ox-contact .oxc-hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background-color:#061d33;
}
/* Original image is present in each page template. Don't dim it at the element level. */
.ox-about .oxa-hero-image,
.ox-how .oxh-hero-image,
.ox-environment .oxe-hero-image,
.ox-tests .oxt-hero-image {
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:1;
  transform:none;
  background-size:cover;
  background-position:62% center;
  background-repeat:no-repeat;
}
/* Shared home-style gradient: dark enough for left copy, clear on the right to reveal fuel. */
.ox-about .oxa-hero::before,
.ox-how .oxh-hero::before,
.ox-environment .oxe-hero::before,
.ox-tests .oxt-hero::before,
.ox-secondary .oxp-hero::before,
.ox-contact .oxc-hero::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(0,21,44,.99) 0%,rgba(0,23,43,.97) 29%,rgba(1,26,49,.88) 45%,rgba(1,26,49,.36) 70%,rgba(1,16,33,.05) 100%);
}
/* Specifications, Testimonials and Contact have no separate image element. */
.ox-secondary .oxp-hero,
.ox-contact .oxc-hero {
  background-image:url('../images/hero-fuel.webp');
  background-size:cover;
  background-position:62% center;
  background-repeat:no-repeat;
}
.ox-about .oxa-hero-inner,
.ox-how .oxh-hero-inner,
.ox-environment .oxe-hero-inner,
.ox-tests .oxt-hero-content,
.ox-secondary .oxp-hero > .ox-container,
.ox-contact .oxc-hero > .ox-container {position:relative;z-index:1}
@media(max-width:700px){
  /* Match the homepage's mobile focal point, without darkening the image itself. */
  .ox-about .oxa-hero-image,
  .ox-how .oxh-hero-image,
  .ox-environment .oxe-hero-image,
  .ox-tests .oxt-hero-image {
    background-position:62% center;
    background-size:auto 100%;
  }
  .ox-secondary .oxp-hero,
  .ox-contact .oxc-hero {
    background-size:auto 100%;
    background-position:62% center;
  }
  .ox-about .oxa-hero::before,
  .ox-how .oxh-hero::before,
  .ox-environment .oxe-hero::before,
  .ox-tests .oxt-hero::before,
  .ox-secondary .oxp-hero::before,
  .ox-contact .oxc-hero::before {
    background:linear-gradient(90deg,rgba(0,26,51,.96) 0%,rgba(0,25,47,.84) 42%,rgba(0,32,53,.48) 78%,rgba(0,27,42,.13) 100%);
  }
}
