/* regions — the generic card grid.
   Card, grid and two-up behaviour all come from base.css. Only the highlight
   line is this block's own.

   Baseball widens this grid to auto-fit above 1280px, which becomes five or six
   very narrow columns on a large display; the shared .grid--cards caps the
   measure instead. */
.regions .sec__inner { display: flex; flex-direction: column; align-items: flex-start; }
.regions__grid { width: 100%; }
.region-card .card__name { font-size: var(--fs-h2); }
.region-card__count {
  color: var(--accent-deep);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: var(--weight-bold);
}
.tone--navy .region-card__count { color: var(--accent-decor); }

/* The named favourite, carrying the venue panel's treatment so the card and
   the page it leads to look like one idea: an accent bar down the left, a
   faint tint, the label in accent eyebrow and the dish as copy.

   margin-top:auto before it, not on the button, so the favourite and button
   travel together to the foot of the card. Cards in a row are the same height
   and their descriptions are not, so without it each card's favourite sat at
   a different height and the row read as ragged. */
.region-card__fav {
  display: block;
  margin-top: auto;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: #00205b08;
}
.region-card__fav-label { display: block; color: var(--accent-deep); }
.region-card__fav-copy {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-body-sm);
  line-height: 1.45;
  color: var(--color-navy);
}
.tone--navy .region-card__fav { background: #ffffff14; border-left-color: var(--accent-decor); }
.tone--navy .region-card__fav-label { color: var(--accent-decor); }
.tone--navy .region-card__fav-copy { color: var(--color-white); }

/* Not an <a>: the whole card already is one, and an anchor inside an anchor is
   invalid and unreliable. It carries .btn .btn--outline so it is the same
   object as every other button on the site, and the card drives its hover,
   because the thing being hovered is the card. */
.region-card__cta {
  /* A fixed gap, NOT auto. The favourite above it already claims the slack, and
     two auto margins in one flex column split the free space between them,
     which pushed the button away from the block it belongs to. */
  margin-top: 16px;
  align-self: flex-start;
}
/* Without a favourite there is nothing above to claim the slack, so the button
   takes it back and the buttons across a row still line up. */
.region-card:not(:has(.region-card__fav)) .region-card__cta { margin-top: auto; }
.card:hover .region-card__cta {
  background: var(--btn-invert-bg);
  color: var(--btn-invert-fg);
}
