.resources-grid{
    padding:80px 0 30px;
}

.resources-grid-header{
    display:flex;
    align-items: center;
    margin-bottom:31px;
}

    .resources-grid-header *{
        flex:0 0 50%;
        margin:0;
    }

    .resources-grid-header span{
        text-align: end;
    }

        .resources-grid-header span a{
            color:#2D30C6;
            font-size:17px;
            line-height:23px;
            text-decoration:none;
            border-bottom:1px solid #2D30C6;
        }

.resources-grid-content{
    display:flex;
    flex-wrap: nowrap;
    column-gap:26px;
    justify-content: flex-start;
}

.resource-type{
    font-family: 'Figtree',sans-serif;
    display:block;
    font-size:14px;
    line-height:17px;
    font-weight:500;
    text-transform: uppercase;
    margin-bottom:9px;
}

    .resources-grid-content > div{
    }

        .resources-grid-content-featured{
            flex:45%;
            box-shadow: 0 10px 28px 0 rgba(0,0,0,0.1);
            position:relative;
            border-radius:8px;
            overflow:hidden;
            padding-bottom:20px;
            transition: all 0.5s;
            transform: translateY(0px);
        }

            .resources-grid-content-featured:hover{
                transform: translateY(-6px);
            }

            .resources-grid-content-featured figure{
                margin-bottom:32px;
                max-height: 328px;
                overflow:hidden;
            }

                .resources-grid-content-featured figure img{
                    object-fit: cover;
                    width:100%;
                    height:328px;
                }

            .resources-grid-content-featured span{
                margin:0 30px 9px;
            }

            .resources-grid-content-featured h3{
                margin:0 30px 15px;
                font-size:26px;
                line-height:32px;
                /*max-width:300px;*/
            }

                .resources-grid-content-featured h3 a{
                    text-decoration:none;
                    color:inherit;
                }

            .resources-grid-content-featured p{
                max-width:440px;
                margin:0 30px;
                line-height:27px;
            }

        .resources-grid-content-other{
            flex:57%;
        }

        .resources-grid-content-other ul{
            list-style-type:none;
            padding:0;
            margin:0;
            display:flex;
            flex-wrap:wrap;
            row-gap:21px;
        }

            .resources-grid-content-other ul li{
                flex:0 0 100%;
                box-shadow: 0 10px 28px 0 rgba(0,0,0,0.1);
                font-size:26px;
                line-height:32px;
                font-weight:700;
                border-radius:8px;
                display:flex;
                flex-wrap: nowrap;
                column-gap:27px;
                height:185px;
                align-items: center;
                position:relative;
                overflow: hidden;
                font-family: 'Figtree',sans-serif;
                transition: all 0.5s;
                transform: translateY(0px);
            }

                .resources-grid-content-other ul li:hover{
                    transform: translateY(-6px);
                }

                .resources-grid-content-other ul li figure{
                    flex:22.5%;
                    height:100%;
                }

                    .resources-grid-content-other ul li figure a{
                        height:100%;
                        padding:0;
                    }

                    .resources-grid-content-other ul li figure img{
                        object-fit:cover;
                        width:100%;
                        height:100%;
                    }

                .resources-grid-content ul li a{
                    flex: 60%;
                    color:inherit;
                    text-decoration:none;
                    padding-right:30px;
                    overflow: hidden;
                    display: -webkit-box;
                    -webkit-line-clamp: 4; /* number of lines to show */
                            line-clamp: 4; 
                    -webkit-box-orient: vertical;
                }

@media only screen and (max-width: 768px) {
    .resources-grid{
        padding-bottom:0;
    }

    .resources-grid-content{
        display:block;
    }

    .resources-grid-content-featured{
        margin-bottom:10px;
    }

    .resources-grid-content-featured h3 a{
        font-size:20px;
        line-height:28px;
    }

    .resources-grid-content-other ul{
        row-gap:10px;
    }

        .resources-grid-content-other ul li{
            height:92px;
        }

            .resources-grid-content ul li a{
                font-size:14px;
                line-height:18px;
                padding-right:20px;
                overflow: hidden;
                display: -webkit-box;
                -webkit-line-clamp: 3; /* number of lines to show */
                        line-clamp: 3; 
                -webkit-box-orient: vertical;
            }

            .resource-type{
                font-size:12px;
                line-height:14px;
            }
}
