/* Phase 29: Careers mobile open positions table fix
   Converts the careers jobs table into readable stacked cards on phones.
   This intentionally loads after earlier mobile hotfix files and overrides
   their horizontal-scroll/absolute-label table rules. */
@media (max-width: 760px){
  body .career-benchmark-page .career-section#open-positions{overflow:visible!important;}
  body .career-benchmark-page .career-open-head{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start!important;}
  body .career-benchmark-page .career-open-head a{display:inline-flex!important;width:max-content!important;max-width:100%!important;white-space:normal!important;}
  body .career-benchmark-page .career-table{
    display:block!important;width:100%!important;max-width:100%!important;margin-top:16px!important;
    border-collapse:separate!important;border-spacing:0!important;overflow:visible!important;white-space:normal!important;
  }
  body .career-benchmark-page .career-table thead,
  body .career-benchmark-page .career-table th{display:none!important;}
  body .career-benchmark-page .career-table tbody{display:grid!important;gap:14px!important;width:100%!important;}
  body .career-benchmark-page .career-table tr{
    display:grid!important;grid-template-columns:1fr!important;gap:0!important;width:100%!important;
    margin:0!important;padding:16px!important;background:#fff!important;border:1px solid #dbe6f7!important;
    border-radius:18px!important;box-shadow:0 10px 28px rgba(5,27,72,.06)!important;overflow:hidden!important;
  }
  body .career-benchmark-page .career-table td{
    display:block!important;width:100%!important;min-height:0!important;position:relative!important;
    padding:11px 0 12px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #edf3fb!important;
    white-space:normal!important;line-height:1.35!important;color:#0b1f55!important;font-size:14px!important;font-weight:700!important;
    overflow-wrap:anywhere!important;text-align:left!important;
  }
  body .career-benchmark-page .career-table td:last-child{border-bottom:0!important;padding-bottom:0!important;}
  body .career-benchmark-page .career-table td:before{
    display:block!important;position:static!important;left:auto!important;top:auto!important;width:auto!important;margin:0 0 5px 0!important;
    color:#687da8!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.06em!important;line-height:1.1!important;
  }
  body .career-benchmark-page .career-table td:nth-child(1):before{content:'Position'!important;}
  body .career-benchmark-page .career-table td:nth-child(2):before{content:'Department'!important;}
  body .career-benchmark-page .career-table td:nth-child(3):before{content:'Location'!important;}
  body .career-benchmark-page .career-table td:nth-child(4):before{content:'Type'!important;}
  body .career-benchmark-page .career-table td:nth-child(5):before{content:'Action'!important;}
  body .career-benchmark-page .career-table td a{display:inline-flex!important;align-items:center!important;gap:6px!important;color:#0757cf!important;font-weight:900!important;text-decoration:none!important;line-height:1.25!important;}
  body .career-benchmark-page .career-table td:first-child a{font-size:15px!important;color:#064db7!important;}
}
@media (max-width: 420px){
  body .career-benchmark-page .wide{width:min(100% - 24px,390px)!important;}
  body .career-benchmark-page .career-content-card{padding:16px!important;border-radius:16px!important;}
  body .career-benchmark-page .career-section h2{font-size:21px!important;line-height:1.2!important;}
  body .career-benchmark-page .career-table tr{padding:15px!important;border-radius:16px!important;}
}
