/* NOTW v48 — bounded logo rendering and consistent partner imagery. */
/* The Matchpoint logo video must never size its grid column using its own
   intrinsic dimensions. A fixed maximum prevents cumulative enlargement. */
html body.notw-matchpoint .hero {grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr)!important;}
html body.notw-matchpoint .hero-art {min-width:0!important;max-width:100%!important;overflow:hidden!important;}
html body.notw-matchpoint .hero-art video {
  display:block!important;width:min(100%,480px)!important;
  min-width:0!important;max-width:480px!important;height:auto!important;
  max-height:360px!important;object-fit:contain!important;
  flex:none!important;transform:none!important;
}
/* Home animated NOTW logo: bound dimensions for desktop and mobile even
   if other historic styles supply oversized vw widths. */
html body.notw-universe.home-page .home-only-logo-anim{
  width:min(82vw,680px)!important;min-width:0!important;max-width:min(82vw,680px)!important;
  height:auto!important;max-height:510px!important;object-fit:contain!important;
  box-sizing:border-box!important;
}
html body.notw-universe .notw-v15-partner-grid .notw-v15-partner img.notw-cms-brand-image{
  display:block!important;object-fit:contain!important;object-position:center!important;
  max-width:100%!important;max-height:100%!important;filter:none!important;opacity:1!important;
}
html body.notw-universe .notw-v15-partner-grid .notw-v15-partner img.notw-cms-brand-poster {
  object-fit:contain!important;
}
@media(max-width:1000px){
 html body.notw-matchpoint .hero{grid-template-columns:minmax(0,1fr)!important;}
 html body.notw-matchpoint .hero-art video{max-width:min(88vw,440px)!important;max-height:300px!important;}
}
@media(max-width:700px){
 html body.notw-universe.home-page .home-only-logo-anim {
   width:min(88vw,430px)!important;max-width:min(88vw,430px)!important;
   max-height:380px!important;
 }
}
