/* Стили для страницы с отзывами об объявлении */
.header {
    border-bottom: none;
}

.reviews-title {
    font-size: 32px;
    font-weight: 400;
    margin-top: -80px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.ad-image img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 20px;
    margin-right: 20px;
    border-radius: 10px;
}

.review-list-card-profile {
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: start;
    gap: 20px;
    align-items: start;
    color: #383a3f;
    border: 1px solid #c2c2c2;
    border-radius: 20px;
    padding: 10px 15px;
}

.reviews-list-area {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 10px auto -20px auto;
}

.avatar-in-list {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 10px #a3a3a3;
    margin: 10px 5px;
    cursor: pointer;
}

.avatar-in-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.star {
    color: #ffc141;
    font-size: 1.8em;
}

.star.empty {
    color: #E0E0E0;
}

body.dark-theme .review-list-card-profile {
    background-color: #383a3f;
    border: 1px solid #c2c2c2;
    color: #fff;
}

body.dark-theme .star {
    color: #fff;
}

body.dark-theme .star.empty {
    color: #4d4d4d;
}

/* Выравнивание рейтинга и даты */
.guest-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.review-date { color: #c2c2c2; }

.review-info-text { flex: 1 1 auto; min-width: 0; }

.review-text-container { margin-top: 6px; }

.review-text {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.4;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .container-area.promo {
        display: none !important;
    }

    .container-area.header .module {
        margin: 4px 6px;
        padding: 8px 8px;
    }

    .logo-block {
        margin: -6px 0 8px 0;
    }

   .reviews-title {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
        font-size: 20px;
        margin-top: -4px;
        gap: 8px;
    }

    .reviews-list-area {
        padding: 0 12px;
        margin: 0 auto 70px auto;
        max-width: 720px;
        width: 100%;
        box-sizing: border-box;
        gap: 20px;
    }

    .ad-image img {
        width: 60%;
        height: auto;
        max-height: 180px;
        object-fit: cover;
        margin-right: 0;
        margin-bottom: 8px;
        border-radius: 12px;
    }

    .review-list-card-profile {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 16px;
    }

   .avatar-in-list {
        width: 64px;
        height: 64px;
        margin: 4px 0;
    }

    .star { font-size: 22px; }
    .guest-rating { gap: 4px; }
}