/* =========================================
   Alumni Chart Block
   ========================================= */

.alumni-chart {
  width: 100%;
  padding: 80px 0;
}

.alumni-chart__inner {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

/* Header */
.alumni-chart__header {
  margin-bottom: 18px;
}

.alumni-chart__section-title {
  margin: 0 0 10px;
  font-weight: 900;
  color: #000;
}

.alumni-chart__section-copy {
  line-height: 32px;
}

.alumni-chart__section-copy a {
  color: #52287E;
  font-weight: 700;
}

/* Chart title (e.g. "We will provide:") */
.alumni-chart__chart-title {
  margin: 40px 0 20px;
  font-weight: 900;
  color: #000;
}

/* Grid wrapper (the big rounded chart box) */
.alumni-chart__grid{
  border: 3px solid #52287E;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  display: flex;
  width: 100%;
}

/* Each column */
.alumni-chart__item{
  flex: 1 1 0;          /* ✅ key: equal distribution */
  min-width: 0;         /* ✅ allow text to wrap instead of widening column */
  padding: 26px 22px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.alumni-chart__copy{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* alternating column background stripes */
.alumni-chart__item:nth-child(odd) {
  background: #F3F0F8;
}
.alumni-chart__item:nth-child(even) {
  background: #FFFFFF;
}

/* vertical separators between columns */
.alumni-chart__item + .alumni-chart__item {
  border-left: 1px solid rgba(82, 40, 126, 0.25);
}

/* Icon */
.alumni-chart__icon img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

/* WYSIWYG copy inside each column */
.alumni-chart__copy {
  color: #000;
}

/* Make bold text stand out like your screenshot */
.alumni-chart__copy strong {
  font-weight: 800;
}

/* Reduce default WYSIWYG margins */
.alumni-chart__copy > *:first-child {
  margin-top: 0;
}
.alumni-chart__copy > *:last-child {
  margin-bottom: 0;
}
.alumni-chart__copy p {
  margin: 0 0 10px;
}

/* Placeholder (editor only) */
.alumni-chart__placeholder {
  padding: 12px 14px;
  border: 1px dashed rgba(82, 40, 126, 0.5);
  border-radius: 10px;
  color: #52287E;
  background: rgba(82, 40, 126, 0.06);
}

/* =========================================
   Responsive
   ========================================= */

/* 7 columns -> 3 columns */
@media (max-width: 1100px) {

  /* remove old borders & re-apply per row */
  .alumni-chart__item + .alumni-chart__item {
    border-left: none;
  }
  .alumni-chart__item {
    border-left: 1px solid rgba(82, 40, 126, 0.25);
    border-top: 1px solid rgba(82, 40, 126, 0.25);
  }
  .alumni-chart__item:nth-child(1),
  .alumni-chart__item:nth-child(2),
  .alumni-chart__item:nth-child(3) {
    border-top: none;
  }
  .alumni-chart__item:nth-child(3n + 1) {
    border-left: none;
  }
}

@media (max-width: 990px) {
  .alumni-chart {
    padding: 40px  0;
  }
   .alumni-chart__grid {
    flex-wrap: wrap;
    flex-direction: column;
  }
}


/* 3 columns -> 2 columns */
@media (max-width: 780px) {
  .alumni-chart {
    padding: 0;
  }
  .alumni-chart__inner {
    padding: 30px 0;
  }

  .alumni-chart__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 22px;
  }

  .alumni-chart__item:nth-child(1),
  .alumni-chart__item:nth-child(2) {
    border-top: none;
  }
  .alumni-chart__item:nth-child(2n + 1) {
    border-left: none;
  }
}

/* 2 columns -> 1 column */
@media (max-width: 520px) {
  .alumni-chart__grid {
    grid-template-columns: 1fr;
  }

  .alumni-chart__item {
    border-left: none !important;
  }

  .alumni-chart__item:nth-child(1) {
    border-top: none;
  }
}
