/* Public sponsorship pages (Sponsor a child, child profile) — OMS 13 */
.sp-hero { background: radial-gradient(900px 400px at 85% -20%, rgba(var(--gold-rgb), .32), transparent 60%), linear-gradient(140deg, var(--forest-dark), var(--hero-mid) 60%, var(--forest-mid)); color: #fff; padding: 64px 0 88px; position: relative; overflow: hidden; }
  .sp-hero h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 700; margin: 10px 0 12px; color: #fff; }
  .sp-hero p { color: rgba(255,255,255,.84); max-width: 640px; font-size: 1.08rem; }
  .sp-eyebrow { display: inline-flex; gap: 8px; align-items: center; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--gold-pale); }
  .sp-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
  .sp-facts div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 12px 16px; min-width: 150px; }
  .sp-facts b { display: block; font-size: 1.45rem; line-height: 1.15; }
  .sp-facts span { font-size: .82rem; color: rgba(255,255,255,.78); }
  .sp-filter { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; margin-top: -44px; position: relative; z-index: 2; }
  .sp-filter .form-control, .sp-filter .form-select { border-radius: 12px; }
  .sp-chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 30px; padding: 6px 14px; font-size: .86rem; font-weight: 600; cursor: pointer; }
  .sp-chip.on { background: var(--forest); border-color: var(--forest); color: #fff; }
  .kid { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
  .kid:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
  .kid-photo, .kid-avatar { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
  .kid-photo img { width: 100%; height: 100%; object-fit: cover; }
  .kid-avatar { background: linear-gradient(150deg, hsl(var(--h) 45% 46%), hsl(calc(var(--h) + 40) 55% 36%)); display: grid; place-items: center; }
  .kid-avatar span { font-family: var(--font-display); font-size: 4.2rem; color: rgba(255,255,255,.92); font-weight: 700; z-index: 1; }
  .kid-avatar svg { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; }
  .kid-badge { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 30px; backdrop-filter: blur(4px); }
  .kid-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
  .kid-body h3 { font-family: var(--font-display); font-size: 1.45rem; margin: 0; color: var(--ink); }
  .kid-meta { color: var(--ink-3); font-size: .88rem; margin: 2px 0 10px; }
  .kid-story { color: var(--ink-2); font-size: .93rem; line-height: 1.55; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
  .kid-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; color: var(--ink-2); font-size: .86rem; }
  .kid-amount b { font-size: 1.15rem; color: var(--forest-ink); }
  .kid-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .kid-actions .btn { border-radius: 12px; font-weight: 700; }
  .sp-empty { text-align: center; padding: 60px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: 20px; }
  .sp-how { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .sp-step { display: flex; gap: 14px; }
  .sp-step i { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--forest-rgb), .12); color: var(--forest-ink); font-size: 1.25rem; }
  .sp-step h4 { font-size: 1.05rem; margin: 0 0 4px; font-family: var(--font-body) !important; font-weight: 700; color: var(--ink); }
  .sp-step p { margin: 0; color: var(--ink-2); font-size: .92rem; }
  .amt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .amt-chips input { display: none; }
  .amt-chips label { border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; cursor: pointer; font-weight: 700; color: var(--ink-2); background: var(--surface); }
  .amt-chips input:checked + label { border-color: var(--forest); background: rgba(var(--forest-rgb), .1); color: var(--forest-ink); }
  #sponsorModal .modal-header { background: linear-gradient(140deg, var(--forest-dark), var(--forest)); color: #fff; }
  #sponsorModal .modal-header .btn-close { filter: invert(1) grayscale(1) brightness(2); }
  .sp-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }
