/* V3.7 - 4 visible cards on desktop; two on tablet, one on phone. RTL snap arrows. */
body.pk-v35 .pk-v37-gallery{position:relative;display:flex;align-items:center;gap:12px;direction:rtl;min-width:0}
body.pk-v35 .pk-v37-gallery-window{flex:1;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:16px}
body.pk-v35 .pk-v37-gallery-window::-webkit-scrollbar{display:none}
body.pk-v35 .pk-v37-gallery-track{display:flex;gap:16px;align-items:stretch}
body.pk-v35 .pk-v37-gallery-card{display:block;position:relative;box-sizing:border-box;flex:0 0 calc((100% - 48px)/4);min-height:clamp(220px,24vw,320px);margin:0;scroll-snap-align:start;overflow:hidden;isolation:isolate;border-radius:14px;background:var(--section-bg);box-shadow:0 4px 18px rgba(80,33,41,.12)}
body.pk-v35 .pk-v37-gallery-card .gallery-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
body.pk-v35 .pk-v37-gallery-card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(25,13,13,.78));z-index:1;pointer-events:none}
body.pk-v35 .pk-v37-gallery-card figcaption{position:absolute;bottom:0;right:0;left:0;padding:22px 13px 12px;z-index:2;color:white;display:flex;flex-direction:column;gap:2px}
body.pk-v35 .pk-v37-gallery-card figcaption strong,body.pk-v35 .pk-v37-gallery-card figcaption small{position:static;background:none;box-shadow:none;color:inherit;text-align:right;margin:0;padding:0;line-height:1.65}
body.pk-v35 .pk-v37-gallery-card figcaption strong{font-size:15px}
body.pk-v35 .pk-v37-gallery-card figcaption small{font-size:12px}
body.pk-v35 .pk-v37-gallery-arrow{flex:0 0 44px;width:44px;height:44px;padding:9px;display:grid;place-items:center;cursor:pointer;background:var(--pk35-surface);border:1.5px solid var(--pk35-accent,#c8102e);color:var(--pk35-accent,#c8102e);border-radius:50%;box-shadow:0 3px 9px rgba(0,0,0,.07)}
body.pk-v35 .pk-v37-gallery-arrow svg{width:24px;height:24px}
body.pk-v35 .pk-v37-gallery-arrow:disabled{opacity:.28;cursor:default}
body.pk-v35 .pk-v37-gallery-arrow:focus-visible{outline:3px solid var(--pk35-accent);outline-offset:3px}
@media(max-width:900px){body.pk-v35 .pk-v37-gallery-card{flex-basis:calc((100% - 14px)/2)}body.pk-v35 .pk-v37-gallery-track{gap:14px}}
@media(max-width:640px){body.pk-v35 .pk-v37-gallery{gap:6px}body.pk-v35 .pk-v37-gallery-card{flex-basis:100%;min-height:280px}body.pk-v35 .pk-v37-gallery-arrow{flex-basis:35px;width:35px;height:38px;padding:5px}body.pk-v35 .pk-v37-gallery-track{gap:10px}}
