/* [yy-branch-google]: Google-score + knoppen op de kantoorpagina (inc/branch-google.php) */
.ctrlf-bg {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #cecece;
}

.ctrlf-bg__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ctrlf-bg__rating {
  font-family: "CentraNo1 Bold", Helvetica, Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  color: #004735;
}

/* Sterren: grijze rij met gele overlay, breedte via modifier (stappen van 5%) */
.ctrlf-bg__stars {
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}
.ctrlf-bg__stars::before {
  content: "★★★★★";
  color: #cecece;
}
.ctrlf-bg__stars::after {
  content: "★★★★★";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--ctrlf-bg-fill, 0%);
  overflow: hidden;
  white-space: nowrap;
  color: #f5b301;
}

.ctrlf-bg__count {
  font-size: 15px;
  color: #5a5a5a;
}

.ctrlf-bg__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.ctrlf-bg .ctrlf-bg__btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 30px;
  background: #004735;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.ctrlf-bg .ctrlf-bg__btn:hover,
.ctrlf-bg .ctrlf-bg__btn:focus-visible {
  background: #6516C1;
  color: #fff;
}

.ctrlf-bg .ctrlf-bg__link {
  color: #121212;
  font-weight: 700;
  text-decoration: underline;
}
.ctrlf-bg .ctrlf-bg__link:hover {
  color: #6516C1;
}

.ctrlf-bg__stars--0   { --ctrlf-bg-fill: 0%; }
.ctrlf-bg__stars--5   { --ctrlf-bg-fill: 5%; }
.ctrlf-bg__stars--10  { --ctrlf-bg-fill: 10%; }
.ctrlf-bg__stars--15  { --ctrlf-bg-fill: 15%; }
.ctrlf-bg__stars--20  { --ctrlf-bg-fill: 20%; }
.ctrlf-bg__stars--25  { --ctrlf-bg-fill: 25%; }
.ctrlf-bg__stars--30  { --ctrlf-bg-fill: 30%; }
.ctrlf-bg__stars--35  { --ctrlf-bg-fill: 35%; }
.ctrlf-bg__stars--40  { --ctrlf-bg-fill: 40%; }
.ctrlf-bg__stars--45  { --ctrlf-bg-fill: 45%; }
.ctrlf-bg__stars--50  { --ctrlf-bg-fill: 50%; }
.ctrlf-bg__stars--55  { --ctrlf-bg-fill: 55%; }
.ctrlf-bg__stars--60  { --ctrlf-bg-fill: 60%; }
.ctrlf-bg__stars--65  { --ctrlf-bg-fill: 65%; }
.ctrlf-bg__stars--70  { --ctrlf-bg-fill: 70%; }
.ctrlf-bg__stars--75  { --ctrlf-bg-fill: 75%; }
.ctrlf-bg__stars--80  { --ctrlf-bg-fill: 80%; }
.ctrlf-bg__stars--85  { --ctrlf-bg-fill: 85%; }
.ctrlf-bg__stars--90  { --ctrlf-bg-fill: 90%; }
.ctrlf-bg__stars--95  { --ctrlf-bg-fill: 95%; }
.ctrlf-bg__stars--100 { --ctrlf-bg-fill: 100%; }
