/* JobLik 0.33.192 — final first-fold alignment hotfix.
   Desktop only:
   - Automotive: restore a single theme-aware hero artwork and stable 188/190 first-fold geometry.
   - Construction: lift the quick-access rail enough to keep all four cards fully visible at 100% zoom.
   Mobile layouts and second-view architecture are intentionally untouched. */
@media (min-width:901px){
  /* Automotive 0.33.191 regression: never render light + dark artwork together. */
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media{
    height:clamp(315px,46dvh,390px)!important;
    min-height:0!important;
    max-height:390px!important;
    overflow:hidden!important;
    display:block!important;
    background:transparent!important;
  }
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media .v0613-theme-car{
    position:relative!important;
    width:100%!important;
    height:100%!important;
    display:block!important;
    overflow:hidden!important;
    background:transparent!important;
  }
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media .v0613-theme-car img{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    filter:none!important;
    background:transparent!important;
  }
  html[data-theme="light"] body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v0613-theme-car img.v0613-car-light{
    display:block!important;
  }
  html[data-theme="light"] body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v0613-theme-car img.v0613-car-dark{
    display:none!important;
  }
  html[data-theme="dark"] body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v0613-theme-car img.v0613-car-light{
    display:none!important;
  }
  html[data-theme="dark"] body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v0613-theme-car img.v0613-car-dark{
    display:block!important;
  }

  /* Construction: actual site header is taller than the old 66px assumption.
     Shorten only the first fold so the four quick cards sit fully above the fold. */
  .j190-construction-first{
    height:calc(100dvh - 88px)!important;
    max-height:calc(100dvh - 88px)!important;
    min-height:620px!important;
  }
  .j190-construction-first .j190-search-stack{
    grid-template-rows:74px 68px!important;
    gap:6px!important;
    padding-bottom:20px!important;
  }
  .j190-construction-first .j190-searchbar{
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
  .j190-construction-first .j190-quickbar>a{
    min-height:68px!important;
  }
}

@media (min-width:901px) and (max-height:760px){
  body[data-joblik-path="/automotive"] .v064-home:not(.automotive-gallery-only) .v064-hero-media{
    height:285px!important;
    max-height:285px!important;
  }
  .j190-construction-first{
    height:calc(100dvh - 88px)!important;
    max-height:calc(100dvh - 88px)!important;
    min-height:570px!important;
  }
  .j190-construction-first .j190-search-stack{
    grid-template-rows:66px 60px!important;
    gap:5px!important;
    padding-bottom:16px!important;
  }
  .j190-construction-first .j190-quickbar>a{min-height:60px!important}
}
