/* MS Project Features block. Mirrors the static MS Project landing section 04. */
.ms-project-features-section__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.ms-project-features-section__inner > .acf-innerblocks-container,
.editor-styles-wrapper .ms-project-features-section__inner > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: contents;
}

.ms-project-features-section__title {
  text-align: center;
  margin: 0 0 80px;
}

.ms-project-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.ms-project-feature-card {
  background: #F5F6FD;
  border-radius: 12px;
  padding: 44px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}

.ms-project-feature-card__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ms-project-feature-card__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: #202060;
  margin: 0;
}

.ms-project-feature-card__body {
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #202060;
  margin: 0;
}

.ms-project-feature-card__image,
figure.ms-project-feature-card__image {
  width: calc(100% + 88px);
  max-width: none;
  margin: 0 -44px -44px;
  display: block;
}

.ms-project-feature-card__image img,
figure.ms-project-feature-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .ms-project-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .ms-project-features-grid {
    grid-template-columns: 1fr;
  }

  .ms-project-feature-card {
    padding: 24px;
  }

  .ms-project-feature-card__image,
  figure.ms-project-feature-card__image {
    width: calc(100% + 48px);
    margin: 0 -24px -24px;
  }
}
