.celebrity-grid {
    margin-top: 4rem;
}

.celebrity-grid .grid-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.celebrity-grid .celebrity {
    overflow: hidden;
    background-size: cover;
    background-position: top center;
    position: relative;
    width: 100%;
    padding-top: 100%;
    margin-bottom: 1em;
}

@media screen and (min-width: 414px) {
    .celebrity-grid .celebrity {
        width: 48%;
        padding-top: 48%;
    }
}

@media screen and (min-width: 768px) {
    .celebrity-grid .celebrity {
        width: 32%;
        padding-top: 32%;
    }
}

@media screen and (min-width: 1080px) {
    .celebrity-grid .celebrity {
        width: 24%;
        padding-top: 24%;
    }
}

.celebrity-grid .celebrity a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.celebrity-name {
    color: #ffffff;
    position: absolute;
    margin: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    padding: 5px 0 5px 10px;
}

.single-lib-celebrities .featured-image {
    text-align: center;
}