/* ==========================================================================
   Ranges overview page only. Linked after main.css on pages/ranges.html.
   Shared patterns (band hero, trust strip, statement, range card, range tag,
   CTA band, FAQ) live in components.css.
   ========================================================================== */

/* The three range cards: the centrepiece. Three equal cards on desktop,
   stacked in range order on mobile. */
.ranges-grid .range-card__body {
  padding: var(--space-6);
}

/* Type tag, then the ingredient eyebrow on its own line, above the range
   name. Always two lines, so the three titles align across cards. */
.range-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.range-card__meta .eyebrow {
  color: var(--range-accent);
}

/* Small desktops (1024 to 1199px): the long range paragraphs get too narrow
   in three columns, so the cards run horizontally (image beside text) */
@media (min-width: 64em) and (max-width: 74.99em) {
  .ranges-grid {
    grid-template-columns: 1fr;
  }

  .ranges-grid .range-card {
    flex-direction: row;
  }

  .ranges-grid .range-card__media {
    flex: 0 0 38%;
    aspect-ratio: auto;
  }
}

/* Phones: less padding so the long paragraphs have room */
@media (max-width: 29.99em) {
  .ranges-grid .range-card__body {
    padding: var(--space-5) var(--space-4);
  }
}
