.recommendations-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  margin-top: 32px;
}

.slider-btn {
  background: #fff;
  border: 1.5px solid #3a86ff;
  color: #3a86ff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(34, 34, 59, 0.08);
}

.slider-btn:hover,
.slider-btn:focus {
  background: #3a86ff;
  color: #fff;
  outline: none;
  box-shadow: 0 4px 16px rgba(58, 134, 255, 0.15);
}

.recommendations-grid {
  display: flex;
  gap: 32px;
  flex-wrap: nowrap;
  min-width: 0;
}

.recommendation-card {
  min-width: 320px;
  max-width: 370px;
  flex: 1 1 320px;
  background: #f9f9f9;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(34, 34, 59, 0.1);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #e0e0ef;
  position: relative;
}

.recommendation-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 32px rgba(58, 134, 255, 0.13);
  border-color: #3a86ff;
}

.recommendation-content p {
  font-style: italic;
  color: #4a4e69;
  margin-bottom: 22px;
  font-size: 1.08rem;
  line-height: 1.6;
}

.recommendation-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.author-icon {
  font-size: 52px;
  color: #3a86ff;
  text-shadow: 0 2px 8px rgba(34, 34, 59, 0.1);
}

.recommendation-author strong {
  color: #22223b;
  font-size: 1.08rem;
}

.recommendation-author div {
  color: #4a4e69;
  font-size: 0.98rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .recommendations-grid {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  .recommendation-card {
    min-width: unset;
    max-width: 100%;
  }
  .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .recommendation-card {
    padding: 22px 12px 16px 12px;
  }
  .author-img {
    width: 40px;
    height: 40px;
  }
}
