/* -------------------------------------------------------------------------- */
/* DROP-IN (MOBILE FIRST): Work Teams + Pain Point                             */
/* Replace your existing blocks with this.                                    */
/* file: wp-content/themes/YOUR_THEME/assets/css/style-front-page.css          */
/* -------------------------------------------------------------------------- */
.front-page-cta {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}
.front-page-cta .btn {
	border-color: var(--Primary-Director-Black, #252525);
}
.front-page-header {
  padding: 0 1.5rem;
  text-align: center;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.front-page-header .front-page-topline.nf-section {
  max-width: 14rem;
  padding: 0;
}
.front-page-header p {
  max-width: 40.25rem;
  margin: 0 auto 1rem;
}
/* =======================
   Work Teams (mobile first)
   ======================= */
.work-teams {
  padding: 3rem 1.5rem;
}
.work-teams-header {
  padding: 0;
  margin-bottom: 0;
  max-width: 49.75rem;
}
.work-teams-heading {
  margin: 0 auto 2.5rem;
}
.work-teams-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  max-width: calc((532px * 2) + (1.5rem * 1));
  margin: 0 auto;
  justify-items: center;
}
.work-teams-tile {
  position: relative;
  display: block;
  width: 100%;
  max-width: 532px;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
}
.work-teams-img {
  display: block;
  width: 100%;
  aspect-ratio: 532 / 355;
  height: auto;
  object-fit: cover;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}
.work-teams-img--placeholder {
  background: #e9e9e9;
}
.work-teams-caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--Secondary-Daylight, #F4F2EB);
}
.work-teams-title {
  color: var(--Primary-Director-Black, #252525);
  font-feature-settings: 'liga'off;
  /* Mobile/Topline */
  font: var(--Mobile-Topline);
  letter-spacing: 0.05625rem;
  text-transform: uppercase;
}
.work-teams-arrow {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.work-teams-tile:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.services-carousel {}
.service-header, .work-header, .front-page-header {
  text-align: center;
  padding: 0 1.5rem;
  max-width: 52.75rem;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.service-header h2 {}
/* Desktop adjustments */
@media (min-width: 768px) {
  .front-page-header {
    padding: 4rem 1.5rem 3rem;
  }
  .work-teams {
    padding: 6rem 1.5rem;
  }
  .front-page-header .front-page-topline.nf-section {
    max-width: none;
    padding: 0;
  }
  .work-teams-grid {
    grid-template-columns: repeat(2, minmax(0, 532px));
    justify-content: center;
    padding: 0;
  }
  .work-teams-caption {
    gap: 1rem;
    padding: 1rem 1.5rem;
  }
  .work-teams-title {
    /* Desktop/Topline */
    font: var(--Desktop-Topline);
  }
}
/* =======================
   Pain Point (mobile first)
   ======================= */
.pain-point {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
  background: var(--Tertiary-Highlight-Yellow, #E9FF8E);
}
/* Fabric SVG background + tile fills (your group classes) */
.pain-point .header-tiles {
  background: var(--Tertiary-Highlight-Yellow, #E9FF8E);
}
.pain-point .header-tiles .light_tiles path {
  fill: #e5f993;
}
.pain-point .header-tiles .dark_tiles path {
  fill: #D2E680;
}
.pain-point__fabric {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.pain-point__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.pain-point .nf-btn-wrap .btn {
  border-color: var(--Primary-Director-Black, #252525);
}
/* ✅ Base (mobile): stack items, hide dividers */
.pain-point__impact {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  row-gap: 1rem;
  margin: 2rem auto 2.5rem;
  padding: 0 1.5rem;
}
.pain-point__impact-label {
  color: #2E2E2E;
  text-align: center;
  font-feature-settings: 'liga'off;
  /* Mobile/H3 */
  font: var(--Mobile-H3);
  letter-spacing: 0.015rem;
}
.pain-point__impact-item {
  width: 100%;
  max-width: 18.125rem;
  text-align: center;
}
.pain-point__impact-text {
  color: #2E2E2E;
  text-align: center;
  font-feature-settings: 'liga'off;
  /* Desktop/P1 */
  font: var(--Desktop-P1);
}
.pain-point__impact-divider {
  width: 2.25rem;
  justify-content: center;
  align-items: center;
}
.pain-point__divider-svg {
  width: 2.25rem;
  height: auto;
}
/* Default divider styling (only applies if your icons use stroke/currentColor) */
.pain-point__divider-svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ✅ Desktop: 5 columns (item / icon / item / icon / item) */
@media (min-width: 768px) {
  .front-page-cta {
    flex-direction: row;
    gap: 0;
    align-self: center;
  }
  .front-page-cta .topline {
    margin: auto;
  }
  .pain-point {
    padding: 6rem 0 calc(6rem + 1rem); /* learn more button had extra 1rem of bottom margin */
  }
  .pain-point__inner {
    padding: 0;
  }
  .pain-point__impact {
    grid-template-columns:
      minmax(0, 18.125rem) 2.25rem minmax(0, 18.125rem) 2.25rem minmax(0, 18.125rem);
    justify-content: center;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 1.5rem;
  }
  .pain-point__impact-label {
    font-size: 1.875rem;
    line-height: 2.15625rem;
    letter-spacing: 0.01875rem;
  }
  .pain-point__impact-text {
    font-size: 1.125rem;
    line-height: 1.575rem;
  }
  .pain-point__impact-divider {
    display: flex;
  }
}
/* Flourishes */
.nf-section.front-page-topline span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-section.front-page-topline .nf-flourish--a {
  left: -3.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.nf-section.front-page-topline .nf-flourish--b {
  right: -3.75rem;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 768px) {
  .nf-section.front-page-topline .nf-flourish--a {
    left: -3.25rem;
  }
  .nf-section.front-page-topline .nf-flourish--b {
    right: -3.25rem;
  }
  .nf-section.work-teams .nf-flourish--a .nf-flourish {
    left: -4.5rem;
    top: 11rem;
  }
}