.media__card .top-section .card_image img {
  width: 100%;
}

.media__card .bottom-section .text-text-heading {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  height: 54px;
}

.media__card .bottom-section .text-text-heading a {
  line-height: 1.33;
  font-size: 24px;
  text-transform: capitalize;
  color:#2F3941;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; 
}

.media__card .bottom-section .card_text {
  overflow: hidden;
  margin-bottom: 20px;
  line-height: 24px;
}

.media__card .bottom-section .card_text p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  line-height: 1.5;
}

.media__card .bottom-section a {
  color: #295E63;
  font-size: 14px;
  line-height: 20px;
}


@media all and (max-width: 480px) {
  .views-col {
      width: 100% !important;
  }
  .views-col .media__card {
    display: block;
  }
  .views-col .media__card .top-section {
    width: 100%;
    height: auto;
  }
  .views-col .media__card .bottom-section {
    padding: 0;
  }
  .views-col .media__card .bottom-section .card_text p {
    width: 100%;
  }
}

@media all and (min-width: 640px) {
  .views-col .media__card {
    display: block;
  }
  .views-col .media__card .top-section {
    width: 100%;
    height: auto;
  }
  .views-col .media__card .bottom-section {
    padding: 0;
  }
  .views-col .media__card .bottom-section .card_text p {
    width: 100%;
  }
  .what-we-do .top-section {
    width: 100% !important;
  }
}

@media all and (min-width: 1024px) {
  .resource-listing .views-col .media__card {
    display: grid;
    grid-template-columns: auto auto;
    margin: 0;
    padding: 0;
    align-items: center;
  }
  .resource-listing .views-col .media__card .top-section {
    width: 200px;
    height: 200px;
  }
  .resource-listing .views-col .media__card .bottom-section {
    padding: 0 0 0 32px;
    white-space: normal;
    word-break: break-word;
  }
  .resource-listing .views-col .media__card .bottom-section .card_text p {
    width: 279px;
  }
  .resource-listing .media__card .card_image {
    margin-bottom: 0;
  }
}

@media all and (min-width: 1280px) {
  .resource-listing .views-col .media__card .top-section {
    width: 280px;
   height: 188px;
  }
}

.what-we-do .media__card {
  display: block !important;
  padding: 0 !important;
}

.what-we-do .top-section {
  width: 384px !important;
  height: auto !important;
}

.what-we-do .top-section .card_image img {
  max-height: 216px;
}

.what-we-do .top-section .card_image {
  margin-bottom: 0;
}

.views-element-container header {
  width: 100% !important;
}

.what-we-do .bottom-section {
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.what-we-do .bottom-section .card_title {
  margin-top: 24px !important;
}

.what-we-do .bottom-section .card_text {
  height: auto !important;
  overflow: auto !important;
}

@media all and (min-width: 640px) {
  .what-we-do .top-section {
    width: 100% !important;
  }
}
