.blog-grid {
  font-family: var(--primary_font_bold);
  flex-direction: column;
  margin-top: 3em;
}

.blog-grid__wrapper {
  display: flex;
  flex-direction: column;
}

.blog-grid__image {
  height: 300px;
}

.blog-grid__details {
  display: flex;
  flex-direction: row;
  padding: 1em;
}

.blog-grid__content {
  display: grid;
  height: 300px;
  grid-template: 40px minmax(0,1fr) 30px / 70px minmax(0,1fr) 70px;
}

.blog-grid__title {
  font-size: 0.8em;
  font-weight: normal;
  ;
  margin-bottom: 10px;
}

.blog-grid__description {
/*   font-size: 1.7em; */
  font-weight: bold;
  margin-bottom: 40px;
}

.blog-grid__cta {
   !important;
  text-decoration: none !important;
  font-weight: bold !important;
  letter-spacing: -0.37px;
  line-height: 20px;
  border-bottom-width: 3px;
  border-bottom-style: solid;
  margin-top: 20px;
  position: absolute;
  bottom: 0;

}

.blog-grid__theme-icon {
  -webkit-box-pack: center;
    display: flex;
    grid-area: 2 / 1 / span 1 / span 1;
    justify-content: center;

}

.blog-grid__icon {
  height: 24px;
}

.blog-grid__text {
  grid-area: 2 / 2 / span 1 / span 1;
  position: relative;
}

.blog-grid__team-course-details {
  width: 100%;
  position: absolute;
  bottom: 0;
  display: flex;
}

.blog-grid__team-course-details > p {
  font-size: 12.5px;
  font-weight: bold;
  border-top-color: white;
  line-height: 16px;
  border-top-width: 4px;
  border-top-style: solid;
  padding-top: 4px;
  font-family: agStandardBold,sans-serif;
  margin-right: 20px;
  white-space: nowrap;
}

.colored-border {
    border-top-color: black !important;
}

@media only screen and (min-width: 1025px) {
  .blog-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .blog-grid__wrapper { 
    width: 33.33%;
  }
  
  .blog-grid__team-course-details > p {
     font-size: 14.5px;
     margin-right: 30px;
  }
}

@media only screen and (min-width: 768px) {
  .blog-grid__team-course-details > p {
     font-size: 14.5px;
     margin-right: 30px;
  }
}