/*!*******************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/@wordpress/scripts/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./packages/module-library/star-rating/style.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.dsm_star_rating {
  color: #f0ad4e;
  display: block;
  line-height: 1;
  max-width: 100%;
  width: 100%;
}

.dsm_star_rating .et_pb_module_inner {
  width: 100%;
}

.dsm_star_rating .dsm-star-rating-wrapper {
  display: block;
  width: 100%;
}

/* Inline: flex row so title + stars stay on one line (D5 heading styles often win over inline-block). */
.dsm_star_rating.dsm-star-display-type-inline-block .dsm-star-rating-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

/*
 * Stars: mask + background-color: currentColor (SVG bg images ignore CSS `color`).
 * Same shape both layers — ::after dimmer, ::before clip-path for partials.
 */
.dsm_star_rating .dsm-star-rating i {
  display: block;
  flex-shrink: 0;
  position: relative;
  font-style: normal !important;
  cursor: default;
  box-sizing: border-box;
  overflow: hidden;
  width: 1em;
  height: 1em;
  line-height: 1em;
  font-size: 1em;
  white-space: nowrap;
  color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.dsm_star_rating .dsm-star-rating i::before,
.dsm_star_rating .dsm-star-rating i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  pointer-events: none;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27%3E%3Cpath fill=%27white%27 d=%27M50%205%20L61%2038%20L97%2038%20L68%2059%20L79%2095%20L50%2073%20L21%2095%20L32%2059%20L3%2038%20L39%2038%20Z%27/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27%3E%3Cpath fill=%27white%27 d=%27M50%205%20L61%2038%20L97%2038%20L68%2059%20L79%2095%20L50%2073%20L21%2095%20L32%2059%20L3%2038%20L39%2038%20Z%27/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 1em 1em;
  mask-size: 1em 1em;
}

.dsm_star_rating .dsm-star-rating i::before {
  z-index: 1;
  opacity: 1;
  clip-path: none;
}

.dsm_star_rating .dsm-star-rating i::after {
  z-index: 0;
  opacity: 0.4;
}

.dsm_star_rating .dsm-star-rating i.dsm-star-full::after {
  content: none;
}

.dsm_star_rating .dsm-star-rating i.dsm-star-empty::before {
  content: none;
}

/* inset(0 R 0 0): hide R from the right → show (100 − R)% from the left. */
.dsm_star_rating .dsm-star-rating i.dsm-star-1::before {
  clip-path: inset(0 90% 0 0);
}

.dsm_star_rating .dsm-star-rating i.dsm-star-2::before {
  clip-path: inset(0 80% 0 0);
}

.dsm_star_rating .dsm-star-rating i.dsm-star-3::before {
  clip-path: inset(0 70% 0 0);
}

.dsm_star_rating .dsm-star-rating i.dsm-star-4::before {
  clip-path: inset(0 60% 0 0);
}

.dsm_star_rating .dsm-star-rating i.dsm-star-5::before {
  clip-path: inset(0 50% 0 0);
}

.dsm_star_rating .dsm-star-rating i.dsm-star-6::before {
  clip-path: inset(0 40% 0 0);
}

.dsm_star_rating .dsm-star-rating i.dsm-star-7::before {
  clip-path: inset(0 30% 0 0);
}

.dsm_star_rating .dsm-star-rating i.dsm-star-8::before {
  clip-path: inset(0 20% 0 0);
}

.dsm_star_rating .dsm-star-rating i.dsm-star-9::before {
  clip-path: inset(0 10% 0 0);
}

.dsm-star-display-type-inline-block .dsm-star-rating-title {
  display: inline-block;
}

.dsm-star-display-type-inline-block .dsm-star-rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}

.dsm-star-display-type-block .dsm-star-rating-title {
  display: block;
}

.dsm-star-display-type-block .dsm-star-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.dsm-star-display-type-inline-block.dsm-star-title-position-left .dsm-star-rating-title {
  margin-right: 7px;
}

.dsm-star-display-type-inline-block.dsm-star-title-position-right .dsm-star-rating-title {
  margin-left: 7px;
}

.dsm-star-rating-title {
  padding: 0;
}

.dsm-star-rating-text {
  color: #333;
  line-height: 1;
  align-self: center;
}

/* Breathing room before “( 5 / 5 )”; stars stay flush to each other. */
.dsm_star_rating .dsm-star-rating > .dsm-star-rating-text {
  margin-left: 0.35em;
}

.dsm_star_rating .dsm-star-rating {
  font-size: 14px;
  line-height: 1;
}

.dsm_star_rating .dsm-star-rating i:not(:last-of-type) {
  margin-right: 0px;
}

.dsm_star_rating .dsm-star-rating,
.dsm_star_rating .dsm-star-rating i::before,
.dsm_star_rating .dsm-star-rating i::after {
  color: #f0ad4e;
}
