/* ==========================================================================
   parts/trainer-row.css — one trainer row (parts/trainer-row.php; live .wlp-trainer, SECTIONS-A §3.3).
   Mobile-first. Measured on live (homepage S3): 88.25px tall when nothing wraps (20 + 47.25 link box + 20
   + 1px border) — 600 wide @1440, 635.56 @768; @390 names/locations wrap: 95.5 / 150 / 122.75 / 122.75.
   The row never wraps (live: nowrap ≤767, and Bricks' default nowrap above); name and location shrink
   and wrap instead, the ">" box keeps its 60.47 × 47.25.
   Text is in <div>s, so it inherits body's computed line-height (27.25px) — Bebas included, as on live.
   ========================================================================== */

.trainer-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--content-gap);
  width: 100%;
  padding: 2rem 0;                                   /* live: inline padding 0 ≤991 */
  border-top: 1px solid var(--tertiary-semi-dark);
}

.trainer-row__left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--content-gap);
}

.trainer-row__icon {
  display: block;
  width: 100%;
  max-width: 2.5rem;                                 /* 25 × 25.61 (82×84 file) */
  height: auto;
}

.trainer-row__name {
  color: var(--white);
  font-weight: 700;
}

.trainer-row__right {
  display: flex;
  align-items: center;
  gap: var(--content-gap);
}

.trainer-row__location {
  color: var(--white);
  font-family: var(--font-accent);
  text-align: right;
  text-transform: uppercase;                         /* data is "Warwick Farm, NSW"; live prints it in caps */
}

.trainer-row__link {
  display: block;
  padding: 1rem 2.5rem;                              /* 60.47 × 47.25 around the ">" */
  background-color: var(--primary);
}

.trainer-row__link-text {
  display: block;
  color: var(--white);
}

@media (min-width: 992px) {
  .trainer-row { padding-inline: 2rem; }
}
