/*
Theme Name: TF Happy Foodie 2023
Theme URI: http://www.thinkingfox.com
Author: Thinking Fox
Author URI: https://www.thinkingfox.com
Version: 3.7.6
Description: Happy Foodie Theme from the team at Thinking Fox
*/

/* styles for author hubs */
/* ingredients */
.tf-r-recipes__section {
    background-color: #f4f4f4;
}

.tf-r-recipes__wrapper {
    width: 100%;
    padding: 60px 0;
}

.tf-r-recipes__head {
    font-size: 22px;
    color: #000000;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 40px;
    text-align: center;
}

.tf-r-recipes__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.tf-r-recipes__inner-content {
    text-align: center;
    padding: 40px 0;
    width: 100%;
    display: inline-block;
    transition: all 0.3s;
}

.tf-r-recipes__inner-content:hover {
    text-decoration: none;
}

.tf-r-recipes__inner-content:hover .tf-r-recipes__inner-title {
    color: #666666;
}

.tf-r-recipes__inner-content:hover .tf-r-recipes__inner-image {
    transform: scale(1.03);
}

.tf-r-recipes__inner-wrp {
    padding: 0 20px;
}

.tf-r-recipes__inner-image {
    max-width: 100px;
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
    transition: all 0.3s;
    background-color: #fabc2f;
}

.tf-r-recipes__inner-title {
    font-size: 18px;
    color: #000000;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0;
    text-transform: initial;
    transition: all 0.3s;
}

@media only screen and (max-width: 1024px) {
    .tf-r-recipes__section .container {
        max-width: 100%;
        padding: 0;
    }

    .tf-r-recipes__head {
        padding: 0 15px;
    }

    .tf-r-recipes__wrapper {
        padding: 40px 0;
    }

    .tf-r-recipes__inner {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 640px) {
    .tf-r-recipes__wrapper {
        padding: 30px 0;
    }

    .tf-r-recipes__inner-content {
        padding: 0;
    }

    .tf-r-recipes__inner-wrp {
        padding: 40px 30px;
    }

    .tf-r-recipes__head {
        font-size: 20px;
        margin: 0 0 20px;
    }

    .tf-r-recipes__inner {
        grid-template-columns: 1fr 1fr;
    }

    .tf-r-recipes__inner-image {
        max-width: 60px;
        height: 60px;
    }

    .tf-r-recipes__inner-title {
        font-size: 16px;
    }
}

/* collections hub */
.tf-f-collection__wrapper {
    background-color: #e3e2db;
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.tf-f-collection__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-color: #000000;
    z-index: -1;
}

.tf-f-collection__head {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 50px;
}

.tf-f-collection__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 25px;
}

.tf-f-collection__inner-link {
    display: inline-block;
    width: 100%;
    outline: none;
}

.tf-f-collection__inner a:hover,
.tf-f-collection__inner a:focus {
    text-decoration: none;
}

.tf-f-collection__inner a:hover .tf-f-collection__inner-title,
.tf-f-collection__inner a:focus .tf-f-collection__inner-title {
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    border-bottom: 5px solid #000000;
}

.tf-f-collection__inner-title {
    font-size: 19px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 15px 16px 10px;
    background-color: #fabc2f;
    border-radius: 25px 25px 0 0;
    min-height: 85px;
    letter-spacing: 2px;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
    transition: all 0.3s;
    text-transform: initial;
    border-top: 1px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 5px solid transparent;
}

.tf-f-collection__inner-image-back {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    border-radius: 0 0 25px 25px;
    max-height: 340px;
    min-height: 340px;
    box-shadow: 0 4px 11px 0 rgba(0, 0, 0, 0.25);
    background-color: #fabc2f;
}

@media only screen and (max-width: 1300px) {
    .tf-f-collection__inner-title {
        font-size: 16px;
        padding: 8px 8px 0;
        letter-spacing: 2px;
    }
}

@media only screen and (max-width: 1024px) {
    .tf-f-collection__inner {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .tf-f-collection__wrapper {
        padding: 40px 0;
    }

    .tf-f-collection__head {
        margin: 0 0 40px;
    }

    .tf-f-collection__inner {
        grid-gap: 15px;
    }
}

@media only screen and (max-width: 820px) {
    .tf-f-collection__inner {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 768px) {
    .tf-f-collection__wrapper .container {
        padding-right: 0;
    }

    .tf-f-collection__inner-content {
        width: 220px;
    }
}

@media only screen and (max-width: 640px) {
    .tf-f-collection__wrapper {
        padding: 30px 0;
    }

    .tf-f-collection__inner-content {
        width: 200px;
    }

    .tf-f-collection__inner-image-back {
        min-height: 250px;
    }

    .tf-f-collection__head {
        font-size: 18px;
        margin: 0 0 30px;
    }

    .tf-f-collection__inner-title {
        font-size: 14px;
    }

    .tf-f-collection__inner {
        display: block;
    }
}

.hf-carousel {
    background-image: linear-gradient(to top, #f4f4f4, #f7f7f7, #f9f9f9, #fcfcfc, #ffffff);
    margin-bottom: 50px;
}

.hf-carousel--white {
    background: white;
}

.deals_banner {
    background-color: #FFFFFF;
}

.deals_banner .content {
    max-width: 60rem;
    padding: 15px 70px 0px;
}

/*NEW STYLES 2022*/
/* author hub page */
.hf-section.hf-grid.bg-white-xl {
    background-color: #ffffff !important;
}

.postid-2782 .bg-white-xl,
.postid-2782 .bg-light-grey,
.postid-2782 .bg-white {
    background-color: #e3e2db !important;
}

.postid-2782 #content {
    padding-top: 0 !important;
}

.tf-hub-about-section {
    background-color: #e3e2db;
    padding: 45px 0;
}

.tf-hub-about__wrapper {
    display: flex;
    align-items: center;
}

.tf-hub-about__text {
    padding-right: 60px;
    width: 100%;
}

.tf-hub-about__text p {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
}

.tf-hub-about__image {
    width: 100%;
    max-width: 410px;
}

.tf-hub-about__image img {
    width: 100%;
}

.tf-hub-about__title {
    font-size: 70px;
    color: #000000;
    margin: 0 0 30px;
    line-height: 0.8;
}

@media only screen and (max-width: 1024px) {
    .tf-hub-about-section {
        padding: 40px 0;
    }

    .tf-hub-about__text {
        padding-right: 20px;
    }

    .tf-hub-about__image {
        max-width: 290px;
    }

    .tf-hub-about__title {
        font-size: 50px;
        margin: 0 0 20px;
    }
}

@media only screen and (max-width: 768px) {
    .tf-hub-about__wrapper {
        flex-direction: column-reverse;
    }

    .tf-hub-about__title {
        text-align: center;
    }

    .tf-hub-about__text {
        padding-right: 0;
    }

    .tf-hub-about__text p {
        text-align: center;
    }

    .tf-hub-about__image {
        max-width: 375px;
    }

    .tf-hub-about__image {
        margin-bottom: 35px;
    }
}

@media only screen and (max-width: 640px) {
    .tf-hub-about-section {
        padding: 35px 0;
    }

    .tf-hub-about__title {
        font-size: 32px;
        margin: 0 0 15px;
    }

    .hf-author-details__text p {
        font-size: 16px;
    }
}

/* author hub search bar */
.tf-hub-search-section {
    padding: 35px 0;
    background-color: #b3d3dc;
}

.tf-hub-search {
    width: 100%;
    max-width: 690px;
    margin: 0 auto;
}

.tf-search__form {
    display: flex;
    position: relative;
    margin-bottom: 10px;
}

.tf-search__form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 18px;
}

.tf-search__input {
    font-size: 18px;
    color: #000000;
    background-color: #ffffff;
    border-radius: 32px;
    border: none;
    padding: 12px 52px;
    width: 100%;
    outline: none;
    transition: all 0.3s;
}

.tf-search__input:focus {
    background-color: #ffffff;
    border: 2px solid #fabc2f;
}

.tf-search__input::placeholder {
    color: #3d3d3d;
    font-style: italic;
}

.tf-search__button {
    position: absolute;
    background-color: #000000;
    border-radius: 50%;
    padding: 8px 12px;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tf-search__button i {
    font-size: 14px;
    color: #ffffff;
    padding-left: 3px;
    transition: all 0.3s;
}

.tf-search__button:hover {
    background-color: #fabc2f;
}

.tf-search__button:hover i {
    color: #000000;
}

.tf-search__content span {
    font-family: 'ITCAvantGardeGothic', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    font-weight: 400;
    letter-spacing: 0.3px;
    display: inline-block;
}

.tf-search__content .tf-search__content-cat {
    border-bottom: 3px solid #000000;
    position: relative;
    margin-left: 5px;
}

.tf-search__content .tf-search__content-cat:nth-child(2) {
    margin-left: 0;
}

.tf-search__content .tf-search__content-cat::before {
    content: ', ';
    position: absolute;
    right: -5px;
    bottom: 0;
    display: inline-block;
}

.tf-search__content .tf-search__content-cat:last-child::before {
    content: none;
}

.tf-search__content .tf-search__content-cat a {
    color: #000000;
}

@media only screen and (max-width: 1024px) {
    .tf-hub-search-section {
        padding: 30px 0;
    }
}

@media only screen and (max-width: 640px) {
    .tf-hub-search-section {
        padding: 20px 0;
    }
}

/* author hub featured book styles */
.tf-hub-featured-book-section {
    background-color: #e3e2db;
    padding: 60px 0 100px;
}

.tf-hub-featured-book__wrapper {
    width: 100%;
    max-width: 910px;
    margin: 0 auto;
    background-color: #f4f4f4;
    padding: 40px 30px;
    border-radius: 25px;
}

.tf-hub-featured-book__wrapper-top {
    display: flex;
    width: 100%;
    border-bottom: 2px solid #e3e2db;
    padding-bottom: 35px;
    margin-bottom: 30px;
}

.tf-hub-featured-book__wrapper-bottom {
    display: block;
}

.tf-hub-featured-book__pl {
    display: inline-block;
}

.tf-hub-featured-book__image-wrp {
    margin-right: 30px;
    transition: all 0.3s;
}

.tf-hub-featured-book__image-wrp:hover .tf-hub-featured-book__image img {
    transform: scale(1.03);
}

.tf-hub-featured-book__title-wrp {
    transition: all 0.3s;
}

.tf-hub-featured-book__image {
    width: 100%;
    max-width: 190px;
    margin-top: 5px;
    transition: all 0.3s;
}

.tf-hub-featured-book__image img {
    width: 100%;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
}

.tf-hub-featured-book__content {
    width: 100%;
}

.tf-hub-featured-book__content-subtitle {
    font-size: 14px;
    color: #000000;
    letter-spacing: 2.5px;
    line-height: 1.3;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.tf-hub-featured-book__content-title {
    font-size: 24px;
    color: #000000;
    margin: 0 0 20px;
    line-height: 1.3;
    letter-spacing: 2px;
    text-transform: initial;
    transition: all 0.3s;
}

.tf-hub-featured-book__title-wrp:hover,
.tf-hub-featured-book__image-wrp:hover {
    text-decoration: none;
}

.tf-hub-featured-book__title-wrp:hover .tf-hub-featured-book__content-title {
    color: #666666;
}

.tf-hub-featured-book__content-summary {
    font-size: 20px;
    color: #000000;
    letter-spacing: 0.3px;
    line-height: 1.4;
    margin: 0;
}

@media only screen and (max-width: 1024px) {
    .tf-hub-featured-book-section {
        padding: 50px 0;
    }
}

@media only screen and (max-width: 640px) {
    .tf-hub-featured-book-section {
        padding: 40px 0;
    }

    .tf-hub-featured-book__wrapper-top {
        flex-direction: column;
        padding-bottom: 30px;
    }

    .tf-hub-featured-book__image-wrp {
        margin: 0 auto 40px;
    }

    .tf-hub-featured-book__content-title {
        font-size: 19px;
    }

    .tf-hub-featured-book__content-summary,
    .tf-hub-featured-book__content-content p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 376px) {
    .tf-hub-featured-book__image {
        max-width: 125px;
    }

    .tf-hub-featured-book__wrapper {
        padding: 40px 15px;
    }
}

/*search summary section styles*/
.page-id-11350.page-template-page-recipes #content {
    padding-top: 0;
}

.tf-summary-single-recipe {
    margin-top: 0 !important;
}

.tf-search-summary-section {
    background-color: #e3e2db;
    padding-top: 60px;
}

.tf-search-summary__wrapper {
    width: 100%;
    margin: 0 auto;
}

.tf-search-summary__top {
    display: flex;
    padding-bottom: 40px;
}

.tf-search-summary__image {
    width: 100%;
    max-width: 140px;
    margin-right: 25px;
}

.tf-search-summary__image img {
    width: 100%;
}

.tf-search-summary__content {
    width: 100%;
}

.tf-search-summary__subtitle {
    font-size: 14px;
    color: #000000;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.tf-search-summary__title {
    font-size: 24px;
    color: #000000;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: none;
    line-height: 1.3;
}

.tf-search-summary__text p {
    font-size: 18px;
    line-height: 1.6;
}

.tf-search-summary-links__items {
    padding: 0;
    margin: 0;
}

.tf-search-summary__bottom {
    margin-bottom: 40px;
}

.tf-search-summary__form-wrp {
    display: flex;
    width: 100%;
}

.tf-search-summary__form {
    width: 100%;
    position: relative;
}

.tf-search-summary__input {
    width: 100%;
    border-radius: 25px;
    background-color: #ffffff;
    border: 0;
    padding: 11px 50px;
    font-size: 18px;
    color: #000000;
}

.tf-search-summary__input::placeholder {
    font-size: 18px;
    font-style: italic;
    color: #666666;
}

.tf-search-summary__form-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.tf-search-summary__button {
    padding: 14px;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: #000000;
    transition: all 0.3s;
}

.tf-search-summary__button:hover {
    background-color: #fabc2f;
}

.tf-search-summary__button i {
    padding-left: 3px;
    color: #ffffff;
    transition: all 0.3s;
}

.tf-search-summary__button:hover i {
    color: #000000;
}

.tf-search-summary-links__item {
    display: inline-block;
    padding-right: 55px;
}

.tf-search-summary-links__item:last-child {
    padding-right: 0;
}

.tf-search-summary-links__item a {
    font-family: 'ITCAvantGardeGothic', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    display: inline-block;
    color: #000000;
    transition: all 0.3s;
    border: 0;
    margin: 0;
    padding: 0;
}

.tf-search-summary-links__item a:hover {
    color: #666666;
}

.tf-search-summary-links__item a.tf-recipes {
    border-bottom: 4px solid #000000;
}

@media only screen and (max-width: 1024px) {
    .tf-search-summary__title {
        font-size: 30px;
    }

    .tf-search-summary-links__item {
        padding-right: 30px;
    }
}

@media only screen and (max-width: 640px) {
    .tf-search-summary__top {
        flex-direction: column;
        align-items: center;
    }

    .tf-search-summary__image {
        margin-right: 0;
        margin-bottom: 25px;
        max-width: 210px;
    }

    .tf-search-summary__title {
        font-size: 24px;
    }

    .tf-search-summary-links__item {
        padding-right: 15px;
    }
}

/*social-newsletter section styles*/
.hf-newsletter {
    background-image: url("../svg/newsletter-backdrop.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
    padding: 50px 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hf-newsletter .hf-newsletter__image {
    padding-bottom: 4rem;
}

.hf-newsletter .hf-newsletter__image img {
    width: 5.5rem;
}

.hf-newsletter .hf-newsletter__text {
    padding-bottom: 3.3rem;
}

.hf-newsletter .hf-newsletter__text h3 {
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: 0.2rem;
    text-transform: none;
    margin-bottom: 1rem;
}

.hf-newsletter .hf-newsletter__text p {
    font-size: 20px;
    line-height: 1.56;
    letter-spacing: 0.03rem;
}

@media (min-width: 768px) {
    .hf-newsletter .hf-newsletter__button .hf-button {
        height: 5rem;
    }
}

@media (min-width: 1200px) {
    .hf-newsletter .hf-newsletter__button .hf-button {
        min-width: 23.9rem;
    }
}

.hf-social-newsletter-section {
    display: flex;
    flex: 1;
    width: 100%;
}

.hf-social__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 40px;
    background-color: #71bfba;
    width: 100%;
}

.hf-social__image-icon {
    padding-bottom: 4rem;
}

.hf-social__image-icon i {
    font-size: 55px;
}

.hf-social__image-icon img {
    width: 5.5rem;
}

.hf-social__content {
    padding-bottom: 3.3rem;
}

.hf-social__headline {
    font-family: 'ITCAvantGardeGothic', sans-serif;
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    text-transform: initial;
}

.hf-social__subheading {
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: 0.03rem;
}

.hf-social__button {
    font-family: 'ITCAvantGardeGothic', sans-serif;
    text-transform: uppercase;
    border-radius: 3.1rem;
    background-color: #000000;
    color: #ffffff;
    border: none;
    letter-spacing: 0.25rem;
    padding: 1.6rem 1.9rem 1.2rem;
    font-size: 1.4rem;
    display: inline-block;
    min-width: 240px;
    transition: all 0.3s;
}

.hf-social__button:hover {
    text-decoration: none;
    color: #ffffff;
}

@media only screen and (max-width: 1024px) {

    .hf-newsletter,
    .hf-social__wrapper {
        padding: 30px;
    }

    .hf-newsletter .hf-newsletter__text h3,
    .hf-social__headline {
        font-size: 24px;
    }

    .hf-newsletter .hf-newsletter__text p,
    .hf-social__subheading {
        font-size: 18px;
    }
}

@media only screen and (max-width: 768px) {
    .hf-social-newsletter-section {
        flex-direction: column;
    }

    .hf-newsletter .hf-newsletter__text h3,
    .hf-social__headline {
        font-size: 20px;
    }

    .hf-newsletter .hf-newsletter__text p,
    .hf-social__subheading {
        font-size: 16px;
    }
}

/* author hub page - filter styles */
.tf-hub-filter-section {
    background-color: #e3e2db;
}

.tf-hub-filter-section__wrapper .tf-hub-filter-section__wrapper-link {
    font-family: 'ITCAvantGardeGothic', sans-serif;
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    line-height: 1.7;
    color: #000000;
    margin-right: 50px;
    text-decoration: none;
    border-bottom: 5px solid transparent;
    letter-spacing: 0.36px;
    transition: all 0.3s;
}

.tf-hub-filter-section__wrapper .tf-hub-filter-section__wrapper-link.active {
    border-bottom: 5px solid #000000;
}

.tf-hub-filter-section__wrapper .tf-hub-filter-section__wrapper-link:hover {
    border-bottom: 5px solid #000000;
}

.tf-hub-filter-section__wrapper .tf-hub-filter-section__wrapper-link:last-child {
    margin-right: 0;
}

@media only screen and (max-width: 768px) {
    .tf-hub-filter-section__wrapper .tf-hub-filter-section__wrapper-link {
        font-size: 16px;
        line-height: 1.3;
        margin-right: 25px;
    }
}

@media only screen and (max-width: 400px) {
    .tf-hub-filter-section__wrapper .tf-hub-filter-section__wrapper-link {
        font-size: 15px;
        margin-right: 15px;
    }
}

/*Uniq Ribbons for Recipes - PREVIEW*/
.hf-carousel__inner .if-ribbon-class {
    margin-top: 10px;
    padding-left: 10px;
}

.tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp {
    position: relative;
}

.tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp .tf-ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    left: -10px;
}

.tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp .tf-ribbon::before,
.tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp .tf-ribbon::after {
    position: absolute;
    content: '';
    display: block;
    border: 5px solid rgba(0, 0, 0, 0.4);
    border-top-color: transparent;
    border-left-color: transparent;
}

.tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp .tf-ribbon::before {
    top: 0;
    right: 0;
}

.tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp .tf-ribbon::after {
    bottom: 0;
    left: 0;
}

.tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp .tf-ribbon span::after {
    content: 'Preview';
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #fabc2f;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.31;
    letter-spacing: 2.34px;
    color: #000;
    text-align: center;
    text-transform: uppercase;

    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}

.tf-recipe-col.tf-recipe-main .hf-grid-card__image-ribbon-wrp .tf-ribbon span {
    display: none;
}

/*Uniq Ribbons for Recipes - Sidebar - PREVIEW*/
.hf-recipe-sidebar__inner .tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp .tf-ribbon span::after {
    padding: 5px 0;
    width: 120px;
    right: auto;
    left: -30px;
    top: 20px;
    font-size: 10px;
    letter-spacing: 0.5px;
    line-height: 1;
}

.hf-recipe-sidebar__inner .tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp .tf-ribbon::before {
    z-index: 0;
    right: 75px;
}

.hf-recipe-sidebar__inner .tf-recipe-col.tf-recipe-snapshot .hf-grid-card__image-ribbon-wrp .tf-ribbon::after {
    z-index: 0;
    bottom: 75px;
}

/*Uniq Ribbons for Recipes - EXCLUSIVE*/
.tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp {
    position: relative;
}

.tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp .tf-ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: -10px;
    left: -10px;
}

.tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp .tf-ribbon::before,
.tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp .tf-ribbon::after {
    position: absolute;
    content: '';
    display: block;
    border: 5px solid rgba(0, 0, 0, 0.4);
    border-top-color: transparent;
    border-left-color: transparent;
}

.tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp .tf-ribbon::before {
    top: 0;
    right: 0;
}

.tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp .tf-ribbon::after {
    bottom: 0;
    left: 0;
}

.tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp .tf-ribbon span::after {
    content: 'Exclusive';
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #fabc2f;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.31;
    letter-spacing: 2.34px;
    color: #000;
    text-align: center;
    text-transform: uppercase;

    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}

/*Uniq Ribbons for Recipes - Sidebar - EXCLUSIVE*/
.hf-recipe-sidebar__inner .tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp .tf-ribbon span::after {
    padding: 5px 0;
    width: 120px;
    right: auto;
    left: -30px;
    top: 20px;
    font-size: 10px;
    letter-spacing: 0.5px;
    line-height: 1;
}

.hf-recipe-sidebar__inner .tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp .tf-ribbon::before {
    z-index: 0;
    right: 75px;
}

.hf-recipe-sidebar__inner .tf-recipe-col.tf-recipe-exclusive .hf-grid-card__image-ribbon-wrp .tf-ribbon::after {
    z-index: 0;
    bottom: 75px;
}


.comments-area {
    border-top: 3px solid #e3e2db;
    padding-top: 16px;
}

.comments-area .comments-title {
    margin-bottom: 21px;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
}

.comments-area .commentlist {
    padding: 0 0 1px;
}

.comments-area .commentlist .comment {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #FFF;
    font-size: 16px;
    line-height: 30px;
}

.comments-area .comments-area .comment-author,
.comments-area .comment-metadata {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 30px;
}

.comments-area .comment-author {
    font-weight: bold;
}


.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    max-width: 1340px;
}

/* ----- TV template ----- */

@media (min-width: 1540px) {
    .tv-container {
        max-width: 1440px !important;
    }
}

.tv-breadcrumb-gap {
    margin-top: 60px;
    padding: 0 32px;
}

@media (min-width: 1200px) {
    .tv-breadcrumb-gap {
        margin-top: 0;
    }
}

/* ----- TV News ----- */
.tv-news {
    display: block;
    padding: 32px 0;
}

.tv-news__inner {}

.tv-news__media {
    position: relative;
}

.tv-news__media img {
    display: block;
    width: 100%;
    height: auto;
}

.tv-news__icon {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-15px, -50%);
}

.tv-news__icon svg {
    display: block;
    width: 110px;
    height: auto;
}

.tv-news__title {
    margin-top: 16px;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 2px;
}

.tv-news__text {
    margin-top: 8px;
}

.tv-news__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
}

.tv-news__links a {
    font-size: 12px;
}

.tv-news__links .tv-btn {
    min-width: 220px;
}

.tv-news__links .tv-btn svg path {
    fill: #000;
}

.tv-news__links .tv-btn:hover svg path,
.tv-news__links .tv-btn:focus svg path {
    fill: #fff;
}

@media (min-width: 768px) {
    .tv-news {}

    .tv-news__icon {
        transform: translate(-40%, -40%);
    }
}

@media (min-width: 1200px) {
    .tv-news__title {
        margin-top: 36px;
        font-size: 36px;
        line-height: 46px;
    }

    .tv-news__links {
        align-items: normal;
        margin-top: 0;
    }

    .tv-news__links .tv-btn {
        min-width: fit-content;
    }
}

/* ----- About Series ----- */
.about-series {
    background-color: #F4F4F4;
}

.about-series__inner {
    display: block;
    padding: 32px 0;
}

.about-series__title {
    font-family: 'ITCAvantGardeGothic';
    font-size: 12px;
    letter-spacing: 1.7px;
}

.about-series__details {
    display: grid;
    grid-template-columns: 130px 1fr;
    row-gap: 8px;
}

.about-series__details dt {
    font-weight: 600;
    font-family: 'ITCAvantGardeGothic';
}

.about-series__details dd {
    display: inline-block;
    margin-bottom: .5rem;
    margin-left: 0;
    font-family: Source Serif Pro;
    font-size: 16px;
}

.about-series__details a {
    color: inherit;
    border-bottom: 0.2rem solid #fabc2f;
    line-height: 1.56;
}

@media (min-width: 768px) {
    .about-series {
        background-color: transparent;
    }

    .about-series__inner {
        padding: 32px;
        background-color: #F4F4F4;
    }

    .about-series__title {}

    .about-series__details {
        grid-template-columns: minmax(200px, auto) 3fr;
    }
}

/* ----- This Series ----- */
.this-series {
    display: block;
    background-color: #E3E2DB;
    padding: 32px 0;
}

.this-series__content {
    display: block;
    margin-bottom: 50px;
}

.this-series__subheading {
    display: block;
    margin-bottom: 1.25rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 16.8px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.this-series__heading {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 2px;
}

.this-series__text {
    margin-top: 8px;
}

.this-series__book-heading {
    font-family: "ITCAvantGardeGothic", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 16.8px;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
}

.this-series__book {
    display: block;
}

.this-series__book img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 200px;
    box-shadow: 2px 2px 5px 3px #00000017;
}

.this-series__buy-book {
    display: block;
    margin-bottom: 10px !important;
    font-family: "ITCAvantGardeGothic", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 16.8px;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
}

.this-series__shop-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.this-series__shop-list>.tv-btn:nth-child(n+4) {
    display: none;
}

.this-series__shop-list.active>.tv-btn {
    display: flex !important;
}

.this-series__btn-retailers {
    color: black;
    background: none;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    padding: 1rem 0;
    justify-content: center;
}

.this-series__btn-retailers::after {
    content: "";
    background-image: url(../png/chevron_down-2.png);
    width: 25px;
    height: 20px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    /* transition: transform 0.6s ease; */
}

.this-series__btn-retailers.active::after {
    transform: rotate(-180deg);
}

@media (min-width: 768px) {
    .this-series {
        background-color: transparent;
    }

    .this-series__inner {
        display: grid;
        grid-template-columns: 1fr 220px;
        column-gap: 24px;
        padding: 32px;
        background-color: #E3E2DB;
    }

    .this-series__subheading {
        text-transform: initial;
        font-size: 16px;
        font-weight: 500;
        line-height: 26px;
        letter-spacing: 0.3px;
    }

    .about-series__details {
        grid-template-columns: minmax(200px, auto) 3fr;
    }
}

.this-book {}

/* TV episodes heading */
.tv-episodes {
    display: block;
    margin-top: 40px;
}

.tv-episodes-heading {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 2px;
}

.tv-episodes__underline {
    position: relative;
}

.tv-episodes__underline svg {
    position: absolute;
    bottom: -6px;
    left: 0;
    max-width: 100%;
}

@media (min-width: 768px) {
    .tv-episodes {
        margin-top: 60px;
    }

    .tv-episodes-heading {
        font-size: 36px;
        line-height: 46px;
        letter-spacing: 2.5px;
    }
}

/* TV series - buttons */
.tv-btn {
    position: relative;
    display: inline-flex;
    padding: 1rem 1.5rem;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    font-weight: 600;
    font-size: 14px;
    font-family: "ITCAvantGardeGothic", Arial, sans-serif;
    text-align: center;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    border-style: solid;
    border-width: 1px;
    border-radius: 31px;
    border-color: #000;
    color: #000;
    box-shadow: none;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.tv-btn svg {
    display: inline-block;
    margin-left: 5px;
    width: 18px;
    height: 18px;
}

.tv-btn svg path {
    transition: all 0.2s ease-in-out;
    fill: #fff;
}

.tv-btn:hover svg path,
.tv-btn:focus svg path {
    fill: #000;
}

.tv-btn:hover,
.tv-btn:focus {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none;
}

.tv-btn-outline {
    color: #000;
}

@media (min-width: 1200px) and (max-width: 1560px) {
    .tv-btn-outline--icon {
        padding-left: 30px;
    }
}



.tv-btn-outline:hover,
.tv-btn-outline:focus {
    background: #000;
    color: #fff;
}



.tv-btn-fill {
    background-color: #000;
    color: #fff;
}

.tv-btn-fill:hover,
.tv-btn-fill:focus {
    background-color: #fff;
    color: #000;
}

.tv-carousel.hf-carousel-recipes .hf-carousel__inner .hf-carousel-card .hf-carousel-card__text {
    border: none;
}

.tv-carousel .hf-cards-heading {
    padding-left: 20px;
}


@media (min-width: 1200px) {
    .hf-from-the-book-tv-series.hf-from-the-book {
        background-color: transparent;
    }

    .tv-background {
        background: linear-gradient(to top, #e3e2db 60%, #f4f4f4 50%);
    }
}


.tv-series-template-default .hf-carousel {
    background-image: none;
}

.hf-from-the-book-tv-series {
    margin-bottom: 50px;
}


/* Example rating styling */

.comments-rating {
    border: none;
    padding: 0;
    margin-left: 0;
}

.comments-rating label {
    display: inline-block;
}

.rating-container {
    font-size: 0;
    display: flex;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.rating-container * {
    font-size: 1.4rem;
}

.rating-container>input {
    display: none;
}

.rating-container>input+label {
    /* only enough room for the star */
    font-family: 'dashicons';
    display: inline-block;
    overflow: hidden;
    text-indent: 9999px;
    width: 1em;
    white-space: nowrap;
    cursor: pointer;
    margin: 0;
}

.rating-container>input+label:before {
    display: inline-block;
    text-indent: -9999px;
    content: "\f154";
    color: #888;
}

.rating-container>input:checked~label:before,
.rating-container>input+label:hover~label:before,
.rating-container>input+label:hover:before {
    content: "\f155";
    color: #FABC2F;
    text-shadow: 0 0 1px #333;
}

.rating-container>.star-cb-clear+label {
    text-indent: -9999px;
    width: .5em;
    margin-left: -.5em;
}

.rating-container>.star-cb-clear+label:before {
    width: .5em;
}

.rating-container:hover>input+label:before {
    content: "\f154";
    color: #888;
    text-shadow: none;
}

.rating-container:hover>input+label:hover~label:before,
.rating-container:hover>input+label:hover:before {
    content: "\f155";
    color: #FABC2F;
    text-shadow: 0 0 1px #333;
}

.comment-respond .rating-container>.star-cb-clear+label,
.comment-respond .rating-container>input+label:before {
    text-indent: 9999px;
}

.comment-respond .rating-container>input+label {
    text-indent: -9999px;
}

/**
 * Cornerstone Card Block Start
 **/

.cornerstone-card {
    /* Box Model & Layout */
    display: flex;
    align-items: stretch; /* 🔥 UPDATED: let image stretch with content */
    box-sizing: border-box;
    width: 100%;
    height: auto; /* 🔥 UPDATED: dynamic height */
    padding-right: 0.8rem;
    margin-bottom: 5rem;
    position: relative;
    
    /* Appearance */
    background-color: #fafafa;
    border: 0.03rem solid #e3e2db;
    box-shadow: 0 0.4rem 0.8rem rgba(11, 12, 12, 0.05);
    text-decoration: none;
    
    /* Text */
    color: #000;
    font-family: "ITCAvantGardeGothic", Arial, Sans-Serif;
    text-align: left;
    
    /* Interaction */
    transition: box-shadow 0.0125rem ease-in-out, transform 0.0125rem ease-in-out;
}

.cornerstone-card:hover,
.cornerstone-card:focus {
    background-color: #fff;
    box-shadow: 0 0.4rem 1rem rgba(11, 12, 12, 0.1);
    transform: translateY(-0.2rem);
    text-decoration: none;
}

/* --- Block Elements --- */

.cornerstone-card__image {
    width: 12.5rem;
    height: 100%; /* 🔥 UPDATED: image follows content height */
    object-fit: cover;
    flex-shrink: 0;
    display: block; /* avoids baseline gap */
}

.cornerstone-card__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.6rem;
    min-width: 0;
}

.cornerstone-card__title {
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 0.2rem;
    line-height: 2.4rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
}

.cornerstone-card__description {
    /* Resetting paragraph defaults */
    margin: 0;

    /* Text Styling */
    font-family: 'Source Serif Pro', serif;
    font-size: 1.4rem;
    line-height: 1.8rem;
    letter-spacing: 0;

    /* Multi-line truncation for desktop */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cornerstone-card__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;

    /* Sizing */
    width: 2.7rem;
    height: 3.8rem;
    flex-shrink: 0;
}

.cornerstone-card__chevron svg {
    width: 3rem;
    height: 3.8rem;
    stroke: #555;
}

@media (max-width: 768px) {
  
    .cornerstone-card {
      font-size: 16px;
      display: flex;
        align-items: stretch;
        height: auto;
    }
  
    .cornerstone-card__image {
      width: 8.5rem;
      height: 100%;
      object-fit: cover;
      flex-shrink: 0;
      align-self: stretch;
      display: block;
    }
  
    .cornerstone-card__content {
      padding: 16px 8px 16px 16px;
      gap: 4px;
    }
  
    .cornerstone-card__title {
      letter-spacing: 0;
      line-height: 1.8rem;
      font-size: inherit;
      display: -webkit-box;
      -webkit-line-clamp: 2;
    }
  
    .cornerstone-card__description {
      line-height: 1.4rem;
      font-size: 1.2rem;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
    }

    .cornerstone-card__chevron {
        width: 2.1rem;
        height: 3rem;
        align-self: center;
    }

    .cornerstone-card__chevron svg {
        width: 2.1rem;
        height: 3rem;
    }
    
}
/**
 * Cornerstone Card Block End
 **/
.penguin__logo {
    width: auto;
    height: auto;
    max-width: 100%;
    aspect-ratio: 69 / 51;
    display: block;
}