/* ─────────────────────────────────────────────────────────────────────────────
 * Widget Counters
 * Block: .gtea-counters
 * ───────────────────────────────────────────────────────────────────────────── */

/* Root */
.gtea-counters {
  box-sizing: border-box;
}

/* Columns row */
.gtea-counters__columns {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

/* Base column */
.gtea-counters__col {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* Sticky content column — class added by JS on frontend only */
.gtea-counters__col--content.gtea-sticky-active {
  position: sticky;
  top: 0; /* overridden by Elementor sticky_top control */
}

/* Pre-title */
.gtea-counters__pretitle-outer {
  display: flex;
  box-sizing: border-box;
}

.gtea-counters__pretitle {
  margin: 0;
  padding: 0;
}

/* Title */
.gtea-counters__title {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Description */
.gtea-counters__description-outer {
  display: flex;
  box-sizing: border-box;
}

.gtea-counters__description {
  width: 100%;
}

.gtea-counters__description > *:first-child {
  margin-top: 0;
}

.gtea-counters__description > *:last-child {
  margin-bottom: 0;
}

/* CTAs row */
.gtea-counters__ctas {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.gtea-counters__cta-primary,
.gtea-counters__cta-secondary {
  box-sizing: border-box;
}

/* Counters grid */
.gtea-counters__grid {
  display: grid;
  box-sizing: border-box;
  width: 100%;
}

/* Counter card */
.gtea-counters__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-sizing: border-box;
}

/* Counter number row (prefix + value + suffix) */
.gtea-counters__card-number {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  box-sizing: border-box;
}

.gtea-counters__card-prefix,
.gtea-counters__card-value,
.gtea-counters__card-suffix {
  display: inline;
}

/* Counter title */
.gtea-counters__card-title {
  display: flex;
  flex-wrap: wrap;
  align-self: flex-start;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hidden counter — invisible but keeps its grid slot intact */
.gtea-counters__card--hidden {
  visibility: hidden;
  pointer-events: none;
}
