.rre-benchmark-product {
    display: grid;
    grid-template: "gallery heading" auto "gallery summary" 1fr / minmax(0, 9fr) minmax(0, 11fr);
    column-gap: clamp(24px, 4.5vw, 64px);
    row-gap: 12px;
    align-items: start;
    padding-block: clamp(36px, 5vw, 72px);
}
.rre-benchmark-product-title { grid-area: heading; min-width: 0; }
.rre-benchmark-product-summary { grid-area: summary; min-width: 0; }
.rre-benchmark-product h1 {
    font: 650 clamp(36px, 3.5vw, 46px)/1.15 var(--body-font);
    letter-spacing: -.035em;
    margin: 0;
    overflow-wrap: break-word;
}
.rre-zh .rre-benchmark-product h1 { font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; letter-spacing: 0; }
.rre-benchmark-product-title .rre-kicker { margin-block-end: 8px; }
.rre-benchmark-product .rre-lead { font-size: clamp(16px, 1.35vw, 18px); }
.rre-benchmark-reference { display: flex; gap: 7px 12px; flex-wrap: wrap; overflow-wrap: anywhere; }
.rre-benchmark-product .rre-fact-list { grid-template-columns: minmax(0, 1fr); }
.rre-benchmark-primary-actions { gap: 10px; margin-bottom: 8px; }
.rre-benchmark-document-action { min-height: 44px; align-items: center; }
.rre-benchmark-product-section { padding-block: clamp(32px, 4.5vw, 64px); }

.rre-benchmark-gallery { grid-area: gallery; min-width: 0; }
.rre-benchmark-gallery [data-gallery-main] img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: var(--card-radius);
}
.rre-benchmark-gallery [data-gallery-unavailable] img { visibility: hidden; }
.rre-gallery-controls, .rre-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.rre-gallery-controls button, .rre-gallery-thumbnails button, .rre-gallery-close {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--surface);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 14px;
}
.rre-gallery-controls button:hover, .rre-gallery-thumbnails button:hover, .rre-gallery-close:hover { background: var(--sage); }
.rre-gallery-controls button:disabled { cursor: default; opacity: .65; }
.rre-gallery-thumbnails button { padding: 3px; }
.rre-gallery-thumbnails button[aria-pressed="true"] { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.rre-gallery-thumbnails img { width: 58px; height: 58px; object-fit: contain; border-radius: 3px; background: var(--paper); }
.rre-gallery-status { color: var(--ink); font-size: 14px; margin-block: 7px 0; }
.rre-gallery-status:empty { margin: 0; }
.rre-gallery-noscript-fallback { margin-top: 12px; }
.rre-gallery-noscript-fallback summary { cursor: pointer; }
.rre-gallery-dialog {
    width: min(94vw, 1000px);
    max-height: 90vh;
    max-height: 90dvh;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    color: var(--ink);
    background: var(--surface);
}
.rre-gallery-dialog:not([open]) { display: none; }
.rre-gallery-dialog::backdrop { background: rgba(21, 36, 29, .75); }
.rre-gallery-dialog figure { text-align: center; }
.rre-gallery-dialog img { width: 100%; max-height: 69vh; max-height: 69dvh; object-fit: contain; }
.rre-gallery-dialog figcaption { padding: 8px 10px 4px; font-size: 14px; }
.rre-gallery-close { display: block; margin: 0 0 8px auto; }

@media (max-width: 767px) {
    .rre-benchmark-product {
        grid-template: "heading" "gallery" "summary" / minmax(0, 1fr);
        row-gap: 17px;
        padding-block: 28px 38px;
    }
    .rre-benchmark-product h1 { font-size: clamp(28px, 7.7vw, 34px); }
    .rre-benchmark-product .rre-lead { margin-bottom: 14px; }
    .rre-benchmark-primary-actions { margin-top: 14px; }
}

