/* The Puzzle Pals roster. Cards come from home.css's .pal-grid / .pal rules;
   this only adds the page's own furniture. */


.pals-hero {
  padding-bottom: var(--s5);
}

.pals-hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  margin-bottom: var(--s5);
}

.pals-hero .lede {
  max-width: 62ch;
}

.pals-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s3);
  list-style: none;
  margin: var(--s7) 0 0;
  padding: 0;
  text-align: center;
}

.pals-facts strong {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--play-blue);
}

.pals-facts span {
  display: block;
  margin-top: var(--s2);
  font-size: 0.9rem;
  color: var(--ink-card-muted);
}

/* The roster is 18 cards, so unlike the home page's six there is no orphan
   row to design around - but it still must not collapse to a single column on
   a phone, which auto-fit with a 190px minimum does at 390px and turns the
   roster into an 18-card stack.
   The doubled class is deliberate: home.css pins .pal-grid to a fixed column
   count inside media queries, and (0,2,0) beats that at every width without
   needing !important. */
.pal-grid.pal-grid--full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--s6);
}

@media (min-width: 620px) {
  .pal-grid.pal-grid--full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .pal-grid.pal-grid--full {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
}

.pal-rules {
  display: grid;
  gap: var(--s5);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: var(--s5);
}

.pal-rules h3 {
  font-size: 1.1rem;
  margin-bottom: var(--s2);
}

.pal-rules p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-card-body);
}

/* The roster's own heading. It is here for structure as much as for looks:
   without it the page jumps straight from h1 to the h3 on each Pal card. */
.pals-roster-head {
  margin: var(--s7) 0 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  paint-order: stroke fill;
  -webkit-text-stroke: 4px var(--stroke-section);
}
