.three-support {
  padding: 48px 24px;
  position: relative;
}

.three-support::before {
  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-indigo) 0 12px, transparent 12px 24px );
}

/* Header */

.three-support__header {
  margin-bottom: 62px;
}

.three-support__title {
  margin: 0 0 24px;
  font-size: 40px;
  font-weight: 600;
  line-height: 130%;

  color: var(--color-black);

  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  text-decoration-color: var(--color-information);

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

.three-support__description {
  font-size: 18px;
  line-height: 140%;
  color: var(--color-neutral-700);

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

/* Content */

.three-support__subtitle {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
  color: var(--color-neutral-700);
  font-weight: 600;

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

.three-support__grid {
  display: grid;
  grid-template-columns: minmax(0, 593px) minmax(0, 552px);
  justify-content: space-between;
  gap: 80px;
  align-items: stretch;
}

/* Main card */

.three-support__main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 4px;
  background: var(--color-white-main);
}

.three-support__card-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;

  color: var(--color-black);
}

.three-support__card-description {
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  color: var(--color-neutral-700);

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

.three-support__image {
  margin-top: auto;
}

.three-support__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;

  background: var(--color-white-secondary);
}

/* Right cards */

.three-support__cards {
  position: relative;
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

/* .three-support__cards > .field__items > .field__item {
  flex: 1 1 0;
  min-height: 0;
} */

.three-support-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* height: 100%; */
  padding: 20px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 4px;
  background: var(--color-white-main);
}

.three-support-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 130%;

  color: var(--color-black);

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

.three-support-card__description {
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;

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

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

/* Connecting lines */

.three-support__main::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 102px;
  border-top: 1.34px dashed var(--color-neutral-400);
}

.three-support__cards::before {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 25%;
  left: -52px;
  border-left: 1.34px dashed var(--color-neutral-400);
}

.three-support-card::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 52px;
  border-top: 1.34px dashed var(--color-neutral-400);
}

.three-support-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--color-information);
  transform: translateY(-50%) rotate(45deg);
}

/* Tablet */

@media (max-width: 1199.98px) {
  .three-support__grid {
    gap: 48px;
  }

  .three-support__main::after {
    width: 48px;
  }

  .three-support__cards::before {
    left: -24px;
  }

  .three-support-card::before {
    width: 24px;
  }
}

/* Mobile */

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

  .three-support__header {
    margin-bottom: 40px;
  }

  .three-support__title {
    font-size: 32px;
  }

  .three-support__description {
    font-size: 16px;
  }

  .three-support__subtitle {
    font-size: 20px;
  }

  .three-support__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .three-support__main,
  .three-support-card {
    padding: 16px;
  }

  .three-support__card-title,
  .three-support-card__title {
    font-size: 22px;
  }

  .three-support__cards > .field__items {
    gap: 16px;
  }

  .three-support__cards > .field__items > .field__item {
    flex: auto;
  }

  .three-support__main::after,
  .three-support__cards::before,
  .three-support-card::before,
  .three-support-card::after {
    display: none;
  }
}