.keep-people {
  position: relative;
  isolation: isolate;
  padding: 48px 24px;
}

.keep-people::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--color-light-green);
  z-index: -1;
}

.keep-people::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100%;
  opacity: 0.3;
  background: repeating-linear-gradient( to bottom, var(--color-forest-green) 0 12px, transparent 12px 24px );
}

/* Header */

.keep-people__header {
  margin-bottom: 62px;
}

.keep-people__title {
  margin: 0 0 24px;
  font-size: 40px;
  font-weight: 600;
  line-height: 130%;
  color: var(--color-black);

  span {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
    text-decoration-color: var(--color-forest-green);
  }

  p:last-of-type {
    margin-bottom: 0;
  }
}

.keep-people__description {
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0%;

  color: var(--color-neutral-700);

  p:last-of-type {
    margin-bottom: 0;
  }
}

/* Develop */

.keep-people__intro {
  margin-bottom: 20px;
}

.keep-people__subtitle {
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;

  color: var(--color-neutral-700);

  p:last-of-type {
    margin-bottom: 0;
  }
}

.keep-people__subdescription {
  font-size: 16px;
  line-height: 154%;
  font-weight: 600;
  color: var(--color-neutral-600);

  margin-bottom: 20px;

  p:last-of-type {
    margin-bottom: 0;
  }
}

/* Main grid */

.keep-people__grid {
  display: grid;
  grid-template-columns: minmax(0, 652px) minmax(0, 612px);
  /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
  gap: 32px;
  align-items: stretch;
}

/* Platform */

.keep-people__platform {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 20px;
  background: var(--color-white-main);
  border-radius: 4px;
}

.keep-people__platform-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 130%;
}

.keep-people__platform-image {
  flex: 1;
  min-height: 0;
  border-radius: 4px;
  background-color: var(--color-white-secondary);
  padding: 20px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.keep-people__platform-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Right cards */

.keep-people__cards > .field__items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.keep-people__cards > .field__items > .field__item {
  flex: 1;
  min-height: 0;
}

.keep-people-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 20px;
  background: var(--color-white-main);
  border-radius: 4px;
}

.keep-people-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.keep-people-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
}

.keep-people-card__label {
  font-size: 18px;
  font-weight: 700;
  line-height: 132%;
  text-transform: uppercase;
  color: var(--color-neutral-500);
}

.keep-people-card__description {
  font-size: 16px;
  font-weight: 600;
  line-height: 154%;
  color: var(--color-neutral-700);

  p:last-of-type {
    margin-bottom: 0;
  }
}

/* CTA */

.keep-people__footer {
  margin-top: 48px;
}

/* Tablet */

@media (max-width: 991.98px) {
  .keep-people__grid {
    gap: 20px;
  }

  .keep-people__platform,
  .keep-people-card {
    padding: 16px;
  }

  .keep-people-card__header {
    flex-wrap: wrap;
  }
}

/* Mobile */

@media (max-width: 767.98px) {
  .keep-people {
    padding: 40px 1rem;
  }

  .keep-people__header {
    margin-bottom: 40px;
  }

  .keep-people__title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .keep-people__description {
    font-size: 16px;
  }

  .keep-people__intro {
    margin-bottom: 24px;
  }

  .keep-people__subtitle {
    font-size: 22px;
  }

  .keep-people__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .keep-people__platform {
    padding: 16px;
  }

  .keep-people__platform-title {
    font-size: 22px;
  }

  .keep-people__platform-image img {
    height: auto;
  }

  .keep-people__cards > .field__items {
    gap: 16px;
  }

  .keep-people-card {
    padding: 16px;
    gap: 16px;
  }

  .keep-people-card__title {
    font-size: 22px;
  }

  .keep-people-card__label {
    font-size: 14px;
  }

  .keep-people-card__description {
    font-size: 14px;
  }

  .keep-people__footer {
    margin-top: 32px;
  }
}


/* ORGANISATIONS PAGE */
.keep-people_org::before {
  background: var(--color-white-secondary);
}

.keep-people_org::after {
  background: repeating-linear-gradient( to bottom, var(--color-indigo) 0 12px, transparent 12px 24px );
}

.keep-people__title_org span {
  text-decoration-color: var(--color-information);
}