/* InviteUtsav - YouTube video type (regular 16:9 / Short 9:16).
   Loaded last on every invitation page. body.iu-video-short is only added when the
   owner picked "YouTube Short"; every other invitation keeps its design's 16:9 box. */
.youtube-video--regular{aspect-ratio:16/9}
.youtube-video--short{aspect-ratio:9/16}

body.iu-video-short .siyaram-prewedding__video{width:min(100%,380px);margin-left:auto;margin-right:auto}
body.iu-video-short .siyaram-prewedding__player,
body.iu-video-short .siyaram-prewedding__poster,
body.iu-video-short .siyaram-prewedding__video iframe{aspect-ratio:9/16}

body.iu-video-short .video__frame{max-width:380px}
body.iu-video-short .video__frame,
body.iu-video-short .video-poster{aspect-ratio:9/16}

body.iu-video-short .wtpl01 .video-frame{width:min(100%,380px);aspect-ratio:9/16}
body.iu-video-short .video-shell{max-width:380px;aspect-ratio:9/16}
body.iu-video-short .film-frame{width:min(100%,380px);aspect-ratio:9/16}
body.iu-video-short .film-embed{max-width:380px;margin-left:auto;margin-right:auto;aspect-ratio:9/16}
body.iu-video-short .video-embed{width:min(380px,92vw,calc(86vh * 9 / 16));aspect-ratio:9/16}
body.iu-video-short .video-poster img,
body.iu-video-short .video-frame__thumb,
body.iu-video-short .video-shell__thumb,
body.iu-video-short .film-frame__thumb,
body.iu-video-short .film-embed__thumb,
body.iu-video-short .siyaram-prewedding__poster img{object-fit:cover}

@media (max-width:480px){
  body.iu-video-short .siyaram-prewedding__video,
  body.iu-video-short .video__frame,
  body.iu-video-short .wtpl01 .video-frame,
  body.iu-video-short .video-shell,
  body.iu-video-short .film-frame,
  body.iu-video-short .film-embed{max-width:min(100%,340px)}
}