/* The statistics card (core/_stats_promo.html): homepage and the top of the research page. */
.stats-promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: var(--paper); border: 1px solid #ECE8E1; border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; }
.stats-promo__body { padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 0; }
.stats-promo__kicker { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.stats-promo h2 { margin: 0; font-family: var(--font-book); font-size: 30px; font-weight: 700; line-height: 1.3; }
.stats-promo h2 a { color: inherit; text-decoration: none; }
.stats-promo__lead { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-soft); }
.stats-promo__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin: 0; }
.stats-promo__facts div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 10px 12px; background: #F6F3EE; border-radius: 12px; }
.stats-promo__facts dd { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--cocoa); }
.stats-promo__facts dt { font-size: 12.5px; color: var(--ink-soft); }
.stats-promo__pages { display: flex; flex-wrap: wrap; gap: 6px; }
.stats-promo__pages a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; text-decoration: none; color: inherit; background: var(--paper); }
.stats-promo__pages a:hover { border-color: var(--cocoa); }
.stats-promo__more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 11px; background: var(--cocoa); color: var(--cream); font-size: 14px; font-weight: 700; text-decoration: none; }
.stats-promo__map { position: relative; display: block; background: #F6F3EE; min-height: 100%; order: 2; }
.stats-promo__map img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.stats-promo__caption { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.88); font-size: 12px; color: var(--ink-soft); }
/* research page: the card sits under the page header */
.research-page .stats-promo { margin: 8px 0 32px; grid-template-columns: 1fr; }
.research-page .stats-promo__map { order: 0; aspect-ratio: 5 / 2; min-height: 0; }

@media (max-width: 900px) {
  .stats-promo { grid-template-columns: 1fr; }
  .stats-promo__map { aspect-ratio: 2 / 1; min-height: 0; order: 0; }
}
@media (max-width: 520px) {
  .stats-promo__body { padding: 20px 16px; }
  .stats-promo h2 { font-size: 26px; }
  .stats-promo__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-promo__map, .research-page .stats-promo__map { aspect-ratio: 3 / 2; }
}
