/**
 * Shared hero rules for every page except the homepage.
 * Change the look of all page heroes from the four values in :root.
 *
 * !important inside a cascade layer beats every normal rule and every normal
 * !important, whatever its specificity and wherever its file loads.
 */
@layer gt-page-hero {
  :root {
    --gt-h1-size: clamp(32px, 26px + 2.2917vw, 70px);
    /* 35px on a 390px phone, 70px at 1920px */
    --gt-h1-line: 1.15;
    --gt-hero-top: clamp(110px, 100px + 3.90625vw, 175px);
    /* page top to the breadcrumb, header included */
    --gt-crumb-gap: 16px;
    /* breadcrumb to H1 */
  }

  @media (max-width: 1024px) {
    :root {
      --gt-crumb-gap: 8px;
    }
  }

  /* Add any new hero class to these three lists. */
  :where(.header-banner, .header-banner-services, .hero-section, .contactUsMain, .csr-hero, .why-choose-hero, .podcast_main):not(.header-404) {
    margin-top: 0 !important;
    padding-top: var(--gt-hero-top) !important;
  }

  :where(.header-banner, .header-banner-services, .hero-section, .contactUsMain, .csr-hero, .why-choose-hero, .podcast_main):not(.header-404)> :where(.mm-container, .container, .ar-container),
  :where(.header-banner, .header-banner-services, .hero-section, .contactUsMain, .csr-hero, .why-choose-hero, .podcast_main):not(.header-404)>*> :where(.mm-content, .mm-content-old, .work-content, .headingContent, .ar-row) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  :where(.header-banner, .header-banner-services, .hero-section, .contactUsMain, .csr-hero, .why-choose-hero, .podcast_main):not(.header-404) h1 {
    font-size: var(--gt-h1-size) !important;
    line-height: var(--gt-h1-line) !important;
  }

  /* Leadership hero centres its content. Keep a set height: the next section overlaps it. */
  .hero-section {
    align-items: flex-start !important;
  }

  @media (min-width: 1025px) {
    .hero-section {
      height: calc(var(--gt-hero-top) + 260px) !important;
    }
  }

  @media (max-width: 768px) {
    .hero-section {
      height: calc(var(--gt-hero-top) + 150px) !important;
    }
  }

  .gt-breadcrumb {
    margin: 0 0 var(--gt-crumb-gap) !important;
  }

  .gt-breadcrumb :is(ol, li, a, span) {
    line-height: 1.5 !important;
  }

  /* Clutch seal: beside the heading on desktop, above it on smaller screens. */
  .why-choose-seal {
    top: 0 !important;
  }

  @media (min-width: 1201px) and (max-width: 1800px) {

    .why-choose-hero h1,
    #page-it-staff-augmentation-new .itstaf-updated-hero h1 {
      max-width: 900px !important;
      margin-inline: auto !important;
    }
  }

  @media (max-width: 1200px) {
    /* #page-it-staff-augmentation-new .itstaf-updated-hero {
      padding-top: calc(var(--gt-hero-top) + 132px) !important;
    } */

    /* #page-it-staff-augmentation-new .why-choose-seal {
      top: -132px !important;
    } */
  }

 
}

/* Breadcrumb base styles (moved from _header.php). Keep OUTSIDE the @layer block above. */
.gt-breadcrumb {
  font-family: Poppins, sans-serif;
  font-size: 12px;
  line-height: 1.5em;
  color: #07205F;
  margin: 0 0 20px;
}

.gt-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0
}

.gt-breadcrumb li {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.gt-breadcrumb li+li::before {
  content: "/";
  content: "/" / "";
  margin: 0 8px;
  opacity: .4
}

.gt-breadcrumb a {
  font-size: inherit;
  color: #07205F;
  opacity: .7;
  text-decoration: none
}

.gt-breadcrumb a:hover {
  opacity: 1
}

.gt-breadcrumb [aria-current="page"] {
  font-weight: 700;
  opacity: .8;
}

.gt-breadcrumb--floating {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 0 16px;
  text-align: center
}

section.header-banner.service-banner.detailed .mm-content .gt-breadcrumb li {
  font-size: 12px;
}

body .service-landing-page .gt-breadcrumb {
  text-align: center;
}

body.industry .gt-breadcrumb {
  text-align: center;
}

body.leadership .gt-breadcrumb {
  text-align: center;
}

body.news-updates .gt-breadcrumb {
  text-align: center;
}

body.podcast .gt-breadcrumb {
  text-align: center;
}

section.case-study.portfolio-banner.header-banner .work-content .gt-breadcrumb a {
  color: #07205F;
  opacity: .7
}

section.case-study.portfolio-banner.header-banner .work-content .gt-breadcrumb a:hover {
  opacity: 1
}

.itstaf-crumb-mobile {
  display: none;
}

@media (max-width: 1200px) {
  .itstaf-crumb-desktop {
    display: none;
  }

  .itstaf-crumb-mobile {
    display: block;
   margin-bottom: 10px;
        margin-top: 14px;
  }

  /* #page-it-staff-augmentation-new .itstaf-updated-hero h1 {
    margin-bottom: var(--gt-crumb-gap) !important;
  } */
}

@media (max-width:1024px) {
  .gt-breadcrumb--floating {
    top: 92px
  }

  .gt-breadcrumb {
    margin: 0 0 8px;
  }
}

@media (max-width: 768px) {
  .itstaf-crumb-mobile {
    margin-bottom: 10px;
    margin-top: 10px;
  }
}

@media (max-width:420px) {
  section.header-banner.service-banner.detailed .mm-content .gt-breadcrumb li {
    font-size: 10px;
  }

  .gt-breadcrumb {
    font-size: 10px;
  }
}