/* The trade pages' look (seat A of the SEO page sweep, 2026-11-14): /florida-<trade>-bids/ and
   /florida-bids/, after pages.css. "Where ... bids come from" puts its counted links beside a night
   plate of Florida's 67 counties where each county with a bid lights in signal yellow, the busiest
   brightest (the Post a bid page's map); the facts sit on navy tiles; the rows and tiles rise in
   turn (the shared reveal, motion.js). Everything shows without JS; reduced motion keeps it still. */

/* the plate beside its links: stacked on a phone, side by side from 40rem */
.tr-where {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
  margin-top: var(--sp-4);
}
.tr-where .az {
  margin-top: 0;
}
@media (min-width: 40rem) {
  .tr-where {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: var(--sp-6);
  }
}
.tr-map {
  margin: 0;
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  border-radius: var(--r-md);
  background: radial-gradient(120% 140% at 0% 50%, var(--night-hi), transparent 70%), var(--night);
  box-shadow: 0 1px 2px rgb(10 22 40/18%), 0 10px 24px -14px rgb(10 22 40/55%);
}
.tr-map__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.tr-map__base,
.tr-map__lit {
  stroke-width: 1px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.tr-map__base {
  fill: rgb(207 224 245/7%);
  stroke: rgb(207 224 245/30%);
}
.tr-map__lit {
  stroke: var(--hivis);
}
.tr-map__lit--3 {
  fill: var(--hivis);
}
.tr-map__lit--2 {
  fill: rgb(255 208 0/30%);
}
.tr-map__lit--1 {
  fill: rgb(255 208 0/12%);
  stroke: rgb(255 208 0/75%);
}
/* the busiest county's lamp: paper on its yellow, a ring that pings when the plate shows */
.tr-map__lamp {
  fill: var(--paper);
  stroke: var(--night);
  stroke-width: 3;
}
.tr-map__ring {
  fill: none;
  stroke: var(--hivis);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.tr-map figcaption {
  margin-top: var(--sp-2);
  color: var(--on-night-2);
  font: 500 0.75rem/1.4 var(--sign);
}

/* "What ... bids look like": one fact a row, its navy tile (Post a bid's "How it works") on the
   left, the lead in grey over the figure */
.prose .tr-facts {
  display: grid;
  list-style: none;
  padding: 0;
}
.tr-facts > li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  column-gap: var(--sp-4);
  padding-block: var(--sp-3);
  border-top: 1px solid var(--rule);
}
.tr-facts > li:first-child {
  padding-top: 0;
  border-top: 0;
}
.tr-facts__tile {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-md);
  background: var(--night);
  box-shadow: 0 1px 2px rgb(10 22 40/18%), 0 6px 16px -6px rgb(10 22 40/45%);
  color: var(--paper);
}
.tr-facts__tile svg {
  width: 1.5rem;
  height: 1.5rem;
}
.prose .tr-facts p {
  margin: 0;
  color: var(--asphalt);
  font: 500 1rem/1.45 var(--sign);
}
.tr-facts__l {
  display: block;
  color: var(--gravel);
  font-size: 0.875rem;
  font-weight: 400;
}

/* the authored moment: the plate rises (the shared reveal), then its counties light one after
   another, busiest first, without the shared rise, and the lamp's ring pings three times */
@media (prefers-reduced-motion: no-preference) {
  .tr-map.will-reveal .tr-map__lit {
    translate: none;
  }
  .tr-map.will-reveal.is-in .tr-map__lit {
    transition: opacity 0.6s var(--ease-out);
    transition-delay: calc(var(--step, 0) * 45ms + 0.25s);
  }
  .tr-map.is-in .tr-map__ring {
    animation: ping 1.8s var(--ease-out) 0.9s 3;
  }
}

/* "Past ... bid results": the hero's figure row (.loc-stats) on paper, then its one line in grey */
.prose .tr-results {
  margin-top: var(--sp-4);
}
.prose .tr-results__line {
  margin-top: var(--sp-3);
  color: var(--gravel);
  font-size: 0.9375rem;
}
