@media (min-width: 800px) {
    .page-header {
        position: relative !important;
    }
}

/* ------------------- RECIPE ITEM ---------------------------- */
.section-recipes-index-page {
    overflow: hidden;
}

header.recipe-header {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
}

header .grid-item {
    display: inline-grid;
}
.recipe-header-image {
    position: relative;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    min-height: 470px;
}

.header-content {
    font-family: var(--cb_font-roboto-reg);
    text-align: center;
    margin: 0;
    font-size: 15px;
    line-height: 28px;
    position: relative;
    z-index: 2;
}

.header-content p {
    padding: 0 30px;
}

.header-content h1 {
    text-align: center;
    font-family: var(--cb_font-archer-book);
    padding: 20px 40px;
    margin: 0;
    background-color: rgba(255,255,255, 0.8);
    position: absolute;
    width: 100%;
    display: block;
    transform: translateY(-100%);
}

/* Inline Video */
.recipe_inline_video{
    margin: 0 20px 20px; 
    max-width: 1200px; 
    max-height: 675px; 
    text-align: center; 
    padding: 0; 
    line-height: 0;
    padding-top: 56.25%;
    position: relative;
}
.recipe_inline_video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (min-width: 768px) {
    .recipe_inline_video{
        
        margin: 80px 20px 40px
    }
}




/* Quick Info */
.recipe-header-quickinfo br {line-height: 0;}
.recipe-header-quickinfo {
    list-style: none;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 30px auto 60px;
    padding: 0 20px;
    position: relative;
    width: 100%;
    text-align: center;
    display: inline-flex;
    justify-content: space-between;
    bottom: 0;
    max-width: 450px;
}
.recipe-header-quickinfo li {
    font-family: var(--cb_font-roboto-cond);
    font-size: 15px;
    padding: 0 7%;
    margin: 0;
    line-height: 1em;
}
.recipe-header-quickinfo li.horizontal-bar {
    background-color: rgba(35, 30, 32, 0.25);
    height: 125%;
    width: 1px;
    min-width: 1px;
    margin: -10px 0 0;
    padding: 0;
}
.recipe-header-quickinfo li span {
    font-family: var(--cb_font-archer-bold);
    font-size: 30px;
    display: block;
}




/*  */
.recipe-content-lists {
    background-color: #FFF6E8;
    display: block;
    font-family: var(--cb_font-roboto-reg);
    font-size: 15px;
    width: 100%;
    overflow: hidden;
    padding-bottom: 20px;
}
.recipe-content-lists h2 {
    text-align: center;
    font-family: var(--cb_font-archer-book);
    font-size: 25px;
    line-height: 30px;
    text-transform: uppercase;
    margin: 40px auto 20px;
}

.recipe-ingredients {
    text-align: left;
    padding: 0;
    overflow: hidden;
}
.recipe-ingredients ul {
    margin: 0 0 0 1em;
    padding: 0 20px;
}

.recipe-ingredients ul li {
    line-height: 28px;
    margin-bottom: 8px;
}
.recipe-ingredients ul li::marker {
    color: #A9654C;
    font-size: 18px;
}




/*  */
.recipe-directions {
    max-width: 800px;
    padding: 0 20px;
    text-align: left;
}
.recipe-directions ol {
    margin: 0 0 0 1em;
    padding: 0;
    list-style: none;
    counter-reset: li;
}

.recipe-directions ol li {
    counter-increment: li;
    margin: 0 auto 20px;
    line-height: 28px;
}

.recipe-directions ol li::before {
    content: counter(li); 
    color: #A9654C;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}
.recipe-directions ol li::after {
    content: "";
    border-bottom: 1px solid rgba(35, 30, 32, 0.25);
    width: calc(100% + 1em);
    display: block;
    margin-left: -1em;
    margin-top: 20px;
}
/*  */
.recipe-helpful-hints { 
    overflow: hidden; 
    background-image: url("../images/slate-bg.png");
    background-position: top center;
    background-size: cover;
    background-color: #000000;
    width: 100%;
    padding: 40px;
}

.recipe-helpful-hints h2,
.recipe-helpful-hints h3,
.recipe-helpful-hints h4 {
    font-family: var(--cb_font-roboto-cond);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    color: #FFEDC2;

    text-align: center;
    margin: 0 auto 20px;
}
.recipe-helpful-hints p {
    text-align: center;
    color: #FFF8EC;
    font-family: var(--cb_font-archer-book);
    font-size: 25px;
    line-height: 30px;
    max-width: 635px;
    
    margin: 10px auto;
    padding: 0 15px;

}


/*  */
ul.recipe-related-items {
    margin: 40px 0 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    justify-items: center;
    text-align: center;
}
ul.recipe-related-items li { 
    width: 100%;
    /* min-width: 270px; */
    min-width: 320px;
    display: inline-grid;
    background-color: white;
}

.recipe-related-items .link-img { 
    /* width: 100%;  */
    height: 100%;
    position: relative;
    max-height: 175px;
}
.recipe-related-items .link-img img {
    width: auto;
    height: 100%;
    padding: 10px;
}

.recipe-related-items .link-img.wide { height: auto; }
.recipe-related-items .link-img.wide img {
    width: 100%;
    height: auto;
    padding: 30px;
}

/* ul.recipe-related-items li a { */
ul.recipe-related-items li span div.text-label {
    font-family: var(--cb_font-archer-bold);
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 1.1px;
    color: var(--cb_text-pri-dark);
    padding: 20px 5px;
}

ul.recipe-related-items li a {
    text-decoration: none;
}

@media (min-width: 400px) {
    
    ul.recipe-related-items {
        margin: 40px auto;
        /* max-width: 270px; */
        max-width: 320px;
    }
}


@media (min-width: 768px) {
    .header-content {}
    .header-content > div {
        max-width: 550px;
    }

    /*  */
    .recipe-content-lists {
        background-color: #FFF6E8;
        display: grid;
        display: inline-flex;
        justify-content: center;
        align-content: center;
        font-family: var(--cb_font-roboto-reg);
        font-size: 18px;
        width: 100%;
    }
    .recipe-content-lists {
        padding: 0 0 20px 0;
        font-size: 18px;
    }
    .recipe-content-lists h2 {
        font-size: 30px;
    }

    .recipe-header-quickinfo {
        margin: 30px auto;
    }


    /*  */
    .recipe-ingredients {
        padding: 0 0 0 20px;
        max-width: 400px;
        min-width: 400px;
    }
    .recipe-ingredients ul {
        margin: 0;
    }

    .recipe-ingredients ul li {}
    .recipe-ingredients ul li::marker {}

    ul.recipe-related-items {
        margin: 40px 20px;
        /* max-width: 270px; */
        max-width: 320px;
    }

    /*  */
    .recipe-directions {}
    .recipe-directions ol {}
    .recipe-directions ol li {}
    .recipe-directions ol li::before {}
    .recipe-directions ol li::after {}
    
    /*  */
    .recipe-helpful-hints {
        padding: 40px 0;
    }

    .recipe-helpful-hints h2,
    .recipe-helpful-hints h3,
    .recipe-helpful-hints h4 {}
    .recipe-helpful-hints p {}


    ul.recipe-related-items li {}
    .recipe-related-items .link-img {}
    .recipe-related-items .link-img img {}
    /* ul.recipe-related-items li a {} */
    ul.recipe-related-items li span div.text-label {}
}

@media (min-width: 800px) {
    header.recipe-header {
        grid-template-columns: 1fr 1fr;
    }
    header .grid-item {
        display: inline-grid;
        min-height: 500px;
    }
    
    .header-content {
        text-align: center;
        margin: 0 20px;
        padding: 0 20px;
        font-family: var(--cb_font-roboto-reg);
        font-size: 15px;
        line-height: 28px;
        position: relative;
    }
    
    .header-content h1 {    
        position: relative;
        max-width: 450px;
        transform: none;
        font-size: 30px;
        font-size: 30px;
        margin: 40px auto 20px;
    }
    .header-content h1 {
        margin: 60px auto 0;
    }
}




/* ---------------------------------------------------- */
.flickity-page-dots {
    position: relative !important;
    bottom: -15px !important;
}