/*
 * Lower page hero background.
 * Uses a generated original image; kept pale so the copy remains readable.
 */

section[data-loc="client/src/components/PageHero.tsx:20"] {
  background-color: #fbf6ea !important;
  background-image: url("/manus-storage/generated-lower-hero-20260520.png") !important;
  background-position: center right !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  isolation: isolate;
}

section[data-loc="client/src/components/PageHero.tsx:20"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(254, 252, 247, 0.98) 0%, rgba(254, 252, 247, 0.92) 48%, rgba(254, 252, 247, 0.76) 100%),
    radial-gradient(circle at 16% 52%, rgba(255, 255, 255, 0.76), transparent 42%);
}

section[data-loc="client/src/components/PageHero.tsx:20"] > div {
  z-index: 1;
}

section[data-loc="client/src/components/PageHero.tsx:20"] h1,
section[data-loc="client/src/components/PageHero.tsx:20"] p,
section[data-loc="client/src/components/PageHero.tsx:20"] nav,
section[data-loc="client/src/components/PageHero.tsx:20"] .eyebrow {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78);
}

div[data-loc="client/src/pages/About.tsx:31"] > section[data-loc="client/src/components/PageHero.tsx:20"] {
  background-image: url("/manus-storage/yori8.jpg") !important;
  background-position: center 46% !important;
}

div[data-loc="client/src/pages/LifeSupport.tsx:40"] > section[data-loc="client/src/components/PageHero.tsx:20"] {
  background-position: center right !important;
}

div[data-loc="client/src/pages/FirstContact.tsx:69"] > section[data-loc="client/src/components/PageHero.tsx:20"] {
  background-position: center right !important;
}

div[data-loc="client/src/pages/Guarantee.tsx:88"] > section[data-loc="client/src/components/PageHero.tsx:20"] {
  background-position: center right !important;
}

div[data-loc="client/src/pages/Estate.tsx:51"] > section[data-loc="client/src/components/PageHero.tsx:20"] {
  background-position: center right !important;
}

div[data-loc="client/src/pages/Contact.tsx:66"] > section[data-loc="client/src/components/PageHero.tsx:20"] {
  background-position: center right !important;
}

@media (max-width: 900px) {
  section[data-loc="client/src/components/PageHero.tsx:20"] {
    margin-top: 0 !important;
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
    background-position: center top !important;
  }

  section[data-loc="client/src/components/PageHero.tsx:20"] > .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  section[data-loc="client/src/components/PageHero.tsx:20"]::before {
    background:
      linear-gradient(180deg, rgba(254, 252, 247, 0.96) 0%, rgba(254, 252, 247, 0.91) 55%, rgba(254, 252, 247, 0.98) 100%),
      linear-gradient(90deg, rgba(254, 252, 247, 0.96), rgba(254, 252, 247, 0.82));
  }

  section[data-loc="client/src/components/PageHero.tsx:20"] h1 {
    max-width: 10.5em !important;
  }

  div[data-loc="client/src/pages/About.tsx:31"] > section[data-loc="client/src/components/PageHero.tsx:20"] {
    background-position: 58% top !important;
  }
}
