
/* v378 – unified editorial collage cards and no grey blank blocks in photo galleries. */
#hochzeitsfoto-galerie .photo-collage-showcase,
#hochzeitsfoto-galerie .collage-grid{width:100%;max-width:100%;min-width:0}
#hochzeitsfoto-galerie .photo-collage-showcase .collage-grid{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:clamp(14px,1.6vw,26px)!important;align-items:start;justify-content:stretch!important;
}
#hochzeitsfoto-galerie .photo-collage-showcase .collage-grid > .collage-card,
#hochzeitsfoto-galerie .photo-collage-showcase .collage-grid > .collage-card-featured{
 grid-column:auto!important;grid-row:auto!important;max-width:none!important;
 width:100%!important;min-width:0!important;margin:0!important;justify-self:stretch!important;
}
#hochzeitsfoto-galerie .collage-card > a{display:block!important;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:12px}
#hochzeitsfoto-galerie .collage-card > a > img{
 display:block!important;width:100%!important;height:100%!important;
 aspect-ratio:4/3!important;object-fit:cover!important;object-position:center!important;
}
#hochzeitsfoto-galerie .collage-card > figcaption{padding-top:12px}
/* Groups are built from matching aspect ratios, eliminating empty row backgrounds. */
.uv377-editorial .uv378-photo-group{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px;margin:0 0 16px;width:100%;}
.uv377-editorial .uv378-photo-group > figure{
 margin:0!important;padding:0!important;min-width:0!important;
 background:transparent!important;overflow:hidden;border-radius:8px;
}
.uv377-editorial .uv378-photo-group > figure img{
 width:100%!important;height:100%!important;display:block!important;
 object-fit:cover!important;object-position:center!important;border:0!important;
}
.uv377-editorial .uv378-photo-group--hochkant > figure {aspect-ratio:2/3}
.uv377-editorial .uv378-photo-group--quer > figure {aspect-ratio:3/2}
@media(max-width:1020px){
 #hochzeitsfoto-galerie .photo-collage-showcase .collage-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 .uv377-editorial .uv378-photo-group{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
}
@media(max-width:640px){
 #hochzeitsfoto-galerie .photo-collage-showcase .collage-grid{grid-template-columns:1fr!important;gap:18px!important;}
 .uv377-editorial .uv378-photo-group{gap:8px}
 #hochzeitsfoto-galerie .collage-card > a{border-radius:8px}
}

/* v379: Jessie & Dennis mobile collage has 1080x1350 (4:5) source.
   The generic 16:9 preview crops heads and the bottom lettering.
   Only the mobile preview of this one report is adjusted. */
@media (max-width: 700px) {
  #reportage-jessie-dennis > .fv-preview-card__image {
    aspect-ratio: 4 / 5 !important;
    height: auto !important;
  }
  #reportage-jessie-dennis > .fv-preview-card__image picture,
  #reportage-jessie-dennis > .fv-preview-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
  }
}
