/* Only .stat-bubble itself is this block's own CSS. theme/_stat-block.scss
   also has .stat-block/.split-image-content/.hero-block rules, but those are
   generic content-column/image-column split-layout patterns applied to core
   Columns blocks elsewhere on the site, not part of this ACF block. */
.stat-bubble {
  z-index: 9999;
  width: 200px;
  height: 200px;
  position: absolute;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  border-radius: 100%;
  box-shadow: var(--shadow-card);
}

.stat-bubble.has-teal_mellow-background-color {
  background-color: var(--wp--preset--color--green) !important;
}

.stat-bubble__stat {
  color: var(--wp--preset--color--white) !important;
  font-size: 50px;
  line-height: 1;
  font-weight: 400;
  margin-bottom: 5px;
}

.stat-bubble__caption {
  color: var(--wp--preset--color--white) !important;
  line-height: 1;
  font-size: 15px;
  max-width: 130px;
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .stat-bubble {
    width: 150px;
    height: 150px;
  }

  .stat-bubble__stat {
    font-size: 32px;
    font-weight: var(--weight-semibold) !important;
  }

  .stat-bubble__citation {
    font-size: 14px;
    font-weight: 400 !important;
    max-width: 90px;
  }
}

.stat-bubble.x-right {
  right: 70px;
}

@media (max-width: 1339.98px) {
  .stat-bubble.x-right {
    right: -30px;
  }
}

@media (max-width: 1089.98px) {
  .stat-bubble.x-right {
    right: 0;
  }
}

.stat-bubble.x-right-offset {
  right: -35px;
}

@media (max-width: 1339.98px) {
  .stat-bubble.x-right-offset {
    right: -30px;
  }
}

@media (max-width: 1089.98px) {
  .stat-bubble.x-right-offset {
    right: 0;
  }
}

.stat-bubble.x-left {
  left: -100px;
}

@media (max-width: 1339.98px) {
  .stat-bubble.x-left {
    left: -30px;
  }
}

@media (max-width: 1089.98px) {
  .stat-bubble.x-left {
    left: 0;
  }
}

.stat-bubble.y-centered {
  top: calc(50% - 100px);
}

.stat-bubble.y-upper-offset {
  top: -35px;
}

.stat-bubble.y-upper {
  top: 100px;
}

@media (max-width: 779.98px) {
  .stat-bubble.y-upper {
    top: 30px;
  }
}

.stat-bubble.y-lower {
  bottom: 100px;
}

@media (max-width: 779.98px) {
  .stat-bubble.y-lower {
    bottom: 30px;
  }
}
