.review-portals {
   display: flex;
   position: relative;
}

.review-portals * {
   box-sizing: border-box;
   text-decoration: none;
   color: #000;
}

.review-portals__item {
   padding: clamp(12px, 20 * (100vw/ 1920), 20px) clamp(12px, 22 * (100vw/ 1920), 22px);;
   flex: 0 1 50%;
   display: flex;
   gap: clamp(10px, 19 * (100vw/ 1920), 19px);
   align-items: center;
   justify-content: center;
   position: relative;
   z-index: 2;
   border: 2px solid #D1D1D1;
}

.review-portals__item.review-portals__item--rating {
   min-width: 265px;
}

.review-portals__item:not(:last-child) {
   margin-right: -2px;
}

.review-portals__logo {
   flex: 0 0 auto;
   height: clamp(25px, 44 * (100vw/ 1920), 44px);
}

.review-portals__logo > img {
   height: 100%;
}

.review-portals__header {
   display: flex;
   gap: 6px;
   font-size: clamp(16px, 25 * (100vw/ 1920), 25px);
   line-height: 1;
   text-transform: uppercase;
   font-weight: 500;
}

.review-portals__header-logo {
   height: clamp(16px, 25 * (100vw/ 1920), 25px);
}

.review-portals__header-logo img {
   height: 100%;
}

.review-portals__content {
   display: flex;
   flex-direction: column;
}

.review-portals__item--rating .review-portals__content {
   gap: 4px;
}

.review-portals__text {
   font-size: 12px;
   line-height: 1;
}

.review-portals__item--rating .review-portals__text {
   font-size: clamp(12px, 25 * (100vw/ 1920), 25px);
   line-height: 1;
   text-transform: uppercase;
}

.review-portals__stars {
   position: relative;
   display: inline-block;
   --star-size: 17px;
   --star-height: 16px;
   --star-gap: 3px;
   --star-fill: 0%;
   width: calc(var(--star-size) * 5 + var(--star-gap) * 4);
   line-height: 0;
}

.review-portals__stars-bg,
.review-portals__stars-fill {
   display: flex;
   gap: var(--star-gap);
}

.review-portals__stars-bg img,
.review-portals__stars-fill img {
   width: var(--star-size);
   height: var(--star-height);
   display: block;
}

.review-portals__stars-fill {
   position: absolute;
   top: 0;
   left: 0;
   pointer-events: none;
   overflow: hidden;
   mask-image: linear-gradient(to right, black var(--star-fill), transparent var(--star-fill));
   -webkit-mask-image: linear-gradient(to right, black var(--star-fill), transparent var(--star-fill));
}

@media (max-width: 1300px){
   .review-portals {
      margin-top: 28px;
      width: 100%;
   }
}

@media (max-width: 768px) {
   .review-portals {
      flex-direction: column;
   }

   .review-portals__item:not(:last-child) {
      margin-right: 0;
      margin-bottom: -2px;
   }

   .review-portals__item.review-portals__item--rating {
      min-width: auto;
   }

   .review-portals__item {
      flex: 0 0 100%;
   }
}
