
/* Workforce Benefits Access V4 — mobile, hero, contrast, and network/footer fixes */

/* Ensure the original marketing hero is the visual anchor */
body.ha-work .campaign-hero{
  margin:0;
  width:100%;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(6,45,73,.18);
  box-shadow:0 22px 56px rgba(6,45,73,.16);
}
body.ha-work .campaign-hero picture,
body.ha-work .campaign-hero img{
  display:block;
  width:100%;
  height:auto;
}
body.ha-work .campaign-hero img{
  object-fit:contain !important;
  filter:none !important;
}
body.ha-work .campaign-hero figcaption{
  padding:14px 18px;
  text-align:center;
  color:#45616d !important;
  background:#fff !important;
  font-weight:700;
  line-height:1.45;
}

/* Make hero readable even if earlier visual stylesheet fails to load */
body.ha-work .hero{
  background:
    radial-gradient(circle at 88% 12%,rgba(245,181,46,.18),transparent 25rem),
    radial-gradient(circle at 8% 36%,rgba(17,169,181,.12),transparent 22rem),
    linear-gradient(180deg,#f7fbfb,#f2f7f7) !important;
  color:#102f3f !important;
}
body.ha-work .hero .kicker{
  color:#0b7f85 !important;
  font-weight:900 !important;
  text-shadow:none !important;
}
body.ha-work .hero h1{
  color:#0c3142 !important;
  text-shadow:none !important;
}
body.ha-work .hero .lead{
  color:#3f5f6d !important;
}
body.ha-work .hero .trust-row span{
  color:#345765 !important;
  background:rgba(255,255,255,.78) !important;
  border:1px solid rgba(6,45,73,.10) !important;
  border-radius:999px;
  padding:7px 10px;
}

/* Improve contrast site-wide on light sections */
body.ha-work .intro p,
body.ha-work .section-head p,
body.ha-work .resource-grid p,
body.ha-work .benefit-grid p,
body.ha-work .routing-note,
body.ha-work .route-disclosure,
body.ha-work .employer-count-note{
  color:#496672 !important;
}
body.ha-work .kicker.teal,
body.ha-work .section-head .kicker,
body.ha-work .split .kicker{
  color:#0a747d !important;
}

/* Connected resource network: force reliable styling in the final stylesheet */
body.ha-work .ha-network{
  display:block !important;
  box-sizing:border-box !important;
  margin:48px auto 0 !important;
  width:min(1160px,calc(100% - 40px)) !important;
  padding:22px !important;
  border-radius:24px !important;
  color:#fff !important;
  background:linear-gradient(145deg,#062d49,#0a5a74) !important;
  border:1px solid rgba(245,181,46,.28) !important;
  box-shadow:0 22px 55px rgba(6,45,73,.20) !important;
  overflow:hidden !important;
}
body.ha-work .ha-network-top{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  flex-wrap:wrap !important;
  margin-bottom:18px !important;
}
body.ha-work .ha-network-mark{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}
body.ha-work .ha-network-icon{
  width:42px !important;
  height:42px !important;
  border-radius:14px !important;
  display:grid !important;
  place-items:center !important;
  flex:0 0 42px !important;
  background:linear-gradient(135deg,#11a9b5,#37b887) !important;
  color:#062d49 !important;
  font-weight:900 !important;
}
body.ha-work .ha-network-kicker{
  display:block !important;
  color:#f5c75f !important;
  font-size:.7rem !important;
  font-weight:900 !important;
  letter-spacing:.11em !important;
  text-transform:uppercase !important;
}
body.ha-work .ha-network-title{
  display:block !important;
  color:#fff !important;
  font-size:1rem !important;
  font-weight:900 !important;
  line-height:1.35 !important;
}
body.ha-work .ha-network-note{
  color:#c4dbe2 !important;
  font-size:.78rem !important;
}
body.ha-work .ha-network-links{
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:10px !important;
}
body.ha-work .ha-network-links a{
  display:block !important;
  min-width:0 !important;
  padding:13px 14px !important;
  border-radius:15px !important;
  text-decoration:none !important;
  color:#fff !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  overflow-wrap:anywhere !important;
}
body.ha-work .ha-network-links strong{
  display:block !important;
  color:#fff !important;
  font-size:.84rem !important;
  line-height:1.25 !important;
}
body.ha-work .ha-network-links small{
  display:block !important;
  margin-top:4px !important;
  color:#bfd3db !important;
  font-size:.72rem !important;
  line-height:1.4 !important;
}

/* Footer must remain a separate, enclosed block */
body.ha-work footer{
  clear:both !important;
  display:block !important;
  width:100% !important;
  margin-top:34px !important;
  background:#031f2d !important;
  color:#bdd4da !important;
  overflow:hidden !important;
}
body.ha-work footer .footer-grid{
  width:min(1160px,calc(100% - 40px)) !important;
  margin:auto !important;
}

/* Mobile */
@media(max-width:900px){
  body.ha-work .hero-grid{
    grid-template-columns:1fr !important;
    gap:30px !important;
  }
  body.ha-work .hero-visual{
    order:-1 !important;
  }
  body.ha-work .hero-copy{
    text-align:left !important;
  }
  body.ha-work .hero-copy .actions,
  body.ha-work .hero-copy .trust-row{
    justify-content:flex-start !important;
  }
  body.ha-work .ha-network-links{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media(max-width:620px){
  body.ha-work{
    padding-bottom:78px;
  }

  /* Prevent the small announcement bar from appearing clipped above the sticky header */
  body.ha-work .announcement{
    display:none !important;
  }

  body.ha-work .site-header{
    top:0 !important;
  }

  body.ha-work .nav{
    height:74px !important;
    gap:10px !important;
  }
  body.ha-work .brand img{
    width:180px !important;
    max-width:52vw !important;
  }
  body.ha-work .nav .button-small{
    width:auto !important;
    padding:10px 13px !important;
    font-size:12px !important;
    white-space:nowrap !important;
  }

  body.ha-work .hero{
    padding:26px 0 46px !important;
  }
  body.ha-work .hero-grid{
    gap:28px !important;
  }
  body.ha-work .campaign-hero{
    border-radius:18px !important;
  }
  body.ha-work .campaign-hero figcaption{
    padding:11px 12px !important;
    font-size:11px !important;
  }

  body.ha-work .hero .kicker{
    font-size:10px !important;
    letter-spacing:.12em !important;
    line-height:1.45 !important;
  }
  body.ha-work .hero h1{
    font-size:clamp(40px,11vw,54px) !important;
    line-height:.98 !important;
    letter-spacing:-.025em !important;
    margin:12px 0 18px !important;
  }
  body.ha-work .hero .lead{
    font-size:16px !important;
    line-height:1.65 !important;
  }

  body.ha-work .ha-network{
    width:calc(100% - 24px) !important;
    margin:34px 12px 0 !important;
    padding:16px !important;
    border-radius:18px !important;
  }
  body.ha-work .ha-network-top{
    display:block !important;
  }
  body.ha-work .ha-network-note{
    display:block !important;
    margin-top:10px !important;
  }
  body.ha-work .ha-network-links{
    grid-template-columns:1fr !important;
    gap:8px !important;
  }
  body.ha-work .ha-network-links a{
    padding:12px !important;
  }

  body.ha-work footer{
    margin-top:24px !important;
    padding:34px 0 95px !important;
  }
  body.ha-work footer .footer-grid{
    width:calc(100% - 24px) !important;
    display:flex !important;
    flex-direction:column !important;
    gap:20px !important;
  }
  body.ha-work footer .footer-grid img{
    width:min(260px,80vw) !important;
  }
  body.ha-work footer .footer-grid nav{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px 18px !important;
  }
  body.ha-work footer .legal{
    width:calc(100% - 24px) !important;
    margin:22px auto 0 !important;
  }
}
