/* Industrial Staffing: match the existing centered-heading, image/text pattern. */
.industrial-staffing-content { margin: 64px 0; }
.industrial-staffing-section + .industrial-staffing-section { margin-top: 72px; }
.dependent-laborers-sec .industrial-staffing-section .cmn-head { max-width: 900px; }
.industrial-staffing-section-row { align-items: flex-start; --bs-gutter-y: 24px; }
.industrial-staffing-section-image img { display: block; width: 100%; height: auto; border-radius: 10px; }
.industrial-staffing-section-body p { margin: 0 0 18px; }
.industrial-staffing-section-body p:last-child { margin-bottom: 0; }
.industrial-staffing-section-body ul { list-style: disc; padding-left: 22px; margin: 18px 0; columns: 2; column-gap: 24px; }
.industrial-staffing-section-body li { margin-bottom: 8px; break-inside: avoid; }
.industrial-staffing-section-cta { margin-top: 24px; }
.industrial-staffing-no-image .industrial-staffing-section-text { max-width: none; padding-left: 0; }
@media (max-width: 991px) {
  .industrial-staffing-section-text { padding-left: 0; }
}
@media (max-width: 767px) {
  .industrial-staffing-content { margin: 40px 0; }
  .industrial-staffing-section + .industrial-staffing-section { margin-top: 48px; }
  .industrial-staffing-section-text { max-width: none; padding-top: 0; }
}
@media (max-width: 575px) {
  .industrial-staffing-section-body ul { columns: 1; }
}

/* Allow the requested H1 to fit while retaining the original banner treatment. */
.page-id-2399 .inner-banner-cont h1 {
  width: fit-content;
  max-width: min(680px, 100%);
}

/* Keep all images in the independent left column, like General Laborers. */
.page-id-2399 .dependent-laborers-img { margin-bottom: 50px; }
.page-id-2399 .industrial-staffing-text-sections { margin: 64px 0; }
@media (max-width: 767px) {
  .page-id-2399 .industrial-staffing-text-sections { margin: 40px 0; }
}

/* Match General Laborers' 15px text flow without the added section gaps. */
.page-id-2399 .industrial-staffing-text-sections { margin: 0; }
.page-id-2399 .industrial-staffing-text-sections .industrial-staffing-section + .industrial-staffing-section { margin-top: 0; }
.page-id-2399 .industrial-staffing-section-text { padding-top: 15px; }
.page-id-2399 .industrial-staffing-section-body p { margin: 0 0 15px; }
.page-id-2399 .industrial-staffing-section-body p:last-child { margin-bottom: 0; }
.page-id-2399 .industrial-staffing-section-cta { margin-top: 15px; }

/* Restore the theme section gap above FAQs despite the global zero-padding rule. */
.page-id-2399 .faq-content.cmn-gap { padding-top: 80px !important; }
@media (max-width: 991px) {
  .page-id-2399 .faq-content.cmn-gap { padding-top: 50px !important; }
}

/* Mobile: read the content and FAQs before the stacked photo gallery. */
.page-id-2399 .industrial-staffing-mobile-gallery { display: none; }
@media (max-width: 767px) {
  .page-id-2399 .industrial-staffing-desktop-gallery { display: none; }
  .page-id-2399 .industrial-staffing-mobile-gallery { display: block; }
  .page-id-2399 .industrial-staffing-mobile-gallery .dependent-laborers-img:last-child { margin-bottom: 0; }
}
