.gh-rma {
    margin-block-start: clamp(28px, 4vw, 44px);
    font-family: var(--gh-body);
}

.gh-rma-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px 36px;
    padding: clamp(22px, 3.5vw, 36px);
    border: 1px solid var(--gh-line);
    background: var(--gh-panel);
    color: var(--gh-ink);
}

.gh-rma-metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 16px;
}

.gh-rma .gh-rma-rating {
    margin: 0;
    font: 400 clamp(28px, 3vw, 38px)/1.15 var(--gh-editorial);
    font-variant-numeric: tabular-nums;
}

.gh-rma-rating span {
    color: var(--gh-muted);
    font-size: 0.56em;
}

.gh-rma .gh-rma-count {
    margin: 0;
    color: var(--gh-muted);
}

.gh-rma-action .wp-block-button__link,
.gh-rma-more summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    line-height: 1.3;
}

.gh-rma-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.gh-rma-review {
    min-width: 0;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--gh-line);
    background: var(--gh-panel);
    color: var(--gh-ink);
    overflow-wrap: anywhere;
}

.gh-rma-review-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.gh-rma .gh-rma-reviewer,
.gh-rma .gh-rma-review-score {
    margin: 0;
    font-family: var(--gh-editorial);
    font-size: 14px;
    font-weight: 600;
}

.gh-rma-review-score {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.gh-rma-review time {
    color: var(--gh-muted);
    font: 400 12px/1.6 var(--gh-editorial);
}

.gh-rma-review blockquote,
.gh-rma .gh-rma-review-copy,
.gh-rma .gh-rma-review-original {
    margin: 0;
    padding: 0;
}

.gh-rma .gh-rma-review-copy {
    white-space: pre-wrap;
}

.gh-rma-more {
    margin-top: 16px;
}

.gh-rma-more summary {
    cursor: pointer;
    gap: 12px;
}

.gh-rma-more summary::-webkit-details-marker {
    display: none;
}

.gh-rma-more summary::after {
    content: '+';
    font-size: 16px;
}

.gh-rma-more[open] summary::after {
    content: '−';
}

.gh-rma-more:not([open]) .gh-rma-more-close,
.gh-rma-more[open] .gh-rma-more-open {
    display: none;
}

@media (max-width: 680px) {
    .gh-rma-overview,
    .gh-rma-review-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
