/* Membership reviews own their layout; no Trustindex resets or widget runtime. */
.ramp-reviews { color: #3c4043; font: 14px/1.6 Arial, sans-serif; }
.ramp-reviews *, .ramp-reviews *::before, .ramp-reviews *::after { box-sizing: border-box; }
.ramp-reviews [hidden] { display: none !important; }
.ramp-reviews .ramp-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.ramp-reviews .ramp-review-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 276px;
    height: 100%;
    padding: 20px;
    margin: 0;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
}
.ramp-reviews .ramp-review-header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
.ramp-reviews .ramp-review-avatar {
    display: grid;
    place-items: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: #1967d2;
    color: #fff;
    font: 500 24px/1 Arial, sans-serif;
}
.ramp-reviews .ramp-review-avatar--blue { background-color: #1967d2; }
.ramp-reviews .ramp-review-avatar--green { background-color: #137333; }
.ramp-reviews .ramp-review-avatar--purple { background-color: #8430ce; }
.ramp-reviews .ramp-review-avatar--amber { background-color: #b06000; }
.ramp-reviews .ramp-review-avatar--teal { background-color: #007b83; }
.ramp-reviews .ramp-review-avatar--red { background-color: #b3261e; }
.ramp-reviews .ramp-review-name {
    min-width: 0;
    color: #202124;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-decoration: none;
}
.ramp-reviews .ramp-review-name:hover { text-decoration: underline; }
.ramp-reviews .ramp-review-google {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 0;
    border-radius: 0;
}
.ramp-reviews .ramp-review-stars { display: flex; flex-shrink: 0; gap: 2px; margin: 14px 0 10px; }
.ramp-reviews .ramp-review-stars img { display: block; width: 17px; height: 17px; margin: 0; }
.ramp-reviews .ramp-review-text, .ramp-reviews .ramp-review-preview {
    flex: 1 0 auto;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.ramp-reviews .ramp-review-toggle {
    display: block;
    width: fit-content;
    min-height: 44px;
    margin: 8px 0 0;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: #1967d2;
    font: 600 14px/1.5 Arial, sans-serif;
    text-align: left;
    text-transform: none;
    cursor: pointer;
    flex-shrink: 0;
}
.ramp-reviews .ramp-review-toggle:hover { background: transparent; color: #174ea6; text-decoration: underline; }
.ramp-reviews .ramp-review-toggle:focus-visible, .ramp-reviews .ramp-review-name:focus-visible {
    outline: 2px solid #1967d2;
    outline-offset: 4px;
}
@media (max-width: 1024px) {
    .ramp-reviews .ramp-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .ramp-reviews .ramp-review-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .ramp-reviews .ramp-review-card { min-height: 0; height: auto; }
}
