/* ============================================
   COMMENT CARDS — Modern Minimal Design
   ============================================ */

/* ---------- Comments Grid ---------- */
.comment-cards {
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    /*gap: 1rem;*/
    margin-top: 1.5rem;
}

/* ---------- Single Comment Card ---------- */
.comment-card {
    background: #fff;
    border: 1px solid #f0f0ec;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease;
    animation: ccFadeUp 0.5s ease both;
}

.comment-card:nth-child(1) { animation-delay: 0.05s; }
.comment-card:nth-child(2) { animation-delay: 0.1s; }
.comment-card:nth-child(3) { animation-delay: 0.15s; }
.comment-card:nth-child(4) { animation-delay: 0.2s; }
.comment-card:nth-child(5) { animation-delay: 0.25s; }
.comment-card:nth-child(6) { animation-delay: 0.3s; }
.comment-card:nth-child(7) { animation-delay: 0.35s; }
.comment-card:nth-child(8) { animation-delay: 0.4s; }
.comment-card:nth-child(9) { animation-delay: 0.45s; }
.comment-card:nth-child(10) { animation-delay: 0.5s; }
.comment-card:nth-child(11) { animation-delay: 0.55s; }

.comment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06),
                0 2px 8px rgba(0, 0, 0, 0.03);
    border-color: #e5e5e0;
}

/* ---------- Card Header ---------- */
.comment-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comment-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #fb923c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.comment-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.comment-card__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.comment-card__meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #aaa;
    flex-wrap: wrap;
}

.comment-card__meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ddd;
}

/* ---------- Stars ---------- */
.comment-card__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.comment-card__star {
    width: 14px;
    height: 14px;
    color: #f5a623;
}

.comment-card__star--empty {
    color: #e0e0e2;
}

/* ---------- Card Body ---------- */
.comment-card__body {
    flex: 1;
}

.comment-card__text {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Card Footer ---------- */
.comment-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f5f5f2;
}

.comment-card__hotel {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #999;
    background: #f9f9f7;
    padding: 4px 10px;
    border-radius: 100px;
}

.comment-card__hotel svg {
    width: 12px;
    height: 12px;
    opacity: 0.5;
}

/* ---------- Animations ---------- */
@keyframes ccFadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .comment-card {
        animation: none !important;
    }

    .comment-card:hover {
        transition-duration: 0.01ms !important;
    }
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
    .comment-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 640px) {
    .comment-cards {
        grid-template-columns: 1fr;

    }

    .comment-card {
        padding: 1rem;
        border-radius: 14px;
        gap: 0.5rem;
    }

    .comment-card__avatar {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .comment-card__text {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }
}
