/* solutions-showmore-tight-15Nov-1.css
   15 Nov 2026 SGT (Lumi). Load after assets/v4/solutions-rl-learn-15Nov-1.css
   (and after solutions-layout-15Nov-1.css). Do not overwrite earlier 15Nov CSS.

   Diane, 10:40 PM SGT: after Show more, vertical space is too much; the
   expanded parts look sparse and disjoint, not belonging to the same section.

   This sheet only tightens the expanded region so it reads as one continuous
   part of the solution block. No copy, type, or layout-structure changes.
   Phone: max-width:760px. Desktop: min-width:761px.
*/

/* ---------- Desktop (and shared) ----------
   Before: .sol-more-grid is a white card (bg #fff, 1px #dfe6e6 border,
   16px radius, padding 32px 36px, margin-top 20px, gap 28px 40px).
   That box, plus panel padding-top and hairline rules, made the expanded
   content look like a separate section.

   After: sit on the page cream; 16px from the Show more/less row to the
   first expanded block; 28px row gap between expanded blocks (within the
   24-40px rhythm). */
.r10 .sol-more-grid{
  margin:16px 0 0;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  gap:28px 32px;
}

/* Layout already has a grid gap. The extra padding-top + border-top on
   later panels stacked on that gap (52px content-to-content on desktop
   for How it works; 68px into the Learn block). Remove the section-like
   breaks so every expanded block uses the same 28px gap. */
.r10 .sol-panel--steps,
.r10 .sol-panel--why,
.r10 .sol-panel--facts ~ .sol-panel--who,
.r10 .sol-panel--facts ~ .sol-panel--need{
  padding-top:0;
  border-top:0;
}

.r10 .sol-panel--learn{
  margin-top:0;
  padding-top:0;
  border-top:0;
}

/* When expanded, shorten the trailing pad so the last block is not
   followed by a large cream void (was 56px padding-bottom + the card's
   32px + 1px border = 89px from last content to the article edge).
   Collapsed sections are unchanged. */
.r10 .sol:has(.sol-toggle[aria-expanded="true"]){
  padding-bottom:40px;
}

@media (max-width:760px){
  /* Before: card padding 16px 16px 18px, margin-top 14px, gap 16px,
     plus 14px padding-top and a hairline on stacked panels, and
     8+32px on the Learn block (56px content gap into Learn).
     After: no card; 12px from the control to the first block; 20px
     between expanded blocks (within the 16-24px rhythm). */
  .r10 .sol-more-grid{
    margin-top:12px;
    padding:0;
    border:0;
    border-radius:0;
    gap:20px;
  }
  .r10 .sol-panel--steps,
  .r10 .sol-panel--why,
  .r10 .sol-panel--facts ~ .sol-panel--who,
  .r10 .sol-panel--need,
  .r10 .sol-panel--facts ~ .sol-panel--need{
    padding-top:0;
    border-top:0;
  }
  .r10 .sol-panel--learn{
    margin-top:0;
    padding-top:0;
    border-top:0;
  }
  .r10 .sol:has(.sol-toggle[aria-expanded="true"]){
    padding-bottom:24px;
  }
}
