/* Nuvo rebuild shims — re-apply the design-system skin to the INNER element of
   native Elementor widgets, since Elementor wraps every widget in two divs.
   Pair each with the matching nx- class in _css_classes. */

/* badge pills -------------------------------------------------------- */
.nx-badge { margin-bottom: 16px; }
.nx-badge .elementor-heading-title {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cream-200);
  color: var(--sand-600);
  border: 1px solid var(--cream-300);
}
.nx-badge-dark .elementor-heading-title {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.15);
}
.nx-badge-sand .elementor-heading-title {
  background: rgba(184,138,92,0.15);
  color: var(--sand-600);
  border-color: rgba(184,138,92,0.3);
}

/* quote ------------------------------------------------------------- */
.nx-quote .elementor-heading-title {
  font-family: var(--font-display);
  font-size: clamp(32px,5vw,58px);
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
  font-style: italic;
}

/* stats ------------------------------------------------------------- */
.nx-stat-value .elementor-heading-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  color: var(--sand-400);
  line-height: 1;
}
.nx-stat-label .elementor-heading-title {
  font-family: var(--font-body);
  font-size: 12px;
  color: #5A3A20;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
/* on dark surfaces the label goes light */
.nuvo-quote-box .nx-stat-label .elementor-heading-title,
.nuvo-page-hero .nx-stat-label .elementor-heading-title {
  color: rgba(255,255,255,0.5);
}

/* card text --------------------------------------------------------- */
.nx-card-title .elementor-heading-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--espresso-950);
  line-height: 1.2;
}
.nx-card-desc .elementor-widget-container,
.nx-card-desc p {
  font-family: var(--font-body);
  font-size: 14px;
  color: #5A3A20;
  line-height: 1.7;
  margin: 0;
}

/* buttons: Elementor button widget wearing the nuvo-btn skin ---------- */
.nx-btn .elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.nx-btn .elementor-button:hover { opacity: 0.85; }
.nx-btn-primary .elementor-button {
  background: var(--sand-500);
  color: #fff;
  border-color: var(--sand-500);
}
.nx-btn-outline .elementor-button {
  background: transparent;
  color: var(--espresso-900);
  border-color: var(--espresso-900);
}

/* a divider rule used by stat rows inside dark panels ----------------- */
.nx-divider-top { border-top: 1px solid rgba(255,255,255,0.12); }

/* flex children that must size to their content, not stretch ---------- */
.nx-stat { width: auto !important; flex: 0 0 auto !important; }
.nx-shrink { width: auto !important; flex: 0 0 auto !important; }
