.cc_q0jhsra0_HVoY94VBCt .ovc {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  height: auto;
  /* The ratio is a minimum: a long title or text makes the card taller instead of being cut off at the top.
     That automatic minimum only exists on boxes that are not scroll containers, so the clipping uses `overflow: clip`
     (hidden would turn the card into one and pin it to the ratio height). */
  min-height: auto;
  aspect-ratio: var(--ovs-ratio, 3 / 4);
  overflow: hidden;
  overflow: clip;
  background: var(--mr-color-bg-dark);
  color: var(--ovs-fg, #fff);
  text-decoration: none;
}

.cc_q0jhsra0_HVoY94VBCt a.ovc:focus-visible {
  outline: 2px solid var(--mr-color-accent);
  outline-offset: -4px;
}

.cc_q0jhsra0_HVoY94VBCt .ovc-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .cc_q0jhsra0_HVoY94VBCt a.ovc:hover .ovc-image {
    transform: scale(1.04);
  }
}

.cc_q0jhsra0_HVoY94VBCt .ovc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.72) 0%, rgb(0 0 0 / 0.38) 45%, transparent 75%);
  pointer-events: none;
}

.cc_q0jhsra0_HVoY94VBCt .ovc-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--mr-space-md);
  padding: var(--mr-space-lg);
}

.cc_q0jhsra0_HVoY94VBCt .ovc-title {
  display: block;
  font-weight: 500;
  text-wrap: balance;
}

.cc_q0jhsra0_HVoY94VBCt .ovc-description {
  display: block;
  text-wrap: pretty;
}

.cc_q0jhsra0_HVoY94VBCt .ovc-label {
  display: block;
  margin-top: var(--mr-space-sm);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .cc_q0jhsra0_HVoY94VBCt .ovc-image {
    transition: none;
  }

  .cc_q0jhsra0_HVoY94VBCt a.ovc:hover .ovc-image {
    transform: none;
  }
}
