/* ------------------------------------------------------------------ *
 * Shared header treatment for the "Is a [year/model] a good used car?"
 * guide pages. A decorative paint-streak band spans (near) the full page
 * width, breaking out of the 760px content column, with its left/right
 * edges faded into the background and a dark gradient overlay on top so
 * the eyebrow and title stay fully readable. Decorative only.
 * Width is capped below 100vw so it never introduces horizontal scroll.
 * ------------------------------------------------------------------ */
.article-wrap {
  position: relative;
}
.article-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(96vw, 1400px);
  height: clamp(160px, 26vw, 260px);
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.9) 72%, var(--bg, #0a0a0a) 100%),
    url('/paint-streak.jpg') center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}
