/* xLocums navy banner on all inner pages (DE-88b / t416u).
   Visual styles match the CRNA profession hero band and DE-72 inner banners.
   Tight spacing: title plus optional with-xLocums line, no steps box.
   Scoped to .xl-iba and body.xl-iba-on. No yellow.
   Off switch: add_filter( 'xl_inner_banner_all_enabled', '__return_false' ); */

.xl-iba{
  --iba-navy:#031232;
  --iba-navy-2:#0A1F4A;
  --iba-navy-3:#071832;
  --iba-blue:#4169E1;
  --iba-blue-2:#7EA2FF;
  --iba-beige:#FBFAF6;
  --iba-line:rgba(126,162,255,.28);
  box-sizing:border-box;
  width:100%;
  margin:0;
  padding:0;
  color:var(--iba-beige);
  -webkit-font-smoothing:antialiased;
  /* 80px top clears the fixed header, same as DE-72 Request Coverage. */
  padding-top:80px;
  background:
    radial-gradient(1200px 280px at 80% -10%, rgba(65,105,225,.22), transparent 60%),
    linear-gradient(180deg, var(--iba-navy-2) 0%, var(--iba-navy) 55%, var(--iba-navy-3) 100%);
  border-bottom:1px solid var(--iba-line);
}
.xl-iba *,
.xl-iba *::before,
.xl-iba *::after{ box-sizing:border-box; }

.xl-iba__inner{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:24px 48px 28px;
}

.xl-iba__eyebrow{
  margin:0 0 8px;
  font-family:"Work Sans",Helvetica,Arial,sans-serif;
  font-size:11px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  line-height:1.3;
  color:var(--iba-blue-2);
}
.xl-iba__title{
  margin:0;
  font-family:"Kumbh Sans","Plus Jakarta Sans",Helvetica,Arial,sans-serif;
  font-size:clamp(28px, 3.6vw, 42px);
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.15;
  color:var(--iba-beige);
}
.xl-iba__mark{
  margin:8px 0 0;
  font-family:"Kumbh Sans","Plus Jakarta Sans",Helvetica,Arial,sans-serif;
  font-size:18px;
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.2;
  color:var(--iba-beige);
}
.xl-iba__x,
.xl-iba .xl-mark__x{
  color:var(--iba-blue);
  font-weight:800;
}
.xl-iba .xl-mark{
  color:inherit;
}

@media (max-width: 1024px){
  .xl-iba{ padding-top:60px; }
  .xl-iba__inner{ padding:20px 24px 24px; }
}
@media (max-width: 640px){
  .xl-iba__inner{ padding:16px 18px 20px; }
  .xl-iba__title{ font-size:26px; }
  .xl-iba__mark{ font-size:16px; }
}

/* Full-bleed when the banner is prepended inside a boxed content column. */
body.xl-iba-on #content .entry-content > .xl-iba,
body.xl-iba-on #content .ast-container > .xl-iba,
body.xl-iba-on #primary > .xl-iba,
body.xl-iba-on .bootstrap-wrapper > .xl-iba,
body.xl-iba-on .container > .xl-iba{
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
body.xl-iba-on #content.site-content{
  margin-top:0;
  padding-top:0;
}

/* Hide the old title so the navy banner is the only H1.
   Elementor widgets and theme files are not edited. */
body.xl-iba-on header.entry-header,
body.xl-iba-on .ast-archive-title,
body.xl-iba-on h1.page-title,
body.xl-iba-on #full_grid > h1.categoryTitle,
body.xl-iba-on h1.categoryTitle,
body.xl-iba-on #full_grid > h1.categoryTitle + img.col-md-12{
  display:none !important;
}
/* Only hide a leftover job H1 that still sits immediately above the
   landscape photo. The job-layout title next to Apply Now stays. */
body.xl-iba-on h1.jobTitle:has(+ .banner-hero),
body.xl-iba-on h1.jobTitle:has(+ .banner-image-single){
  display:none !important;
}

/* About page: the in-content slate box keeps its intro copy; its heading
   is hidden because the navy banner is now the H1. */
body.xl-iba-on.page-id-10749 .xl-hero > h1,
body.xl-iba-on.xl-iba-page .xl-hero > h1{
  display:none !important;
}

/* Find Locums Jobs (7859) and Request Coverage (6687): hide the Elementor
   heading block at the top of the canvas. Same pattern as DE-72 Contact.
   Widget ids f47ffac, 524e6fc, 688ad07, and e2dde17 are not touched. */
body.xl-iba-on.page-id-7859 .elementor-7859 > section.elementor-element-84c9f10,
body.xl-iba-on.page-id-7859 .elementor-element-f6e067b,
body.xl-iba-on.page-id-6687 .elementor-6687 > section.elementor-element-84c9f10,
body.xl-iba-on.page-id-6687 .elementor-element-f6e067b{
  display:none !important;
}

/* Locations index (1438) uses the theme entry title, already hidden above. */

/* No theme magenta, red, or yellow on this navy band. */
body.xl-iba-on .xl-iba a:hover,
body.xl-iba-on .xl-iba a:focus{
  color:#9BB0F5;
  text-decoration:underline;
  text-decoration-color:#9BB0F5;
  text-underline-offset:2px;
}
