/* --- Video Card Restore Size Override ---
   Ensures that after closing fake fullscreen, the card thumbnail
   returns to a fixed 300px height with cover cropping.
   Place this file AFTER your main stylesheet and the flicker fix CSS.
*/

/* Rule wins over `.video-card video { height:auto; }` with equal specificity
   because it comes later and adds the :not(.active-fs-wrapper) condition. */
.video-card .video-wrapper:not(.active-fs-wrapper) video,
.room-card video {
  height: 300px !important;
  width: 100%;
  object-fit: cover;
}

/* Keep fullscreen sizing unaffected while active */
.video-wrapper.active-fs-wrapper video {
  height: 100% !important;
  width: 100% !important;
  object-fit: contain !important;
}