:is(#content > section.hero, .card > a, .camera-tile):has(> img[src]:not([src=""])),
.photo-watermark-frame {
  --peca-photo-mark: url("/site-assets/pecamania-logo.png");
}

#content > section.hero:has(> img[src]:not([src=""]))::before {
  content: "";
  display: block;
  position: absolute;
  inset: auto 30px 30px auto;
  width: 150px;
  height: 150px;
  background: var(--peca-photo-mark) center / contain no-repeat;
  border: 0;
  border-radius: 0;
  opacity: .66;
  transform: none;
  filter: none;
  z-index: 1;
  pointer-events: none;
}

#content .card > a:has(> img[src]:not([src=""])) {
  position: relative;
  display: block;
}

#content .card > a:has(> img[src]:not([src=""])) > img {
  display: block;
}

.photo-watermark-frame {
  position: relative;
  display: block;
  max-width: 100%;
}

#content .card > a:has(> img[src]:not([src=""]))::after,
.photo-watermark-frame:has(> img[src]:not([src=""]))::after,
.camera-tile:has(> img[src]:not([src=""]))::before {
  content: "";
  position: absolute;
  inset: auto 12px 12px auto;
  width: clamp(42px, 14%, 94px);
  aspect-ratio: 1;
  background: var(--peca-photo-mark) center / contain no-repeat;
  opacity: .39;
  filter: drop-shadow(0 1px 2px #0008);
  pointer-events: none;
}

.photo-watermark-frame:has(> img[src]:not([src=""]))::after {
  width: clamp(42px, 21%, 138px);
}

.camera-tile:has(> img[src]:not([src=""]))::before {
  inset: 6px 7px auto auto;
  width: 32px;
}

@media (max-width: 1100px) {
  #content > section.hero:has(> img[src]:not([src=""]))::before {
    inset: auto 18px 16px auto;
    width: 80px;
    height: 80px;
  }
  [data-design=storm] #content > section.hero:has(> img[src]:not([src=""])) {
    padding-bottom: 108px;
  }
}
