/* Fixed preferred card size: wrapping never stretches the remaining columns.
   Narrow containers may shrink cards to preserve two columns and square artwork. */
.r1v-hys-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    max-width: 1008px;
    margin-inline: auto;
    scroll-margin-top: 8em;
}
.r1v-hys-grid > a {
    flex: 0 1 240px;
    width: 240px;
    max-width: calc((100% - 16px) / 2);
    min-width: 0;
}
.r1v-hys-grid > a > div:last-child {
    /* One-line and two-line captions keep the same card height after wrapping.
       Narrow screens may still expand text rather than clipping it. */
    min-height: 68px;
}
