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

/* --- Promo banner --- */
.rs-wrapper-container {
  background: #248dff;
  padding: 40px;
  border-radius: 32px;
}
.rs-promo-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  background: linear-gradient(110deg, #3a8cff 0%, #248dff 55%, #56b0ff 100%);
  border-radius: 16px;
  min-height: 120px;
  padding: 24px 32px;
  margin-bottom: 24px;
}

.rs-promo-banner__title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.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: repeat(2, 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;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

/* Блок с логотипом компании */
.rs-review-card__logo-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px 8px;
}

/* Если контент-отдел вставит <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: 400;
  border: 1px solid #e0e0e5;
  border-radius: 16px;
  padding: 2px 8px;
  background: #f5f5f6;
  width: fit-content;
}

.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;
  padding: 8px 16px !important;
  font-size: 14px !important;
  border-radius: 14px !important;
}

/* --- Load more button --- */
.rs-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 48px;
  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;
  }

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

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

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

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

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