/* Unified hero system for all five vehicle pages.
   Desktop source artwork target: 1600x900 (16:9). */
@media (min-width:1100px){
  .ranger-hero,
  .everest-overview,
  .territory-hero,
  .transit-hero,
  .mustang-hero{
    padding:24px 0 42px!important;
    overflow:visible!important;
  }

  .ranger-hero-shell,
  .everest-hero-shell,
  .territory-hero-shell,
  .transit-hero-shell,
  .mustang-hero-shell{
    width:min(1510px,calc(100% - 40px))!important;
    height:clamp(520px,37vw,560px)!important;
    min-height:0!important;
    max-height:none!important;
    margin:auto!important;
    display:grid!important;
    grid-template-columns:34% 66%!important;
    align-items:stretch!important;
    background:#f6f8fa!important;
    overflow:hidden!important;
  }

  .ranger-hero-copy,
  .everest-overview-copy,
  .territory-hero-copy,
  .transit-hero-copy,
  .mustang-hero-copy{
    grid-column:1!important;
    grid-row:1!important;
    height:100%!important;
    min-height:0!important;
    box-sizing:border-box!important;
    padding:42px 40px 38px 46px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    background:#fff!important;
    overflow:visible!important;
    border-right:1px solid #dfe6ee!important;
    position:relative;
    z-index:2;
  }

  .ranger-hero-media,
  .everest-overview-media,
  .territory-hero-media,
  .transit-hero-media,
  .mustang-hero-media{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    position:relative!important;
    overflow:hidden!important;
  }

  .ranger-hero-media .fsk-media-frame,
  .territory-hero-media .fsk-media-frame,
  .transit-hero-media .fsk-media-frame,
  .mustang-hero-media .fsk-media-frame{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    aspect-ratio:auto!important;
  }

  .ranger-hero-media img,
  .everest-hero-image,
  .territory-hero-media img,
  .transit-hero-media img,
  .mustang-hero-media img{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:block!important;
    object-fit:cover!important;
  }

  /* Shared typography hierarchy */
  .ranger-hero-copy .eyebrow,
  .everest-overview-copy .eyebrow,
  .territory-hero-copy .eyebrow,
  .transit-hero-copy .eyebrow,
  .mustang-hero-copy .eyebrow{
    margin-bottom:12px!important;
    font-size:11px!important;
    line-height:1.2!important;
    letter-spacing:.16em!important;
  }

  .ranger-hero-copy h1,
  .everest-overview-copy h1,
  .territory-hero-copy h1,
  .transit-hero-copy h1,
  .mustang-hero-copy h1{
    margin:0 0 16px!important;
    font-size:clamp(56px,4.2vw,70px)!important;
    line-height:.93!important;
    letter-spacing:-.05em!important;
    color:#001b3f!important;
    font-weight:500!important;
  }

  .ranger-hero-copy h1 strong,
  .everest-overview-copy h1 strong,
  .territory-hero-copy h1 strong,
  .transit-hero-copy h1 strong,
  .mustang-hero-copy h1 strong{
    display:block!important;
    color:#0068d7!important;
    font-weight:700!important;
  }

  .ranger-hero-copy p,
  .everest-overview-copy .everest-lead,
  .territory-hero-copy p,
  .transit-hero-copy p,
  .mustang-hero-copy p{
    margin:0!important;
    max-width:450px!important;
    font-size:16px!important;
    line-height:1.52!important;
    color:#667085!important;
  }

  .ranger-hero-price,
  .everest-overview-price,
  .territory-hero-price,
  .transit-hero-price,
  .mustang-hero-price{
    display:grid!important;
    gap:4px!important;
    margin:22px 0 14px!important;
  }

  .ranger-hero-price span,
  .everest-overview-price span,
  .territory-hero-price span,
  .transit-hero-price span,
  .mustang-hero-price span{
    font-size:10px!important;
    text-transform:uppercase!important;
    letter-spacing:.13em!important;
    color:#8a95a4!important;
  }

  .ranger-hero-price strong,
  .everest-overview-price strong,
  .territory-hero-price strong,
  .transit-hero-price strong,
  .mustang-hero-price strong{
    font-size:29px!important;
    line-height:1.08!important;
    color:#001b3f!important;
  }

  .ranger-hero-actions,
  .everest-overview-actions,
  .territory-hero-actions,
  .transit-hero-copy .hero-actions,
  .mustang-hero-actions{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:wrap!important;
    overflow:visible!important;
  }

  .ranger-hero-actions .btn,
  .everest-overview-actions .btn,
  .territory-hero-actions .btn,
  .transit-hero-copy .hero-actions .btn,
  .mustang-hero-actions .btn{
    min-height:46px!important;
    height:46px!important;
    padding:0 18px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    line-height:1.1!important;
    white-space:nowrap!important;
  }

  .ranger-hero-meta,
  .everest-overview-meta,
  .territory-hero-meta,
  .transit-hero-stats,
  .mustang-hero-stats{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
    margin:20px 0 0!important;
    padding-top:15px!important;
    border-top:1px solid #dfe6ee!important;
    color:#7f8a98!important;
    font-size:10px!important;
  }

  .ranger-hero-meta span,
  .everest-overview-meta span,
  .territory-hero-meta span,
  .transit-hero-stats span,
  .mustang-hero-stats span{
    display:grid!important;
    gap:2px!important;
    min-width:0!important;
  }

  .ranger-hero-meta b,
  .everest-overview-meta b,
  .territory-hero-meta b,
  .transit-hero-stats b,
  .mustang-hero-stats b{
    font-size:18px!important;
    line-height:1.05!important;
    color:#001b3f!important;
  }

  /* Current artwork focal points. Once all hero files are re-exported at 1600x900,
     these can be brought back to center center with almost no crop. */
  .ranger-hero-media img{object-position:50% 50%!important;}
  .everest-hero-image{object-position:62% 55%!important;}
  .territory-hero-media img{object-position:50% 68%!important;}
  .transit-hero-media img{object-position:50% 100%!important;}
  .mustang-hero-media img{object-position:50% 46%!important;}
}

@media (min-width:1100px) and (max-width:1280px){
  .ranger-hero-copy,
  .everest-overview-copy,
  .territory-hero-copy,
  .transit-hero-copy,
  .mustang-hero-copy{
    padding:34px 28px 32px 34px!important;
  }

  .ranger-hero-copy h1,
  .everest-overview-copy h1,
  .territory-hero-copy h1,
  .transit-hero-copy h1,
  .mustang-hero-copy h1{
    font-size:54px!important;
  }

  .ranger-hero-copy p,
  .everest-overview-copy .everest-lead,
  .territory-hero-copy p,
  .transit-hero-copy p,
  .mustang-hero-copy p{
    font-size:15px!important;
  }
}

/* Tablet/mobile: preserve each page's existing story order, never clip the lower hero information. */
@media (max-width:1099px){
  .ranger-hero-shell,
  .everest-hero-shell,
  .territory-hero-shell,
  .transit-hero-shell,
  .mustang-hero-shell{
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
  }

  .ranger-hero-copy,
  .everest-overview-copy,
  .territory-hero-copy,
  .transit-hero-copy,
  .mustang-hero-copy{
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
}

@media (max-width:640px){
  .ranger-hero,
  .everest-overview,
  .territory-hero,
  .transit-hero,
  .mustang-hero{
    overflow:visible!important;
    padding-bottom:38px!important;
  }

  .ranger-hero-actions,
  .everest-overview-actions,
  .territory-hero-actions,
  .transit-hero-copy .hero-actions,
  .mustang-hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
    width:100%!important;
  }

  .ranger-hero-actions .btn,
  .everest-overview-actions .btn,
  .territory-hero-actions .btn,
  .transit-hero-copy .hero-actions .btn,
  .mustang-hero-actions .btn{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    height:auto!important;
    padding:12px 8px!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.15!important;
    overflow:visible!important;
  }
}
