#related-profiles-container{
    display:flex;
    align-items:stretch;
    align-content:stretch;
    margin-bottom:50px;
}
.related-profile-details-container{
    padding:20px;
    flex:1;
}
.related-profile{
    background-color:#F7F7F7;
}
.related-profile-name{
    font-size:24px;
    line-height: 36px;
    margin-bottom:12px;
}
.related-profile-degree{
    font-size:16px;
    line-height: 20px;
    letter-spacing: 1.23px;
    font-weight:600;
    color:#464646;
    margin-bottom:20px;
}
.related-profile-heading{
    font-size:12px;
    line-height: 20px;
    letter-spacing: 0.8px;
    color:#808080;
    margin-bottom:5px;
    font-weight:600;
}
.related-profile-details{
    font-size:18px;
    line-height: 28px;
    margin-bottom:20px;
    color:black;
}
.related-profile img{
    height:378px;
    object-fit: cover;
}
.related-profile:hover img{
    opacity:0.8;
}

.related-profile:hover .related-profile-name{
    text-decoration: underline;
}
.related-profile a:hover, .related-profile a:visited, .related-profile a:link, .related-profile a:active {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.featured-alumni-profile-title-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom:25px;
}
.featured-alumni-profile-title-wrapper h2{
    margin-bottom:0px;
}
.featured-alumni-profile-title-wrapper a {
    text-decoration: none;
}
.view-all-profiles-link{
    color:#808080;
    font-size:14px;
    line-height:20px;
    font-weight:600;
    display: inline-flex;
    align-items: center;
    padding-bottom:6px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.view-all-profiles-link i {
    padding-left:10px;
}
.view-all-profiles-link:hover span {
    text-decoration: underline;
}



@media screen and (max-width: 1200px) and (min-width: 979px) {
    .related-profile img{
        height:308px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .related-profile:nth-child(4) {
        display:none !important;
    }
    .related-profile:nth-child(1) {
        margin-left:0px !important;
    }
    .related-profile {
        width:31.491712707182323% !important;
    }

    .related-profile img{
        height:calc(((100vw - 40px) - ((100vw - 40px) * 0.0552) ) / 3 / (5/7));
        width:100%;
    }
    .related-profile-name{
        font-size:21px;
        line-height: 32px;
    }
    .related-profile-degree{
        font-size:14px;
    }
    .related-profile-details{
        font-size:16px;
        line-height: 25px;
    }
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

    .related-profile:nth-child(4), .related-profile img{
        display:none !important;
    }
    .related-profile-name{
        font-size:18px;
        line-height: 28px;
    }
    .related-profile-details{
        font-size:15px;
        line-height: 24px;
    }
    #related-profiles-container{
        flex-direction:column;
    }
    .related-profile{
        margin-bottom:15px;
    }
}