/**** ICON GRID START ****/
.ig-header {
  margin-bottom: 2rem;
}

.ig-header h2 {
  margin-bottom: 1rem;
}

.ig-header p {
  font-size: clamp(1.33rem, 2vw, 1.55rem);
  font-size: var(--ts-h4);
  line-height: clamp(1.2, 1.3, 1.4);
  line-height: var(--lh-h4);
  color: #9c3587;
  color: var(--purple-brite);
}

.ig-icon {
  max-width: 6rem;
  width: 100%;
  height: 100%;
}

.ig-icon img {
  width: 100%;
  max-width: 100%;
}

.ig-list {
  display: grid;
  grid-template-columns: 100%;
  grid-gap: 4.5rem;
  gap: 4.05rem;
  align-items: start;
}

.ig-item-title {
  font-size: 1.1rem;
  line-height: clamp(1.2, 1.15, 1.1);
  line-height: var(--lh-h3);
  color: #653780;
  color: var(--purple-base);
}

.ig-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ig-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ig-item-cause .ig-cause {
  max-width: 100%;
  display: block;
}

.two-col .ig-icon{
  max-width: 8rem;
}
.two-col .ig-item-title {
  font-size: var(--ts-h4);
}

.ig-item-cause .ig-cause strong {
  color: #653780;
  color: var(--purple-base);
  font-style: italic;
  display: block;
}

.three-col .ig-header,
.four-col .ig-header {
  text-align: center;
  margin-bottom: 4rem;
}

.three-col .ig-list,
.four-col .ig-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
}

.three-col .ig-item,
.four-col .ig-item {
  align-items: center;
  flex: 0 1 100%;
  text-align: center;
}

.four-col .ig-item {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.three-col .ig-cause,
.four-col .ig-cause {
  display: none;
}

.four-col .ig-icon {
  max-width: 100%;
  width: 60%;
  position: relative;
}

.four-col .ig-icon::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.four-col .ig-icon > img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.four-col .ig-icon > .lottie {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: scale(1.3);
}

.icon-grid {
  padding-bottom: 1.5rem;
}

.icon-grid[class*="bg-"] .ig-header p,
.icon-grid[class*="bg-"] .ig-header .ig-title,
.icon-grid[class*="bg-"] .ig-item-title,
.icon-grid[class*="bg-"] .ig-cause strong {
  color: white;
}

.icon-grid[class*="bg-"] .ig-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}
.icon-grid[class*="bg-"] .ig-header p {
  max-width: 54rem;
  font-size: var(--ts-large);
  line-height: 1.5;
}

.icon-grid[class*="bg-"] .ig-header .ig-title {
  margin-bottom: 2rem;
}

.icon-grid[class*="bg-"] .ig-wrap {
  padding: 1.22rem;
  padding: var(--border-margin);
}

.ig-closing {
  text-align: center;
  color: white;
  margin: 4rem 0 1rem;
}

@media only screen and (min-width: 576px) {
  .three-col .ig-item {
    align-items: center;
    flex: 0 1 29%;
  }
  .four-col .ig-list {
    gap: 2rem;
  }
  .four-col .ig-item {
    align-items: center;
    flex: 0 1 45%;
  }
  .four-col .ig-icon {
    width: 80%;
  }
}

@media only screen and (min-width: 768px) {
  .ig-list {
    grid-template-columns: repeat(2, auto);
    justify-content: space-between;
  }
  .ig-item-cause .ig-cause {
    max-width: 445px;
  }
}

@media only screen and (min-width: 992px) {
  .icon-grid[class*="bg-"] .ig-wrap {
    padding: 3rem;
  }
  .three-col .ig-item {
    flex: 0 1 24%;
  }
  .four-col .ig-list {
    gap: 2.1rem;
  }
  .four-col .ig-item {
    align-items: center;
    flex: 0 1 20%;
  }
  .four-col .ig-icon {
    width: 75%;
  }
}

@media only screen and (min-width: 1500px) {
  .ig-list {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
  }
}
