/* R52 — RU only, /ronin/ «Одно из моих паломничеств» (MOCKUP). Wide low text frame (solid glass, no photo behind the text)
   + bright photo strip under it (natural photos, no tint/darkening over them), horizontal carousel moving left→right.
   The pair is pinned (position:sticky inside a taller .r52-pin) while reading; the «click» is a short settle
   (scroll-driven CSS animation, no JS) right as it locks. CSS scroll-snap was tried and dropped: in Chromium even one
   proximity snap point pulled every small wheel step back, i.e. it trapped the scroll. Reduced motion: no pin, static grid. */
body.pg-ronin .r52-pin{position:relative;margin:32px 0 0}
/* hold distance lives in the content box (sticky can't travel into padding) */
body.pg-ronin .r52-pin::after{content:"";display:block;height:120vh}
.r52-stick{position:sticky;top:calc(var(--hdr) + 12px);display:flex;flex-direction:column;gap:14px}
@supports (animation-timeline:view()){
  body.pg-ronin .r52-pin{view-timeline:--r52 block}
  .r52-stick{animation:r52-settle linear both;animation-timeline:--r52;animation-range:cover 55vh cover calc(100vh - var(--hdr) - 12px)}
}
@keyframes r52-settle{from{transform:translateY(26px) scale(.975);opacity:.75}to{transform:none;opacity:1}}
@media (min-width:768px){
  /* break out of the 820px text column: full content width */
  .r52-stick{width:min(1120px,calc(100vw - 64px));margin-left:calc(50% - min(560px,50vw - 32px))}
}
body.pg-ronin #ronin .india.r52-frame{margin:0;padding:20px 28px 22px;border-radius:var(--r);border:1px solid rgba(var(--c2),.38);
  background:linear-gradient(100deg,rgba(var(--c2),.10),rgba(var(--c2),0) 45%),rgba(14,12,16,.94);box-shadow:0 10px 40px rgba(0,0,0,.35)}
body.pg-ronin #ronin .r52-frame .india-k{margin:0 0 8px}
body.pg-ronin #ronin .r52-frame .india-t{max-width:none;font-size:clamp(17px,1.45vw,21px);line-height:1.5;color:#f2ece4}
.r52-strip{position:relative;overflow:hidden;border-radius:var(--r);border:1px solid rgba(255,255,255,.12);background:#0c0b0d;height:min(50vh,470px);box-shadow:0 10px 40px rgba(0,0,0,.35)}
.r52-track{display:flex;flex-direction:row-reverse;height:100%;transition:transform .9s cubic-bezier(.65,0,.35,1);will-change:transform}
.r52-track.r52-jump{transition:none}
.r52-sl{position:relative;flex:0 0 100%;height:100%;margin:0;overflow:hidden}
/* soft backdrop (the same photo, behind the sharp one) fills the frame for portrait/landscape mixes; nothing lies over the photo */
.r52-bg{position:absolute;inset:-8%;width:116%;height:116%;object-fit:cover;filter:blur(26px) brightness(.38) saturate(1.05)}
.r52-ph{position:relative;display:block;width:100%;height:100%;object-fit:contain}
/* desktop/tablet: filmstrip — photos at their natural aspect side by side (nothing cropped, no fill), shifting left→right one photo per step */
@media (min-width:768px){
  .r52-track{gap:10px}
  .r52-sl{flex:0 0 auto;width:auto;border-radius:calc(var(--r) - 4px)}
  .r52-bg{display:none}
  .r52-ph{width:auto;height:100%;object-fit:fill}
}
@media (max-width:767px){
  body.pg-ronin .r52-pin{margin-top:28px}
  .r52-stick{top:calc(var(--hdr) + 8px);gap:10px}
  body.pg-ronin #ronin .india.r52-frame{padding:14px 15px 15px}
  body.pg-ronin #ronin .r52-frame .india-k{font-size:11px;margin-bottom:6px}
  body.pg-ronin #ronin .r52-frame .india-t{font-size:15px;line-height:1.42}
  .r52-strip{height:auto;aspect-ratio:4/3;max-height:calc(100svh - var(--hdr) - 8px - 330px - 96px);min-height:180px}
}
@media (max-width:374px){body.pg-ronin #ronin .r52-frame .india-t{font-size:14px;line-height:1.4}}
@media (prefers-reduced-motion:reduce){
    body.pg-ronin .r52-pin::after{display:none}
  .r52-stick{position:static;animation:none!important}
  .r52-strip{height:auto}
  .r52-track{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px;transform:none!important;transition:none}
  .r52-sl{aspect-ratio:4/3;width:auto}
  .r52-ph{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
  .r52-sl.r52-clone{display:none}
}
