/* LEAFORGE 365 | BUSINESS CENTRAL HIGHLIGHT CARDS | MAIN V22
   Existing V11 Services and V12 ERP six-card strips are preserved unchanged.
*/

/* =======================================================================
   MAIN V11: six compact service highlights immediately below the hero.
   Page-scoped and responsive; the previously approved hero is unchanged.
   ======================================================================= */
body.page-d365-bc-services .lf-bc-service-highlights {
  background: #ffffff;
  padding: 32px 0 36px;
  border-bottom: 1px solid #edf2f0;
}
body.page-d365-bc-services .lf-bc-service-highlights-grid {
  width: min(1720px, calc(100% - 9vw));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
body.page-d365-bc-services .lf-bc-service-highlight-card {
  box-sizing: border-box;
  min-width: 0;
  min-height: 128px;
  padding: 17px 16px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #dfebe7;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbfdfc 0%, #f5faf8 100%);
  box-shadow: 0 1px 3px rgba(12, 75, 64, .03);
}
body.page-d365-bc-services .lf-bc-service-highlight-icon {
  flex: 0 0 51px;
  width: 51px;
  height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #007567;
  background: #e9f6f1;
  border-radius: 12px;
}
body.page-d365-bc-services .lf-bc-service-highlight-icon svg {
  width: 29px;
  height: 29px;
}
body.page-d365-bc-services .lf-bc-service-highlight-copy {
  min-width: 0;
}
body.page-d365-bc-services .lf-bc-service-highlight-copy h3 {
  margin: 6px 0 6px;
  color: #17282a;
  font: 650 17px/1.2 "Segoe UI", "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: -.02em;
}
body.page-d365-bc-services .lf-bc-service-highlight-copy p {
  margin: 0;
  color: #43575a;
  font: 400 13.5px/1.48 "Segoe UI", "Open Sans", Arial, Helvetica, sans-serif;
}
body.page-d365-bc-services .lf-bc-service-highlights-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1380px) {
  body.page-d365-bc-services .lf-bc-service-highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1060px, calc(100% - 7vw));
  }
}
@media (max-width: 700px) {
  body.page-d365-bc-services .lf-bc-service-highlights {
    padding: 20px 0 24px;
  }
  body.page-d365-bc-services .lf-bc-service-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 32px);
    gap: 12px;
  }
  body.page-d365-bc-services .lf-bc-service-highlight-card {
    flex-direction: column;
    min-height: 0;
    padding: 15px;
    gap: 8px;
  }
  body.page-d365-bc-services .lf-bc-service-highlight-icon {
    flex-basis: auto;
    width: 44px;
    height: 44px;
  }
  body.page-d365-bc-services .lf-bc-service-highlight-icon svg {
    width: 25px;
    height: 25px;
  }
  body.page-d365-bc-services .lf-bc-service-highlight-copy h3 {
    margin: 0 0 5px;
    font-size: 16px;
  }
  body.page-d365-bc-services .lf-bc-service-highlight-copy p {
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  body.page-d365-bc-services .lf-bc-service-highlights-grid {
    grid-template-columns: 1fr;
  }
  body.page-d365-bc-services .lf-bc-service-highlight-card {
    flex-direction: row;
    align-items: center;
  }
}

/* =======================================================================
   MAIN V12: six compact ERP module highlights immediately below the hero.
   Page-scoped and responsive; the previously approved off-white hero design is matched.
   ======================================================================= */
body.page-dynamics-365-business-central .lf-bc-erp-highlights {
  background: #ffffff;
  padding: 32px 0 36px;
  border-bottom: 1px solid #edf2f0;
}
body.page-dynamics-365-business-central .lf-bc-erp-highlights-grid {
  width: min(1720px, calc(100% - 9vw));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
body.page-dynamics-365-business-central .lf-bc-erp-highlight-card {
  box-sizing: border-box;
  min-width: 0;
  min-height: 128px;
  padding: 17px 16px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #dfebe7;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbfdfc 0%, #f5faf8 100%);
  box-shadow: 0 1px 3px rgba(12, 75, 64, .03);
}
body.page-dynamics-365-business-central .lf-bc-erp-highlight-icon {
  flex: 0 0 51px;
  width: 51px;
  height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #007567;
  background: #e9f6f1;
  border-radius: 12px;
}
body.page-dynamics-365-business-central .lf-bc-erp-highlight-icon svg {
  width: 29px;
  height: 29px;
}
body.page-dynamics-365-business-central .lf-bc-erp-highlight-copy {
  min-width: 0;
}
body.page-dynamics-365-business-central .lf-bc-erp-highlight-copy h3 {
  margin: 6px 0 6px;
  color: #17282a;
  font: 650 17px/1.2 "Segoe UI", "Open Sans", Arial, Helvetica, sans-serif;
  letter-spacing: -.02em;
}
body.page-dynamics-365-business-central .lf-bc-erp-highlight-copy p {
  margin: 0;
  color: #43575a;
  font: 400 13.5px/1.48 "Segoe UI", "Open Sans", Arial, Helvetica, sans-serif;
}
body.page-dynamics-365-business-central .lf-bc-erp-highlights-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1380px) {
  body.page-dynamics-365-business-central .lf-bc-erp-highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(1060px, calc(100% - 7vw));
  }
}
@media (max-width: 700px) {
  body.page-dynamics-365-business-central .lf-bc-erp-highlights {
    padding: 20px 0 24px;
  }
  body.page-dynamics-365-business-central .lf-bc-erp-highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 32px);
    gap: 12px;
  }
  body.page-dynamics-365-business-central .lf-bc-erp-highlight-card {
    flex-direction: column;
    min-height: 0;
    padding: 15px;
    gap: 8px;
  }
  body.page-dynamics-365-business-central .lf-bc-erp-highlight-icon {
    flex-basis: auto;
    width: 44px;
    height: 44px;
  }
  body.page-dynamics-365-business-central .lf-bc-erp-highlight-icon svg {
    width: 25px;
    height: 25px;
  }
  body.page-dynamics-365-business-central .lf-bc-erp-highlight-copy h3 {
    margin: 0 0 5px;
    font-size: 16px;
  }
  body.page-dynamics-365-business-central .lf-bc-erp-highlight-copy p {
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  body.page-dynamics-365-business-central .lf-bc-erp-highlights-grid {
    grid-template-columns: 1fr;
  }
  body.page-dynamics-365-business-central .lf-bc-erp-highlight-card {
    flex-direction: row;
    align-items: center;
  }
}
