//* ==========================================================
   Goji – Stats row
   VERSION 5 (6 Nov 2026), built on VERSION 4 (6 Nov 2026): width matches Section header / Feature cards /
   Timeline (1200 / 1440 / none, 0 side padding, 20px at ≤1000px).
   Wide and Full now spread the stats across the full width.
   The "centre 3 or fewer" behaviour from VERSION 3 is kept for Contained only.
   ========================================================== */

.goji-stats {
  --goji-stats-red: #d02030;
  --goji-stats-text: #5b6670;

  padding: 48px 0;
}

/* ---- Width: same numbers as the other modules ---- */
body .goji-stats .goji-stats__inner {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}

body .goji-stats--wide .goji-stats__inner { max-width: 1440px !important; }
body .goji-stats--full .goji-stats__inner { max-width: none !important; }

@media (max-width: 1000px) {
  body .goji-stats .goji-stats__inner {
    padding: 0 20px !important;
  }
}

/* ---- Grid ---- */
.goji-stats .goji-stats__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--goji-stats-cols, 4), minmax(0, 1fr));
  gap: 40px 48px;
}

.goji-stats .goji-stats__item {
  margin: 0;
  padding: 0;
}

.goji-stats .goji-stats__item::before,
.goji-stats .goji-stats__item::marker {
  content: none;
}

/* Short red line above each number */
.goji-stats .goji-stats__bar {
  display: block;
  width: 68px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--goji-stats-red);
}

.goji-stats .goji-stats__value {
  margin: 0 0 20px;
  font-family: "GTSuper", Georgia, serif !important;
  font-size: clamp(46px, 5.4vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--goji-stats-red);
  white-space: nowrap;
}

.goji-stats .goji-stats__label {
  margin: 0;
  max-width: 26ch;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--goji-stats-text);
}

/* Dark background version: light red line + number, light grey description */
.goji-stats--dark .goji-stats__bar { background: #ff5456; }
.goji-stats.goji-stats--dark .goji-stats__value { color: #ff5456; }
.goji-stats.goji-stats--dark .goji-stats__label { color: #c9ccd3; }

/* VERSION 5 (6 Nov 2026): on desktop, first stat sits on the left edge,
   last stat on the right edge, the rest evenly spaced between, so the row
   looks centred and lines up with the sections above and below. */
@media (min-width: 992px) {
  body .goji-stats .goji-stats__list {
    display: grid !important;
    grid-template-columns: repeat(var(--goji-stats-cols, 4), auto) !important;
    justify-content: space-between !important;
    column-gap: 48px !important;
  }
}

/* Tablet: two per row */
@media (max-width: 991px) {
  .goji-stats .goji-stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: stack */
@media (max-width: 575px) {
  .goji-stats { padding: 32px 0; }

  .goji-stats .goji-stats__list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .goji-stats .goji-stats__value {
    font-size: 46px;
    margin-bottom: 12px;
  }

  .goji-stats .goji-stats__label { font-size: 16px; }
}
/* Footnote marker + footnote (v3, 30 Nov 2026) */
.goji-stats__marker { font-size: 0.7em; line-height: 0; margin-left: 2px; }

body .goji-stats .goji-stats__footnote {
  margin-top: 48px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--goji-stats-divider, #c9ccd3) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  color: #6b6b76 !important;
  text-align: left !important;
}
body .goji-stats--dark .goji-stats__footnote {
  border-top-color: var(--goji-stats-divider, rgba(255, 255, 255, 0.2)) !important;
  color: #c9ccd3 !important;
}
body .goji-stats .goji-stats__footnote p {
  margin: 0 0 6px !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}
body .goji-stats .goji-stats__footnote p:last-child { margin-bottom: 0 !important; }

@media (max-width: 767px) {
  body .goji-stats .goji-stats__footnote { margin-top: 32px !important; padding-top: 20px !important; }
}
/* Light scheme: show the accent bar (30 Nov 2026) */
body .goji-stats--light .goji-stats__bar {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  background-color: #d02030 !important;
}