/* V62 — mobile founder/advisor journey simplification with centred animated arrows */

@media (max-width:767px){
  /* Simplify the right-side journey graphic on mobile: one centred headline,
     animated branching arrows, and clean text labels without divider lines. */
  html body.avix-profile-page .founder-journey-map{
    margin:8px 0 0 !important;
    padding:10px 0 0 !important;
    border:0 !important;
    border-top:0 !important;
    border-radius:0 !important;
    background:none !important;
    box-shadow:none !important;
    overflow:visible !important;
    min-height:0 !important;
  }

  html body.avix-profile-page .founder-journey-map__eyebrow{
    display:none !important;
  }

  html body.avix-profile-page .founder-journey-map__steps{
    display:flex !important;
    justify-content:center !important;
    margin:0 0 4px !important;
    padding:0 !important;
  }

  html body.avix-profile-page .founder-journey-map__step{
    display:none !important;
    padding:0 !important;
  }

  html body.avix-profile-page .founder-journey-map__step--avix{
    display:block !important;
    width:100% !important;
    text-align:center !important;
  }

  html body.avix-profile-page .founder-journey-map__step--avix::after,
  html body.avix-profile-page .founder-journey-map__step--avix > span,
  html body.avix-profile-page .founder-journey-map__step--avix small{
    display:none !important;
  }

  html body.avix-profile-page .founder-journey-map__step--avix strong{
    display:block !important;
    margin:0 auto !important;
    color:#D4AF37 !important;
    font-size:clamp(22px, 6.2vw, 30px) !important;
    line-height:1.12 !important;
    letter-spacing:-.035em !important;
    font-weight:620 !important;
    text-align:center !important;
    text-wrap:balance !important;
    white-space:normal !important;
    max-width:18ch !important;
  }

  html body.avix-profile-page .journey-arrow-stage{
    display:block !important;
    position:relative !important;
    width:100% !important;
    height:86px !important;
    margin:8px auto 10px !important;
    overflow:visible !important;
  }

  html body.avix-profile-page .journey-arrow-svg{
    display:block !important;
    width:100% !important;
    height:100% !important;
    overflow:visible !important;
    color:#D4AF37 !important;
  }

  html body.avix-profile-page .journey-arrow{
    stroke:#D4AF37 !important;
    stroke-width:1.8 !important;
    opacity:.92 !important;
    filter:drop-shadow(0 0 4px rgba(212,175,55,.3)) !important;
    stroke-dasharray:8 7 !important;
  }

  html body.avix-profile-page .journey-arrow--centre,
  html body.page-dr-david-brown .journey-arrow--primary{
    stroke:#E6C15C !important;
    stroke-width:2.05 !important;
    opacity:1 !important;
  }

  html body.avix-profile-page .mobile-journey-arrows-v12{
    display:none !important;
  }

  html body.page-dr-md-arif-sheikh .founder-journey-map__ventures{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:10px !important;
    margin-top:0 !important;
    border-top:0 !important;
    align-items:start !important;
  }

  html body.page-dr-david-brown .founder-journey-map__ventures{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:16px !important;
    margin-top:0 !important;
    border-top:0 !important;
    align-items:start !important;
  }

  html body.avix-profile-page .founder-journey-map__ventures > div,
  html body.avix-profile-page .founder-journey-map__ventures > div + div{
    min-height:auto !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-left:0 !important;
    border-top:0 !important;
    border-radius:0 !important;
    background:none !important;
    box-shadow:none !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    text-align:center !important;
  }

  html body.avix-profile-page .founder-journey-map__ventures strong{
    margin:0 !important;
    font-size:clamp(14px, 4.2vw, 18px) !important;
    line-height:1.15 !important;
    font-weight:720 !important;
    white-space:normal !important;
    text-wrap:balance !important;
  }

  html body.avix-profile-page .founder-journey-map__ventures span{
    margin:6px 0 0 !important;
    color:rgba(255,255,255,.8) !important;
    font-size:clamp(10px, 3.15vw, 13px) !important;
    line-height:1.3 !important;
    white-space:normal !important;
    text-wrap:balance !important;
  }
}

@media (max-width:390px){
  html body.avix-profile-page .journey-arrow-stage{
    height:78px !important;
    margin:6px auto 8px !important;
  }

  html body.page-dr-md-arif-sheikh .founder-journey-map__ventures{
    gap:8px !important;
  }

  html body.page-dr-david-brown .founder-journey-map__ventures{
    gap:12px !important;
  }

  html body.avix-profile-page .founder-journey-map__ventures strong{
    font-size:13px !important;
  }

  html body.avix-profile-page .founder-journey-map__ventures span{
    font-size:9.5px !important;
  }
}
