/* ai.v1.css (20 Nov 2026): "AI-generated" badge on the AI-made pictures and hero videos of the four Energy Storage pages.
   The badge is an <img class="ai-label"> appended inside the picture's wrapper (same look as the Sea-Shield example):
   top right, width clamp(4rem,24%,5.5rem), white pill at 50% opacity, never catches the pointer.
   Wrappers that were static become positioned; ax-hero-bg and g-stage-fig already are. */
.ess-root .uc-d-art,
.ess-root .tb-fig { position: relative; }

/* doubled class beats the picture rules ".ess-root .uc-d-art img" and ".ess-root .tb-fig img" (width/height 100%, object-fit cover) */
.ess-root img.ai-label.ai-label {
  position: absolute;
  top: .75rem;
  right: .75rem;
  bottom: auto;
  left: auto;
  display: block;
  width: clamp(4rem, 24%, 5.5rem);
  height: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  z-index: 3;
}

/* hero video: keep the badge clear of the fixed site header */
.ess-root .ax-hero-bg img.ai-label.ai-label {
  top: 5.25rem;
  right: 1.25rem;
  width: 5.5rem;
}

@media (max-width: 600px) {
  .ess-root .ax-hero-bg img.ai-label.ai-label { top: 4.75rem; right: 1rem; width: 4.5rem; }
}
