/* Testimonials Grid Container */
.st-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px; /* Space between grid items */
    padding: 20px;
    max-width: 1200px; /* Max width for the entire grid */
    margin: 0 auto; /* Center the grid */
}

/* Individual Testimonial Item */
.st-testimonial-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column; /* Content and user info stack vertically */
    justify-content: space-between; /* Pushes user info to bottom */
    text-align: center; /* Center content within each item */
    min-height: 250px; /* Ensure consistent height, adjust as needed */
}

/* Testimonial Content */
.st-testimonial-content {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px; /* Space between content and user info */
    flex-grow: 1; /* Allows content to take up available space */
}

/* User Info (Image and Name) */
.st-user-info {
    display: flex;
    flex-direction: column; /* Image and name stack vertically */
    align-items: center; /* Center image and name */
    margin-top: auto; /* Pushes user info to the bottom */
}

.st-user-image {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Make image circular */
    object-fit: cover; /* Ensures image covers the area without distortion */
    margin-bottom: 10px; /* Space between image and username */
    border: 3px solid #eee; /* Light border around image */
}

.st-username {
    font-weight: bold;
    color: #333;
    font-size: 1em;
    margin: 0; /* Remove default paragraph margins */
}

/* Optional: Styles for blockquotes if testimonial content uses them */
.st-testimonial-content blockquote {
    margin: 0;
    padding: 0;
    border-left: 4px solid #0073aa; /* WordPress blue */
    padding-left: 15px;
    font-style: italic;
    color: #666;
}