/* article-blur-bg.css | shared
   Artikel-Bild mit Blur-Hintergrund: Das Cover-Bild wird als
   unscharf gezoomter Hintergrund hinter das scharfe Bild gelegt.
   Requires article-blur-bg.js (footer) to set --article-bg via JS. */

.article-header.gh-canvas .article-image,
.article-image {
  position: relative;
  overflow: hidden;
  max-width: var(--content-width, 720px);
  margin: 0 auto;
  height: 300px;
  max-height: 300px;
  border-radius: 16px;
  isolation: isolate;
}

.article-image::before {
  content: "";
  position: absolute;
  inset: -30px;
  background-image: var(--article-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px);
  transform: scale(1.2);
  opacity: 0.9;
  z-index: 0;
}

.article-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.article-image img {
  position: relative !important;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}
