/* R33 — bounded correction pass: Drive work media, source-scale gallery mask, offer crop and price ledger. */

/* Oferta: retain the archive hero frame but pull its physical-monitor crop back. */
html[data-redford-page="home"] .c-hero_image c-parallax-image { --parallax-scale: 1.12 !important; }
html[data-redford-page="home"] .c-hero_image .c-image_img[src*="apex-monitor"] { object-position: 60% 50% !important; }

/* Culture: the selected Drive work photograph is a physical monitor scene; the media grid remains source-owned. */
html[data-redford-page="culture"] .c-hero_image .c-image_img[src*="culture-hero-pink-work-monitor"] { object-fit: cover !important; object-position: 50% 42% !important; }
html[data-redford-page="culture"] .c-medias-grid .r24-study-shot[src*="/assets/r33/"] { object-fit: cover !important; }
html[data-redford-page="culture"] .c-medias-grid .c-medias-grid_item:nth-child(1) .r24-study-shot { object-position: 50% 48% !important; }
html[data-redford-page="culture"] .c-medias-grid .c-medias-grid_item:nth-child(2) .r24-study-shot { object-position: 52% 50% !important; }
html[data-redford-page="culture"] .c-medias-grid .c-medias-grid_item:nth-child(3) .r24-study-shot { object-position: 50% 46% !important; }

/* Ruszamy: source roles deliberately exchanged and different assets retained. */
.r29-ruszamy .c-heading-image_line-image .c-image_img[src*="ruszamy-monitor"] { object-fit: cover !important; object-position: 54% 50% !important; }
.r29-ruszamy .c-heading-media_parallax-media .c-image_img[src*="ruszamy-laptop"] { object-fit: cover !important; object-position: 50% 46% !important; }

/* Realizacje: restore the small, centered source mask rather than an oversized crop. */
.r21-gallery .r21-image { grid-column: 1 / -1 !important; justify-self: center !important; width: min(42%, min(38vw, 600px)) !important; aspect-ratio: 16 / 9 !important; border-radius: 0 0 clamp(22px, 2.8vw, 44px) clamp(22px, 2.8vw, 44px) !important; clip-path: inset(0 round 0 0 clamp(22px, 2.8vw, 44px) clamp(22px, 2.8vw, 44px)) !important; overflow: hidden !important; }
.r21-gallery .r21-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  .r21-gallery .r21-image { width: min(50%, 180px) !important; aspect-ratio: 4 / 3 !important; border-radius: 0 0 22px 22px !important; clip-path: inset(0 round 0 0 22px 22px) !important; }
}
