/* November client photographs: ordered albums and consistent uncropped previews. */
.album-jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 40px; }
.album-jump-links a { padding: 10px 16px; border: 1px solid #c8bfaf; border-radius: 3px; font-size: 15px; line-height: 1.5; }
.album-jump-links a:hover, .album-jump-links a:focus-visible { background: #e8e2d8; }
.photo-album-group { margin-top: 48px; scroll-margin-top: 155px; }
.inner-page .article-body .photo-album-group h2 { margin: 0 0 24px; }
.client-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.client-photo-grid .client-photo { margin: 0; min-width: 0; }
.client-photo-grid a { display: flex; justify-content: center; align-items: center; background: #eee9e1; overflow: hidden; border-radius: 4px; }
body.inner-page .article-body .client-photo-grid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; max-height: none; border-radius: 0; }
body.gallery-page .cards-grid .card-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* Retain equal 16:9 frames while showing the entire vehicle photograph. */
body.inner-page.vehicle-gallery .article-body .client-photo-grid img,
body.gallery-page .cards-grid .card-image[href="/galeria/samochody-pogrzebowe/"] img {
  object-fit: contain;
  object-position: center;
  background: #eee9e1;
}
body .header .gallery-dropdown { min-width: 260px; right: 0; left: auto; }
body .photo-triptych img.triptych-car { object-fit: cover; object-position: center; }
body.home-page .feature-services img[data-photo-id="oprawa-swiecka-05"] { object-position: center 20%; }
body main .photo-triptych a:is(:hover, :focus-visible) span { color: #38280b; background: #eee6d7; }
body main .photo-triptych a span { transition: color .22s ease, background-color .22s ease; }
@media (max-width: 1100px) { body .header .gallery-dropdown { min-width: 0; } }
.service-photo-details { margin-top: 44px; }
.service-photo-details h2 { margin-bottom: 24px; }
body .home-hero .hero-photo-main img { object-position: center center !important; }
@media (max-width: 1000px) {
  .client-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 600px) {
  .client-photo-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .photo-album-group { margin-top: 36px; scroll-margin-top: 125px; }
  .album-jump-links { gap: 8px; margin: 24px 0; }
  .album-jump-links a { padding: 9px 12px; font-size: 14px; }
}

/* Current client photo backgrounds. */
body.home-page .home-parallax { background-image: url('/assets/zdjecia-cerber/cerber-namiot-02-1920.webp'); }
body.inner-page .city-parallax { background-image: url('/assets/zdjecia-cerber/cerber-sale-pozegnan-03-1672.webp'); }
body .warsaw-parallax { background-image: url('/assets/zdjecia-cerber/cerber-namiot-02-1920.webp'); }
body.inner-page .city-parallax-warszawa { background-image: url('/assets/zdjecia-cerber/cerber-mercedes-gle-01-1672.webp'); }
body.inner-page .city-parallax-nadarzyn { background-image: url('/assets/zdjecia-cerber/cerber-mercedes-cls-01-1671.webp'); }
body.inner-page .city-parallax-raszyn { background-image: url('/assets/zdjecia-cerber/cerber-mercedes-klasa-e-02-1448.webp'); }
body.inner-page .city-parallax-tarczyn { background-image: url('/assets/zdjecia-cerber/cerber-mercedes-212-01-1448.webp'); }
