body {
  background: rgb(243, 243, 243);
}

main.main * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.container {
  max-width: 1340px;
}

.rv-hero {
  padding: 60px 0 40px;
  text-align: center;
}
@media (max-width: 768px) {
  .rv-hero {
    padding: 40px 0 30px;
  }
}
.rv-hero__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 0 20px;
}
.rv-hero__title span {
  display: inline-block;
  background-color: #fff;
  border-radius: 12px;
  padding: 14px 40px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.06em;
  color: rgb(19, 19, 19);
}
@media (max-width: 768px) {
  .rv-hero__title span {
    font-size: 32px;
    padding: 10px 24px;
  }
}
@media (max-width: 480px) {
  .rv-hero__title span {
    font-size: 26px;
  }
}
.rv-hero__desc {
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(19, 19, 19, 0.7);
}
.rv-hero__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}
.rv-hero__link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  background-color: #fff;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgb(19, 19, 19);
  text-decoration: none;
  -webkit-transition: border-color 0.25s ease;
  transition: border-color 0.25s ease;
}
.rv-hero__link:hover {
  border-color: rgba(19, 19, 19, 0.3);
}
.rv-hero__link {
  cursor: pointer;
}
.rv-hero__link.active {
  border-color: #0389cb;
  color: #0389cb;
}
.rv-hero__link img {
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
     object-fit: contain;
}

.rv-list {
  padding: 0 0 60px;
}
.rv-list__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  margin: 0 auto;
}

.rv-card {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.rv-card::before {
  content: "";
  position: absolute;
  top: 25px;
  right: 25px;
  width: 24px;
  height: 24px;
  background: no-repeat center/contain;
}
.rv-card--bitrix::before {
  background-image: url(../imgs/reviews/bitrix.png);
}
.rv-card--yandex::before {
  background-image: url(../imgs/reviews/yandex.png);
}
.rv-card__rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.rv-card__stars {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 106px;
  height: 18px;
}
.rv-card__stars-bg,
.rv-card__stars-fg::before {
  display: block;
  width: 106px;
  height: 18px;
  background-image: url(../imgs/reviews/gray-star.svg);
  background-size: 18px 18px;
  background-repeat: space;
}
.rv-card__stars-fg {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  overflow: hidden;
  width: calc(var(--rating, 0) / 5 * 106px);
}
.rv-card__stars-fg::before {
  content: "";
  background-image: url(../imgs/reviews/gold-star.svg);
}
.rv-card__rating-num {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;
  color: rgba(19, 19, 19, 0.7);
}
.rv-card__name {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0;
  color: rgb(19, 21, 26);
  margin: 0 0 20px;
}
.rv-card__text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.04em;
  color: rgba(19, 19, 19, 0.7);
  margin: 0 0 30px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.rv-card--expanded .rv-card__text {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.rv-card__more {
  display: none;
  margin: -20px 0 30px;
  padding: 0;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0389cb;
  cursor: pointer;
}
.rv-card--clamped .rv-card__more {
  display: inline-block;
}
.rv-card__date {
  display: block;
  margin-top: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  letter-spacing: -0.04em;
  color: rgba(19, 19, 19, 0.7);
}

.rv-list__all-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 30px auto 0;
  max-width: 900px;
}
.rv-list__all {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 12px 28px;
  background-color: #0389cb;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  -webkit-transition: background-color 0.25s ease;
  transition: background-color 0.25s ease;
}
.rv-list__all:hover {
  background-color: #0277b0;
  color: #fff;
}

.rv-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 6px;
  margin: 30px auto 0;
  max-width: 900px;
}
.rv-pagination__page, .rv-pagination__arrow {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: none;
  font-size: 15px;
  font-weight: 500;
  color: rgba(19, 19, 19, 0.7);
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, color 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.rv-pagination__page:hover, .rv-pagination__arrow:hover {
  background-color: rgba(19, 19, 19, 0.05);
}
.rv-pagination__page.active {
  background-color: #0389cb;
  color: #fff;
}
.rv-pagination__arrow {
  color: rgba(19, 19, 19, 0.5);
}