/* =========================================================
   RECIPE DETAIL
========================================================= */

.nf-recipe-breadcrumb {
    padding: 22px 0;
}

.nf-recipe-breadcrumb nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    color: var(--nf-muted);

    font-size: 12px;
    font-weight: 600;
}

.nf-recipe-breadcrumb nav a:hover {
    color: var(--nf-orange-dark);
}

.nf-recipe-breadcrumb nav i {
    color: #c7bfb8;

    font-size: 8px;
}

.nf-recipe-breadcrumb nav span {
    color: var(--nf-heading);
}


/* Hero */

.nf-recipe-detail {
    padding: 10px 0 65px;
}

.nf-recipe-detail-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(380px, 0.85fr);

    align-items: stretch;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius-lg);

    box-shadow: var(--nf-shadow);
}

.nf-recipe-detail-image {
    min-height: 520px;

    overflow: hidden;

    background: #eee7df;
}

.nf-recipe-detail-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.nf-recipe-detail-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: clamp(35px, 5vw, 80px);
}

.nf-recipe-detail-content h1 {
    margin: 0;

    color: var(--nf-heading);

    font-size: clamp(36px, 4vw, 62px);
    font-weight: 850;
    line-height: 1.03;
    letter-spacing: -2px;
}


/* Meta */

.nf-recipe-detail-meta {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 22px;

    color: var(--nf-muted);

    font-size: 13px;
    font-weight: 600;
}

.nf-recipe-detail-meta i {
    color: var(--nf-orange);
}


/* Keywords */

.nf-recipe-keywords {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 22px;
}

.nf-recipe-keywords span {
    padding: 6px 10px;

    color: var(--nf-orange-dark);

    background: var(--nf-orange-soft);

    border: 1px solid #fed7aa;
    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   RECIPE CONTENT
========================================================= */

.nf-recipe-body-section {
    padding: 0 0 85px;
}

.nf-recipe-body-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 50px;

    max-width: 1320px;

    margin: 0 auto;
}

.nf-recipe-body {
    min-width: 0;

    color: var(--nf-text);

    font-size: 16px;
    line-height: 1.85;
}

.nf-recipe-body h1,
.nf-recipe-body h2,
.nf-recipe-body h3,
.nf-recipe-body h4 {
    color: var(--nf-heading);

    font-weight: 800;

    line-height: 1.2;
}

.nf-recipe-body h2 {
    margin:
        40px 0 18px;

    font-size: 28px;
}

.nf-recipe-body h3 {
    margin:
        30px 0 14px;

    font-size: 21px;
}

.nf-recipe-body p {
    margin:
        0 0 20px;
}

.nf-recipe-body ul,
.nf-recipe-body ol {
    margin:
        0 0 25px;

    padding-left: 24px;
}

.nf-recipe-body li {
    margin-bottom: 9px;
}

.nf-recipe-body img {
    max-width: 100%;
    height: auto;

    margin: 25px 0;

    border-radius: 16px;
}

.nf-recipe-body strong {
    color: var(--nf-heading);

    font-weight: 750;
}

.nf-recipe-body a {
    color: var(--nf-orange-dark);

    font-weight: 650;
}

.nf-recipe-body a:hover {
    color: var(--nf-orange-deep);
}


/* Side card */

.nf-recipe-side {
    min-width: 0;
}

.nf-recipe-side-card {
    position: sticky;

    top: 120px;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            #fff7ed,
            #ffffff
        );

    border: 1px solid #fed7aa;
    border-radius: var(--nf-radius);

    box-shadow: var(--nf-shadow);
}

.nf-recipe-side-card h3 {
    margin:
        3px 0 12px;

    color: var(--nf-heading);

    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.nf-recipe-side-card p {
    margin:
        0 0 21px;

    color: var(--nf-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   RECIPE DETAIL RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .nf-recipe-detail-card {
        grid-template-columns: 1fr;
    }

    .nf-recipe-detail-image {
        min-height: auto;

        aspect-ratio: 16 / 9;
    }

    .nf-recipe-detail-content {
        padding: 35px;
    }

    .nf-recipe-detail-content h1 {
        font-size: 40px;
    }

    .nf-recipe-body-layout {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .nf-recipe-side-card {
        position: static;
    }

}


@media (max-width: 575.98px) {

    .nf-recipe-breadcrumb {
        padding: 15px 0;
    }

    .nf-recipe-detail {
        padding-bottom: 45px;
    }

    .nf-recipe-detail-card {
        border-radius: 18px;
    }

    .nf-recipe-detail-image {
        aspect-ratio: 4 / 3;
    }

    .nf-recipe-detail-content {
        padding: 25px 20px;
    }

    .nf-recipe-detail-content h1 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .nf-recipe-body-section {
        padding-bottom: 55px;
    }

    .nf-recipe-body {
        font-size: 15px;
    }

    .nf-recipe-body h2 {
        font-size: 24px;
    }

}

/* =========================================================
   RECIPES PAGE
========================================================= */

.nf-recipes-page-hero {
    padding: 70px 0 60px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(249, 115, 22, 0.15),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #fffaf5 0%,
            #ffffff 100%
        );
}

.nf-recipes-page-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;
}

.nf-recipes-page-hero-inner > div:first-child {
    max-width: 800px;
}

.nf-recipes-page-hero h1 {
    margin: 4px 0 18px;

    color: var(--nf-heading);

    font-size: clamp(48px, 5vw, 76px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -3px;
}

.nf-recipes-page-hero p {
    max-width: 720px;

    margin: 0;

    color: var(--nf-muted);

    font-size: 17px;
    line-height: 1.75;
}


/* Count */

.nf-recipes-page-stat {
    min-width: 170px;

    padding: 22px 26px;

    background: #fff;

    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius);

    box-shadow: var(--nf-shadow);

    text-align: center;
}

.nf-recipes-page-stat span {
    display: block;

    color: var(--nf-orange-dark);

    font-size: 38px;
    font-weight: 850;
    line-height: 1;
}

.nf-recipes-page-stat small {
    display: block;

    margin-top: 7px;

    color: var(--nf-muted);

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   GRID
========================================================= */

.nf-recipes-page-content {
    min-height: 500px;

    padding: 55px 0 90px;

    background: #fff;
}

.nf-recipes-page-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* Card */

.nf-recipes-page-card {
    min-width: 0;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--nf-border);
    border-radius: var(--nf-radius);

    transition: var(--nf-transition);
}

.nf-recipes-page-card:hover {
    transform: translateY(-7px);

    border-color: #fdba74;

    box-shadow: var(--nf-shadow-hover);
}


/* Image */

.nf-recipes-page-image {
    position: relative;

    display: block;

    overflow: hidden;

    aspect-ratio: 1.35 / 1;

    background: #eee7df;
}

.nf-recipes-page-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.55s ease;
}

.nf-recipes-page-card:hover
.nf-recipes-page-image img {
    transform: scale(1.055);
}

.nf-recipes-page-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(28, 25, 23, 0.52) 100%
        );

    opacity: 0.9;

    transition: var(--nf-transition);
}

.nf-recipes-page-card:hover
.nf-recipes-page-overlay {
    opacity: 1;
}


/* Image action */

.nf-recipes-page-view {
    position: absolute;

    right: 18px;
    bottom: 18px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 9px 13px;

    color: #fff;

    background: rgba(28, 25, 23, 0.78);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;

    backdrop-filter: blur(10px);

    font-size: 11px;
    font-weight: 750;

    transition: var(--nf-transition);
}

.nf-recipes-page-card:hover
.nf-recipes-page-view {
    background: var(--nf-orange);
}


/* Content */

.nf-recipes-page-card-body {
    padding: 22px;
}

.nf-recipes-page-meta {
    min-height: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 9px;
}

.nf-recipes-page-meta > span {
    color: var(--nf-orange-dark);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.nf-recipes-page-meta time {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    color: var(--nf-muted);

    font-size: 10px;
    font-weight: 600;
}

.nf-recipes-page-meta time i {
    color: var(--nf-orange);
}

.nf-recipes-page-card h2 {
    margin: 0 0 18px;

    color: var(--nf-heading);

    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.nf-recipes-page-card h2 a:hover {
    color: var(--nf-orange-dark);
}

.nf-recipes-page-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--nf-orange-dark);

    font-size: 12px;
    font-weight: 800;

    transition: var(--nf-transition);
}

.nf-recipes-page-link:hover {
    color: var(--nf-orange-deep);

    gap: 12px;
}


/* =========================================================
   EMPTY
========================================================= */

.nf-recipes-page-empty {
    max-width: 500px;

    margin: 30px auto;

    padding: 60px 30px;

    text-align: center;
}

.nf-recipes-page-empty-icon {
    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0 auto
        22px;

    color: var(--nf-orange-dark);

    background: var(--nf-orange-light);

    border-radius: 22px;

    font-size: 27px;
}

.nf-recipes-page-empty h2 {
    margin: 0 0 8px;

    color: var(--nf-heading);

    font-size: 25px;
    font-weight: 800;
}

.nf-recipes-page-empty p {
    margin: 0;

    color: var(--nf-muted);

    font-size: 14px;
}


/* =========================================================
   CTA
========================================================= */

.nf-recipes-page-cta {
    padding: 0 0 80px;

    background: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {

    .nf-recipes-page-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 16px;
    }

}


@media (max-width: 991.98px) {

    .nf-recipes-page-hero {
        padding:
            50px 0
            45px;
    }

    .nf-recipes-page-hero h1 {
        font-size: 54px;
    }

    .nf-recipes-page-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767.98px) {

    .nf-recipes-page-hero-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 25px;
    }

    .nf-recipes-page-hero h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .nf-recipes-page-hero p {
        font-size: 15px;
    }

    .nf-recipes-page-stat {
        min-width: 140px;

        padding: 17px 20px;
    }

    .nf-recipes-page-stat span {
        font-size: 30px;
    }

    .nf-recipes-page-content {
        padding:
            35px 0
            65px;
    }

    .nf-recipes-page-card-body {
        padding: 18px;
    }

    .nf-recipes-page-card h2 {
        font-size: 19px;
    }

}


@media (max-width: 575.98px) {

    .nf-recipes-page-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .nf-recipes-page-image {
        aspect-ratio: 1.4 / 1;
    }

    .nf-recipes-page-card h2 {
        font-size: 20px;
    }

}