[data-component-id="intervarsity_base_9:pathway_card"] {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  @media (min-width: 768px) {
    grid-template-columns: repeat(8, 1fr);
  }
  @media (min-width: 992px) {
    height: 100%;
  }
  @media (min-width: 1200px) {
    grid-template-columns: repeat(12, 1fr);
  }

  h4 {
    color: var(--text-primary-900, #1A1A1A);
    font-size: var(--headings-h4, 16px);
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    margin-bottom: 16px;
    font-family: Avenir, sans-serif;
  }

  .pathway-card-subtitle {
    margin-top: 0;
    margin-bottom: 32px;
  }

  .pathway-card-subtitle p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    margin-bottom: 0;
    color: #4D4D4D;
    font-family: Avenir, sans-serif;
  }

  .pathway-image {
    min-height: 300px;
    /* flex: 1; */
    border-radius: 16px;
    width: 100%;  
    height: 100%;  
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    @media (min-width: 992px) {
      min-height: inherit;
      flex: 1;
    }
  }
  
  .pathway-column {
    display: flex;
    flex-direction: column;
    grid-column: span 4;
    @media (min-width: 768px) {
      grid-column: span 8;
    }
    @media (min-width: 992px) {
      grid-column: span 4;
    }
    @media (min-width: 1200px) {
      grid-column: span 6;
    }
  }

  .pathw-main-button {
    margin-top: 24px;
    margin-bottom: 32px;
  }

  [data-component-id="intervarsity_base_9:basic_heading_body_buttons"] {
    margin-bottom: 32px;
  }

    /* begin css for the little title cards */

  .pathw-randomized-titles {
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    @media (min-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .pathw-randomized-titles .pathw-title-card {
    height: 48px;  
    display: flex;
    text-decoration: none;
  }

  .pathw-randomized-titles .pathw-title-card .button-text-link {
    display: flex;
    padding-left: 4px;
  }

  .pathw-resource-card {
    align-self: stretch;
    padding: 4px 8px 4px 4px;
    background: white;
    border-radius: 8px;
    outline: 1px solid #E5E5E5;
    outline-offset: -1px;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .pathw-resource-image-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .pathw-resource-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 0.33px rgba(17, 24, 39, 0.1) inset;
  }

  .pathw-resource-title {
    flex: 1 1 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #1A1A1A;
    font-size: 14px;
    font-family: Avenir, sans-serif;
    font-weight: 800;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  /* end css for the little title cards */


  /* begin css for author avatar group */

  .pathw-randomized-author-images {
    height: 48px;
  }

  .pathw-avatar-group {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center; /* center looks nicer with overlap */
  }

  .pathw-avatar {
    width: 48px;
    height: 48px;
    background: #d9d9d9;
    border-radius: 50%;
    border: 2px solid white;
  }

  .pathw-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;

  }

  .pathw-avatar:not(:first-child) {
    margin-left: -16px;
  }
  /* end css for author avatar group */
  
}
