.edc-bento-stats {
  padding: var(--edc-section-v) var(--edc-space-gutter);
  background: var(--edc-warm-white);
}
@media (min-width: 1024px) { .edc-bento-stats { padding-left: var(--edc-section-h); padding-right: var(--edc-section-h); } }

.edc-bento-stats__inner {
  max-width: var(--edc-container);
  margin: 0 auto;
}

/* ── Shared section-head styles (used by multiple widgets) ── */
.edc-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--edc-space-xl);
  padding-bottom: var(--edc-space-md);
}
.edc-eyebrow {
  display: inline-block;
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-label);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--edc-solar-gold);
  margin-bottom: 4px;
}
.edc-headline {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: var(--edc-fs-headline-lg);
  line-height: 1.2;
  letter-spacing: var(--edc-track-headline);
  color: var(--edc-obsidian);
  margin: 4px 0;
}
.edc-subhead {
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-lead);
  line-height: 1.6;
  color: var(--edc-slate);
  margin: var(--edc-space-sm) 0 0 0;
}

/* ── Bento grid ── */
.edc-bento-stats__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--edc-space-gutter);
}
@media (min-width: 768px) {
  .edc-bento-stats__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.edc-bento-stats__card {
  position: relative;
  overflow: hidden;
  padding: var(--edc-space-xl);
  border-radius: var(--edc-radius-bento);
  border: 1px solid rgba(224, 221, 216, 0.5);
  background: var(--edc-warm-white);
  display: flex; flex-direction: column;
  transition: transform var(--edc-dur-medium) var(--edc-ease),
              box-shadow var(--edc-dur-medium) var(--edc-ease),
              border-color var(--edc-dur-medium) var(--edc-ease);
}
.edc-bento-stats__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--edc-shadow-lg);
  border-color: var(--edc-gold-ring);
}

/* Variants */
.edc-bento-stats__card--dark {
  background: var(--edc-obsidian);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.10);
}
.edc-bento-stats__card--dark .edc-bento-stats__title { color: #fff; }
.edc-bento-stats__card--dark .edc-bento-stats__body  { color: rgba(255, 255, 255, 0.6); }

.edc-bento-stats__card--cream { background: var(--edc-cream); }

/* Sizes across a 12-col grid */
@media (min-width: 768px) {
  .edc-bento-stats__card--sm { grid-column: span 4; }
  .edc-bento-stats__card--md { grid-column: span 8; }
  .edc-bento-stats__card--xl { grid-column: span 12; }
}

/* Icon puck */
.edc-bento-stats__icon {
  width: 48px; height: 48px;
  border-radius: var(--edc-radius-full);
  background: var(--edc-gold-tint);
  color: var(--edc-solar-gold);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--edc-space-md);
}
.edc-bento-stats__card--md .edc-bento-stats__icon {
  width: 64px; height: 64px;
}
.edc-bento-stats__card--md .edc-bento-stats__icon .material-symbols-outlined { font-size: 32px !important; }

.edc-bento-stats__stat {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: var(--edc-fs-headline-lg);
  color: var(--edc-solar-gold);
  line-height: 1;
  margin: 0 0 4px 0;
}
.edc-bento-stats__stat--xl {
  font-size: clamp(56px, 6.5vw, 80px);
  margin-bottom: var(--edc-space-sm);
}

.edc-bento-stats__title {
  font-family: var(--edc-font-heading);
  font-weight: 800;
  font-size: var(--edc-fs-headline-md);
  color: var(--edc-obsidian);
  margin: 0 0 var(--edc-space-sm) 0;
}
.edc-bento-stats__body {
  font-family: var(--edc-font-body);
  font-size: var(--edc-fs-body-sm);
  color: var(--edc-slate);
  margin: 0;
  max-width: 44ch;
}

/* XL two-column layout inside the wide row */
.edc-bento-stats__wide {
  display: flex; flex-direction: column;
  gap: var(--edc-space-xl);
  align-items: flex-start;
}
@media (min-width: 768px) {
  .edc-bento-stats__wide { flex-direction: row; align-items: center; }
  .edc-bento-stats__wide-left { flex: 0 0 33%; }
  .edc-bento-stats__wide-right { flex: 1 1 auto; }
}
.edc-bento-stats__wide .edc-bento-stats__body {
  font-size: var(--edc-fs-body-lead);
  max-width: none;
}
