/* kolesa-rev-1 */
.kolesa-review-stars { display: inline-block; letter-spacing: 1px; color: #d0d0d0; font-size: 16px; line-height: 1; }
.kolesa-review-star.is-on { color: #FD700B; }
.kolesa-review-source {
  display: inline-block; margin-left: 10px; padding: 2px 8px;
  font-size: 12px; color: #666; background: #f2f2f2; border-radius: 3px;
}
.reviews-item__meta { text-align: right; }
.kolesa-review-form-box {
  background: #fff; border: 1px solid #f2f2f2; border-radius: 4px;
  box-shadow: 0 3px 3px rgba(0,0,0,.07); padding: 24px; margin-bottom: 30px;
}
.kolesa-review-form-box h2 { font-size: 22px; margin: 0 0 10px; }
.kolesa-review-form-note { font-size: 14px; color: #666; margin: 0 0 18px; }
.kolesa-review-label { display: block; margin: 0 0 14px; font-size: 14px; }
.kolesa-review-label span { display: block; margin: 0 0 6px; font-weight: 600; }
.kolesa-review-label input,
.kolesa-review-label select,
.kolesa-review-label textarea {
  width: 100%; border: 1px solid #ddd; border-radius: 4px; padding: 10px 12px; font: inherit;
}
.kolesa-review-form-result { margin: 0 0 16px; padding: 12px 14px; border-radius: 4px; font-size: 14px; }
.kolesa-review-form-result.is-ok { background: #eaf8ea; color: #1b6b1b; }
.kolesa-review-form-result.is-err { background: #fdecec; color: #8a1f1f; }
.kolesa-review-external { margin: 30px 0; font-size: 14px; }
.kolesa-review-external ul { margin: 8px 0 0; padding-left: 18px; }
.reviews-empty { margin: 0 0 24px; }
.reviews-box .kolesa-review-stars { margin-top: 10px; display: block; }
/* не использовать .link-view — в common.js это «Показать целиком» */
.kolesa-review-extlink { margin: 10px 0 0; font-size: 14px; }
.kolesa-review-extlink a { color: #2a6bb5; text-decoration: underline; }

/* Главная: одна высота CTA + карточек, больше текста (полный — на /reviews/) */
/* kolesa-rev-home-equal */
section.reviews .reviews-col { display: flex; }
section.reviews .reviews-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 260px;
}
section.reviews .reviews-box__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
section.reviews .reviews-box__body > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
  margin: 0 0 10px;
  line-height: 1.45;
  max-height: calc(1.45em * 7);
}
section.reviews .reviews-box__body .kolesa-review-stars {
  margin-top: auto;
}

/* Desktop/tablet: CTA компактнее и тянется на высоту ряда с отзывами */
@media (min-width: 769px) {
  section.reviews .container > .row > [class*="col-xl-3"],
  section.reviews .container > .row > [class*="col-md-4"] {
    display: flex;
  }
  section.reviews .reviews-opinion {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
    box-sizing: border-box;
  }
  section.reviews .reviews-opinion h3 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0;
  }
  section.reviews .reviews-opinion img {
    max-width: 86px;
    margin: 12px auto;
  }
  section.reviews .reviews-opinion .btn {
    margin-top: 8px;
  }
}
