/* Release banner (detail header) + card thumbnail. Tokens only — inherits
   dark-mode border/surface via the shared --color-* tokens. */
/* Release "cover": LCBO ships a small portrait promo tile (~250x335). On the
   detail page we show it as a compact cover inline with the title (see
   .page-header-title), rather than a full-width band that would leave the
   content column empty beside it. The box keeps the source's aspect ratio, so
   object-fit: cover never actually crops. */
.release-banner {
  flex: none;
  width: 72px;
  aspect-ratio: 251 / 336;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  line-height: 0;
}

.release-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-card-thumb {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
  overflow: hidden;
  line-height: 0;
}

.release-card-thumb-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Imageless monthly-cellar cards get a placeholder cover so an image stays the
   visual norm in the Monthly Cellar section and every card keeps the same
   height. Same 16:9 box as the image variant; tint + icon via --color-text-muted. */
.release-card-thumb.placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--color-text-muted) 8%, transparent);
}

.release-card-thumb-icon {
  width: 28px;
  height: 28px;
  color: color-mix(in srgb, var(--color-text-muted) 55%, transparent);
}
