.review-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.review-content {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.review-author {
    color: var(--bs-success);
    font-weight: 600;
    font-size: 1.1rem;
}

.review-text {
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    line-height: 1.6;
}

.review-text p {
    color: #666;
    margin-bottom: 0;
}

.review-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.review-content.expanded .review-fade {
    opacity: 0;
}

.review-toggle {
    color: var(--primary-green, var(--bs-success));
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1rem;
    align-self: flex-start;
    transition: color 0.2s ease;
}

.review-toggle:hover,
.review-toggle:active {
    color: var(--primary-green, var(--bs-success));
    text-decoration: underline;
}

.review-toggle:focus {
    outline: 2px solid var(--primary-green, var(--bs-success));
    outline-offset: 2px;
}

.review-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.review-item:nth-child(1) {
    animation-delay: 0.1s;
}

.review-item:nth-child(2) {
    animation-delay: 0.2s;
}

.review-item:nth-child(3) {
    animation-delay: 0.3s;
}

.review-item:nth-child(4) {
    animation-delay: 0.4s;
}

.review-item:nth-child(n+5) {
    animation-delay: 0.5s;
}

.review-card .show-less:focus .show-more:focus .show-less:active .show-more:active {
    color: var(--primary-green) !important;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .review-card {
        padding: 1.5rem;
        min-height: 150px;
    }

    .review-text {
        max-height: 100px;
    }
}