/* Owner-supplied hero rating bar. Scope keeps other rating widgets unchanged. */
:is(.ocf-hero__content, .ocf-page-header__content) .ocf-hero__rating.ocf-hero-rating {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px !important;
  box-sizing: border-box;
  width: 358px;
  max-width: 100%;
  min-height: 64px;
  margin: 26px 0 0;
  padding: 16px 20px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #fff;
  color: #003345 !important;
  box-shadow: 0 4px 16px rgb(0 0 0 / 8%);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}
.ocf-hero-rating .ocf-hero-rating__google {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  max-width: none;
  object-fit: contain;
}
.ocf-hero-rating .ocf-hero__stars {
  display: block;
  flex: 0 0 auto;
  color: #b77800 !important;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 5px;
  white-space: nowrap;
}
.ocf-hero__rating.ocf-hero-rating .ocf-hero-rating__value {
  flex: 0 0 auto;
  margin: 0;
  color: #003345 !important;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: normal;
}
.ocf-hero-rating .ocf-hero-rating__label {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding-left: 12px;
  border-left: 1px solid #dce3e6;
  color: #003345 !important;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: normal;
}
@media (max-width: 400px) {
  :is(.ocf-hero__content, .ocf-page-header__content) .ocf-hero__rating.ocf-hero-rating {
    gap: 9px !important;
    min-height: 60px;
    padding: 14px 12px !important;
  }
  .ocf-hero-rating .ocf-hero-rating__google { flex-basis: 28px; width: 28px; height: 28px; }
  .ocf-hero-rating .ocf-hero__stars { font-size: 16px; letter-spacing: 2px; }
  .ocf-hero-rating .ocf-hero-rating__label { padding-left: 9px; font-size: 13px; }
}
@media (max-width: 350px) {
  :is(.ocf-hero__content, .ocf-page-header__content) .ocf-hero__rating.ocf-hero-rating { gap: 7px !important; padding-inline: 10px !important; }
  .ocf-hero-rating .ocf-hero__stars { font-size: 15px; letter-spacing: 1px; }
  .ocf-hero-rating .ocf-hero-rating__label { padding-left: 7px; font-size: 12px; }
}

/* Let the shared header grid shrink to the phone viewport. */
.ocf-page-header__content { min-width: 0; }
