/* ============================================================
   Grotta Pinta - guest reviews page (recensioni.php)
   Card grid for the rows of the "reviews" table. Minimal styles,
   built on the shared custom properties of assets/css/style.css.
   ============================================================ */

.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.review {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 26px;
    background: var(--ink-panel);
    border: 1px solid var(--line);
    border-radius: 2px;
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.review:hover {
    border-color: var(--line-gold);
    transform: translateY(-3px);
}

.review__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.review__who {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.review__author {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--ivory);
}

.review__location {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stone);
}

.review__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.review__stars {
    display: inline-flex;
    gap: 3px;
}

.review__star {
    display: block;
    width: 13px;
    height: 13px;
    background: var(--gold);
    opacity: 0.25;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review__star.is-on {
    opacity: 1;
}

.review__score {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--ivory-dim);
}

.review__body {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.75;
    color: var(--ivory-dim);
}

.review__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone);
}

.review__badge {
    padding: 4px 10px;
    border: 1px solid var(--line-gold);
    border-radius: 999px;
    color: var(--gold-soft);
}

.review__stay {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ivory-dim);
}

.reviews__note {
    margin-bottom: 24px;
}

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

    .review {
        padding: 22px 20px;
    }
}
