/*** CMP-SHOW-BAND.CSS v1.2
- Full-bleed hero band for the Show detail page.
- Used by: templates/components/mc/sections/beta/show/cmp-show-band.html
- Full-bleed feature image flush against the global header, with a
  copyright overlay caption pinned bottom-right.
##########################
***/

/* #region # FULL-BLEED BAND ########################## */

/* Kill the global-body + stack top gutters so the hero band sits flush
   against the global header. */
body:has(.mp-show) #gb { margin-top: 0; }
.mp-show,
.mp-show > .wrapper { overflow: visible; }
.mp-show > .wrapper > .stack { margin-top: 0; }

.mp-show .show-band {
  /* Full-bleed across the viewport, regardless of page gutters. */
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  background-color: var(--color-theme-alpha);
}

/* Copyright/credit caption — same treatment as the article feature image:
   bottom-right overlay, semi-transparent black pill, white sans caps. */
.mp-show .show-band figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: 60%;
  padding: 0.25rem var(--space-xs);
  background-color: var(--color-overlay-strong);
  color: var(--color-theme-alpha, #fff);
  font-family: var(--font-sans);
  font-size: var(--type-2xs);
  letter-spacing: var(--track-wide);
  text-align: right;
  line-height: 1.3em;
}

/* Hero feature image fills the band, full-bleed, viewport-tall. */
.mp-show .show-band-image {
  display: block;
  width: 100%;
  height: calc(100vh - 62px);
  object-fit: cover;
  object-position: center center;
}

/* #endregion */
