/* === Подробный отзыв === */
.single-feedback {
  display: flex;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  margin: 40px auto;
  transition: box-shadow 0.3s ease;
}

.single-feedback:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* Фото — 1/3 */
.single-feedback-img {
  flex: 0 0 33.333%;
  overflow: hidden;
  background: #f7f7f7;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.single-feedback-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* было contain — теперь визуально лучше */
  display: block;
}

/* Контент — 2/3 */
.single-feedback-content {
  flex: 0 0 66.666%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Основной текст */
.single-feedback-text {
  font-size: 20px;
  line-height: 1.65;
  margin-bottom: 16px;
  color: #111;
}

/* Мета */
.single-feedback-meta {
  font-size: 14px;
  color: #666;
}

/* === Автор отзыва === */
.single-feedback-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.single-feedback-author-img {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
}

.single-feedback-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-feedback-author-info p {
  margin: 0;
  line-height: 1.4;
}

/* Ссылки */
.single-feedback-content a {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: #007AFF;
  transition: color 0.25s ease;
}

.single-feedback-content a:not(:has(img)):after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #F96D00;
  content: "";
  transition: width 0.25s ease;
}

.single-feedback-content a:hover,
.single-feedback-content a:focus {
  color: #0056b3;
}

.single-feedback-content a:hover:not(:has(img)):after,
.single-feedback-content a:focus:not(:has(img)):after {
  width: 100%;
}

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

/* Планшеты */
@media (max-width: 1024px) {
  .single-feedback-content {
    padding: 22px;
  }

  .single-feedback-text {
    font-size: 18px;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .single-feedback {
    flex-direction: column;
    margin: 24px auto;
  }

  .single-feedback-img {
    height: 220px;
  }

  .single-feedback-content {
    padding: 18px;
  }

  .single-feedback-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .single-feedback-meta {
    font-size: 13px;
  }

  .single-feedback-author {
    gap: 10px;
  }

  .single-feedback-author-img {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }
}

/* Маленькие экраны */
@media (max-width: 480px) {
  .single-feedback-text {
    font-size: 15px;
  }

  .single-feedback-content {
    padding: 16px;
  }
}