/*
 * apprenticeship_vacancies — written from the design (kitchen-sink .tile with
 * <dl> metadata: level / employer / wage / closing date). Against the classes
 * apprenticeship_vacancies.php emits:
 *   <div class="row-cards apprenticeship-vacancies-cards row-cards-list">
 *     <article class="card feature-card">
 *       <div class="card-section">
 *         <h3><a class="feature-link"> … </a></h3>
 *         <div class="card-info"><dl> <dt>/<dd> … </dl></div>
 *
 * The tile shell (border, 5px accent foot, radius, HOVER LIFT), title,
 * feature-link and card-info colour come from components/card.css. The grid
 * base comes from card-grid.css. This file is the delta: a browse grid (the
 * shared row-cards-list is single-column; vacancies read better as tiles) and
 * the <dl> laid out as clean label / value rows.
 * Colour is always a token.
 */

/* breathing room between the section title and the cards */
.apprenticeship-vacancies-cards { margin-top: 2rem; }

/* browse grid — override the single-column row-cards-list from the large bp */
@media print, screen and (min-width: 48em) {
  .apprenticeship-vacancies-cards.row-cards-list {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

/* metadata: label / value pairs read as a tidy two-column list */
.apprenticeship-vacancies-cards .card-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 0.7rem;
  margin: 0;
}
.apprenticeship-vacancies-cards .card-info dt {
  font-weight: 700;
  color: var(--text-heading);
}
.apprenticeship-vacancies-cards .card-info dd {
  margin: 0;
  color: var(--text-muted);
}
