/* DPS Back Image — only used when the theme has no second-image placeholder. */
.dpsbi-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}
/* Themes often style list images with "position: relative"; this has to win. */
.dpsbi-wrap > img.dpsbi-back {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  margin: 0 !important;
  object-fit: cover;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .dpsbi-wrap:hover > img.dpsbi-back,
  .dpsbi-wrap:focus-visible > img.dpsbi-back {
    opacity: 1;
  }
}
.dpsbi-wrap.dpsbi-flip > img.dpsbi-back {
  opacity: 1;
}
.dpsbi-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #1f2937;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  cursor: pointer;
}
.dpsbi-btn:focus-visible {
  outline: 2px solid #1f2937;
  outline-offset: 2px;
}
@media (hover: none) {
  .dpsbi-btn {
    display: inline-flex;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dpsbi-wrap > img.dpsbi-back {
    transition: none;
  }
}
