.feedback-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    margin: 0 auto;     
}

.feedback-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 20px;
    flex: 1 1 30%;       
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feedback-photo img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #eee;
}

.feedback-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 5px;
}

.feedback-sex {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 3px;
}

.feedback-who {
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 600;
    margin-bottom: 15px;
}

.feedback-info {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    text-align: center;
    font-style: italic;
}

/* ---- Адаптивность ---- */

/* планшеты: 2 колонки */
@media (max-width: 1199px) {
    .feedback-container {
        flex: 1 1 45%;
        max-width: 45%;
    }
    .feedback-photo img {
        width: 200px;
        height: 200px;
    }
}

/* мобильные: 1 колонка */
@media (max-width: 767px) {
    .feedback-wrapper {
        justify-content: center;
    }
    .feedback-container {
        flex: 1 1 90%;
        max-width: 90%;
    }
    .feedback-photo img {
        width: 150px;
        height: 150px;
    }
    .feedback-info {
        font-size: 0.9rem;
    }
}
