
/* HEALING SPIRIT — WISDOM EDITORIAL V3 */

/* Only the Wisdom Library receives this theme.
   The first section is the existing photographic hero. */

body.hs-wisdom-editorial {
  --wisdom-paper: #f4ede5;
  --wisdom-soft: #e9dfe8;
  --wisdom-white: #fffcf7;
  --wisdom-plum: #34223d;
  --wisdom-muted: #59445b;
  --wisdom-gold: #805a42;
  --wisdom-border: #d5c4b8;
}

/* Replace the previous dark slabs with warm reading surfaces. */
body.hs-scene.hs-wisdom-editorial
main > section:not(:first-of-type),
body.hs-scene.hs-wisdom-editorial
main > section:not(:first-of-type):nth-child(odd),
body.hs-scene.hs-wisdom-editorial
main > section:not(:first-of-type):nth-child(even) {
  background: var(--wisdom-paper) !important;
  background-image: none !important;
  color: var(--wisdom-plum) !important;
  border-color: rgba(117,81,96,.16) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Alternate a gentle lavender tone instead of blue. */
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(2n+3) {
  background: var(--wisdom-soft) !important;
}

/* Some feature areas use direct div wrappers. */
body.hs-scene.hs-wisdom-editorial
main > div:not(.hs-wisdom-hero) {
  color: var(--wisdom-plum);
}

/* Improve the reading hierarchy below the hero. */
body.hs-wisdom-editorial
main > section:not(:first-of-type) h2,
body.hs-wisdom-editorial
main > section:not(:first-of-type) h3,
body.hs-wisdom-editorial
main > section:not(:first-of-type) h4 {
  color: var(--wisdom-plum) !important;
  text-shadow: none !important;
}

body.hs-wisdom-editorial
main > section:not(:first-of-type) p,
body.hs-wisdom-editorial
main > section:not(:first-of-type) li,
body.hs-wisdom-editorial
main > section:not(:first-of-type) small {
  color: var(--wisdom-muted) !important;
  text-shadow: none !important;
}

/* All reading, archive, foundational and symbolism cards. */
body.hs-scene.hs-wisdom-editorial
main > section:not(:first-of-type)
:is(
  article, aside,
  [class*="card"], [class*="Card"],
  [class*="tile"], [class*="Tile"],
  [class*="panel"], [class*="Panel"],
  [class*="archive-item"],
  [class*="symbol"],
  [class*="numerology"],
  [class*="gematria"]
) {
  background: var(--wisdom-white) !important;
  background-image: none !important;
  color: var(--wisdom-plum) !important;
  border: 1px solid var(--wisdom-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 25px rgba(48,31,49,.055) !important;
}

/* The supporting numerical/symbolic panel gets soft lavender. */
body.hs-scene.hs-wisdom-editorial
main > section:not(:first-of-type)
:is(
  aside,
  [class*="symbol"],
  [class*="numerology"],
  [class*="gematria"],
  [class*="number-panel"],
  [class*="insight-card"]
) {
  background: #e9dfe8 !important;
  border-color: #c8b2c0 !important;
}

/* Inner headings and descriptions remain legible. */
body.hs-wisdom-editorial
main > section:not(:first-of-type)
:is(
  article, aside,
  [class*="card"], [class*="tile"],
  [class*="panel"]
) :is(h2,h3,h4,h5,strong) {
  color: #34223d !important;
}

body.hs-wisdom-editorial
main > section:not(:first-of-type)
:is(
  article, aside,
  [class*="card"], [class*="tile"],
  [class*="panel"]
) :is(p,span,small,li) {
  color: #59445b !important;
}

/* Legible links for ivory and lavender surfaces. */
body.hs-wisdom-editorial
main > section:not(:first-of-type) a:not([class*="button"]):not([class*="btn"]) {
  color: #74452e !important;
  text-decoration-color: #b28a54;
}

/* Preserve highlighted reading buttons. */
body.hs-wisdom-editorial
main > section:not(:first-of-type)
:is(button,[class*="button"],[class*="btn"]) {
  border-color: #b28a54;
}

/* Archive search becomes part of the editorial design. */
body.hs-wisdom-editorial
main > section:not(:first-of-type) input[type="search"],
body.hs-wisdom-editorial
main > section:not(:first-of-type) input[type="text"] {
  background: #fffcf7 !important;
  border: 1px solid #bba59e !important;
  color: #34223d !important;
  border-radius: 5px;
}

body.hs-wisdom-editorial
main > section:not(:first-of-type) input::placeholder {
  color: #756575 !important;
  opacity: 1;
}

body.hs-wisdom-editorial
main > section:not(:first-of-type) a:focus-visible,
body.hs-wisdom-editorial
main > section:not(:first-of-type) button:focus-visible,
body.hs-wisdom-editorial
main > section:not(:first-of-type) input:focus-visible {
  outline: 3px solid #805a42;
  outline-offset: 3px;
}

/* Refined card interaction without excessive movement. */
@media (hover: hover) {
  body.hs-wisdom-editorial
  main > section:not(:first-of-type)
  :is(article,[class*="card"],[class*="tile"]):hover {
    border-color: #b28a54 !important;
    box-shadow: 0 12px 30px rgba(48,31,49,.11) !important;
  }
}

/* Better readability on phones. */
@media (max-width: 700px) {
  body.hs-wisdom-editorial
  main > section:not(:first-of-type) {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.hs-wisdom-editorial
  main > section:not(:first-of-type) * {
    transition: none !important;
  }
}


/* HS_REFLECTION_FULLBLEED_V1_START */

/* Full-width, seamless ivory reflection band. */
body.hs-scene.hs-wisdom-editorial
main section.hs-reflection-fullbleed,
body.hs-scene.hs-wisdom-editorial
main section.hs-reflection-fullbleed:nth-child(even),
body.hs-scene.hs-wisdom-editorial
main section.hs-reflection-fullbleed:nth-child(odd) {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;

  background: #f4ede5 !important;
  background-image: none !important;

  border-top: 1px solid #dccdbf !important;
  border-bottom: 1px solid #dccdbf !important;
  border-left: 0 !important;
  border-right: 0 !important;

  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;

  color: #34223d !important;
}

/* Keep the internal content centered and balanced. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed > :is(
  .container, .wrap, .inner, .section-inner,
  .content, .content-wrap
) {
  width: min(1160px, calc(100% - 48px)) !important;
  max-width: 1160px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Prevent nested dark panels from interrupting the ivory band. */
body.hs-scene.hs-wisdom-editorial
main section.hs-reflection-fullbleed > div {
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Maintain the original photograph without stretching. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Readable dark plum text. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed :is(h1,h2,h3,h4) {
  color: #34223d !important;
}

body.hs-wisdom-editorial
main section.hs-reflection-fullbleed :is(p,li) {
  color: #59445b !important;
}

/* Mobile spacing and layout. */
@media (max-width: 700px) {
  body.hs-wisdom-editorial
  main section.hs-reflection-fullbleed > :is(
    .container, .wrap, .inner,
    .section-inner, .content, .content-wrap
  ) {
    width: calc(100% - 32px) !important;
  }
}

/* HS_REFLECTION_FULLBLEED_V1_END */


/* HS_REFLECTION_SPACING_V2_START */

/* Give the complete ivory reflection section breathing room. */
body.hs-scene.hs-wisdom-editorial
main section.hs-reflection-fullbleed {
  box-sizing: border-box !important;
  padding: clamp(55px, 6vw, 105px)
           clamp(24px, 6vw, 100px) !important;
}

/* Center the layout and keep its content off screen edges. */
body.hs-scene.hs-wisdom-editorial
main section.hs-reflection-fullbleed > * {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Create space between columns without changing their order. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed
:is(.grid, [class*="split"], [class*="layout"],
    [class*="columns"], [class*="inner"]) {
  column-gap: clamp(35px, 5vw, 85px) !important;
  row-gap: 35px !important;
}

/* Ensure the photograph is nicely contained. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed
img.hs-new-wisdom-photo {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 5px;
}

/* Prevent text from pressing against its column edges. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed
:is(h2, h3, p) {
  overflow-wrap: break-word;
}

/* Mobile spacing. */
@media (max-width: 700px) {
  body.hs-scene.hs-wisdom-editorial
  main section.hs-reflection-fullbleed {
    padding: 45px 22px 55px !important;
  }

  body.hs-wisdom-editorial
  main section.hs-reflection-fullbleed
  :is(.grid, [class*="split"], [class*="columns"]) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
  }

  body.hs-wisdom-editorial
  main section.hs-reflection-fullbleed
  img.hs-new-wisdom-photo {
    height: auto !important;
    object-fit: contain !important;
  }
}

/* HS_REFLECTION_SPACING_V2_END */


/* HS_REFLECTION_EDITORIAL_V4_START */

/* Premium warm editorial section. */
body.hs-scene.hs-wisdom-editorial
main section.hs-reflection-fullbleed,
body.hs-scene.hs-wisdom-editorial
main section.hs-reflection-fullbleed:nth-child(odd),
body.hs-scene.hs-wisdom-editorial
main section.hs-reflection-fullbleed:nth-child(even) {
  position: relative !important;
  isolation: isolate;
  background:
    radial-gradient(
      ellipse at 14% 16%,
      rgba(231,196,154,.19),
      transparent 48%
    ),
    linear-gradient(
      120deg,
      #f5eee6 0%,
      #fffaf4 55%,
      #f2e7e2 100%
    ) !important;
  padding:
    clamp(72px,8vw,120px)
    clamp(28px,5vw,90px) !important;
  border-top: 1px solid #dbc3b0 !important;
  border-bottom: 1px solid #dbc3b0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

/* Keep the content centered, not against the screen edges. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed > * {
  position: relative;
  z-index: 1;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Improve spacing in existing two-column layouts. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed
:is(
  .grid,
  [class*="split"],
  [class*="layout"],
  [class*="columns"],
  [class*="inner"]
) {
  column-gap: clamp(48px,6vw,100px) !important;
  row-gap: 42px !important;
  align-items: center !important;
}

/* A sophisticated photograph treatment. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed
img.hs-new-wisdom-photo {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 16px !important;
  border: 6px solid #fffcf7 !important;
  box-shadow:
    0 24px 55px rgba(43,23,43,.18),
    0 2px 12px rgba(43,23,43,.09) !important;
}

/* Larger and more elegant heading. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed h2 {
  color: #342039 !important;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(37px,4vw,59px) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: -.025em;
  margin-bottom: 30px !important;
  text-shadow: none !important;
}

/* Preserve warm gold emphasis. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed
:is(em, i) {
  color: #bc8846 !important;
}

/* Graceful body text. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed p {
  color: #58445b !important;
  font-size: clamp(17px,1.45vw,19px) !important;
  line-height: 1.85 !important;
  letter-spacing: .005em;
  margin-bottom: 24px !important;
  max-width: 590px;
}

/* Refined eyebrow label. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed
:is(
  .eyebrow,
  [class*="eyebrow"],
  [class*="kicker"],
  [class*="overline"]
) {
  color: #80516d !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase;
  margin-bottom: 20px !important;
}

/* Gold editorial separator beneath the heading. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed h2::after {
  content: "";
  display: block;
  width: 68px;
  height: 2px;
  margin-top: 25px;
  background: linear-gradient(
    90deg,#b68a50,#e4c79e
  );
}

/* Mobile presentation. */
@media(max-width:700px) {
  body.hs-scene.hs-wisdom-editorial
  main section.hs-reflection-fullbleed {
    padding: 55px 22px 65px !important;
  }

  body.hs-wisdom-editorial
  main section.hs-reflection-fullbleed
  :is(.grid,[class*="split"],[class*="columns"]) {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 35px !important;
  }

  body.hs-wisdom-editorial
  main section.hs-reflection-fullbleed
  img.hs-new-wisdom-photo {
    border-width: 4px !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 34px rgba(43,23,43,.14) !important;
  }

  body.hs-wisdom-editorial
  main section.hs-reflection-fullbleed h2 {
    font-size: clamp(33px,8vw,45px) !important;
  }
}

/* HS_REFLECTION_EDITORIAL_V4_END */


/* HS_REFLECTION_PORTRAIT_V5_START */

/* Make the photograph approximately 15% larger. */
body.hs-wisdom-editorial
main section.hs-reflection-fullbleed
img.hs-new-wisdom-photo {
  width: 115% !important;
  max-width: none !important;
  height: auto !important;
  margin-left: -7.5% !important;
  object-fit: contain !important;
}

/* Keep the photograph inside the viewport on mobile. */
@media (max-width: 700px) {
  body.hs-wisdom-editorial
  main section.hs-reflection-fullbleed
  img.hs-new-wisdom-photo {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }
}

/* HS_REFLECTION_PORTRAIT_V5_END */


/* HS_WISDOM_TRANSITIONS_V5_START */

/* Unified design tokens. */
body.hs-wisdom-editorial {
  --hs-trans-gold: #c9a16b;
  --hs-trans-plum: #34223d;
}

/* Keep photographic hero unchanged. */

/* Featured Wisdom and Daily Archive: warm ivory. */
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(2),
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(2):nth-child(odd),
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(2):nth-child(even) {
  background: #f5eee7 !important;
}

/* Spiritual Insight: delicate lavender variation. */
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(3),
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(3):nth-child(odd),
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(3):nth-child(even) {
  background: linear-gradient(
    120deg,
    #eee4ed 0%,
    #e8dde8 50%,
    #f2e9ee 100%
  ) !important;
}

/* Foundational Studies: brighter porcelain cream. */
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(4),
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(4):nth-child(odd),
body.hs-scene.hs-wisdom-editorial
main > section:nth-of-type(4):nth-child(even) {
  background: #f9f5ef !important;
}

/* Reflection feature: welcoming champagne warmth.
   Preserve its framing, portrait and layout. */
body.hs-scene.hs-wisdom-editorial
main > section.hs-reflection-fullbleed,
body.hs-scene.hs-wisdom-editorial
main > section.hs-reflection-fullbleed:nth-child(even),
body.hs-scene.hs-wisdom-editorial
main > section.hs-reflection-fullbleed:nth-child(odd) {
  background: linear-gradient(
    120deg,
    #efe5da 0%,
    #faf4eb 55%,
    #f0e3dc 100%
  ) !important;
}

/* Create subtle editorial separation without heavy borders. */
body.hs-scene.hs-wisdom-editorial
main > section:not(:first-of-type) {
  position: relative;
  border-top: 1px solid rgba(143,106,85,.13) !important;
  border-bottom: 0 !important;
}

/* Small gold transition accent on the centered insight band. */
body.hs-wisdom-editorial
main > section:nth-of-type(3)::after {
  content: "";
  display: block;
  position: relative;
  width: 64px;
  height: 2px;
  margin: 24px auto 0;
  background: var(--hs-trans-gold);
  opacity: .68;
}

/* Keep sections clean and accessible on smaller screens. */
@media (max-width: 700px) {
  body.hs-scene.hs-wisdom-editorial
  main > section:not(:first-of-type) {
    background-attachment: scroll !important;
  }
}

/* HS_WISDOM_TRANSITIONS_V5_END */
