/* Homepage unification gallery structure. Theme material tokens live in system.css.
 * One native RTL scrollport, unique content nodes, no autoplay or library.
 * Track content width equals the viewport; extra end space lets every document
 * center without shrinking the percentage-based card widths.
 */
.rn-uv-gallery .rn-uv-carousel{position:relative;min-width:0}
.rn-uv-gallery .rn-uv-window{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;overflow-anchor:none;scrollbar-width:none;direction:rtl;scroll-behavior:auto;touch-action:pan-x pan-y pinch-zoom}
.rn-uv-gallery .rn-uv-window::-webkit-scrollbar{display:none}
.rn-uv-gallery .rn-uv-window.is-dragging{cursor:grabbing;user-select:none}
.rn-uv-gallery .rn-uv-track{--uv-visible:5;--uv-gap:16px;--uv-card-width:calc((100% - 64px)/5);display:flex;flex-flow:row nowrap;gap:var(--uv-gap);width:100%;box-sizing:content-box;padding-inline:calc((100% - var(--uv-card-width))/2);position:relative}
.rn-uv-gallery .rn-uv-card{flex:0 0 var(--uv-card-width);min-width:0;scroll-snap-align:center;scroll-snap-stop:always;box-sizing:border-box;margin:0}
.rn-uv-gallery .rn-uv-card>a{display:flex;flex-direction:column;height:364px;box-sizing:border-box;text-decoration:none}
/* Pin only the date to the remaining flex space; retain breathing room above the frame. */
.rn-visual.home .rn-uv-gallery .rn-uv-card>a>.rn-uv-subject{margin-bottom:0}
.rn-visual.home .rn-uv-gallery .rn-uv-card>a>.rn-uv-date{margin-block-start:auto;margin-block-end:var(--rv-space-8,32px);font-size:calc(var(--rn-text-sm) * 1.18);text-align:center;font-family:var(--rn-font-ui);font-weight:var(--rn-weight-regular);line-height:var(--rn-leading-ui);}
.rn-uv-gallery .rn-uv-arrow[hidden],.rn-uv-gallery .rn-uv-controls[hidden]{display:none}
.rn-uv-gallery [data-uv-dot]{font:inherit;cursor:pointer}
@media(max-width:1023px){.rn-uv-gallery .rn-uv-track{--uv-visible:3;--uv-card-width:calc((100% - 32px)/3)}}
@media(max-width:767px){.rn-uv-gallery .rn-uv-track{--uv-visible:3;--uv-gap:12px;--uv-card-width:70%}.rn-uv-gallery .rn-uv-card>a{height:348px}}
@media(prefers-reduced-motion:reduce){.rn-uv-gallery .rn-uv-window{scroll-behavior:auto}}

