/* HD Careers mobile and accessibility improvements.
   This stylesheet is loaded AFTER the existing site styles. It does not
   replace company logos, home-page cards, or India map visuals. */

/* Higher-contrast text for the actual Lighthouse findings. */
.hdp-art-status{color:#075c3c!important;background:#e0faeb!important;font-size:11px!important}
.hdp-art-mini-copy small{color:#475569!important;font-size:12px!important;line-height:1.4!important}
.hdp-art-badge.one{color:#086c4e!important}
.hdp-art-badge.two{color:#49349a!important}
.hdp-art-badge.three{color:#114a9d!important}
.hdp-metric small{color:#42526b!important;font-size:13px!important}
.hdp-featured-item p{color:#475569!important;font-size:13px!important}
.hdp-tag{color:#1e4594!important;background:#eaf1ff!important}
.hdp-heading p,.hdp-trust-item p{color:#42526b!important}
.hdp-hero p,.hdp-hero-notes{color:#485d79!important}
.hdp-art-top small{color:#485d79!important}

/* Keep official HD Careers visual system, but ensure keyboard navigation works. */
:where(a,button,input,select,textarea,[role="button"]):focus-visible{
  outline:3px solid #0b60d6!important;
  outline-offset:3px!important;
}
.hd-public-nav a.is-active,.hd-public-nav a[aria-current="page"]{
  color:#10469d!important;background:#e6f0ff!important
}
.hd-public-nav a.is-active:after,.hd-public-nav a[aria-current="page"]:after{background:#10469d}
#filterTabs .pill span.ml-1{opacity:1!important;color:inherit!important}
#jobCount,.hdm-fineprint,.hdm-inline-note{color:#42526b}
#footer > p.text-center{color:#cbd5e1!important}
#footer a:focus-visible{outline-color:#bfdbfe!important}

/* Keep the top heading visible immediately on slower phones: no entrance
   opacity/transform animation for the initial viewport. Other interactions remain. */
@media(max-width:767px){
  #homeView.soft-enter{animation:none!important;opacity:1!important;transform:none!important}
  .hdp-hero h1{animation:none!important;opacity:1!important;transform:none!important}
  .hdp-orb{animation:none!important}
  .hdp-art-card,.hdp-art-badge{transition:none!important}
  .hdp-art-job{animation:none!important}
  .hdp-hero-search button{min-height:44px}
  .hdp-quick{min-height:44px}
  .hdp-art{contain:layout style}
}

/* Respect assistive-technology preferences without disabling essential UI. */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  #homeView.soft-enter,.hdp-orb,.hdp-art-job,.hdp-featured-item,
  .reveal-on-scroll,.reveal-card{animation:none!important;transition:none!important}
  #homeView,.reveal-on-scroll,.reveal-card{opacity:1!important;transform:none!important}
}

/* AdSense review readiness: keep important content immediately visible and
   reachable on low-end mobile devices without changing HD Careers branding. */
@media (max-width:767px){
  /* The desktop hero entrance can otherwise delay the mobile LCP element. */
  .hdp-hero .hdp-hero-grid > div:first-child{
    animation:none!important;opacity:1!important;transform:none!important;
  }
  .hdp-hero h1{font-size:clamp(30px,8vw,38px);line-height:1.16}
  .hdp-hero p,.hdp-heading p,.hdp-trust-item p,
  .hdp-featured-item p,.hdp-map-side p{font-size:14px!important;line-height:1.6!important}
  .hdp-hero-notes,.hdp-featured-item .hdp-eligibility{font-size:13px!important;line-height:1.55!important}
  .hdp-quick,.hdp-company,.hdp-apply,.hdp-hero-search button,
  .category-scroll .pill,#filterTabs .pill{
    min-height:44px;
  }
  .hdp-apply{display:flex!important;justify-content:center;align-items:center}
  .hdp-hero-search{min-width:0;max-width:100%}
  .hdp-hero-search input{min-width:0;font-size:16px}
  .hdp-company h3{overflow-wrap:anywhere}
}
