/* ABC mirror fixes — mobile header balance + non-overlapping portal links */
.abc-portal-links{
  display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;vertical-align:middle;
}
.abc-portal-links a{
  display:inline-flex;align-items:center;justify-content:center;
  font:700 13px/1.2 Onest,Arial,sans-serif !important;
  color:#26aae1 !important;text-decoration:none !important;
  white-space:nowrap;padding:4px 0;
  position:static !important;inset:auto !important;
}
.abc-portal-links a:hover{color:#8c378e !important;text-decoration:underline !important}
.abc-portal-links a+a{border-left:1px solid rgba(38,170,225,.35);padding-left:10px;margin-left:0}

.header_info ul li.abc-portal-item{
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
  position:static !important;
  min-height:0 !important;
  height:auto !important;
  line-height:1.2 !important;
}
.header_info ul li.abc-portal-item::before{display:none !important;content:none !important}
.header_info ul li.abc-portal-item a{
  position:static !important;
  inset:auto !important;
  display:inline !important;
}
.header_info ul li.abc-portal-item:hover{opacity:1 !important;top:0 !important}

@media only screen and (max-width:1000px){
  /* Theme sets logo to max-width:78% — shrink so header is not so tall */
  .main_logo{max-width:132px !important;width:132px !important;margin:0 !important;float:none !important}
  .main_logo img,
  .main_logo figure,
  .main_logo figure img{
    width:100% !important;height:auto !important;max-height:72px !important;object-fit:contain !important;
  }
  .header_con{min-height:0 !important;height:auto !important;padding:10px 0 8px !important}
  header .wrapper{padding-top:0 !important;padding-bottom:0 !important}
  .head_info{margin-top:6px !important}
  .header_info ul{row-gap:8px !important;align-items:center !important}
  .header_info ul li.abc-portal-item{
    width:100%;display:flex;justify-content:center;align-items:center;
  }
  .header_info .abc-portal-links{
    display:flex !important;flex-direction:row !important;flex-wrap:wrap !important;
    justify-content:center;gap:8px 14px !important;margin:0 !important;
  }
  .header_info .abc-portal-links a{
    border:0 !important;padding:2px 0 !important;font-size:12px !important;line-height:1.25 !important;
    position:static !important;inset:auto !important;z-index:2 !important;
  }
  .header_info .abc-portal-links a+a{
    border-left:1px solid rgba(38,170,225,.35) !important;padding-left:14px !important;
  }
  .social_media{margin-top:4px !important}
  .social_media img{width:34px !important;height:34px !important}
}

@media only screen and (max-width:640px){
  .main_logo{max-width:108px !important;width:108px !important}
  .main_logo img,
  .main_logo figure img{max-height:58px !important}
  .header_con{padding:8px 0 6px !important}
  /* Hero band: clear floating accessibility widget (bottom-left) */
  .bnr_info,
  .bnr_info .textwidget,
  .bnr_info h2,
  .bnr_info p{
    padding-left:56px !important;
    box-sizing:border-box;
  }
  .bnr_info{padding-right:14px !important}
}

@media only screen and (max-width:400px){
  .main_logo{max-width:96px !important;width:96px !important}
  .main_logo img,
  .main_logo figure img{max-height:52px !important}
  .header_info .abc-portal-links a{font-size:11px !important}
}

/* Careers → live /apply CTA (replaces old WP iframe) */
.abc-apply-cta{
  margin:1.25rem 0 0;padding:1.25rem 1.35rem;background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.28);border-radius:12px;max-width:520px;
}
.abc-apply-cta p{margin:0 0 .85rem;line-height:1.45}
.abc-apply-cta .abc-apply-note{margin:0;font-size:.92em;opacity:.92}
.abc-apply-cta a{color:#fff;text-decoration:underline}
.abc-apply-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.7rem 1.35rem;border-radius:8px;font-weight:700;text-decoration:none !important;
  background:#fff;color:#8c378e !important;border:0;line-height:1.2;
}
.abc-apply-btn:hover{background:#f3e9fb;color:#6b2d96 !important}

/* Guest ops pages (/login, /apply) sit inside theme chrome */
.abc-mirror-main{
  background:#eef2f7 !important;
  padding:28px 15px 48px !important;
  min-height:0 !important;
}
/* Ensure login/apply stay interactive above theme chrome */
.abc-mirror-main,
.abc-mirror-main main,
.abc-mirror-main .auth-shell,
.abc-mirror-main .auth-card{
  position:relative;
  z-index:2;
  pointer-events:auto;
}
body.page.login-page,
body.page.apply-page{
  overflow:visible !important;
}
.abc-mirror-main .main_con{
  min-height:0 !important;
  padding:0 !important;
  float:none !important;
  width:100% !important;
  max-width:100% !important;
}
.abc-mirror-main main{
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  margin:0 auto !important;
  color:inherit !important;
  text-align:left !important;
}
.abc-portal-links a.is-active{color:#8c378e !important;text-decoration:underline !important}

@media only screen and (max-width:1000px){
  .abc-mirror-main{padding:18px 12px 36px !important}
  .abc-apply-cta{max-width:100%}
}
@media only screen and (max-width:640px){
  .abc-mirror-main{padding:14px 10px 28px !important}
  .abc-apply-btn{width:100%;box-sizing:border-box}
}

/* Theme style.min.css sets input{width:37px!important} — restore usable forms */
.abc-mirror-main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.abc-mirror-main select,
.abc-mirror-main textarea{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:44px !important;
  margin:0 !important;
  box-sizing:border-box !important;
}
.abc-mirror-main input[type="checkbox"],
.abc-mirror-main input[type="radio"]{
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 .4rem 0 0 !important;
}
.abc-mirror-main textarea{min-height:110px !important}
.abc-mirror-main label{color:inherit !important;font-weight:600}
.abc-mirror-main a.auth-link,
.abc-mirror-main .auth-card a{font-weight:600}
.abc-mirror-main .btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:auto;
  min-height:44px;
  box-sizing:border-box;
}
.abc-mirror-main .btn-block{width:100% !important}
.abc-mirror-main .btn-secondary{
  background:#fff !important;
  color:#6b2d96 !important;
  border:1px solid rgba(107,45,150,.35) !important;
}
.abc-mirror-main .btn-secondary:hover{
  background:#f7eefb !important;
}

/* Theme hides/narrows buttons — restore portal controls */
.abc-mirror-main button{
  display:inline-flex !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  min-height:44px;
  text-align:center !important;
  border:none;
  font:inherit;
  cursor:pointer;
}
.abc-mirror-main .btn,
.abc-mirror-main a.btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  max-width:100% !important;
  min-height:44px !important;
  line-height:1.25 !important;
  margin:0 !important;
  padding:.7rem 1.15rem !important;
  border-radius:10px !important;
  font-size:.95rem !important;
  font-weight:700 !important;
  text-decoration:none !important;
  color:#fff !important;
  background:linear-gradient(135deg,#6b2d96,#2eb6e8) !important;
  box-sizing:border-box !important;
}
.abc-mirror-main .btn-block{width:100% !important}
.abc-mirror-main .btn-secondary,
.abc-mirror-main a.btn-secondary{
  background:#fff !important;
  color:#6b2d96 !important;
  border:1px solid rgba(107,45,150,.35) !important;
}
.abc-mirror-main .password-field button,
.abc-mirror-main [data-password-toggle]{
  width:auto !important;
  min-width:44px !important;
  min-height:44px !important;
  padding:.35rem .55rem !important;
  background:transparent !important;
  color:inherit !important;
  box-shadow:none !important;
  border-radius:8px !important;
}
.abc-mirror-main textarea{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:110px !important;
  border-radius:10px !important;
  padding:.75rem .9rem !important;
  resize:vertical !important;
}

/* Working lead forms — light page content (schedule-care, contact, etc.) */
.abc-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.abc-lead-flash{
  margin:0 0 1rem;padding:.9rem 1.05rem;border-radius:10px;
  background:#e7f7ee;color:#146c43;border:1px solid #b7e4c7;font-weight:600;line-height:1.4;
}
.abc-lead-error{
  margin:0 0 1rem;padding:.9rem 1.05rem;border-radius:10px;
  background:#fdecea;color:#b42318;border:1px solid #f5c2c0;font-weight:600;line-height:1.4;
}
#main_area > .abc-lead-flash{margin:12px 15px 0}

.abc-lead-form-wrap{
  display:block!important;
  width:100%!important;
  max-width:640px!important;
  margin:1.25rem 0 0!important;
  padding:1.35rem 1.35rem 1.4rem!important;
  background:#fff!important;
  border:1px solid #e6e8ef!important;
  border-radius:14px!important;
  box-shadow:0 10px 28px rgba(28,32,48,.08)!important;
  box-sizing:border-box!important;
  float:none!important;
  clear:both!important;
  color:#1a1a1a!important;
  text-align:left!important;
}
.abc-lead-form{margin:0!important;padding:0!important;width:100%!important;max-width:100%!important}
.abc-lead-form *{box-sizing:border-box!important}
.abc-lead-form label{
  display:block!important;
  margin:0 0 .4rem!important;
  padding:0!important;
  font-weight:700!important;
  font-size:.92rem!important;
  line-height:1.3!important;
  color:#1a1a1a!important;
  float:none!important;
  width:auto!important;
}
.abc-lead-form label span{color:#8c378e!important}
.abc-lead-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:1rem 1.1rem!important;
  margin:0 0 1.15rem!important;
  width:100%!important;
  float:none!important;
}
.abc-lead-grid > div{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
}
.abc-lead-full{grid-column:1 / -1!important}

.abc-lead-form input[type="text"],
.abc-lead-form input[type="email"],
.abc-lead-form input[type="tel"],
.abc-lead-form select,
.abc-lead-form textarea{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:46px!important;
  margin:0!important;
  padding:.7rem .9rem!important;
  border:1px solid #cfd5e2!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#1a1a1a!important;
  font:600 15px/1.35 Onest,Arial,sans-serif!important;
  float:none!important;
  appearance:auto!important;
  -webkit-appearance:auto!important;
  box-shadow:none!important;
}
.abc-lead-form select{
  padding-right:2rem!important;
  background-image:linear-gradient(45deg,transparent 50%,#6b2d96 50%),linear-gradient(135deg,#6b2d96 50%,transparent 50%)!important;
  background-position:calc(100% - 16px) calc(50% - 3px),calc(100% - 11px) calc(50% - 3px)!important;
  background-size:5px 5px,5px 5px!important;
  background-repeat:no-repeat!important;
}
.abc-lead-form textarea{
  min-height:130px!important;
  resize:vertical!important;
  font-weight:500!important;
}
.abc-lead-form input:focus,
.abc-lead-form select:focus,
.abc-lead-form textarea:focus{
  outline:2px solid rgba(38,170,225,.45)!important;
  border-color:#26aae1!important;
}

.abc-lead-submit,
.abc-lead-form button.abc-lead-submit,
.abc-lead-form button[type="submit"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:static!important;
  width:auto!important;
  min-width:11rem!important;
  max-width:100%!important;
  height:auto!important;
  min-height:48px!important;
  margin:0!important;
  padding:.75rem 1.5rem!important;
  border:0!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#8c378e,#26aae1)!important;
  color:#fff!important;
  font:800 15px/1.2 Onest,Arial,sans-serif!important;
  text-align:center!important;
  text-decoration:none!important;
  cursor:pointer!important;
  float:none!important;
  box-shadow:0 8px 18px rgba(140,55,142,.25)!important;
}
.abc-lead-submit:hover,
.abc-lead-form button.abc-lead-submit:hover{
  filter:brightness(1.05);
}

.abc-lead-note{
  margin:.9rem 0 0!important;
  padding:0!important;
  font-size:.9rem!important;
  line-height:1.45!important;
  color:#4a5160!important;
  float:none!important;
}
.abc-lead-note a{
  color:#26aae1!important;
  font-weight:700!important;
  text-decoration:underline!important;
}
.abc-lead-note a:hover{color:#8c378e!important}

/* Keep form readable even if parent main is theme-white-text */
#main_area .abc-lead-form-wrap,
#main_area .abc-lead-form-wrap label,
#main_area .abc-lead-form-wrap .abc-lead-note{
  color:#1a1a1a!important;
}
#main_area .entry-content .abc-lead-form-wrap{
  margin-left:0!important;
  margin-right:0!important;
}

@media only screen and (max-width:700px){
  .abc-lead-grid{grid-template-columns:1fr!important;gap:.85rem!important}
  .abc-lead-form-wrap{padding:1.05rem!important;margin-top:1rem!important;border-radius:12px!important}
  .abc-lead-submit,
  .abc-lead-form button.abc-lead-submit{width:100%!important;min-width:0!important}
}


.abc-lead-heading{
  margin:0 0 .35rem!important;padding:0!important;
  font:800 1.25rem/1.25 Onest,Arial,sans-serif!important;
  color:#8c378e!important;text-align:left!important;
}
.abc-lead-intro{
  margin:0 0 1.1rem!important;padding:0!important;
  font-size:.95rem!important;line-height:1.45!important;color:#4a5160!important;
}

/* Homepage message form — keep theme look, ensure submit works */
#submit_formmessage.abc-home-lead input[type="submit"],
#submit_formmessage.abc-home-lead .form_btn,
#submit_formmessage.abc-home-lead button{
  display:inline-flex!important;cursor:pointer;
}

@media only screen and (max-width:700px){
  .abc-lead-grid{grid-template-columns:1fr}
  .abc-lead-form-wrap{padding:1rem}
  .abc-lead-submit{width:100%!important}
}

/* Apply pages — compact smart header + footer (no WP theme chrome) */
body.abc-apply-body{
  margin:0;
  background:#eef2f7;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  font-family:"Source Sans 3",Arial,sans-serif;
  color:#1c2030;
}
.apply-top{
  background:#fff;
  border-bottom:1px solid rgba(20,30,60,.08);
  position:sticky;
  top:0;
  z-index:40;
}
.apply-top-inner{
  width:min(1100px, calc(100% - 2rem));
  margin:0 auto;
  padding:.65rem 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.apply-top-brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  text-decoration:none;
}
.apply-top-brand img{
  display:block;
  width:auto;
  height:56px;
  max-width:140px;
  object-fit:contain;
}
.apply-top-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:1rem 1.35rem;
  flex-wrap:wrap;
}
.apply-top-phone{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  text-decoration:none;
  line-height:1.15;
  color:#1c2030;
}
.apply-top-phone-label{
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#667085;
}
.apply-top-phone strong{
  font-size:.98rem;
  font-weight:800;
  color:#26aae1;
}
.apply-top-links{
  display:flex;
  align-items:center;
  gap:.15rem;
  flex-wrap:wrap;
}
.apply-top-links a{
  display:inline-flex;
  align-items:center;
  padding:.45rem .7rem;
  border-radius:8px;
  text-decoration:none;
  font-size:.88rem;
  font-weight:700;
  color:#6b2d96;
}
.apply-top-links a:hover{background:#f4eef8;color:#8c378e}
.apply-top-links a.is-active{
  background:linear-gradient(135deg,#8c378e,#26aae1);
  color:#fff;
}

.abc-apply-page{
  width:100%;
  flex:1 0 auto;
  padding:1.15rem clamp(.75rem, 3vw, 1.5rem) 1.5rem;
  box-sizing:border-box;
}
.abc-apply-page-inner{
  width:min(920px, 100%);
  margin:0 auto;
}

.apply-foot{
  margin-top:auto;
  background:#fff;
  border-top:1px solid rgba(20,30,60,.08);
  padding:1rem clamp(.75rem, 3vw, 1.5rem);
}
.apply-foot-inner{
  width:min(1100px, 100%);
  margin:0 auto;
  text-align:center;
  color:#667085;
  font-size:.86rem;
  line-height:1.45;
}
.apply-foot-inner p{margin:0 0 .35rem}
.apply-foot-inner p:last-child{margin:0}
.apply-foot a{
  color:#26aae1;
  font-weight:700;
  text-decoration:none;
}
.apply-foot a:hover{color:#8c378e;text-decoration:underline}

@media only screen and (max-width:720px){
  .apply-top-inner{
    width:calc(100% - 1.2rem);
    padding:.55rem 0;
    gap:.75rem;
  }
  .apply-top-brand img{height:46px;max-width:112px}
  .apply-top-actions{
    gap:.45rem .7rem;
  }
  .apply-top-phone-label{display:none}
  .apply-top-phone strong{font-size:.86rem}
  .apply-top-links a{padding:.4rem .55rem;font-size:.8rem}
  .abc-apply-page{padding:.85rem .7rem 1.25rem}
}
@media only screen and (max-width:480px){
  .apply-top-inner{flex-wrap:wrap}
  .apply-top-actions{
    width:100%;
    justify-content:space-between;
  }
  .apply-top-links{gap:0}
}

/* Apply form inputs — theme style.min sets input{width:37px} */
body.abc-apply-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
body.abc-apply-body select,
body.abc-apply-body textarea{
  width:100%!important;max-width:100%!important;height:auto!important;min-height:44px!important;
  margin:0!important;box-sizing:border-box!important;
}
body.abc-apply-body input[type="checkbox"],
body.abc-apply-body input[type="radio"]{
  width:auto!important;height:auto!important;min-height:0!important;margin:0 .4rem 0 0!important;
}
body.abc-apply-body textarea{min-height:110px!important}
body.abc-apply-body button{
  display:inline-flex!important;position:static!important;width:auto!important;height:auto!important;
  min-height:44px;cursor:pointer;
}
body.abc-apply-body .btn,
body.abc-apply-body a.btn{
  display:inline-flex!important;align-items:center;justify-content:center;
  width:auto!important;max-width:100%!important;min-height:44px!important;
  line-height:1.25!important;margin:0!important;padding:.7rem 1.15rem!important;
  border-radius:10px!important;font-size:.95rem!important;font-weight:700!important;
  text-decoration:none!important;color:#fff!important;
  background:linear-gradient(135deg,#6b2d96,#2eb6e8)!important;box-sizing:border-box!important;
}
body.abc-apply-body .btn-block{width:100%!important}
body.abc-apply-body .btn-secondary,
body.abc-apply-body a.btn-secondary{
  background:#fff!important;color:#6b2d96!important;border:1px solid rgba(107,45,150,.35)!important;
}
body.abc-apply-body main,
body.abc-apply-body .abc-apply-page{
  width:100%!important;max-width:100%!important;float:none!important;margin:0 auto!important;
  color:inherit!important;text-align:left!important;
}
