/* Featured picture / video on notem, product, service and event pages: one fixed 16:9 frame, full column width,
   like a video player. The picture is never cropped or stretched (object-fit:contain); what the picture does not cover
   is filled with a blurred, darkened copy of itself (--mf-bg, set by MediaFrame.jspf), so portrait and square pictures sit centred.
   Videos keep filling the frame. Thumbnails below the frame are untouched. build 20261111b */
body.nm-member .nmm-media figure.nmm-feat{margin:0!important;float:none!important;width:auto!important}
body.nm-member .nmm-media figure.nmm-feat>a{position:relative!important;display:block!important;width:100%!important;height:auto!important;
  aspect-ratio:16/9;max-height:min(78vh,900px);min-height:260px;overflow:hidden!important;border-radius:14px;background:#0b0f1e!important;isolation:isolate}
body.nm-member .nmm-media figure.nmm-feat>a::before{content:"";position:absolute;inset:-40px;z-index:-1;background:var(--mf-bg,none) center/cover no-repeat;
  filter:blur(30px) brightness(.62) saturate(1.25)}
body.nm-member .nmm-media figure.nmm-feat>a>img{position:absolute!important;inset:0;display:block!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;margin:0!important;border:0!important;background:transparent!important}
/* small pictures are shown at their own size, centred, instead of being enlarged into a blur */
body.nm-member .nmm-media figure.nmm-feat>a.mf-small>img{inset:50% auto auto 50%;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;
  transform:translate(-50%,-50%);object-fit:none!important}
/* a small picture gets a shorter frame, so a logo does not sit in a screen-high blur */
body.nm-member .nmm-media figure.nmm-feat>a.mf-small{aspect-ratio:auto!important;height:min(360px,60vh)!important;min-height:0!important}
/* video thumbnails fill the frame */
body.nm-member .nmm-media figure.nmm-feat--video>a>img{object-fit:cover!important}
body.nm-member .nmm-media figure.nmm-feat--video>a::before{display:none}
body.nm-member .nmm-media figure.nmm-feat figcaption{margin:10px 2px 0}
@media (max-width:759px){
  body.nm-member .nmm-media figure.nmm-feat>a{aspect-ratio:4/3;max-height:62vh;min-height:200px;border-radius:10px}
  body.nm-member .nmm-media figure.nmm-feat>a.mf-small{height:240px!important}
}
@media (prefers-reduced-motion:no-preference){body.nm-member .nmm-media figure.nmm-feat>a>img{transition:opacity .2s}}
