/**
 * Testimonial Grid Widget Styles
 */

.testimonial-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.testimonial-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-box:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-content p {
    margin: 0;
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-position {
    font-size: 0.875rem;
    opacity: 0.8;
}

.testimonial-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.testimonial-button:hover {
    opacity: 0.9;
}


/* Button Alignment */

.testimonial-button-wrapper {
    width: 100%;
    display: flex;
}

.testimonial-button-align-left {
    justify-content: flex-start;
}

.testimonial-button-align-center {
    justify-content: center;
}

.testimonial-button-align-right {
    justify-content: flex-end;
}


/* Button Sizes */

.testimonial-button-xs {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
}

.testimonial-button-sm {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

.testimonial-button-md {
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
}

.testimonial-button-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.testimonial-button-xl {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}


/* Button Icons */

.testimonial-button-icon {
    display: inline-flex;
    align-items: center;
}

.testimonial-button-icon-before {
    margin-right: 0.5rem;
}

.testimonial-button-icon-after {
    margin-left: 0.5rem;
}


/* Box shadow */

.testimonial-box-shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}


/* Load More */

.testimonial-hidden {
    display: none;
}

.testimonial-load-more-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-load-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: #4054b2;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-load-more-button:hover {
    background-color: #333333;
}

.testimonial-load-more-button.hidden {
    display: none;
}


/* Responsive Styles */

@media (max-width: 768px) {
    .testimonial-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    .testimonial-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .testimonial-grid-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}