/* Doors gallery: a shared responsive height with widths fitted to each door system.
   Individual image windows preserve source proportions and original photo files. */
#before-after { --door-photo-height: clamp(346.667px, 38.0267vw, 487.733px); }
#before-after .baCard {
  flex: 0 0 auto;
  width: calc(var(--door-photo-height) * var(--door-ratio, .75));
}
#before-after .baCompare {
  height: var(--door-photo-height);
  aspect-ratio: auto;
}
@media (max-width: 700px) {
  #before-after { --door-photo-height: min(92vw, 487.733px); }
}
