/* =========================================
   СТРАНИЦА ОТЗЫВОВ КОМПАНИЙ (reviews-sellers)
   ========================================= */

/* --- Promo banner --- */
.rs-wrapper-container {
  background: #248dff;
  padding: 16px;
  border-radius: 12px;
}
.rs-promo-banner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(235, 247, 255, 1);
  border-radius: 16px;
  min-height: 120px;
  padding: 24px;
  margin-bottom: 24px;
  background-image: url("../images/info-pages-icons/costo-seller-reviews.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.rs-promo-banner__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0%;
  max-width: 505px;
}

.rs-promo-banner__subtitle {
  color: var(--dark-text);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0%;
  max-width: 505px;
}

.rs-promo-banner__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid #fff;
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 32px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.rs-promo-banner__cta-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* --- Filters --- */
.rs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

/* Переопределяем фиксированную ширину 250px из .selector-wrapper */
.rs-filter-select.selector-wrapper {
  width: auto;
  min-width: 160px;
}

.rs-filter-select .m-select {
  width: auto;
}

/* --- Reviews grid --- */
.rs-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* --- Review card --- */
.rs-review-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.rs-review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rs-review-card__header {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

/* Блок с логотипом компании */
.rs-review-card__logo-wrap {
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  background: #fff;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px 8px;
  box-shadow: 0px 0px 28.2px 0px rgba(198, 198, 198, 0.29);
}

/* Если контент-отдел вставит <img> */
.rs-review-card__logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Текстовый плейсхолдер для лого (мок) */
.rs-review-card__logo-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #555;
  text-align: center;
  line-height: 1;
}

.rs-review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rs-review-card__date {
  font-size: 12px;
  color: var(--subtitle);
  font-weight: 600;
  padding: 2px 8px;
  width: fit-content;
  display: flex;
  align-items: flex-end;
  margin-left: auto;
}

.rs-review-card__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 22px;
}

.rs-review-card__industry {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--subtitle);
}

.rs-review-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 22px;
  margin-bottom: 8px;
}

.rs-review-card__text {
  font-size: 14px;
  color: var(--dark-text);
  line-height: 20px;
  flex: 1;
  margin: 0;
}

.rs-review-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 16px;
  margin-bottom: 24px;
  padding: 0;
  font-size: 14px !important;
  border-radius: 14px !important;
  border: none;
}

/* --- Load more button --- */
.rs-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 80px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--main-font), sans-serif;
  color: var(--primary);
  background: #ebf7ff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.rs-load-more:hover {
  background: #d6eeff;
}

/* =========================================
   АДАПТИВ
   ========================================= */

@media (max-width: 744px) {
  .rs-reviews-grid {
    grid-template-columns: 1fr;
  }

  .rs-promo-banner {
    padding: 20px 20px;
    min-height: 100px;
    background-image: none;
  }

  .rs-promo-banner__title {
    font-size: 18px;
    line-height: 28px;
  }

  .rs-filter-select.selector-wrapper {
    min-width: 130px;
    flex: 1;
  }

  .rs-review-card__header {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .rs-promo-banner__title {
    font-size: 16px;
    line-height: 26px;
  }

  .rs-review-card__author {
    font-size: 12px;
  }

  .rs-review-card__logo-wrap {
    width: 56px;
    height: 36px;
  }
}
