/* SWD Website rail — tall screenshots; hover scrolls the page inside the card. */
.swd-rail .rl { --h: clamp(320px, 34vw, 460px); display: flex; gap: 22px; overflow-x: auto; padding: 4px max(var(--gut), calc((100vw - var(--wrap)) / 2)) 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--card-2) transparent; }
.swd-rail .rl__card { flex: none; width: clamp(270px, 30vw, 400px); scroll-snap-align: start; text-decoration: none; color: #fff; }
.swd-rail .rl__shot { display: block; height: var(--h); overflow: hidden; margin-bottom: 18px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); }
.swd-rail .rl__shot img { width: 100%; height: auto; max-width: none; transform: translateY(0); transition: transform 5s ease-in-out; }
.swd-rail .rl__card:hover .rl__shot img, .swd-rail .rl__card:focus-visible .rl__shot img { transform: translateY(calc(-100% + var(--h))); }
.swd-rail .rl__card b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.swd-rail .rl__t { font-size: 15px; color: var(--muted); }
.swd-rail .rl__more { flex: none; align-self: flex-start; display: flex; align-items: center; justify-content: center; gap: 10px; width: 240px; height: var(--h); border-radius: 18px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.16); color: #fff; font-size: 18px; text-decoration: none; }
.swd-rail .rl__more:hover { background: var(--card); }
.swd-rail .rl__more svg { width: 14px; height: 14px; }
