.image-text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 25px;
  column-gap: 37.5px;
  width: 100%;
  /* matches the 1em top margin a paragraph would get after the block title */
  margin-top: var(--font-s);
}

.image-text-grid-headline,
.image-text-grid-headline strong {
  font-size: var(--font-s);
}

.image-text-grid-headline {
  font-weight: var(--font-normal);
}

/* degrees after the name, e.g. "<small>(MBA)</small>"; em keeps the ratio across breakpoints */
.image-text-grid-headline small {
  font-size: calc(0.75em - 1px);
}

/* overrides the .text-snippet font size on the same element */
.image-text-grid-text,
.image-text-grid-text p,
.image-text-grid-text li {
  font-size: var(--font-xxs);
}

.image-text-grid-image {
  display: inline-block;
  max-height: var(--team-card-height);
  min-height: var(--team-card-height);
  overflow: hidden;
  width: 100%;
  border-radius: var(--card-border-radius);
  background: radial-gradient(transparent 60%, #777);
}

.image-text-grid-image > img {
  position: relative;
  z-index: -1;
  display: block;
  width: 100%;
  height: var(--team-card-height);
  object-fit: cover;
  border-radius: var(--card-border-radius);
}

@media (max-width: 1025px) {
  .image-text-grid-image {
    width: 569px;
    max-width: 569px !important;
    margin: auto;
  }

  .image-text-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
