.home-hero-links {
    margin-top: 1.25rem;
}

.home-avis {
    background: #ffffff;
    border: 1px solid #eadfea;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(75, 19, 79, 0.07);
    padding: 1.5rem;
}

.home-avis-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.home-avis-head h2 {
    color: #4b134f;
    margin-bottom: 0.35rem;
}

.home-avis-head p {
    color: #5f5365;
    margin: 0;
}

.home-avis-head a {
    color: #6e4a7e;
    flex: 0 0 auto;
    font-weight: 800;
    text-decoration: none;
}

.home-avis-head a:hover {
    color: #4b134f;
    text-decoration: underline;
}

.home-avis-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.home-avis-card {
    background: #fff8f2;
    border: 1px solid #f0dfd1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-avis-card:hover {
    border-color: #d8c1d8;
    box-shadow: 0 10px 26px rgba(75, 19, 79, 0.1);
    transform: translateY(-1px);
}

.home-avis-top {
    align-items: baseline;
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
}

.home-avis-author {
    align-items: baseline;
    color: #5f5365;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
}

.home-avis-author strong {
    color: #4b134f;
}

.home-avis-author span {
    font-size: 0.92rem;
}

.home-avis-stars,
.account-avis-stars {
    color: #cfc2c9;
    flex: 0 0 auto;
    font-size: 0.95rem;
    letter-spacing: 0;
    white-space: nowrap;
}

.home-avis-stars .is-on,
.account-avis-stars .is-on {
    color: #b7831f;
}

.home-avis-text {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #3d3441;
    display: -webkit-box;
    line-clamp: 3;
    line-height: 1.55;
    margin: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .home-hero-links {
        font-size: 0.98rem;
        margin-top: 1rem;
    }

    .home-avis {
        padding: 1.1rem;
    }

    .home-avis-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }

    .home-avis-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
}
