/* These styles are for the new layout for the resources section */

.links-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-auto-rows: 1fr; */
    justify-items: center;
}
.partner-info {
    max-height: initial;
    /* height: 100%;
    min-height: 530px; */
    width: 100%;
    overflow: initial;
    display: block;
    /* border: 2px solid #e9ebee; */
    border: none;
}

.link-list img {
    border: none;
}
.partner-info img {
    border: 1px solid #e9ebee;
    position: unset;
}

.resource-excerpt {
    display: block;
    padding: 2%;
    top: unset;
    text-align: center;
}

.resource-excerpt h3 {
    margin-top: 3%;
    font-weight: 800;
    letter-spacing: 0;
    text-wrap: balance;
}


.partner-info .button {
    border: 2px solid rgb(0, 74, 154);
    padding: 4% 6%;
    color: rgb(0, 74, 154);
    background: rgb(255,255,255);
    text-decoration: none;
    line-height: 1em;
    text-transform:none;
    letter-spacing: -0.005em;
}

.partner-info .button:hover {
    border-color: transparent;
    background: rgb(0, 74, 154);
    color: rgb(255,255,255);
}

@media only screen and (max-width: 800px) {
    .links-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .partner-info img {
        height: auto;
    }
}

@media only screen and (max-width:500px) {
    .links-list {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: max-content;
    }

    .partner-info img {
        height: auto;
    }

    .filter-buttons {
        text-align: center;
    }
}