.related.courses.module .portfolio-icons {
  object-fit: contain; 
  z-index: 20;
  position: absolute;
}

.related.module {
  background-color: var(--grey-background);
  padding: var(--100px) 0;
  text-align: center;
}
.related.module + .related.module {
  margin-top: var(---25px);
  padding-top: 0;
}
.related.module > .content {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 var(--inset);
}
.related.module > .content > .heading {
  color: var(--orange);
  font-size: var(--24px);
  line-height: var(--26px);
  margin: 0 0 var(--30px);
  text-align: left;
}
.related.module > .content > .list {
  display: flex;
  margin-bottom: var(---35px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--35px);
  scroll-snap-type: x mandatory;
  text-align: left;
}
.related.module > .content.has-button > .list {
  margin-bottom: -17.var(--5px);
  padding-bottom: 17.var(--5px);
}
.related.module > .content > .list > li {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  margin-left: var(--35px);
  flex-basis: calc(33.333% - (var(--35px) - (var(--35px) / 3)));
  flex-shrink: 0;
  scroll-snap-align: start;
}
.related.module > .content > .list > li:first-child {
  margin-left: 0;
}
.related.module .button {
  border: var(--1px) solid var(--grey-placeholder);
  color: var(--grey);
  display: flex;
  margin: var(--35px) auto 0;
  max-width: calc(33.333% - (var(--35px) - (var(--35px) / 3)));
}
.related.module .button:hover,
.related.module .button:focus {
  border-color: var(--orange-dark);
  color: var(--orange-dark);
}

.related.module .course {
  padding: var(--inset);
}
.related.module .course .portfolio-stream {
  margin-left: var(--outset);
  margin-top: var(--outset);
}
.related.module .course .heading {
  font-size: var(--26px);
  line-height: var(--30px);
}
.related.module .course .heading a {
  color: var(--grey);
}
.related.module .course .heading a:hover,
.related.module .course .heading a:focus {
  color: var(--orange-dark);
}
.related.module .course .heading sup {
  font-size: 0.75em;
  line-height: 1.1em;
  vertical-align: top;
}
.related.module .course .details {
  margin-top: auto;
}
.related.module .course .details .key {
  display: block;
  font-size: var(--14px);
  font-weight: var(--semibold);
  line-height: var(--19px);
  text-transform: uppercase;
}
.related.module .course .details .val {
  font-size: var(--26px);
  font-weight: var(--light);
  line-height: var(--36px);
}
.related.module .course .details em.val {
  color: var(--orange);
  font-style: normal;
}

.related.module .post {
  border-top: var(--8px) solid var(--orange);
  padding: var(--50px) var(--25px);
}
.related.module .post .heading {
  font-size: var(--36px);
  font-weight: var(--regular);
  line-height: var(--40px);
  margin: 0;
  text-transform: none;
}
.related.module .post .heading a {
  color: var(--grey);
}
.related.module .post .heading a:hover,
.related.module .post .heading a:focus {
  color: var(--orange-dark);
}
.related.module .post p {
  font-size: var(--20px);
  font-weight: var(--light);
  line-height: var(--27px);
  margin: var(--25px) 0;
}
.related.module .post .more.link {
  align-self: start;
  color: var(--grey);
  font-size: var(--18px);
  font-weight: var(--semibold);
  line-height: var(--28px);
  margin-top: auto;
}
.related.module .post .more.link::after {
  background-color: var(--orange);
  height: var(--16px);
  left: var(--8px);
  position: relative;
  top: var(--2px);
}
.related.module .post .more.link:hover,
.related.module .post .more.link:focus {
  color: var(--orange-dark);
}
.related.module .post .more.link:hover::after,
.related.module .post .more.link:focus::after {
  background-color: var(--orange-dark);
}

@media (max-width: calc(960px * 0.8)) {
  .related.module {
    padding: var(--50px) 0;
  }
  .related.module + .related.module {
    margin-top: 0;
    padding-top: var(--25px);
  }
  .related.module > .content > .list > li {
    flex-basis: calc(50% - (var(--35px) - (var(--35px) / 2)));
  }
  .related.module .button {
    max-width: calc(50% - (var(--35px) - (var(--35px) / 2)));
  }
  .related.courses.module .portfolio-icons {
    position: inherit;
    margin-bottom: -35rem;
  }
}
@media (max-width: calc(640px * 0.8)) {
  .related.module > .content > .heading {
    max-width: var(--290px);
  }
  .related.module > .content > .list > li {
    flex-basis: 100%;
  }
  .related.module .button {
    max-width: 100%;
  }
  .related.courses.module .portfolio-icons {
    position: inherit;
    margin-bottom: -35rem;
  }
}
