.recipes_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.category_heading {
    margin-top: 20px;
    margin-bottom: 20px;
}

#initial_recipe_display h2 {
    margin-bottom: 20px;
}

.recipe_card {
    width: calc((100% - 135px) / 4);
    background-color: var(--white);
    box-shadow: 0px 5px 10px #00000014;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
    margin-right: 45px;
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.recipe_card:nth-of-type(4n) {
    margin-right: 0;
}

.recipe_card .recipe_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 250px);
    width: 100%;
    margin-top: 20px;
}

.recipe_info h3 {
    margin-top: -5px;
    margin-bottom: 10px;
    font-size: 24px;
    color: var(--black);
}

.recipe_info h4 {
    margin: 0;
    color: var(--bronze);
    font-size: 18px;
}

.recipe_info h4 i {
    width: 30px;
}

.recipe_date .fa-clock {
    margin-left: 1px;
    margin-right: -1px;
}

.recipe_date .fa-bookmark {
    margin-left: 3px;
    margin-right: -3px;
}

.recipe_info .description {
    margin-top: 5px;
}

.recipe_info .button {
    float: left;
}

.empty_state {
    text-align: center;
    display: none;
    margin-top: 50px;
}

#load_more {
    display: none;
}

.view_more_button {
    margin-top: 50px;
}

.view_more {
    margin-left: auto;
}

/*********************** Video ************************/
Iframe {
    width: 100%;
    height: auto;
    border: none;
    outline: none;
}

.video {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 177%;
    border-radius: 5px;
    overflow: hidden;
}

.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
}

@media (max-width: 1400px) {
    .recipe_card,
    .recipe_card:nth-of-type(4n) {
        width: calc((100% - 90px) / 3);
        margin-right: 45px;
        margin-bottom: 45px;
    }
    
    .recipe_card:nth-of-type(3n) {
        margin-right: 0;
    }

    .view_more {
        margin-left: 0;
    }
}

@media (max-width: 1200px) {
    .recipe_card,
    .recipe_card:nth-of-type(4n) {
        width: calc((100% - 60px) / 3);
        margin-right: 30px;
        margin-bottom: 30px;
    }
    
    .recipe_card:nth-of-type(3n) {
        margin-right: 0;
    }

    .view_more {
        margin-left: 0;
    }
}

@media (max-width: 950px) {
    .recipe_card,
    .recipe_card:nth-of-type(4n),
    .recipe_card:nth-of-type(3n) {
        width: calc((100% - 30px) / 2);
    }

    .recipe_card:nth-of-type(2n) {
        margin-right: 0;
    }

    .category_heading,
    #initial_recipe_display h2 {
        text-align: center;
    }

    .view_more {
        margin: 0 auto !important;
    }
}

@media (max-width: 600px) {
    .recipe_card,
    .recipe_card:nth-of-type(4n),
    .recipe_card:nth-of-type(3n),
    .recipe_card:nth-of-type(2n) {
        width: 100%;
        margin-right: 0 !important;
    }

    .recipe_card .recipe_info {
        height: calc(100% - 200px);
    }

    .recipe_info .button,
    .view_more_button,
    .view_more {
        width: 100%;
    }

    .view_more {
        margin-top: 45px !important;
    }

    .recipe_card .recipe_image {
        height: 200px;
    }

    .recipe_card:last-of-type {
        margin-bottom: 0;
    }

    .category_heading {
        margin-top: 60px;
    }
}