/* =============================================================
   RBC CM — Stats Ticker Component
   stats-ticker.css
   Mobile-first. Dark skin only.
   Namespace: .rbccm-stats / .rbccm-stats--dark
   ============================================================= */

/* ── Base ── */
.rbccm-stats {
  padding: 0;
  position: relative;
  width: 100%;
}

/* ── Header ── */
.rbccm-stats__header {
  padding: 25px 16px;
  text-align: center;
}

.rbccm-stats__container {
  max-width: 1200px;
  margin: 0 auto;
}

.rbccm-stats__title {
  color: #fff;
  font-family: "RBC Display", "RBCDisplay", Georgia, Times, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 41px;
  margin: 0;
}

.rbccm-stats__subtitle {
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
  padding: 0;
}

/* ── Grid ── */
.rbccm-stats__grid {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 0;
  padding: 35px 0;
  overflow-x: hidden;
  scrollbar-width: none;
  user-select: none;
  cursor: grab;
}

.rbccm-stats__grid::-webkit-scrollbar {
  display: none;
}

/* ── Items / dividers ── */
.rbccm-stats__item {
  text-align: center;
  padding: 0 37px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}

.rbccm-stats__item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.rbccm-stats__item--big {
  gap: 0;
}

/* ── Stat number (mobile) ── */
.rbccm-stats__number,
.rbccm-stats__label,
.rbccm-stats__item--big .rbccm-stats__number {
  color: #000;
  text-align: center;
  font-family: "RBC Display", "RBCDisplay", Georgia, Times, serif;
  font-size: 42.087px;
  font-style: normal;
  font-weight: 300;
  line-height: 120%;
  margin: 0;
}



.rbccm-stats__label {
  font-size: 14px;
  line-height: 120%;
  margin-bottom: 6px;
}

/* ── Desc text (mobile) ── */
.rbccm-stats__desc {
  color: #fff;
  text-align: center;
  font-family: Roboto, Arial, sans-serif;
  font-size: 11.784px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin: 0;
}

/* ── Footnote (mobile) ── */
.rbccm-stats__footnote {
  color: #fff;
  text-align: center;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
  padding: 12px 0 36px;
}

/* ── Progress track ── */
.rbccm-stats__progress {
  height: 4px;
  position: relative;
  overflow: hidden;
}

/* ── Progress bar ── */
.rbccm-stats__progress-bar {
  height: 100%;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 0;
  transition: left 0.1s ease, width 0.1s ease;
}

/* ── Pause/play button ── */
.rbccm-stats__ticker-btn {
  position: absolute;
  bottom: 18px;
  right: 20px;
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.2s;
}

.rbccm-stats__ticker-btn:hover {
  opacity: 0.8;
}

/* =============================================================
   Dark skin
   ============================================================= */
.rbccm-stats--dark-blue,
.rbccm-stats--dark-blue .rbccm-stats__header,
.rbccm-stats--dark-blue .rbccm-stats__grid,
.rbccm-stats--dark-blue .rbccm-stats__footnote {
  background: #0c1f44;
}

.rbccm-stats--light-blue,
.rbccm-stats--light-blue .rbccm-stats__grid,
.rbccm-stats--light-blue .rbccm-stats__footnote {
  background: #0F80C8;
}

.rbccm-stats--light-blue .rbccm-stats__header {
	background: #0476BE;
}

.rbccm-stats--dark-blue .rbccm-stats__number,
.rbccm-stats--dark-blue .rbccm-stats__label,
.rbccm-stats--dark-blue .rbccm-stats__item--big .rbccm-stats__number {
  color: #f7c750;
}

.rbccm-stats--light-blue .rbccm-stats__number,
.rbccm-stats--light-blue .rbccm-stats__label,
.rbccm-stats--light-blue .rbccm-stats__item--big .rbccm-stats__number {
  color: #fff;
}


.rbccm-stats .rbccm-stats__item {
  border-left-color: rgba(255, 255, 255, 0.5);
}

.rbccm-stats .rbccm-stats__item:last-child {
  border-right-color: rgba(255, 255, 255, 0.5);
}

.rbccm-stats .rbccm-stats__progress {
  background: #485d7b;
}

.rbccm-stats.rbccm-stats--light-blue .rbccm-stats__progress {
  background: rgba(255, 255, 255, 0.2);
}

.rbccm-stats .rbccm-stats__progress-bar {
  background: #ffc72c;
}

/* =============================================================
   Desktop overrides — min-width: 992px
   ============================================================= */
@media (min-width: 992px) {
  .rbccm-stats__header {
    padding: 35px 24px;
  }

  .rbccm-stats__title {
    font-size: 32px;
    line-height: normal;
  }

  .rbccm-stats__grid {
    padding: 40px 0 30px 0;
  }

  .rbccm-stats__item {
    padding: 0 70px;
  }

  .rbccm-stats__item--big {
    gap: 0;
  }

  .rbccm-stats__footnote {
    padding: 12px 0 26px;
  }
}
