/* Luma Community Goals. Uses the homepage section system (site-section, site-eyebrow, site-h2, site-lead, fineprint) and Luma Design System v1 tokens only.
   Hidden until the server returns a real number. */
.community[hidden] { display: none !important; }
.community__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.community__meter { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); min-width: 0; width: 100%; }
.community__stat { margin: 0; color: var(--luma-text-secondary); font-size: var(--font-size-base); }
.community__stat strong { font-size: var(--font-size-2xl); font-weight: 650; color: var(--luma-text); font-variant-numeric: tabular-nums; }
.community__bar { width: 100%; height: 10px; border-radius: var(--radius-full, 999px); background: var(--luma-border); overflow: hidden; }
.community__fill { height: 100%; width: 0; border-radius: inherit; background: var(--luma-accent); transition: width var(--duration-slow, .6s) var(--ease, ease); }
.community__remaining { margin: 0; font-weight: 600; color: var(--luma-text); }
.community--page { margin-block: var(--space-6); }
.community--page .community__grid { display: grid; gap: var(--space-6); }
@media (max-width: 900px) { .community__grid.schools { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }
@media (prefers-reduced-motion: reduce) { .community__fill { transition: none; } }

/* Homepage: the Community goal is a normal section with its own tinted background, so the alternating plain/alt backgrounds of its neighbours stay intact whether or not it is shown. */
.community { background: var(--luma-bg-secondary); background: color-mix(in srgb, var(--luma-bg-secondary) 50%, var(--luma-surface, var(--luma-bg-elevated, #fff))); border-block: 1px solid var(--luma-border); }
