@media (max-width:770px){
  /* move line inward so nothing gets cut at screen edge */
  html body .journey-line{left:22px !important;overflow:visible !important}

  /* arrow: smaller circle */
  html body .journey-line .journey-plane{width:24px !important;height:24px !important}
  html body .journey-line .journey-plane img,
  html body .journey-line .journey-plane svg{width:12px !important;height:12px !important}

  /* dots: smaller, no big glow on active */
  html body .journey-line .journey-dot{width:10px !important;height:10px !important;margin:-5px 0 0 -5px !important}
  html body .journey-line .journey-dot.active{transform:scale(1.2) !important;box-shadow:0 0 0 3px rgba(237,28,36,.18) !important}

  /* push content clear of the line */
  html body [id~="about"],html body [id~="services"],html body [id~="infrastructure"],
  html body [id~="equipment"],html body [id~="csr"],html body [id~="csr-activities"],
  html body [id~="tracking"],html body [id~="global-expertise"],html body [id~="operations-team"],
  html body [id~="videos"],html body [id~="partners"],html body [id~="achievements"],
  html body [id~="partner-cta"],html body [id~="contact"]{padding-left:38px !important}
}
@media (max-width:900px){
  /* 1. Half-cut dot/arrow – put journey line above the sections */
  html body .journey-shell .journey-line{z-index:50 !important}

  /* 2. Mobile menu – Customer Portal dropdown fully visible */
  html body .site-header .topbar nav.e-con.e-con.e-con:not(.site-header){padding-bottom:110px !important}
  html body .site-header .topbar .portal-dropdown{display:flex !important;flex-direction:column !important;align-items:center !important;height:auto !important}
  html body .site-header .topbar .portal-dropdown .portal-menu{display:none !important;position:relative !important;top:auto !important;right:auto !important;left:auto !important;transform:none !important;margin-top:14px !important;order:2;width:100% !important;max-width:320px !important}
  html body .site-header .topbar .portal-dropdown:hover .portal-menu,
  html body .site-header .topbar .portal-dropdown:focus-within .portal-menu{display:block !important;opacity:1 !important;visibility:visible !important}
}
@media (max-width:900px){
  /* hide share button while mobile menu is open */
  body:has(.site-header .topbar nav.open) #sfpl-cd{display:none !important}

  /* one clean dropdown box */
  html body .site-header .topbar .portal-dropdown .portal-menu{border-radius:14px !important;box-shadow:0 10px 30px rgba(15,23,42,.10) !important}
  html body .site-header .topbar .portal-menu .portal-menu-panel{padding:6px !important;border-radius:14px !important}
  html body .site-header .topbar .portal-menu .portal-menu-panel .portal-links{display:flex !important;flex-direction:column !important;gap:0 !important;padding:0 !important;margin:0 !important;background:transparent !important;box-shadow:none !important;border:0 !important;border-radius:0 !important}

  /* links: aligned, arrow inside */
  html body:not(#jx1):not(#jx2):not(#jx3) header.site-header .portal-menu .portal-links a.sf-atomic-action-output{display:flex !important;justify-content:space-between !important;align-items:center !important;width:100% !important;padding:14px 16px !important;margin:0 !important;transform:none !important;border-radius:10px !important;box-sizing:border-box !important;background:transparent !important;box-shadow:none !important}
  html body:not(#jx1):not(#jx2):not(#jx3) header.site-header .portal-menu .portal-links a.sf-atomic-action-output span{padding:0 !important}
  html body:not(#jx1):not(#jx2):not(#jx3) header.site-header .portal-menu .portal-links a.sf-atomic-action-output:hover,
  html body:not(#jx1):not(#jx2):not(#jx3) header.site-header .portal-menu .portal-links a.sf-atomic-action-output.active{background:#fdf2f2 !important;color:#ed1c24 !important}
}