/*
  coverBand — the dark band between a case study's hero and its Overview (component.json coverBand, 8 tokens;
  layout build step 3, 2026-11-23; designed by Vivek in the layout pass, 2026-11-19/21).
  One cover per case study: an image, or (QuickBooks Design Systems Strategy) the cover stat, in one invisible
  16:10 frame. #253745 is the hero gradient's end color, so hero and cover read as one dark opening (the question,
  then the work), then the light Overview. Images fill the frame, no border, with the site's image corners
  (20px, coverBand.radius, the same as figure.radius; Vivek 2026-11-23). Until Vivek's new exports arrive, today's images are cropped to fill the frame.
  No top padding: the hero's bottom padding is the gap above the cover.
  Below 1200px: the frame is the text column's width (672px at most), 16:10. From 1200px (breakpoints.grid): the
  band is on the 12-column grid and the frame spans columns 2-11 (1088 x 680 at 1440).
  16 / 10 and the column numbers are layout rules, not tokens.
*/

.cover-band {
  background-color: var(--cover-band-fill-all);
  padding-block-end: var(--cover-band-padding-bottom-all);
  padding-inline: var(--cover-band-padding-horizontal-all);
}

.cover-band__container {
  max-width: var(--cover-band-frame-max-width-all);
  margin-inline: auto;
}

.cover-band__frame {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--cover-band-radius-all);
  overflow: hidden;
}

.cover-band__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (width >= 1200px) {
  .cover-band {
    padding-block-end: var(--cover-band-padding-bottom-grid);
  }
  .cover-band__container {
    max-width: var(--cover-band-content-max-width-grid);
    display: grid;
    grid-template-columns: repeat(var(--cover-band-columns-grid), minmax(0, 1fr));
    column-gap: var(--cover-band-column-gap-grid);
  }
  .cover-band__frame {
    grid-column: 2 / 12;
  }
}
