/* JobLik 0.33.195 — hero edge refinement + automotive asset cleanup + second-fold navy retone.
   Desktop-only refinements layered on top of v033194.
   - Removes embedded top-right text by shipping cleaned hero assets.
   - Replaces hard masks with softer overlay fading, so image borders dissolve into the page.
   - Fixes the visible right-edge banding on the automotive hero artwork.
   - Retones the dark second-fold bars/boxes from near-black to navy. */
:root{
  --j195-stage-light:#f4f8fb;
  --j195-stage-light-2:#ffffff;
  --j195-stage-dark:#091d31;
  --j195-stage-dark-2:#0d2439;
  --j195-navy:#0c2e4c;
  --j195-navy-2:#17466b;
}

@media (min-width:901px){
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media,
  .j190-construction-first .j190-industry-media{
    isolation:isolate!important;
    overflow:hidden!important;
    background:transparent!important;
  }

  /* Stronger blurred underlay to prevent the artwork from reading as a hard rectangle. */
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media::before,
  .j190-construction-first .j190-industry-media::before{
    inset:0!important;
    opacity:.22!important;
    filter:blur(28px) saturate(.92)!important;
    transform:scale(1.08)!important;
  }

  /* Replace hard masking with a soft page-colored fade above the artwork. */
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media::after,
  .j190-construction-first .j190-industry-media::after{
    content:""!important;
    position:absolute!important;
    inset:0!important;
    z-index:3!important;
    pointer-events:none!important;
    background:
      radial-gradient(130% 115% at 50% 50%, rgba(255,255,255,0) 58%, rgba(248,250,252,.26) 73%, rgba(244,248,251,.70) 88%, var(--j195-stage-light) 100%),
      linear-gradient(to right, var(--j195-stage-light) 0, rgba(244,248,251,.92) 2.5%, rgba(244,248,251,0) 11%, rgba(244,248,251,0) 89%, rgba(244,248,251,.92) 97.5%, var(--j195-stage-light) 100%),
      linear-gradient(to bottom, var(--j195-stage-light-2) 0, rgba(255,255,255,.88) 3%, rgba(255,255,255,0) 11%, rgba(244,248,251,0) 89%, rgba(244,248,251,.90) 97%, var(--j195-stage-light) 100%)!important;
  }

  html[data-theme="dark"] body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media::after,
  html[data-theme="dark"] .j190-construction-first .j190-industry-media::after{
    background:
      radial-gradient(130% 115% at 50% 50%, rgba(0,0,0,0) 58%, rgba(9,29,49,.22) 73%, rgba(9,29,49,.62) 88%, var(--j195-stage-dark) 100%),
      linear-gradient(to right, var(--j195-stage-dark) 0, rgba(9,29,49,.90) 2.5%, rgba(9,29,49,0) 11%, rgba(9,29,49,0) 89%, rgba(9,29,49,.90) 97.5%, var(--j195-stage-dark) 100%),
      linear-gradient(to bottom, var(--j195-stage-dark-2) 0, rgba(9,29,49,.86) 3%, rgba(9,29,49,0) 11%, rgba(9,29,49,0) 89%, rgba(9,29,49,.90) 97%, var(--j195-stage-dark) 100%)!important;
  }

  /* Keep the artwork clean and let the overlay perform the soft fade. */
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media .v0613-theme-car img,
  .j190-construction-first .j190-industry-media>img{
    -webkit-mask-image:none!important;
    mask-image:none!important;
    border:0!important;
    box-shadow:none!important;
  }

  /* Automotive-specific cleanup for right-edge banding. */
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media .v0613-theme-car{
    background:transparent!important;
  }
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media .v0613-theme-car img{
    object-fit:contain!important;
    object-position:center center!important;
    filter:drop-shadow(0 10px 22px rgba(12,32,52,.07))!important;
  }

  /* Construction uses the same softened treatment while preserving the wider crop. */
  .j190-construction-first .j190-industry-media>img{
    object-fit:cover!important;
    object-position:center center!important;
  }

  /* Retone second-fold dark bars/boxes from black to navy. */
  .jcon-page:not(.is-gallery)>.j190-market-head>header,
  .v064-home:not(.automotive-gallery-only) .j190-auto-market-head>.apg-gallery-heading{
    background:linear-gradient(135deg,var(--j195-navy) 0%,var(--j195-navy-2) 100%)!important;
    box-shadow:0 10px 26px rgba(12,46,76,.12)!important;
  }

  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only)>.v064-services{
    background:linear-gradient(180deg,#0c2e4c 0%, #123b5b 100%)!important;
    border:1px solid #173d5d!important;
    border-radius:20px!important;
    margin:18px 30px 0!important;
    overflow:hidden!important;
  }
}
