/* /lead-services/childcare/ (layout d). Shared blocks live in d-pages.css. */

/* surfaces sampled: a run of word tags */
.cc-surfaces { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-surfaces li { padding: 7px 14px; border-radius: var(--r-pill); background: #fff; border: 1.5px solid var(--em-tint-2); color: var(--em-900); font-weight: 600; font-size: .95rem; }
.cc-surfaces li:last-child { background: var(--em-900); border-color: var(--em-900); color: #fff; }

.cc-steps__src { margin-top: var(--s6); }

/* mid-page price band */
.cc-band { padding-bottom: var(--section); }

/* prep checklist beside the scope note */
.cc-prep { display: grid; gap: var(--s6); align-items: start; }
.cc-prep__title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.cc-prep__side { display: grid; gap: var(--s5); }
.cc-prep__side p + p { margin-top: 0; }
@media (min-width: 1100px) { .cc-prep { grid-template-columns: 7fr 5fr; gap: var(--s7); } }

/* sources list on the dark band */
.cc-rules { display: grid; gap: var(--s4); }
.cc-rules li { padding: var(--s4) var(--s5); border-radius: var(--r-md); background: rgba(0, 31, 8, .4); }
.cc-rules a { font-weight: 700; }
.cc-rules p { margin-top: 4px; font-size: .97rem; }
.cc-rules__disc { margin-top: var(--s5); }
@media (min-width: 900px) { .cc-rules { grid-template-columns: 1fr 1fr; } }

/* phones. The rule table is the shared tbl--stack with a fold on its rows (d-pages.css). */
@media (max-width: 767px) {
  .cc-surfaces { gap: 6px; }
  .cc-surfaces li { padding: 5px 12px; }
  .cc-band { padding-bottom: var(--section); }
  .cc-prep { gap: var(--gap-block); }
  .cc-prep__side { gap: 16px; }
  /* six sources read as one ruled list on phones, not six stacked cards */
  .cc-rules { gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .cc-rules li { padding: 10px 0; border-radius: 0; background: none; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .cc-rules p { margin-top: 2px; }
  /* the whole row is the tap target for its single title link */
  .cc-rules li { position: relative; }
  .cc-rules li > a::after { content: ""; position: absolute; inset: 0; }
  /* the row with two links: each link gets its own 44px halo instead */
  .cc-rules li > span a { position: relative; }
  .cc-rules li > span a::after { content: ""; position: absolute; inset: -14px -6px; }
}
