/* Eventor display aid. Styles limited to image elements in posts/featured media,
   avoiding avatars, logos, emoji and background icons. */
body.home .post-thumbnail,
body.home .entry-thumbnail,
body.home .featured-image,
body.home .featured-media,
body.home .wp-block-post-featured-image,
body.blog .post-thumbnail,
body.blog .wp-block-post-featured-image {
  overflow: visible !important;
  background: transparent;
}
body.home .post-thumbnail img,
body.home .entry-thumbnail img,
body.home .featured-image img,
body.home .featured-media img,
body.home img.wp-post-image,
body.home .wp-block-post-featured-image img,
body.blog .post-thumbnail img,
body.blog img.wp-post-image,
body.blog .wp-block-post-featured-image img {
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  height: 250px !important;
  max-height: 250px !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 10px;
  background-color: #f5f6f7;
  margin-left: auto;
  margin-right: auto;
}
body.single .wp-post-image,
body.page .wp-post-image,
body.single .entry-content img:not(.avatar):not(.emoji),
body.page .entry-content img:not(.avatar):not(.emoji),
body.single .post-thumbnail img,
body.page .post-thumbnail img,
body.single .eventor-person-article .epa-portrait img,
body.page .eventor-person-article .epa-portrait img,
body.single .wp-block-post-featured-image img,
body.page .wp-block-post-featured-image img {
  box-sizing: border-box;
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 680px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin-left: auto;
  margin-right: auto;
}
body.single .post-thumbnail,
body.page .post-thumbnail,
body.single .featured-media,
body.page .featured-media {
  max-height: none !important;
  overflow: visible !important;
}
@media(max-width:600px) {
  body.home .post-thumbnail img,
  body.home .entry-thumbnail img,
  body.home .featured-image img,
  body.home .featured-media img,
  body.home img.wp-post-image,
  body.home .wp-block-post-featured-image img,
  body.blog .post-thumbnail img,
  body.blog img.wp-post-image,
  body.blog .wp-block-post-featured-image img {height:210px !important;max-height:210px !important;}
  body.single .entry-content img,
  body.page .entry-content img {max-height:520px!important;}
}
