
.rating {
  position: relative;
  float: right;
  width: 208px;
  background: transparent; 
  justify-content: center;
  align-items: center;
  gap: .3em;
  padding: 5px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 2px #b3b000;
}

.recipe-hero__rating-summary {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6b7280;
  margin-right: 0;
  white-space: nowrap;
}

.recipe-hero__rating-stars .rating__result {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  font: 2.2em Arial, Helvetica, sans-serif;
  color: #ebebeb8e;
  pointer-events: none;
}

.recipe-hero__rating-stars .rating__star {
  position: relative;
  z-index: 1;
}

.rating__result {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-10px) translateX(-5px);
  z-index: -9;
  font: 3em Arial, Helvetica, sans-serif;
  color: #ebebeb8e;
  pointer-events: none;
}

.rating__star {
  font-size: 1.08em;
  cursor: pointer;
  color: #dabd18b2;
  transition: filter linear .3s;
}

.rating__star:hover {
  filter: drop-shadow(1px 1px 4px gold);
}
