/* preschool-how.css
   Copyright © 2026 LexPro. All rights reserved.

   Sunporch's How it works (site/lib/sites/preschool/pages/how/):
   app/lib/web/site/sections/preschool/how/. */


/* ---- A day at the center (PreHowTimelineSection) ---- */
.how-day { position: relative; list-style: none; margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 96px; row-gap: 40px; align-items: start; }
.how-day__path {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 24px; margin-left: -12px;
  background: radial-gradient(circle, #FFC21A 3.5px, transparent 4px) 50% 34px / 24px 16.5px repeat-y;
  background-clip: content-box; padding: 34px 0;
}
.how-day__sun, .how-day__moon { position: absolute; left: 0; width: 24px; height: 24px; border-radius: 50%; border: 2.4px solid #16305A; box-sizing: border-box; }
.how-day__sun { top: 6px; background: #FFC21A; }
.how-day__moon { bottom: 6px; background: #FFE9A8; overflow: hidden; }
.how-day__moon::after { content: ""; position: absolute; left: 7px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: #FFF2DB; }
.how-moment { padding: 24px; }
.how-moment__top { display: flex; align-items: center; gap: 12px; }
.how-moment .sunny-h3 { margin-top: 16px; }
.how-moment__p { margin-top: 8px; }
.how-moment__picture { margin-top: 18px; }
.how-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 6px;
  padding: 10px 12px; border-radius: 14px; background: #FFFDF8; border: 2px solid rgba(22, 48, 90, .12);
}
.how-chip { padding: 4px 9px; border-radius: 999px; font-family: var(--sunny-read); font-weight: 700; font-size: 12px; line-height: 1.3; }
@media (max-width: 980px) {
  .how-day { grid-template-columns: minmax(0, 1fr); padding-left: 36px; row-gap: 24px; }
  .how-day__path { left: 2px; margin-left: 0; }
}

/* ---- Who does what (PreHowRolesSection) ---- */
.how-people { display: block; width: 100%; height: auto; margin-top: 28px; }
.how-group { display: flex; align-items: center; gap: 12px; margin-top: 28px; margin-bottom: 16px;
  font-family: var(--sunny-heading); font-weight: 800; font-size: 19px; line-height: 1.2; color: var(--sunny-navy); }
.how-families + .how-group, .how-team + .how-group { margin-top: 44px; }
.how-group__dash { flex: none; width: 28px; height: 6px; border-radius: 3px; background: var(--sunny-yellow); }
.sunny-tile h4.sunny-h3 { font-size: 21px; }
@media (max-width: 600px) { .how-team, .how-families { grid-template-columns: minmax(0, 1fr); } }

/* ---- Setting up: the screen tilts a little ---- */
.how-setup-pic { transform: rotate(.86deg); }

/* ---- When things go wrong ---- */
.how-trouble { margin-top: 44px; }
