/* ==========================================================================
   Per-gym pricing cards — location pages only.

   Each program on a location page is already a .fees__block from the design
   system, so this is only what that grid does not cover: the colored edge
   that tells one program's card from the next, and a definition list wide
   enough for terms like "Weeklong" and "Pollywogs" — .class__meta's 58px is
   cut short by "Ages" and "When".

   It is its own file rather than ten more lines in jump.css because it is
   loaded by exactly one template, and that template is the only thing that
   emits the markup — so the pair cannot separate and ship half-styled.
   Same arrangement as prose.mjs and pages.css.
   ========================================================================== */

/* The filter row. Same vocabulary as .filters above it -- display font, the
   uppercase micro-label, pink for the active state -- but pills rather than a
   select, because five options a parent can see at once beats a dropdown they
   have to open.

   ON THE TWO PINKS BELOW. The hover and active states were var(--pink), which
   is 3.39:1 both ways round — as text on white, and as a ground under white —
   and these pills are 14px, so they need 4.5:1. They now use the two values
   brand.css defines for exactly these two situations: --pink-link for pink as
   text (6.21:1 on white) and --pink-deep for a pink ground carrying white
   (4.68:1). Neither is a new colour.

   THIS FIX LIVES HERE RATHER THAN WITH THE REST OF THE CONTRAST WORK because
   layout.mjs emits this sheet after brand.css on the gym pages — checked on
   the deployed page: jump.css, brand.css, pricing.css, team.css. A
   .pricefilter__pill.is-on rule written in brand.css would be the same
   specificity and the later sheet would win, so the fix would silently do
   nothing. The note in brand.css points here.

   Why nobody had caught it: .pricefilter ships with the HTML `hidden`
   attribute and pricing.js removes it at runtime, only when this gym has
   more than one program group. Anything that reads the page without running
   its scripts never sees these pills at all. */
.pricefilter{
  display:flex;flex-wrap:wrap;align-items:center;gap:.6rem .9rem;
  margin:1.5rem 0 .25rem;
}
.pricefilter__label{
  font-family:var(--display);font-weight:800;font-size:.76rem;
  letter-spacing:.1em;text-transform:uppercase;color:var(--text-soft);
}
.pricefilter__pills{display:flex;flex-wrap:wrap;gap:.5rem}
.pricefilter__pill{
  cursor:pointer;background:#fff;color:var(--ink);
  border:2px solid rgba(13,13,13,.12);border-radius:var(--pill);
  padding:.45rem 1.05rem;
  font-family:var(--display);font-weight:800;font-size:.9rem;
}
.pricefilter__pill:hover{border-color:var(--pink-link);color:var(--pink-link)}
.pricefilter__pill:focus-visible{outline:3px solid var(--navy);outline-offset:2px}
.pricefilter__pill.is-on{
  background:var(--pink-deep);border-color:var(--pink-deep);color:#fff;
}

.fees__block--program{border-top:6px solid var(--c,var(--sky))}

.pricing__meta{display:grid;gap:.45rem;margin:1.15rem 0 0;font-size:.88rem}
.pricing__meta > div{display:flex;gap:.6rem}
.pricing__meta dt{
  font-family:var(--display);font-weight:800;color:var(--text-soft);
  flex:0 0 5.4rem;margin:0;
}
.pricing__meta dd{margin:0;color:var(--ink)}

/* The Adventure Path levels under Gymnastics: a group, its age band, then the
   colors inside it, each on its own line and quieter than the group name. */
.pricing__levels{border-top:1px solid rgba(13,13,13,.07);padding-top:.9rem}
.pricing__levels dd span{display:block;color:var(--text-soft);font-size:.92em}

/* At phone width a 5.4rem label column leaves too little for the text beside
   it, so the pair stacks instead. */
@media (max-width:420px){
  .pricing__meta > div{flex-direction:column;gap:.1rem}
  .pricing__meta dt{flex:none}
}
