/* vx-circle-chart-widget.css */

/* Container und Ausrichtung */
.vx-circle-chart-widget {
  display: flex;
  flex-direction: column;
  align-items: center;  /* zentriert horizontal alle Kinder */
  text-align: center;   /* sorgt dafür, dass Inline-Texte zentriert bleiben */
  margin: 1em 0;
}

/* Headline (H3) */
.vx-circle-chart-widget div{
  font-size: 20px;       /* <-- Hier anpassen */
  line-height: 22px;      /* optional: Zeilenhöhe */
  margin: 0 0 0px;     /* Abstand unterhalb */
  font-weight: 600;     /* Schriftgewicht */
  color: var(--e-global-color-text);
  max-width: 80%;
}

/* Subheadline (H4) */
.vx-circle-chart-widget span{
  font-size: 18px;       /* <-- Hier anpassen */
  line-height: 1.3;
  font-weight: normal;
}

/* Canvas-Größe (optional) */
.vx-circle-chart-widget canvas {
  max-width: 100%;      /* passt die Grafik-Breite an */
  height: auto;          /* Höhe proportional */
  display: inline-block;
  margin-top: 25px;
}

/* Hinweis zur %-Anzeige im Canvas:
   Die %-Zahl wird per Chart.js-Plugin gezeichnet.
   Um hier die Schriftgröße zu ändern,
   passe den Wert in deinem JS-ctx.font an:
   ctx.font = 'bold 1.5em sans-serif';
   z. B. 2em statt 1.5em für größere Zahlen. */