/* cn3-plus / images: маленькие картинки не растягиваются, а лежат на размытой подложке */
.cn3x-lowres { position: relative; isolation: isolate; overflow: hidden; }
.cn3x-lowres::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  background: var(--cn3x-src) center / cover no-repeat;
  filter: blur(28px) saturate(1.15);
  transform: scale(1.05);
}
.cn3x-lowres { display: flex !important; align-items: center; justify-content: center; }
.cn3x-lowres > img.cn3x-lowres__img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: none !important;
  position: relative;
  flex: 0 0 auto;
  margin: auto;
}
/* элементы с фоновой картинкой: сама картинка в натуральном виде, подложка — размытая копия */
.cn3x-lowres--bg { background-image: none !important; }
.cn3x-lowres--bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cn3x-src) center / var(--cn3x-w) var(--cn3x-h) no-repeat;
  max-width: 100%;
}
/* картинки в тексте не увеличиваются больше своего размера */
.cn3x-fit { display: block; max-width: 100%; height: auto; margin-inline: auto; }
