.wrapper--kiyoh-reviews {

  & p + .kiyoh-reviews-section {
    margin-top: 3rem;
  }

  & .kiyoh-reviews {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #1d242e;
  }

  & .rating-overview {
    display: flex;
    align-items: center;
    gap: 2rem;
    row-gap: .75rem;
    flex-wrap: wrap;

    & > div,
    & .leave-review-link {
      display: flex;
      align-items: center;
      gap: .5rem;
    }

    & .rating-value {
      position: relative;
      width: 3rem;
      height: 3rem;
      background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20fill%3D%22%230072CE%22%20version%3D%221.1%22%20id%3D%22Laag_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22	%20viewBox%3D%220%200%20560%20560%22%20style%3D%22enable-background%3Anew%200%200%20560%20560%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E	%3Cpolygon%20id%3D%22svg_1%22%20points%3D%2231%2C417.3%2031%2C142.7%20280%2C4.7%20529%2C142.7%20529%2C417.3%20280%2C555.3%20	%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
      background-size: 3rem 3rem;
      background-repeat: no-repeat;
      background-position: center;
      color: #fff;
      place-content: center;
      text-align: center;
      font-weight: bold;
      font-size: 1.125rem;

      &.rating-num-reviews::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20fill%3D%22%23fff%22%20id%3D%22rate-review%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%20%20%3Cpath%20id%3D%22Path_2004%22%20data-name%3D%22Path%202004%22%20d%3D%22M0%2C0H24V24H0ZM15.35%2C6.41%2C13.58%2C4.64a.5.5%2C0%2C0%2C0-.71%2C0L6%2C11.53V14H8.47l6.88-6.88A.5.5%2C0%2C0%2C0%2C15.35%2C6.41Z%22%20fill%3D%22none%22%2F%3E%20%20%3Cpath%20id%3D%22Path_2005%22%20data-name%3D%22Path%202005%22%20d%3D%22M20%2C2H4A2%2C2%2C0%2C0%2C0%2C2.01%2C4L2%2C22l4-4H20a2.006%2C2.006%2C0%2C0%2C0%2C2-2V4A2.006%2C2.006%2C0%2C0%2C0%2C20%2C2ZM6%2C14V11.53l6.88-6.88a.5.5%2C0%2C0%2C1%2C.71%2C0l1.77%2C1.77a.5.5%2C0%2C0%2C1%2C0%2C.71L8.47%2C14Zm12%2C0H10.5l2-2H18Z%22%2F%3E%3C%2Fsvg%3E");
        background-size: 1.5rem 1.5rem;
        background-repeat: no-repeat;
        background-position: center;
      }
      &.rating-recommendation::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20fill%3D%22%23fff%22%20id%3D%22Laag_1%22%20data-name%3D%22Laag%201%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Crect%20x%3D%222%22%20y%3D%229.5%22%20width%3D%223.99%22%20height%3D%2210%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M8%2C17.32a2%2C2%2C0%2C0%2C0%2C1%2C1.75l1.68.93a3.05%2C3.05%2C0%2C0%2C0%2C1.66.5H18.6a1%2C1%2C0%2C0%2C0%2C1-.8L22%2C11.89a2%2C2%2C0%2C0%2C0-1.57-2.35%2C2.09%2C2.09%2C0%2C0%2C0-.43%2C0H14l1-5a1%2C1%2C0%2C0%2C0-1-1h-.7a2%2C2%2C0%2C0%2C0-1.83%2C1.21L8.23%2C9.93A3%2C3%2C0%2C0%2C0%2C8%2C11.11Z%22%2F%3E%3C%2Fsvg%3E");
        background-size: 1.5rem 1.5rem;
        background-repeat: no-repeat;
        background-position: center;
      }
    }
    & .rating-label {
      font-weight: bold;
      font-size: 1.125rem;
    }
  }

  & .leave-review-link {
    text-decoration-line: none;
    color: #1d242e;

    & .rating-value {
      background-image: none;

      &::after {
        content: none;
      }

      & svg {
        width: 3rem;
        height: auto;
      }
    }
  }

  & .review-item + .review-item {
    margin-top: 2rem;
  }

  & .review-header {
    margin-bottom: .25rem;
  }

  & .review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: bold;
  }

  & .review-meta {
    opacity: .7;
  }

  & .review-opinion {
    margin-top: .5rem;
  }

  & .review-opinion p:last-child,
  & .review-opinion p:has(+ cite) {
    margin-bottom: 0;
  }

  & .thth-rating-star {
    display: inline-block;
    line-height: 1;

    & svg {
      position: relative;
      height: 1.5em;
      width: auto;
      top: -0.1em;
    }
  }

  & .review-oneliner {
    margin-top: 0.5rem;
    font-size: 1.25em;
    font-weight: bold;

    & p {
      line-height: 1.25;
    }
  }

  & .view-all-reviews {
    margin-top: 2rem;
  }
}
