/* 1Nijmegen HF7-HF3: news article modal full-bleed image header.
 * Every article with an image gets a true edge-to-edge header, independently
 * of media-fit publication state. This CSS does NOT affect news cards,
 * activities, people, website banners or the media-library previews.
 * An explicit wrapper is needed to crop intrinsic white borders in images.
 */
html body #newsV50Modal.news-v50-modal .news-v50-dialog > [data-news-v259-dialog] {
  display:block!important; width:100%!important; max-width:none!important;
  margin:0!important; padding:0!important; border:0!important;
  box-sizing:border-box!important;
}
html body #newsV50Modal.news-v50-modal .news-v50-dialog .news-v50-fullbleed-header[data-hf7-hf3-fullbleed="1"] {
  display:block!important; position:relative!important; isolation:isolate!important;
  width:100%!important; height:min(44vh,420px)!important;
  max-width:none!important; max-height:none!important;
  margin:0!important; padding:0!important; border:0!important;
  outline:0!important; box-shadow:none!important; border-radius:0!important;
  overflow:hidden!important; box-sizing:border-box!important;
  background:#e1eaee!important;
}
html body #newsV50Modal.news-v50-modal .news-v50-dialog .news-v50-fullbleed-header[data-hf7-hf3-fullbleed="1"] > img.news-v50-dialog-img {
  position:absolute!important; display:block!important;
  top:-3%!important; left:-3%!important; right:auto!important; bottom:auto!important;
  width:106%!important; min-width:106%!important; max-width:none!important;
  height:106%!important; min-height:106%!important; max-height:none!important;
  margin:0!important; padding:0!important; border:0!important; outline:0!important;
  border-radius:0!important; box-shadow:none!important; box-sizing:border-box!important;
  object-fit:cover!important; object-position:center center!important;
  background:transparent!important; transform:none!important;
}
/* Dialog rounding remains on the dialog itself; the photo has no inset/frame. */
@media(max-width:680px) {
  html body #newsV50Modal.news-v50-modal .news-v50-dialog .news-v50-fullbleed-header[data-hf7-hf3-fullbleed="1"] {
    height:240px!important;
  }
}
