/* 3 Nov (Shali): Horizon Assessment (#quiet-story) hierarchy and desktop balance.
   - "The Horizon Assessment." is the heading; "Where your care begins." a smaller line beneath it (all widths).
   - Desktop: the three figures sit on one line each, sized to their words, so the captions share a baseline; the Men and
     Women copy blocks are the same height, so titles and descriptions start level; organ cards are shorter so the two
     columns finish together. Loaded after copy-fit-1103.css. */

#quiet-story.da .quiet-subhead { margin: 14px 0 0; max-width: 22em; font: 300 clamp(22px, 1.9vw, 28px)/1.25 var(--f-display); letter-spacing: -.02em; color: rgba(233, 228, 218, .72); }
@media (max-width: 759px) { #quiet-story.da .quiet-subhead { margin-top: 10px; font-size: 21px; } }

@media (min-width: 1001px) {
  /* heading */
  #quiet-story.da.da-direct .quiet-title { line-height: 1.04; }

  /* figures: columns follow their content; no wrapping, no growth on wide screens */
  #quiet-story.da.da-direct .qx-facts { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 24px; }
  #quiet-story.da.da-direct .qx-fact dt { font-size: 26px !important; line-height: 1.15; white-space: nowrap; }

  /* Men / Women: equal copy blocks anchored to the card foot */
  #quiet-story.da.da-direct .qx-path:not(.qx-junior) .qx-copy { min-height: 136px; }

  /* organ cards */
  #quiet-story.da.da-direct .quiet-scope { margin-bottom: 18px; }
  #quiet-story.da.da-direct .quiet-areas { gap: 10px !important; }
  #quiet-story.da.da-direct .quiet-areas li { height: 102px !important; padding: 10px; gap: 8px !important; }
  #quiet-story.da.da-direct .qa-ic { width: 28px !important; height: 28px !important; }
}

/* small laptops: the figures may need two lines, so every value takes two lines of room and the captions stay level */
@media (min-width: 1001px) and (max-width: 1279px) {
  #quiet-story.da.da-direct .qx-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; }
  #quiet-story.da.da-direct .qx-fact dt { font-size: 22px !important; white-space: normal; min-height: 2.3em; display: flex; align-items: flex-end; }
}

/* 3 Nov (Shali): no hover effect on the nine organ cards or the eight Beyond the Horizon cards; they keep their resting
   look under the pointer. (Organ cards still open their details on click.) */
#quiet-story.da .quiet-areas li:hover { border-color: rgba(233, 228, 218, .16); background: rgba(233, 228, 218, .024); }
html[data-bh="a"] #quiet-story.da #beyond .bh-list-8 .bh-item:hover { border-color: rgba(233, 228, 218, .16) !important; background: rgba(233, 228, 218, .024); transform: none; }
html[data-bh="a"] #quiet-story.da #beyond .bh-list-8 .bh-item:hover .bh-t { color: var(--star); }

/* 3 Nov (Shali: "text on image creates clumsiness"): Horizon for Men / Women - the copy gets its own solid cream band at the
   foot of the card; the figure shows above it and fades into the band, so no text sits on the body. Two-up layouts only
   (phones use the side-by-side row in mobile-1103.css). Card size and image unchanged. */
@media (min-width: 601px) {
  #quiet-story.da.da-direct .qx-path:not(.qx-junior) .qx-copy { min-height: 136px; }
  #quiet-story.da.da-direct .qx-path:not(.qx-junior)::after { top: auto; bottom: 0; height: calc(136px + 26px + 64px); border-radius: 0 0 22px 22px;
    background: linear-gradient(180deg, rgba(230, 220, 203, 0) 0, rgba(230, 220, 203, .92) 48px, #e6dccb 64px, #e6dccb 100%); }
  #quiet-story.da.da-direct .qx-female:not(.qx-junior)::after {
    background: linear-gradient(180deg, rgba(228, 216, 196, 0) 0, rgba(228, 216, 196, .92) 48px, #e4d8c4 64px, #e4d8c4 100%); }
}

/* 3 Nov (Shali): "Know more details" closes the section and opens the full /diagnostics/ page. Outline button on Void, in
   the site's 16 px button shape; full width on phones. */
#quiet-story.da #beyond .qs-more { display: inline-flex; align-items: center; gap: 12px; height: 52px; margin-top: 28px; padding: 0 24px;
  border: 1px solid rgba(233, 228, 218, .32); border-radius: 16px; color: var(--star); font: 500 15px/1 var(--f-text); text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
#quiet-story.da #beyond .qs-more .sl { font-size: 18px; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) { #quiet-story.da #beyond .qs-more:hover { background: var(--gold); border-color: var(--gold); color: var(--void); }
  #quiet-story.da #beyond .qs-more:hover .sl { transform: translateX(3px); } }
#quiet-story.da #beyond .qs-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 759px) { #quiet-story.da #beyond .qs-more { display: flex; justify-content: center; width: 100%; margin-top: 24px; } }

/* 3 Nov (Shali): no separator lines in the Horizon Assessment section - not between the two columns (or above the
   assessment group on phones), not under the three figures, not above Beyond the Horizon. Spacing stays as it was. */
#quiet-story.da.da-direct .da-horizon { border: 0; }
#quiet-story.da .qx-facts, #quiet-story.da .qx-fact { border-bottom: 0; }
#quiet-story.da.da-direct #beyond { border-top: 0; }
