/*
 * Editorial imagery for VRI Updates.
 *
 * This is a specialized component layer, not a competing public-card system.
 * It inherits canonical .card typography, motion, buttons, labels, borders,
 * shadows, and colors from the shared public design system.
 */
.update-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.96));
}

.update-card-media {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid rgba(4, 76, 89, 0.08);
}

.update-card-media::after {
  content: "";
  position: absolute;
  inset: 56% 0 0;
  background: linear-gradient(180deg, rgba(2, 25, 31, 0), rgba(2, 25, 31, 0.48));
  pointer-events: none;
}

.update-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: none !important;
  filter: saturate(0.92) contrast(1.04);
}

.update-card-credit {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  max-width: calc(100% - 24px);
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(2, 25, 31, 0.64);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  line-height: 1.2;
  text-align: right;
  backdrop-filter: blur(5px);
}

.update-card-credit a {
  color: inherit;
  text-decoration: none;
}

.update-card-credit a:hover,
.update-card-credit a:focus-visible {
  text-decoration: underline;
}

.update-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px 28px 28px;
}

.update-card .card-label {
  margin-bottom: 14px;
}

.update-card h3 {
  margin-top: 0;
}

.update-card .card-actions {
  margin-top: auto;
  padding-top: 20px;
}

.update-card-deadline {
  margin-top: 8px;
}

@media (max-width: 760px) {
  .update-card-media {
    aspect-ratio: 16 / 9;
  }

  .update-card-credit {
    right: 10px;
    bottom: 9px;
    font-size: 0.64rem;
  }

  .update-card-body {
    padding: 22px 22px 24px;
  }
}
