/* AB TALENT inner-page scroll repair — v1.0.3.
   Loaded only on WordPress pages other than the homepage.
   Fixes clipping without touching images, typography or colors. */
html {
    height: auto !important;
    min-height: 100% !important;
    overflow-y: auto !important;
}
body.page:not(.home) {
    height: auto !important;
    max-height: none !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}
body.page:not(.home) .page.page-team,
body.page:not(.home) .page.page-open-positions,
body.page:not(.home) .page.page-get-in-touch {
    height: auto !important;
    max-height: none !important;
    min-height: 100vh !important;
    overflow: visible !important;
}
body.page:not(.home) .page.page-team main,
body.page:not(.home) .page.page-open-positions main,
body.page:not(.home) .page.page-get-in-touch main {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* v1.0.5: Keep AB TALENT together on the Team title on phones.
   Desktop remains untouched. The heading text and portraits are unchanged. */
@media (max-width: 700px) {
  body.page:not(.home) .page.page-team .team-overview #team-title br:first-of-type {
    display: none !important;
  }
  body.page:not(.home) .page.page-team .team-overview #team-title br:nth-of-type(2) {
    display: inline !important;
  }
}
