/**
 * Styles pour la section commentaires personnalisée
 * Thème: WPRentals-Child
 */

/* Conteneur principal */
.custom-reviews-section {
    border-top: 1px solid #eee;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto 30px;
    max-width: 1200px;
    width: 100%;
}

.custom-reviews-section-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #222;
}

/* Liste des commentaires */
.custom-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Commentaire individuel */
.custom-review-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

/* Grille pour les commentaires */
.custom-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .custom-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* En-tête du commentaire */
.custom-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.custom-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.custom-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-review-user-info {
    display: flex;
    flex-direction: column;
}

.custom-review-user-name {
    font-weight: 500;
    font-size: 16px;
    color: #222;
    margin-bottom: 2px;
}

.custom-review-user-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* Étoiles */
.custom-review-stars {
    display: flex;
    margin-bottom: 5px;
}

.custom-review-stars i {
    color: #FFC107;
    font-size: 14px;
    margin-right: 2px;
}

/* Date et type de séjour */
.custom-review-date-type {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

/* Contenu du commentaire */
.custom-review-content {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

/* Lien "Lire la suite" */
.custom-review-read-more {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.custom-review-read-more:hover {
    text-decoration: underline;
}

/* Bouton "Afficher les commentaires" */
.custom-reviews-show-more {
    background-color: #f7f7f7;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.custom-reviews-show-more:hover {
    background-color: #ebebeb;
}

/* Localisation du commentateur */
.custom-review-location {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Fonctionnement des commentaires */
.custom-reviews-functioning {
    font-size: 13px;
    color: #666;
    margin-top: 20px;
    text-align: right;
}
