
/* HEALING SPIRIT — HOMEPAGE WARM EDITORIAL V1 */

body.hs-scene.hs-home-editorial {
  --home-ivory: #f5eee7;
  --home-lavender: #e9dee7;
  --home-cream: #f8f3ec;
  --home-paper: #fffcf7;
  --home-plum: #34223d;
  --home-muted: #59445b;
  --home-gold: #b58a52;
}

/* Preserve the Golden Hour hero exactly as installed.
   Change only the sections beneath it. */
body.hs-scene.hs-home-editorial main > section:not(.hs3-hero) {
  color: var(--home-plum) !important;
  border-color: rgba(143,106,85,.15) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* First content section: the three pathways. */
body.hs-scene.hs-home-editorial main > section.hs3-pathways,
body.hs-scene.hs-home-editorial main > section.hs3-pathways:nth-child(odd),
body.hs-scene.hs-home-editorial main > section.hs3-pathways:nth-child(even) {
  background: var(--home-ivory) !important;
  background-image: none !important;
}

/* Other homepage sections: gentle transitions. */
body.hs-scene.hs-home-editorial main > section:not(.hs3-hero):not(.hs3-pathways) {
  background: var(--home-lavender) !important;
  background-image: none !important;
}

body.hs-scene.hs-home-editorial main > section:not(.hs3-hero):not(.hs3-pathways):nth-of-type(even) {
  background: var(--home-cream) !important;
  background-image: none !important;
}

/* Keep every heading and descriptive paragraph readable. */
body.hs-scene.hs-home-editorial main > section:not(.hs3-hero) h1,
body.hs-scene.hs-home-editorial main > section:not(.hs3-hero) h2,
body.hs-scene.hs-home-editorial main > section:not(.hs3-hero) h3 {
  color: var(--home-plum) !important;
  text-shadow: none !important;
}

body.hs-scene.hs-home-editorial main > section:not(.hs3-hero) p,
body.hs-scene.hs-home-editorial main > section:not(.hs3-hero) li {
  color: var(--home-muted) !important;
  text-shadow: none !important;
}

/* The pathway photographs remain visible. */
body.hs-scene.hs-home-editorial section.hs3-pathways img {
  display: block;
}

/* Turn pathway cards into refined ivory editorial tiles,
   while retaining their existing photographic media. */
body.hs-scene.hs-home-editorial section.hs3-pathways
:is(article, a, div)[class*="card"] {
  background-color: var(--home-paper) !important;
  border-color: #d5c4b8 !important;
  box-shadow: 0 10px 30px rgba(48,31,49,.10) !important;
  border-radius: 9px !important;
  overflow: hidden;
}

/* Existing photographs are not replaced or hidden. */
body.hs-scene.hs-home-editorial section.hs3-pathways
:is(article, a, div)[class*="card"] img {
  max-width: 100%;
}

/* Keep overlaid card text legible when photographs sit behind it.
   Existing image overlays and cards are preserved. */
body.hs-scene.hs-home-editorial section.hs3-pathways
:is(article, a, div)[class*="card"] h3,
body.hs-scene.hs-home-editorial section.hs3-pathways
:is(article, a, div)[class*="card"] p {
  text-shadow: none !important;
}

/* A restrained gold separator between sections. */
body.hs-scene.hs-home-editorial main > section:not(.hs3-hero) {
  border-top: 1px solid rgba(181,138,82,.22) !important;
}

/* Keep buttons and navigational actions visible. */
body.hs-scene.hs-home-editorial
main > section:not(.hs3-hero) a:focus-visible {
  outline: 3px solid #805a42 !important;
  outline-offset: 3px;
}

/* Footer retains the established midnight-purple identity. */
body.hs-scene.hs-home-editorial footer {
  background: #130b23 !important;
  color: #f4eff9 !important;
}

/* Avoid animation for visitors requesting reduced motion. */
@media (prefers-reduced-motion: reduce) {
  body.hs-home-editorial main > section:not(.hs3-hero) * {
    transition: none !important;
  }
}
