/* ── Image placeholders for missing uploads ── */

/* Give post-image containers a fixed aspect ratio + dark background */
.post-image {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  /* aspect-ratio: 16 / 9; */
      border-radius: 10px;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide the broken-image browser icon; keep the container visible */
.post-image img[src]::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
}

/* Show a camera placeholder icon inside the container when image breaks */
.post-image img[src]::after {
  content: "No image";
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #444;
  font-family: sans-serif;
}

/* Hero featured image placeholder */
.video-wrap--featured {
  background: #111;
}

/* Article hero image */
.hero-media {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 300px;
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Related posts cards */
.related-grid .video-wrap {
  background: #1a1a1a;
  min-height: 180px;
}
