/* Standalone CSS: no Tailwind build required. */
.ethos-stats {
  box-sizing: border-box;
  width: 100%;
  position: relative;
  background: #0a2e39;
  color: #efefe4;
  padding-inline: clamp(24px, 6vw, 96px);
}
.ethos-stats *, .ethos-stats *::before, .ethos-stats *::after { box-sizing: border-box; }
.ethos-stats .ethos-stats__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1908px;
  margin: 0 auto;
  padding: 0;
}
.ethos-stats .ethos-stats__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px 0;
}
.ethos-stats .ethos-stats__item + .ethos-stats__item { border-top: 1px solid rgba(239, 239, 228, 0.25); }
.ethos-stats .ethos-stats__value {
  order: -1;
  margin: 0 0 8px;
  padding: 0;
  font-family: VictorSerif, Georgia, serif;
  font-size: clamp(32px, 2.8vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.ethos-stats .ethos-stats__label {
  margin: 0;
  padding: 0;
  font-family: ABCWhyte, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.ethos-stats--placeholder { padding-block: 24px; }
@media (min-width: 768px) {
  .ethos-stats .ethos-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ethos-stats .ethos-stats__item { padding: 36px 24px; }
  .ethos-stats .ethos-stats__item + .ethos-stats__item { border-top: 0; }
  .ethos-stats .ethos-stats__item:nth-child(n+3) { border-top: 1px solid rgba(239, 239, 228, 0.25); }
  .ethos-stats .ethos-stats__item::before {
    content: "";
    display: none;
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0;
    width: 1px;
    background: rgba(239, 239, 228, 0.25);
    pointer-events: none;
  }
  .ethos-stats .ethos-stats__item:nth-child(2n)::before { display: block; }
  /* Keep exactly three statistics on one row on tablets too. */
  .ethos-stats .ethos-stats__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ethos-stats .ethos-stats__grid--3 > .ethos-stats__item { border-top: 0; }
  .ethos-stats .ethos-stats__grid--3 > .ethos-stats__item + .ethos-stats__item::before { display: block; }
}
@media (min-width: 1024px) {
  .ethos-stats .ethos-stats__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ethos-stats .ethos-stats__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ethos-stats .ethos-stats__item { padding: 40px 32px; }
  .ethos-stats .ethos-stats__item:nth-child(n) { border-top: 0; }
  .ethos-stats .ethos-stats__item:nth-child(n)::before { display: none; }
  .ethos-stats .ethos-stats__grid--2 > :not(:nth-child(2n+1))::before,
  .ethos-stats .ethos-stats__grid--3 > :not(:nth-child(3n+1))::before,
  .ethos-stats .ethos-stats__grid--4 > :not(:nth-child(4n+1))::before { display: block; }
  .ethos-stats .ethos-stats__grid--2 > :nth-child(n+3),
  .ethos-stats .ethos-stats__grid--3 > :nth-child(n+4),
  .ethos-stats .ethos-stats__grid--4 > :nth-child(n+5) { border-top: 1px solid rgba(239, 239, 228, 0.25); }
}

@media (max-width: 767.98px) {
  .ethos-stats .ethos-stats__item { text-align: center; }
}

/* Reuse the site's sidebar width/breakpoint so the vertical rule lines up. */
.ethos-stats.block-outer-container { display: block; }
.ethos-stats.block-outer-container > .ethos-stats__rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 9%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-color: #000;
  pointer-events: none;
}
.ethos-stats .ethos-stats__value,
.ethos-stats .ethos-stats__label { color: #efefe4; }
