/* =========================================================
   Stat Counter
   Font family, size and colour come from WordPress block
   supports (theme presets), applied to the .statcount wrapper.
   The number inherits them; defaults below use :where() so any
   theme preset always wins over them.
   ========================================================= */

:where(.statcount){
  font-size:2.5rem;      /* default size when no theme preset is chosen */
  font-weight:700;
  line-height:1.1;
}

.statcount__num{
  font-size:1em;                 /* inherit the wrapper's (theme) size */
  font-variant-numeric:tabular-nums;   /* no width jitter while counting */
  white-space:nowrap;
}

.statcount__label{
  display:block;
  font-size:.35em;               /* scales with the number size */
  font-weight:400;
  line-height:1.3;
  letter-spacing:.02em;
  opacity:.8;
  margin-top:.4em;
}
