.block-collection-card {
  width: 100%;
  height: 100%;
  background-color: rgb(var(--color-background));
}

.block-collection-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: var(--aspect-ratio);
  padding: var(--padding);
  overflow: hidden;
  background-color: rgb(var(--color-media-background));
}

.block-collection-card__image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--fit-type);
  object-position: var(--position);
}

.block-collection-card__image-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
}

.block-collection-card__image-title-wrapper {
  position: absolute;
  inset: 0;
  padding: 10px 20px;
  z-index: 2;
}

.block-collection-card__title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.65);
}

/* NEONFORM: collection cover images mapped by handle */
.block-collection-card__image-wrapper .nf-col-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.block-collection-card__image-wrapper .nf-col-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,10,20,.06) 0%, rgba(11,10,20,.15) 45%, rgba(11,10,20,.72) 100%);
}
