.alphavidia-swiper {
    max-width: 900px;
    margin: 2em auto;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 1em;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: black;
}

.review-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #0073e6; /* bleu vif */
}

.review-rating {
    color: #ffb400;
    font-size: 1.2em;
}

.review-text {
    flex-grow: 1;
    font-style: italic;
    margin-bottom: 1em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* nombre de lignes visibles */
    -webkit-box-orient: vertical;
}

.review-date {
    font-size: 0.8em;
    color: #888;
}

.alphavidia-swiper .swiper-slide {
    display: flex;
    justify-content: center; /* centre la carte dans la slide */
}

.alphavidia-swiper .review-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px; /* fixe une hauteur minimale cohérente */
    max-height: 300px; /* optionnel */
    box-sizing: border-box;
}

.alphavidia-swiper {
    overflow: hidden;
    padding: 1em 0; /* évite que les flèches touchent le bord */
}

.swiper-slide {
    box-sizing: border-box;
}

.review-link a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.review-link a:hover {
    text-decoration: underline;
}

.swiper-pagination-bullet {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}
