/* NG Manpower Impreza migration overrides — keep minimal */
html,
body {
  margin: 0 !important;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

#wpadminbar {
  display: none !important;
}

img {
  height: auto;
  max-width: 100%;
}

.wpcf7 input[type="submit"] {
  cursor: pointer;
}

/* Ensure rocket leftovers never hide images */
img[data-lazy-src],
img.lazyload,
img.lazyloading {
  opacity: 1 !important;
}

/*
 * wp-custom.css sets `p { color: #000000 }` which kills contrast on navy /
 * blue bands and light-on-dark design classes.
 * Prefer design-class colors via inherit on themed text columns.
 */
.wpb_text_column.has_text_color p,
.wpb_text_column[class*="us_custom_"] p,
.w-iconbox.has_text_color .w-iconbox-text p {
  color: inherit !important;
}
/* Keep Impreza .w-text us_custom_* colors from page-design CSS */
.w-text.has_text_color:not([class*="us_custom_"]) {
  color: inherit !important;
}

.us_custom_41b180c8 .w-iconbox-title,
.us_custom_add3fd8d .w-iconbox-title {
  color: #ffffff !important;
}
.us_custom_41b180c8 .w-iconbox-text,
.us_custom_41b180c8 .w-iconbox-text p,
.us_custom_add3fd8d .w-iconbox-text,
.us_custom_add3fd8d .w-iconbox-text p {
  color: #dee2e6 !important;
}

.us_custom_943b4079,
.us_custom_943b4079 *,
.us_custom_86abb748,
.us_custom_86abb748 p {
  color: #ffffff !important;
}

/* “We Help Businesses Get Ahead…” — live body is #EBFAFE; wp-custom p{#000} kills it */
.us_custom_9472374f .us_custom_4f955a91,
.us_custom_4f955a91,
.us_custom_4f955a91 p {
  color: #ebfafe !important;
}
.us_custom_9472374f .us-btn-style_3 {
  background: #ffffff !important;
  color: #00133e !important;
  border-color: #ffffff !important;
}
.us_custom_9472374f .us-btn-style_3 .w-btn-label {
  color: #00133e !important;
}
.us_custom_9472374f .w-image img[src*="ManP.png"] {
  width: 100%;
  max-width: 525px;
  height: auto;
}

/* Keep feature icons crisp on the navy band */
.us_custom_41b180c8 .w-iconbox-icon img {
  width: auto;
  max-height: 3.8rem;
  object-fit: contain;
}

/* Industries list: match live bold navy links on white */
.us_custom_2873e29c.arrow_r,
.us_custom_2873e29c.arrow_r a,
.us_custom_ac5d29cc.arrow_r,
.us_custom_ac5d29cc.arrow_r a {
  color: #00133e !important;
}

/* Stats counters — live Additional CSS (numbers + labels) */
.stats-top .stats-number,
.stats-top .counter_suffix,
div.stats-desc > div.counter_suffix {
  font-size: 48px !important;
  font-weight: 700 !important;
  color: #004ab5 !important;
  line-height: 1.1 !important;
}
.stats-block .stats-text {
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
}
.stats-block {
  text-align: center;
}

/* Client logo carousel sizing */
#sp-wp-carousel-free-id-439 .wpcp-slide-image img,
.wpcp-wrapper-439 .wpcp-slide-image img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.wpcp-carousel-preloader {
  display: none !important;
}
.wpcp-wrapper-439.wpcp-loaded .wpcp-carousel-section,
.wpcp-carousel-wrapper.wpcp-loaded .wpcp-carousel-section {
  opacity: 1;
}

/* Consultation CTA — match live https://ngmanpower.com screenshot */
.us_custom_b03640aa {
  padding-top: 0 !important;
  padding-bottom: 2.5rem !important;
}
.us_custom_b03640aa > .l-section-h {
  max-width: var(--site-content-width, 1280px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}
/* Reset aggressive overrides — let Impreza grid work, then tune */
.us_custom_54e80159.g-cols.via_grid {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  grid-gap: 0.75rem !important;
  align-items: stretch !important;
  border-radius: 16px !important;
  background: #0a59cc !important;
  padding: 0 1.25rem 0 2.75rem !important;
  overflow: hidden !important;
  min-height: 0 !important;
}
.us_custom_54e80159 > .wpb_column {
  min-width: 0 !important;
  width: auto !important;
}
.us_custom_54e80159 > .wpb_column:first-child {
  display: flex !important;
  align-items: center !important;
}
.us_custom_54e80159 > .wpb_column:first-child .vc_column-inner {
  width: 100%;
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
  padding-right: 1rem !important;
}
.us_custom_54e80159 .us_custom_943b4079,
.us_custom_54e80159 .us_custom_943b4079 h3,
.us_custom_54e80159 .us_custom_943b4079 strong,
.us_custom_54e80159 .us_custom_943b4079 * {
  color: #ffffff !important;
  font-size: clamp(32px, 3.2vw, 44px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  margin: 0 !important;
  white-space: normal !important;
}
.us_custom_54e80159 .us_custom_86abb748,
.us_custom_54e80159 .us_custom_86abb748 p {
  color: #ffffff !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  margin-top: 0.85rem !important;
  margin-bottom: 1.35rem !important;
  max-width: 28rem;
}
.us_custom_54e80159 .w-btn-wrapper {
  margin: 0 !important;
}
.us_custom_54e80159 .us-btn-style_3 {
  background: #ffffff !important;
  color: #0a59cc !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.7em 1.5em !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  display: inline-block !important;
  box-shadow: none !important;
}
.us_custom_54e80159 .us-btn-style_3 .w-btn-label {
  color: #0a59cc !important;
}
.us_custom_54e80159 > .wpb_column:last-child {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}
.us_custom_54e80159 > .wpb_column:last-child .vc_column-inner {
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
}
.us_custom_54e80159 .w-image,
.us_custom_54e80159 .w-image-h {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  display: block !important;
  text-align: center !important;
}
.us_custom_54e80159 .w-image img,
.us_custom_54e80159 img[src*="Group-21"] {
  width: min(100%, 480px) !important;
  max-width: 480px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: bottom center !important;
  display: block !important;
  margin: 0 auto !important;
  vertical-align: bottom !important;
}
@media (max-width: 900px) {
  .us_custom_54e80159.g-cols.via_grid {
    grid-template-columns: 1fr !important;
    padding: 2rem 1.5rem 0 !important;
    text-align: center;
  }
  .us_custom_54e80159 > .wpb_column:first-child .vc_column-inner {
    padding-top: 0.5rem !important;
    padding-bottom: 1rem !important;
    padding-right: 0 !important;
    align-items: center;
  }
  .us_custom_54e80159 .us_custom_86abb748,
  .us_custom_54e80159 .us_custom_86abb748 p {
    margin-left: auto;
    margin-right: auto;
  }
  .us_custom_54e80159 .w-image img,
  .us_custom_54e80159 img[src*="Group-21"] {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
  }
}

/* Contact form section — enlarge worker + form card */
.us_custom_0c6eec21 > .l-section-h {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.us_custom_0c6eec21 .w-image img[src*="man-constructor-contact-form"],
img[src*="man-constructor-contact-form"] {
  width: 100% !important;
  max-width: 640px !important;
  height: auto !important;
  object-fit: contain !important;
}
.us_custom_b1c9dc42 {
  margin-top: 2rem !important;
  border-radius: 16px !important;
  padding: 2rem 2.5rem !important;
  background: #ffffff !important;
  border: 8px solid #dfeeff !important;
  box-shadow: 0 10px 30px rgba(0, 74, 181, 0.06);
}
.us_custom_956984a9 {
  font-size: 36px !important;
}
.us_custom_a4ebe4e2 {
  padding: 0.75rem 0.5rem 1.25rem !important;
}
.us_custom_a4ebe4e2 .wpcf7-form input[type="submit"],
.us_custom_a4ebe4e2 input.wpcf7-submit,
.us_custom_a4ebe4e2 .wpcf7-submit {
  min-height: 52px;
  font-size: 18px !important;
}

/* Industries workers image */
.w-image img[src*="Placeholder.jpg"] {
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
}

/* Testimonials heading color (also fights p{color:#000}) */
.us_custom_6b85a8c6,
.us_custom_6b85a8c6 p {
  color: #004ab5 !important;
}
.us_custom_2416bfe9 .w-image img,
img[src*="bxs_quote-right"] {
  max-width: 120px;
  height: auto;
}

/* Hide WP Armour admin honeypot notice on public pages */
.wpa-test-msg,
.wpa-infobox,
.wpa-info {
  display: none !important;
}
