/* ==========================================================================
   AIM Back Button Start Position Tune
   Final scoped layer. Lowers Back buttons on subpages so they do not start
   tucked under the logo/header area. Does not alter smart-back behavior.
   ========================================================================== */

.return-nav-wrap {
  padding-top: 34px !important;
  padding-bottom: 12px !important;
}

/* Insurance & Billing has a static/scrolling Back button in this package.
   Keep that behavior, but give it the same lowered visual start point. */
.insurance-page .return-nav-wrap {
  padding-top: 34px !important;
  padding-bottom: 12px !important;
}

/* Avoid the Back button feeling glued to the following hero title. */
.return-nav-wrap + section {
  margin-top: 0 !important;
}

/* Mobile keeps it lower than before, but not oversized. */
@media (max-width: 980px) {
  .return-nav-wrap {
    padding-top: 24px !important;
    padding-bottom: 10px !important;
  }

  .insurance-page .return-nav-wrap {
    padding-top: 24px !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 430px) {
  .return-nav-wrap {
    padding-top: 20px !important;
  }

  .insurance-page .return-nav-wrap {
    padding-top: 20px !important;
  }
}
