/* GIOKARBON V94 — Fix the FIRST mobile hero, not only subsequent stages.
   Mobile uses natural vertical flow; desktop retains V90 cinematic sequence. */
@media (max-width:760px) {
  html[data-gk-page="home"] .v86-hero-journey.v86-ready.v90-ready,
  html[data-gk-page="home"] .v86-hero-journey.v90-ready {
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html[data-gk-page="home"] .v86-hero-journey.v86-ready.v90-ready > .hero,
  html[data-gk-page="home"] .v86-hero-journey.v90-ready > .hero,
  html[data-gk-page="home"] .v86-hero-journey > .hero {
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    top:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    background:#0c0c0b!important;
  }
  /* Turn the first G-Class photo into a normal editorial image; no 910px viewport. */
  html[data-gk-page="home"] .v86-hero-journey > .hero > .hero-photo {
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio: 16 / 10.5!important;
    min-height:0!important;
    flex:0 0 auto!important;
    transform:none!important;
    overflow:hidden!important;
    background:#0c0c0b!important;
    z-index:0!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero > .hero-photo img {
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    clip-path:none!important;
    opacity:1!important;
  }
  /* Dark blending remains within the image, not above the editorial copy. */
  html[data-gk-page="home"] .v86-hero-journey > .hero > .hero-vignette {
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:auto!important;
    left:0!important;
    height:auto!important;
    aspect-ratio:16 / 10.5!important;
    pointer-events:none!important;
    z-index:1!important;
    background:linear-gradient(180deg,rgba(12,12,11,0) 65%,#0c0c0b 100%)!important;
  }
  /* Real flow, no fixed-height stage and no huge empty gap. */
  html[data-gk-page="home"] .v86-hero-journey > .hero > .hero-inner {
    position:relative!important;
    z-index:5!important;
    box-sizing:border-box!important;
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:12px clamp(18px,5vw,28px) 24px!important;
    margin:0!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero .hero-content {
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    text-align:start!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero .hero-eyebrow {
    margin:0 0 12px!important;
    line-height:1.4!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero h1 {
    font-size:clamp(39px,10.2vw,51px)!important;
    line-height:1.03!important;
    margin:0!important;
    letter-spacing:-.065em!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero .hero-description,
  html[data-gk-page="home"] .v86-hero-journey > .hero .gk-fa-slogan {
    margin:14px 0 0!important;
    max-width:100%!important;
    font-size:clamp(13px,3.6vw,15px)!important;
    line-height:1.55!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero .v91-hero-actions {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    gap:12px!important;
    margin:14px 0 0!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero .v91-hero-actions > a {
    min-width:0!important;
    min-height:42px!important;
    padding:8px 0!important;
    font-size:clamp(10px,2.85vw,12px)!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero .v91-mobile-teaser {
    min-height:44px!important;
    margin:4px 0 0!important;
    padding:8px 0!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero .origin-hero-shortcut {
    min-height:44px!important;
    margin:0!important;
    padding:8px 0!important;
  }
  html[data-gk-page="home"] .v86-hero-journey > .hero .hero-bottom,
  html[data-gk-page="home"] .v86-hero-journey > .hero .hero-topline,
  html[data-gk-page="home"] .v86-hero-journey > .hero .v90-hero-teaser,
  html[data-gk-page="home"] .v86-hero-journey > .hero .v86-hero-caption,
  html[data-gk-page="home"] .v86-hero-journey > .hero .v86-hero-layer {display:none!important;}
  /* Later V93 discrete panels are still preserved after the compact opening. */
  html[data-gk-page="home"] .v93-mobile-stage{display:block!important;}
  html[lang="fa"] .v86-hero-journey > .hero h1{letter-spacing:0!important;line-height:1.26!important;}
}
@media (max-width:360px){
  html[data-gk-page="home"] .v86-hero-journey > .hero > .hero-photo,
  html[data-gk-page="home"] .v86-hero-journey > .hero > .hero-vignette {aspect-ratio:16/9.8!important;}
  html[data-gk-page="home"] .v86-hero-journey > .hero h1{font-size:38px!important;}
  html[lang="fa"] .v86-hero-journey > .hero h1{font-size:36px!important;}
}
