/* --- Google-like Reviews (namespaced) --- */
@media all {

    .g-reviews {
        font-family: Arial, Helvetica, sans-serif;
        color: #202124;
    }

    .g-reviews * {
        box-sizing: border-box;
    }

    .g-reviews .g-grid {
        display: grid;
        gap: 14px;
    }

    .g-reviews .g-card {
        background: #fff;
        border: 1px solid #dadce0;
        border-radius: 14px;
        padding: 14px;
        box-shadow: 0 1px 2px rgba(60,64,67,.15);
    }

    .g-reviews .g-header {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 10px;
        align-items: center;
        margin-bottom: 10px;
    }

    .g-reviews .g-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #e8eaed;
        display: grid;
        place-items: center;
        font-weight: 700;
        color: #5f6368;
        font-size: 14px;
        overflow: hidden;
    }

    .g-reviews .g-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .g-reviews .g-name {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        margin: 0;
    }

    .g-reviews .g-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        margin-top: 3px;
        color: #5f6368;
        font-size: 12px;
    }

    .g-reviews .g-stars {
        display: inline-flex;
        gap: 2px;
        line-height: 1;
    }

    .g-reviews .g-star {
        font-size: 14px;
        color: #fbbc04;
    }

    .g-reviews .g-text {
        font-size: 13px;
        line-height: 1.45;
        margin: 0;
        color: #202124;
    }

    .g-reviews .g-actions {
        margin-top: 10px;
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .g-reviews .g-link {
        font-size: 12px;
        color: #1a73e8;
        text-decoration: none;
    }
    .g-reviews .g-link:hover {
        text-decoration: underline;
    }

    .g-reviews .g-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border: 1px solid #dadce0;
        border-radius: 999px;
        font-size: 12px;
        color: #3c4043;
        background: #fff;
    }

    /* --- layout base --- */
    .g-reviews .g-grid {
        grid-template-columns: 1fr;
    }


    .g-reviews .g-title {
        margin: 0 0 12px 0;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        color: #202124;
        letter-spacing: .2px;
    }

    /* --- breakpoints (stessa logica: dentro @media all, ma senza toccare il tuo CSS) --- */
    @media (min-width: 768px) {
        .g-reviews .g-grid {
            grid-template-columns: repeat(2, 1fr);
        }

            .g-reviews .g-title {
            font-size: 20px;
            margin-bottom: 14px;
        }
    }

    @media (min-width: 1100px) {
        .g-reviews .g-grid {
            grid-template-columns: repeat(3, 1fr);
        }


        .g-reviews .g-title {
            font-size: 22px;
            margin-bottom: 16px;
        }


    }
}
