/* aftercare-home.css
   Copyright © 2026 LexPro. All rights reserved.

   Bell & Beyond's home (BB0, "School year and summer"): the day's strip,
   the term's beats with their pictures, camp season's sticker grid, and
   which season shows (html[data-season], set by js/bell.js; without it
   both seasons show, one after the other). */

/* ---- Which season shows ---- */
/* The camp panel's own drawing is the hero's once the switch works. */
html[data-season] .bb-camp-head__art { display: none; }
html[data-season] .bb-camp-head { display: block; }

/* ---- Panel heads ---- */
.bb-panel-head { max-width: 760px; }
.bb-panel-head .bb-lede { margin-top: 14px; }
.bb-panel-head .bb-season { margin-top: 22px; }

/* ---- The day's strip ---- */
.bb-strip {
  margin-top: 36px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px;
  list-style: none; padding: 0;
}
.bb-strip__stop {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px;
  border: 2px solid var(--bb-navy); border-radius: 18px; background: #fff; box-shadow: 4px 4px 0 var(--bb-navy);
}
.bb-strip__dot {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--bb-navy); font: 800 14px/1 var(--font-numeral); color: var(--bb-navy); background: var(--teal-200);
}
.bb-strip__dot--1 { background: #FFE28A; }
.bb-strip__dot--2 { background: #FFD3C4; }
.bb-strip__dot--3 { background: var(--navy-100); }
.bb-strip__time { font: 700 18px/1.1 var(--font-numeral); color: var(--bb-navy); }
.bb-strip__name { font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--home-text); }
/* Three across on a tablet: the term's five stops are 3 + 2 and camp's six
   3 + 3 (as many as fit left the fifth or sixth alone on a row). */
@media (max-width: 900px) {
  .bb-strip { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Two across on a phone; the fifth step takes the whole last row rather than
   sitting alone in half of it. */
@media (max-width: 600px) {
  .bb-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-strip > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---- The term's beats ---- */
.bb-beats { margin-top: 64px; display: grid; gap: 88px; }
.bb-beat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.bb-beat--flip .bb-beat__words { order: 2; }
.bb-beat--solo { display: block; }
.bb-beat__picture { min-width: 0; }
.bb-beat__bell { max-width: 260px; margin: 0 auto; }
.bb-beat__bell .art { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .bb-beats { gap: 64px; }
  .bb-beat { display: block; }
  .bb-beat__picture { margin-top: 32px; max-width: 520px; }
}

/* Children arriving from class. */
.bb-arrivals { display: grid; gap: 12px; max-width: 420px; margin: 0 auto; }
.bb-arrivals__row {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px;
  border: 2px solid var(--bb-navy); border-radius: 14px; background: var(--teal-50);
}
.bb-arrivals__row--way { background: #FFF4CC; }
.bb-arrivals__face {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--bb-navy); background: #fff; font-weight: 800; color: var(--bb-navy);
}
.bb-arrivals__name { flex: 1; font-size: 17px; font-weight: 700; color: var(--bb-navy); }
.bb-arrivals__mark {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal-400); color: var(--bb-navy); border: 2px solid var(--bb-navy);
}
.bb-arrivals__row--way .bb-arrivals__mark { background: var(--bb-yellow); }

/* The late-pickup tickets. */
.bb-late {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px;
  max-width: 480px; margin: 0 auto;
}
.bb-late__ticket {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; min-width: 0;
  border: 2px dashed var(--bb-navy); border-radius: 16px; background: var(--teal-50);
}
.bb-late__ticket--out { background: #FFE9E1; border-style: solid; }
.bb-late__label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-800); }
.bb-late__ticket--out .bb-late__label { color: #8E2410; }
.bb-late__time { font: 700 clamp(22px, 5vw, 32px)/1 var(--font-numeral); color: var(--bb-navy);; white-space: nowrap; }
.bb-late__arrow { color: var(--bb-navy); }

/* ---- Camp season ---- */
.bb-camp-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.bb-camp-head__art .bb-frame { box-shadow: 10px 10px 0 var(--bb-yellow); }
@media (max-width: 900px) { .bb-camp-head { display: block; } .bb-camp-head__art { margin-top: 36px; max-width: 520px; } }
.bb-camp-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.bb-camp-card { grid-column: span 2; }
.bb-camp-card .bb-beat__title { font-size: 24px; }
.bb-camp-card .bb-beat__body { font-size: 16px; }
@media (max-width: 980px) {
  .bb-camp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-camp-card { grid-column: auto; }
}
@media (max-width: 600px) { .bb-camp-grid { grid-template-columns: minmax(0, 1fr); } }
