/* ActSelect homepage 1.0.176 — hero quick routes.
   Homepage remains patch-owned. No Core selectors are changed. */

body.home .as-home-ref__hero-copy{
  overflow:visible !important;
}

body.home .as-home-ref__hero-routes{
  box-sizing:border-box;
}
body.home .as-home-ref__hero-routes a,
body.home .as-home-ref__hero-routes a:hover,
body.home .as-home-ref__hero-routes a:focus{
  text-decoration:none !important;
}

/* Desktop: three quiet glass cards on the right side of the hero image. */
@media (min-width:1101px){
  body.home .as-home-ref__hero-routes{
    position:absolute !important;
    z-index:7 !important;
    top:50% !important;
    left:calc(100% + 54px) !important;
    display:grid !important;
    width:270px !important;
    gap:11px !important;
    margin:0 !important;
    padding:0 !important;
    transform:translateY(-50%) !important;
  }
  body.home .as-home-ref__hero-routes a{
    display:flex !important;
    min-height:76px !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:18px !important;
    padding:14px 15px 14px 17px !important;
    border:1px solid rgba(255,255,255,.25) !important;
    border-radius:15px !important;
    background:rgba(4,18,42,.48) !important;
    color:#fff !important;
    box-shadow:0 10px 28px rgba(0,0,0,.10) !important;
    backdrop-filter:blur(10px) !important;
    -webkit-backdrop-filter:blur(10px) !important;
    transition:background .18s ease,border-color .18s ease,transform .18s ease !important;
  }
  body.home .as-home-ref__hero-routes a:hover,
  body.home .as-home-ref__hero-routes a:focus-visible{
    border-color:rgba(255,255,255,.52) !important;
    background:rgba(7,28,63,.72) !important;
    transform:translateX(3px) !important;
  }
  body.home .as-home-ref__hero-routes span,
  body.home .as-home-ref__hero-routes strong,
  body.home .as-home-ref__hero-routes small{
    display:block !important;
  }
  body.home .as-home-ref__hero-routes strong{
    color:#fff !important;
    font-size:.88rem !important;
    font-weight:850 !important;
    line-height:1.15 !important;
    letter-spacing:-.01em !important;
  }
  body.home .as-home-ref__hero-routes small{
    margin-top:4px !important;
    color:rgba(232,240,255,.76) !important;
    font-size:.66rem !important;
    font-weight:600 !important;
    line-height:1.25 !important;
  }
  body.home .as-home-ref__hero-routes b{
    display:grid !important;
    flex:0 0 31px !important;
    width:31px !important;
    height:31px !important;
    place-items:center !important;
    border:1px solid rgba(255,255,255,.28) !important;
    border-radius:999px !important;
    background:rgba(23,105,255,.30) !important;
    color:#fff !important;
    font-size:.9rem !important;
    font-weight:850 !important;
    line-height:1 !important;
  }

  /* The shorter H1 can breathe a little more without becoming oversized. */
  body.home .as-home-ref__hero h1{
    width:680px !important;
    max-width:680px !important;
    margin-bottom:25px !important;
    font-size:5.15rem !important;
    line-height:.92 !important;
  }
  body.home .as-home-ref__hero-copy>p{
    max-width:600px !important;
  }
}

/* Large desktop: preserve a generous gap between copy and quick routes. */
@media (min-width:1500px){
  body.home .as-home-ref__hero-routes{
    left:calc(100% + 82px) !important;
    width:285px !important;
  }
}

/* Tablet: the same three routes become one compact horizontal row. */
@media (max-width:1100px){
  body.home .as-home-ref__hero-routes{
    position:static !important;
    display:grid !important;
    width:min(590px,100%) !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
    margin:0 0 18px !important;
    padding:0 !important;
    transform:none !important;
  }
  body.home .as-home-ref__hero-routes a{
    display:flex !important;
    min-width:0 !important;
    min-height:48px !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:7px !important;
    padding:9px 11px !important;
    border:1px solid rgba(255,255,255,.28) !important;
    border-radius:11px !important;
    background:rgba(4,18,42,.48) !important;
    color:#fff !important;
    backdrop-filter:blur(8px) !important;
    -webkit-backdrop-filter:blur(8px) !important;
  }
  body.home .as-home-ref__hero-routes span,
  body.home .as-home-ref__hero-routes strong,
  body.home .as-home-ref__hero-routes small{
    display:block !important;
    min-width:0 !important;
  }
  body.home .as-home-ref__hero-routes strong{
    color:#fff !important;
    font-size:.76rem !important;
    font-weight:850 !important;
    line-height:1.15 !important;
  }
  body.home .as-home-ref__hero-routes small{
    overflow:hidden !important;
    margin-top:2px !important;
    color:rgba(232,240,255,.72) !important;
    font-size:.58rem !important;
    line-height:1.2 !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
  body.home .as-home-ref__hero-routes b{
    flex:0 0 auto !important;
    color:#6fa7ff !important;
    font-size:.82rem !important;
    line-height:1 !important;
  }
}

/* Mobile: labels only. No extra descriptive line, so the hero stays quiet. */
@media (max-width:600px){
  body.home .as-home-ref__hero h1{
    font-size:clamp(2.85rem,13.2vw,3.65rem) !important;
    line-height:.92 !important;
  }
  body.home .as-home-ref__hero-routes{
    width:100% !important;
    gap:6px !important;
    margin-bottom:16px !important;
  }
  body.home .as-home-ref__hero-routes a{
    min-height:43px !important;
    justify-content:center !important;
    gap:5px !important;
    padding:8px 7px !important;
    border-radius:10px !important;
    text-align:center !important;
  }
  body.home .as-home-ref__hero-routes strong{
    font-size:.71rem !important;
    white-space:nowrap !important;
  }
  body.home .as-home-ref__hero-routes small{
    display:none !important;
  }
  body.home .as-home-ref__hero-routes b{
    font-size:.72rem !important;
  }
}

@media (prefers-reduced-motion:reduce){
  body.home .as-home-ref__hero-routes a{
    transition:none !important;
  }
  body.home .as-home-ref__hero-routes a:hover{
    transform:none !important;
  }
}
