.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media screen and (max-width: 1500px) {
    .resources-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.resource-grid-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    background-color: var(--grey-color);
}

@media screen and (max-width: 800px) {
    .resource-grid-item {
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: repeat(1, 1fr);
    }
}

.resource-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.resource-content-wrap {
    padding: 0px 015px 0px 15px;
}

.resource-content-container {
    padding: 80px 40px 80px 40px;
    text-align: center;
}

.resources-grid > .resource-grid-item:nth-child(4n + 3) .resource-content-wrap, 
.resources-grid > .resource-grid-item:nth-child(4n + 4) .resource-content-wrap {
    grid-row-start: 1;
}

@media screen and (max-width: 800px) {
    .resources-grid > .resource-grid-item:nth-child(4n + 3) .resource-content-wrap, 
    .resources-grid > .resource-grid-item:nth-child(4n + 4) .resource-content-wrap {
        grid-row-start: 2;
    }
}