/* The KSL Advantage - Six Reasons Investors Stay - Figma node 2350:11122 */

.ecm-advantage {
  background: var(--grey-pure-white);
  padding: 64px 0;
}

.ecm-advantage__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.ecm-advantage__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  max-width: 846px;
}

.ecm-advantage__title {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--grey-pure-black);
}

.ecm-advantage__tagline {
  font-size: 16px;
  font-style: italic;
  line-height: 1.4;
  color: var(--grey-off-black);
}

.ecm-advantage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 44.5px;
  width: 100%;
}

.ecm-advantage__card {
  background: var(--blue-tint-04);
  border-radius: 24px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ecm-advantage__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.ecm-advantage__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecm-advantage__icon img {
  max-width: 28px;
  max-height: 28px;
}

.ecm-advantage__card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.27;
  color: var(--grey-pure-black);
  margin-top: 18px;
}

.ecm-advantage__card-desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-off-black);
  margin-top: 8px;
}

@media (max-width: 1023px) {
  .ecm-advantage__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .ecm-advantage {
    padding: 48px 0;
  }

  .ecm-advantage__title {
    font-size: 24px;
  }

  .ecm-advantage__grid {
    grid-template-columns: 1fr;
  }
}
