/* Phase 7.16B — seamless image transition for all Car Culture district banners.
   Only layers the existing hero artwork. Does not change the approved artwork,
   logo, typography, header dimensions, district navigation, or page content.
   The gradient is anchored to the IMAGE rather than percentages of the viewport. */
.lwd-shell .lwd-hero{
    background-color:#050505;
}
.lwd-shell .lwd-hero::before{
    content:"";
    position:absolute;
    inset:0 0 0 auto;
    right:0;
    left:auto;
    top:0;
    bottom:0;
    height:100%;
    width:auto;
    aspect-ratio:884 / 487;
    z-index:-2;
    background-image:url('../images/car-culture-1969-camaro-hero.webp?v=20261108-framed4');
    background-repeat:no-repeat;
    background-position:right center;
    background-size:100% 100%;
    -webkit-mask-image:linear-gradient(to right,
        transparent 0%,
        rgba(0,0,0,.18) 9%,
        rgba(0,0,0,.48) 26%,
        rgba(0,0,0,.84) 44%,
        #000 60%);
    mask-image:linear-gradient(to right,
        transparent 0%,
        rgba(0,0,0,.18) 9%,
        rgba(0,0,0,.48) 26%,
        rgba(0,0,0,.84) 44%,
        #000 60%);
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
}
/* Slight, continuous fade from the text area; does not add a hard photo edge. */
.lwd-shell .lwd-hero::after{
    content:"";
    position:absolute;
    z-index:-1;
    inset:0;
    background:
        linear-gradient(90deg,
            rgba(5,5,5,.58) 0%,
            rgba(5,5,5,.32) 37%,
            rgba(5,5,5,.06) 68%,
            transparent 86%),
        linear-gradient(0deg,rgba(0,0,0,.32),transparent 40%);
    pointer-events:none;
}
/* At phone widths retain the approved top-right photo and vertical text fade.
   Image is aspect-preserved and fades at both the left and lower boundaries. */
@media(max-width:690px){
    .lwd-shell .lwd-hero::before{
        height:67%;
        bottom:auto;
        top:0;
        width:auto;
            background-size:100% 100%;
        background-position:right top;
        -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.65) 30%,#000 62%);
        mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.65) 30%,#000 62%);
    }
    .lwd-shell .lwd-hero::after{
        background:linear-gradient(0deg,#050505 0%,rgba(5,5,5,.97) 27%,rgba(5,5,5,.60) 48%,rgba(5,5,5,.08) 75%,transparent 96%);
    }
}
