/* COTW image paint fix, staged 26 Nov 2026.
   Higher specificity than audit-fix-3 (.cotw .face .cimg img) so the compact
   card keeps height:100%, no ink border, and a picture box that fills the frame.
   picture.sf-pic stays display:contents elsewhere; only inside .cimg it becomes a block.
*/
.band.cotw.cotw-compact .face .cimg {
  margin: 0;
  overflow: hidden;
  position: relative;
}
.band.cotw.cotw-compact .face .cimg picture.sf-pic {
  display: block;
  width: 100%;
  height: 100%;
}
.band.cotw.cotw-compact .face .cimg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
  border: 0;
}
@media (max-width: 760px) {
  .band.cotw.cotw-split .face .cimg,
  .band.cotw.cotw-split .face .cimg.cimg-fallback {
    height: 168px;
  }
  .band.cotw.cotw-compact .face .cimg img {
    height: 100%;
    border: 0;
  }
}

/* Generic fallback panel for other image cards (brand heroes, pick of the day, etc.) */
.img-fallback-on {
  position: relative;
  background: #19c3c3;
  background-image:
    linear-gradient(180deg, rgba(29,11,54,0.12) 0%, rgba(29,11,54,0.62) 100%),
    linear-gradient(rgba(255,255,255,0.28) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,0.28) 2px, transparent 2px);
  background-size: auto, 40px 40px, 40px 40px;
  min-height: 120px;
}
.img-fallback-on > img {
  display: none !important;
}
.img-fallback-panel {
  min-height: 120px;
}
