/* ============================================================
   Staffing Agency Detroit MI — Page ID TBD
   Slug: /staffing-agency-detroit/
   ============================================================ */

/* === FULL-WIDTH OVERRIDES === */
body.page-id-19449 .site-content,
body.page-id-19449 .content-area,
body.page-id-19449 .inside-article,
body.page-id-19449 .entry-content,
body.page-id-19449 article,
body.page-id-19449 .grid-container,
body.page-id-19449 #content,
body.page-id-19449 .site-main,
body.page-id-19449 #primary {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* === HIDE DEFAULT WP TITLE === */
body.page-id-19449 .entry-title,
body.page-id-19449 .entry-header {
  display: none !important;
}

/* === KILL SIDEBAR WHITE BAR === */
body.page-id-19449 #right-sidebar,
body.page-id-19449 .sidebar {
  display: none !important;
}
body.page-id-19449 {
  overflow-x: hidden !important;
}
body.page-id-19449 .site-content .content-area {
  float: none !important;
}

/* === HIDE GP FEATURED IMAGE === */
body.page-id-19449 .featured-image,
body.page-id-19449 .page-hero-image,
body.page-id-19449 .post-image {
  display: none !important;
}

/* === KILL RESIDUAL TOP SPACING === */
body.page-id-19449 .site-content,
body.page-id-19449 .site-content > .content-area,
body.page-id-19449 #primary > .inside-primary,
body.page-id-19449 .inside-article,
body.page-id-19449 .entry-header,
body.page-id-19449 article.page {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* === WPAUTOP INTERFERENCE FIX === */
body.page-id-19449 .entry-content > p:empty,
body.page-id-19449 .entry-content > br {
  display: none !important;
}
body.page-id-19449 .k-sp-split > p:not(:empty) {
  display: contents !important;
}

/* === IMAGES SCOPED TO ENTRY-CONTENT === */
body.page-id-19449 .entry-content img {
  width: 100%;
  height: auto;
  display: block;
}

/* === INTRO === */
.k-det-intro {
  max-width: 820px;
  margin: 0 auto;
}
.k-det-intro p {
  font-size: 1.05rem;
  line-height: 1.78;
  color: #58595b;
  margin-bottom: 1.25rem;
}
.k-det-intro .k-aeo-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  border-left: 4px solid #F48830;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.k-det-updated {
  font-size: 0.82rem !important;
  color: #999 !important;
  margin-top: 0.5rem !important;
}

/* === CARDS 4-COL === */
body.page-id-19449 .k-sp-cards4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
body.page-id-19449 .k-sp-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  border-top: 3px solid #F48830;
}
.k-det-card-icon {
  font-size: 1.5rem;
  font-weight: 800;
  color: #F48830;
  opacity: 0.35;
  margin-bottom: 0.75rem;
  line-height: 1;
}
body.page-id-19449 .k-sp-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #222;
}
body.page-id-19449 .k-sp-card p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: #58595b;
}

@media (max-width: 1100px) {
  body.page-id-19449 .k-sp-cards4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  body.page-id-19449 .k-sp-cards4 {
    grid-template-columns: 1fr;
  }
}

/* === SPLIT ALT (text left, image right on desktop) === */
@media (min-width: 769px) {
  .k-det-split-alt {
    grid-template-areas: "text img" !important;
  }
  .k-det-split-alt .k-sp-split-text {
    grid-area: text;
  }
  .k-det-split-alt .k-sp-split-img {
    grid-area: img;
  }
}

/* === STATS SECTION === */
.k-det-stats-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d2d 100%);
  padding: 4rem 0;
}
.k-det-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.k-det-stat-num {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: #F48830;
  line-height: 1.1;
}
.k-det-stat-label {
  display: block;
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .k-det-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}
@media (max-width: 500px) {
  .k-det-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .k-det-stat-num {
    font-size: 2.2rem;
  }
}

/* === INDUSTRIES SECTION === */
.k-det-industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
.k-det-industry-item h3 {
  font-size: 1.15rem;
  color: #222;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #F48830;
  display: inline-block;
}
.k-det-industry-item p {
  font-size: 0.97rem;
  line-height: 1.72;
  color: #58595b;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .k-det-industries {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* === FAQ === */
body.page-id-19449 .k-section > .k-inner > .k-sp-faq-item {
  margin-bottom: 0;
}
body.page-id-19449 .k-sp-faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 0;
}
body.page-id-19449 .k-sp-faq-item:last-of-type {
  border-bottom: none;
}
body.page-id-19449 .k-sp-faq-item summary {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.5;
}
body.page-id-19449 .k-sp-faq-item summary::-webkit-details-marker {
  display: none;
}
body.page-id-19449 .k-sp-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: #F48830;
  line-height: 1;
}
body.page-id-19449 .k-sp-faq-item[open] summary::after {
  content: "−";
}
body.page-id-19449 .k-sp-faq-item p {
  font-size: 0.97rem;
  line-height: 1.72;
  color: #58595b;
  padding: 0 0 1.25rem;
  margin: 0;
}

/* === CTA SECTION === */
.k-det-cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d2d 100%);
  padding: 4.5rem 0;
}
.k-det-cta {
  text-align: center;
}
