/*
Theme Name: Cadence
Theme URI: https://example.com/cadence-recipe
Author: Saiful Islam
Author URI: https://example.com
Description: Custom theme for Cadence Recipe
Version: 1.5.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cadence-recipe
Template: kadence
Tags: blog, food, recipe
*/

/* 
This file is required for WordPress to recognize the theme.
Add your custom styles below.
*/

/* =========================================
   Merged File: assets/css/main.css
   ========================================= */

:root {
    /* Brand Colors */
    --color-primary: #ffcc00;
    --color-primary-hover: #ffcc00;
    /* Darker shade of primary */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-dark: #000000;
    --color-text: #000000;
    --color-text-light: #000000;
    /* Used in excerpts */
    --color-bg-light: #ffffff;
    /* Also #e0e0e0, #e0e0e0 depending on usage, will keep specific if different */
    --color-border: #e0e0e0;
    --color-accent-red: #cc0000;
    --color-accent-red-hover: #cc0000;

    /* Layout */
    --container-width: 1200px;
    --container-width-wide: 1240px;
    --gap-default: 20px;

    /* Fonts */
    --font-base: 'Poppins', sans-serif;
    --font-inter: 'Poppins', sans-serif;
    --font-script: 'Poppins', sans-serif;

    /* Utility Variables - Reduces repetition */
    --transition-default: none;
    --radius-circle: 50%;
    --radius-pill: 50px;
    --radius-default: 8px;
    --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Fix Horizontal Overflow */
html {
    overflow-x: hidden;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    overflow: visible;
}

/* Fix Align Wide Overflow */
.alignwide {
    max-width: 100vw;
    width: 100%;
}

.entry-content .alignwide {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================
   About Section
   ========================================= */
.about-section-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.about-section-image-side {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-section-bg-pattern {
    position: absolute;
    width: 100%;
    max-width: 350px;
    z-index: 1;
}

.about-section-person-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    display: block;
}

.about-section-content-side {
    flex: 1.2;
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.about-section-divider {
    width: 1px;
    background: #ffffff;
    margin: 10px 0;
}

.about-section-text-wrapper {
    padding-left: 20px;
}

.about-section-title {
    font: 800 42px/1.1 var(--font-base);
    margin-bottom: 20px;
    color: var(--color-black);
}

.about-section-description {
    font: 16px/1.6 var(--font-base);
    color: var(--color-text);
    margin-bottom: 25px;
}

.about-section-socials {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.about-section-follow-text {
    font: 700 14px var(--font-base);
    color: var(--color-dark);
}

.about-section-social-icons {
    display: flex;
    gap: 10px;
}

.about-section-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 14px;
    font-size: 14px;
}

.about-section-social-icons a:hover {
    background: var(--color-primary);
    color: var(--color-black);
}

.about-section-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: var(--color-black);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font: 700 16px var(--font-base);
    font: 700 16px var(--font-base);
}

.about-section-button:hover {
    background: var(--color-primary-hover);
}


/* =========================================
   Brand Logos Section
   ========================================= */
.brand-logos-section {
    width: 100%;
    max-width: var(--container-width);
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    background: var(--color-white);
}

.brand-logos-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-logos-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-logos-track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    animation: branding-scroll var(--speed, 30s) linear infinite;
}

.brand-logos-container:hover .brand-logos-track {
    animation-play-state: paused;
}

.brand-logo-item {
    flex: 0 0 auto;
    width: calc(var(--container-width) / var(--desktop-count) - var(--gap));
}

.brand-logo-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    max-height: 50px;
    object-fit: contain;
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes branding-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1200px) {
    .brand-logo-item {
        width: calc(90vw / var(--desktop-count) - var(--gap));
    }
}

@media (max-width: 768px) {
    .brand-logo-item {
        width: calc(90vw / var(--mobile-count) - var(--gap));
    }
}

/* =========================================
   Category Grid
   ========================================= */

.category-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px 0;
    width: 100%;
}

.category-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 260/340;
}

.category-grid-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.category-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    display: block;
}



.category-grid-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-black);
    color: var(--color-white);
    padding: 12px 20px;
    font: 800 20px/1.2 var(--font-base);
    text-transform: capitalize;
    max-width: 90%;
    z-index: 2;
    text-align: center;
}

.category-grid-footer {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.category-grid-button,
.all-recipes-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffcc00;
    color: #000000;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font: 800 18px var(--font-base);
    border: none;
}

.category-grid-button i {
    font-size: 16px;
}

/* =========================================
   Common Recipe Grid Section
   ========================================= */
.recipe-grid-section {
    width: 100%;
    max-width: var(--container-width);
    margin: 80px auto;
    padding: 0 15px;
}

.rg-header {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.rg-title {
    font: 800 32px var(--font-base);
    color: var(--color-black);
    margin: 0;
    text-transform: uppercase;
    line-height: 35px;
}

.rg-description {
    font: 400 18px/26px var(--font-base);
    color: var(--color-text);
}

.rg-see-all {
    text-decoration: none;
    color: var(--color-black);
    font: 800 18px var(--font-base);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    text-transform: uppercase;
    line-height: 18px;
}

.rg-see-all:hover {
    color: var(--color-primary);
}

.rg-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rg-card {
    background: var(--color-white);
    border: none;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.rg-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.rg-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rg-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    /* Portrait aspect ratio (600x900) - tall images */
    height: auto;
}

.rg-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}



.rg-content {
    padding: 15px 10px 20px;
    /* Padding for the text area */
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rg-card-title {
    font: 600 20px/22px var(--font-base);
    /* Larger font size */
    color: var(--color-black);
    margin: 0;
    color: var(--color-black);
}

.rg-card:hover .rg-card-title {
    text-decoration: underline;
}

.rg-footer-mobile {
    display: none;
    text-align: center;
    margin-top: 30px;
}

/* =========================================
   Newsletter Category Section
   ========================================= */
.newsletter-category-section {
    display: flex;
    border-radius: 15px;
}

.newsletter-side {
    padding: 7px;
    background: var(--color-primary);
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-radius: 5px 0px 0px 5px;
}

.newsletter-side h2 {
    font: 800 32px/1.2 var(--font-base);
    margin: 0 0 10px;
    color: var(--color-black);
}

.newsletter-side h2 span {
    font: 400 24px var(--font-base);
}

.newsletter-side p {
    font: 14px var(--font-base);
    color: var(--color-dark);
    margin-bottom: 25px;
}

.newsletter-form {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-form input[type=email] {
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    border: none;
    background: var(--color-white);
    font: 14px var(--font-base);
    outline: 0;
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font: 700 14px var(--font-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    gap: 8px;
}

.categories-side {
    background: #f3f3f3;
    flex: 1;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    border-radius: 0px 10px 10px 0px;
}

.category-circle-item {
    text-align: center;
    flex: 0 1 120px;
}

.category-circle-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-circle-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.category-circle-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-circle-name {
    font: 700 14px var(--font-base);
    color: var(--color-dark);
    text-transform: capitalize;
}

/* Browse All Specific Styles */
.browse-all-icon {
    background: #ffffff;
    border: 2px dashed #000000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.browse-all-icon svg {
    width: 40px;
    height: 40px;
    color: #ffcc00;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.browse-all-item .category-circle-name {
    color: var(--color-black);
    font-weight: 800;
}

.browse-all-item:hover .browse-all-icon {
    background: #ffffff;
    border-color: #ffcc00 !important;
}





@media (max-width:320px) {
    .newsletter-side h2 {
        font-size: 20px;
    }

    .category-circle-item {
        flex: 0 1 80px;
    }

    .category-circle-img-wrapper {
        width: 100px;
        height: 100px;
    }
}



/* =========================================
   Video Recipes Section
   ========================================= */


.video-section-container {
    margin: 30px auto;
    text-align: center;
}

.video-grid-wrapper {
    position: relative;
    width: 100%;
    padding: 0 10px;
}

.video-section-header h2 {
    font: 800 32px var(--font-base);
    color: var(--color-black);
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.video-grid {
    display: flex;
    overflow-x: auto;
    gap: 3px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.video-grid::-webkit-scrollbar {
    display: none;
}

.video-item {
    flex: 0 0 220px;
    text-align: left;
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(2.15);
    /* Default zoom to hide black bars */
    /* Default zoom to hide black bars */
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
}

.play-icon-center {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 18px;
    border: 2px solid var(--color-white);
}

.video-title {
    margin-top: 15px;
    font: 700 16px/1.4 var(--font-base);
    color: #000000;
    text-align: center;
}

.video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 99;
    color: var(--color-dark);
    z-index: 99;
}

.video-nav:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.video-nav-prev {
    left: -25px;
}

.video-nav-next {
    right: -25px;
}

/* YouTube List Shortcode Grid */
.youtube-list-section {
    margin: 40px 0;
}

.youtube-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 25px;
    margin-top: 20px;
}

.youtube-list-section .video-item {
    flex: none !important;
    width: 100%;
}

.youtube-list-section .video-thumbnail-wrapper {
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.youtube-list-section .video-thumbnail-wrapper img {
    transform: scale(2.8);
    transform: scale(2.8);
}


.video-hover-title {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    color: var(--color-white);
    font: 800 25px var(--font-base);
    opacity: 0;
    transform: translateY(-10px);

    z-index: 5;
    text-align: left;
    pointer-events: none;
    line-height: 1.2;
}

.youtube-list-section .video-item:hover .video-hover-title {
    opacity: 1;
}

.youtube-list-section .video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.4) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.4) 100%);
}

.youtube-list-section .video-item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.youtube-list-section .play-icon-center {
    width: 60px;
    height: 60px;
    font-size: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.8);

}

.youtube-list-section .video-item:hover .play-icon-center {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-black);
}

.youtube-pagination {
    margin-top: 40px;
    margin-bottom: 20px;
}





/* .all-recipes-btn, .category-grid-button - Combined (shared styles above at .category-grid-button) */

.video-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-lightbox-content {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.video-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--color-white);
    font-size: 40px;
    cursor: pointer;
}



/* =========================================
   Watch & Cook Section
   ========================================= */
.watch-cook-section {
    width: 100%;
    max-width: var(--container-width);
    margin: 60px auto;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.watch-cook-video-side {
    flex: 1.5;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    cursor: pointer;
    aspect-ratio: 16/9;
}

.watch-cook-video-side img,
.watch-cook-video-side iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}



.watch-cook-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .15);
    padding: 30px;
}

.youtube-play-btn {
    width: 65px;
    height: 45px;
    background: var(--color-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 24px;
    margin-bottom: 20px;
}

.video-bottom-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    color: var(--color-white);
    font: 800 20px/1.3 var(--font-base);
    text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

.watch-cook-content-side {
    flex: 1;
}

.watch-cook-content-side h2 {
    font: 800 40px var(--font-base);
    color: var(--color-black);
    margin-bottom: 20px;
}

.watch-cook-content-side h2 span.underline {
    position: relative;
    display: inline-block;
}

.watch-cook-content-side h2 span.underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0,5 Q50,0 100,5" stroke="red" stroke-width="4" fill="none" stroke-linecap="round"/></svg>') no-repeat center;
    background-size: 100% 100%;
}

.watch-cook-content-side p {
    font: 400 15px/1.6 var(--font-base);
    color: var(--color-text-light);
    margin-bottom: 30px;
    max-width: 450px;
}

.youtube-sub-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #cc0000;
    color: #e0e0e0;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font: 600 14px var(--font-base);

}

.youtube-sub-btn:hover {
    background: var(--color-accent-red-hover);
}


/* =========================================
   Sidebar Popular Recipes Section
   ========================================= */
.sidebar-popular-wrapper {
    margin-bottom: 30px;
}

.sidebar-popular-title {
    font: 800 24px var(--font-base);
    color: var(--color-black);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

/* Green line after title */
.sidebar-popular-title::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    background-color: var(--color-primary);
    border-radius: 2px;
    flex-grow: 1;
}

.sidebar-recipe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns */
    gap: 20px 15px;
    /* Row gap 20px, Column gap 15px */
}

.sidebar-recipe-item {
    text-align: center;
    width: 100%;
}

.sidebar-recipe-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-recipe-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Perfect Square */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-recipe-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-fit: cover;
}



.sidebar-recipe-name {
    font: 700 15px/1.3 var(--font-base);
    color: var(--color-dark);
    margin: 0;
    width: 100%;
    text-align: center;
}

.sidebar-recipe-link:hover .sidebar-recipe-name {
    color: var(--color-primary);
}

/* =========================================
   Sidebar About Widget
   ========================================= */
.sidebar-about-widget {
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    /* Light border */
    border-radius: 8px;
    /* Slight radius but mostly square as per image */
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.sidebar-about-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
}

.sidebar-about-image-wrapper img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 6px solid var(--color-white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.sidebar-about-subtitle {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    background: var(--color-white);
    font-family: 'Poppins', sans-serif;
    /* Using the script font we imported earlier */
    font-size: 32px;
    font-weight: 700;
    color: var(--color-black);
    padding: 2px 20px;
    line-height: 1;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-about-content {
    padding: 0 25px;
}

.sidebar-about-title {
    font: 800 32px var(--font-base);
    color: var(--color-black);
    margin: 15px 0 15px;
    line-height: 1.2;
}

.sidebar-about-text {
    font: 500 15px/1.6 var(--font-base);
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.sidebar-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffcc00;
    /* The specific yellow/orange from image */
    color: var(--color-black);
    font: 800 14px var(--font-base);
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 6px;

    box-shadow: 0 4px 10px rgba(255, 206, 78, 0.4);
}

.sidebar-about-btn:hover {
    box-shadow: 0 6px 15px rgba(255, 206, 78, 0.5);
    background: #ffcc00;
    /* Slightly darker on hover */
}

/* =========================================
   Sidebar Social Widget
   ========================================= */
.sidebar-social-widget {
    margin-bottom: 20px;
}

.social-link-item {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 15px 20px;
    text-decoration: none !important;
    border: none !important;
    color: var(--color-white);
    color: var(--color-white);
    box-shadow: none;
}

.social-link-item:hover {
    text-decoration: none !important;
    border: none !important;
}

/* Pinterest */
.social-link-item.pinterest {
    background: #cc0000;
    box-shadow: 0 4px 15px rgba(230, 0, 35, 0.3);
}

.social-link-item.pinterest:hover {
    background: #cc0000;
    box-shadow: 0 8px 20px rgba(230, 0, 35, 0.4);
}

/* Facebook */
.social-link-item.facebook {
    background: #1877F2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.social-link-item.facebook:hover {
    background: #1877F2;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* Twitter (X) */
.social-link-item.twitter {
    background: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-link-item.twitter:hover {
    background: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Instagram */
.social-link-item.instagram {
    background: #E4405F;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.social-link-item.instagram:hover {
    background: #E4405F;
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.4);
}

/* YouTube */
.social-link-item.youtube {
    background: #cc0000;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.social-link-item.youtube:hover {
    background: #cc0000;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.social-icon-wrapper {
    flex: 0 0 50px;
    height: 50px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
}

.social-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.4);
}

@keyframes social-spin {
    to {
        transform: rotate(360deg);
    }
}

.social-icon-wrapper i {
    font-size: 24px;
    color: #e0e0e0 !important;
    display: inline-block;
    line-height: 1;
}

.social-text {
    flex: 1;
    font: 800 17px/1.2 var(--font-base);
    color: var(--color-white);
}

.social-text i {
    font-size: 14px;
    margin-left: 5px;
}


/* =========================================
   Comments Section Customization
   ========================================= */

/* Comments List Styling */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Top Level Comment Separation */
.comment-list>.comment {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 3px double #90bd3e;
    /* Green double line separator */
}

.comment-list>.comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.comment-body {
    position: relative;
    padding-left: clamp(60px, 12vw, 80px);
    /* Space for Avatar */
    margin-bottom: 20px;
}

/* Avatar Styling */
.comment-list .avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(45px, 10vw, 60px);
    height: clamp(45px, 10vw, 60px);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Content Area */
.comment-content-wrapper {
    width: 100%;
}

.comment-author {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-black, #000000);
    margin-bottom: 5px;
    font-style: normal;
}

.comment-author .fn {
    font-style: normal;
}

.comment-author .says {
    display: none;
}

.comment-metadata {
    font-size: 14px;
    color: #444444;
    margin-bottom: 15px;
    font-weight: 500;
}

.comment-metadata a {
    text-decoration: none;
    color: inherit;
}

.comment-content {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 15px;
}

.comment-content p {
    margin-bottom: 15px;
}

/* Reply Button */
.comment-reply-link {
    display: inline-block;
    background: #000000;
    color: #e0e0e0 !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;

    line-height: 1;
}

.comment-reply-link:hover {
    background: #ffcc00;
    /* Brand Yellow */
    color: #000000 !important;
    box-shadow: 0 4px 10px rgba(255, 206, 78, 0.4);
}

/* Nested Comments */
.comment-list .children {
    list-style: none;
    /* Reset */
    margin: 30px 0 0 0;
    padding-left: clamp(20px, 8vw, 60px);
    /* Responsive Indent */
    border-left: none;
}

/* Nested Comment Body Adjustments */
.comment-list .children .comment-body {
    padding-left: clamp(50px, 10vw, 70px);
}

.comment-list .children .avatar {
    width: clamp(35px, 8vw, 50px);
    height: clamp(35px, 8vw, 50px);
}

/* Comment Form (Leave A Review) Styling */
#respond {
    background: #ffffff;
    padding: clamp(30px, 8vw, 50px) clamp(20px, 6vw, 50px);
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    margin-top: clamp(40px, 8vw, 60px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

#reply-title {
    font: 800 clamp(22px, 5vw, 28px) var(--font-base);
    color: var(--color-black);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.comment-notes {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 30px;
}

/* Form Layout */
.comment-form {
    display: block;
}

.comment-input-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 3vw, 20px);
    margin-bottom: 20px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form-author,
.comment-form-email {
    flex: 1 1 280px;
    margin-bottom: 0 !important;
}

/* Inputs */
.comment-form label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--color-black);
}

/* Hide Kadence Float Labels if present, to match flat look or just style them */
/* If relying on default Kadence behavior, labels might be inside. We enforce Thick Borders. */

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: #ffffff;
    border: 2px solid #000000 !important;
    /* Thick dark border forced */
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    color: #000000;
    font-weight: 600;
    outline: none;
    box-shadow: none;

}

.comment-form textarea {
    min-height: 150px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #ffcc00 !important;
}

/* Submit Button */
.form-submit {
    margin-top: 20px;
}

.form-submit .submit {
    background: #ffcc00;
    /* Yellow */
    color: #000000;
    font-weight: 800;
    font-size: 16px;
    padding: 15px 40px;
    border: 2px solid #000000;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 4px 4px 0 #000000;
    /* Retro hard shadow */

    text-transform: capitalize;
    display: inline-block;
}

.form-submit .submit:hover {
    box-shadow: 2px 2px 0 #000000;
    background: #ffcc00;
}

/* Mobile adjustments for things that math can't easily solve */


/* =========================================
   Single Recipe Header
   ========================================= */

.custom-recipe-header {
    margin-bottom: 30px;
    width: 100%;
}

.recipe-header-breadcrumbs {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.recipe-header-breadcrumbs a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.recipe-header-breadcrumbs a:hover {
    color: #000;
    text-decoration: underline;
}

.custom-recipe-header .entry-title {
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--color-black, #000);
}

/* =========================================
   New Meta Layout (Media Object: Avatar Left)
   ========================================= */

.recipe-meta-layout {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Avatar on the left */
.meta-avatar .author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    display: block;
}

/* Right side content wrapper */
.meta-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

/* Row 1: Author, Comments, Share */
.meta-primary-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-base), sans-serif;
}

.meta-author-text {
    font-size: 17px;
    color: #555;
    font-weight: 400;
    margin-right: 5px;
}

.meta-author-text .author-name {
    font-weight: 800;
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.meta-author-text .author-name:hover {
    text-decoration-color: var(--color-primary, #ffcc00);
    background-color: transparent;
}

/* Pills */
.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #edf2f4;
    /* Light clean background */
    padding: 6px 16px;
    border-radius: 50px;
    /* Fully rounded pill */
    font-size: 14px;
    color: #2b2d42;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.meta-pill i {
    font-size: 14px;
    color: #444;
    /* Neutral icon color */
}

.comment-pill:hover,
.share-pill:hover {
    background: #e0e6e8;
    color: #000;
    transform: translateY(-1px);
}

.comment-pill strong,
.share-pill strong {
    font-weight: 700;
    text-decoration: underline;
    /* Matches reference image look */
    text-decoration-thickness: 1px;
}

/* Row 2: Dates */
.meta-secondary-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
}

.date-item strong {
    color: #111;
    font-weight: 700;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 650px) {
    .recipe-meta-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .meta-avatar .author-avatar {
        width: 70px;
        height: 70px;
    }

    .meta-info {
        align-items: center;
        gap: 12px;
    }

    .meta-primary-row {
        justify-content: center;
        gap: 10px;
    }

    .meta-secondary-row {
        justify-content: center;
        gap: 10px;
    }

    .meta-author-text {
        width: 100%;
        /* Force break line for author text on mobile */
        margin-bottom: 5px;
    }
}

/* =========================================
   Hero Buttons (Jump, Pin)
   ========================================= */
.recipe-hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.recipe-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 2px solid #000000;
    color: #000000;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.recipe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px #000000;
    background: #ffcc00;
    /* Brand highlight */
}

.jump-to-recipe i,
.pin-btn i {
    font-size: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .recipe-meta-primary {
        gap: 20px;
    }

    .recipe-meta-secondary {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .custom-recipe-header .entry-title {
        text-align: center;
        font-size: 32px;
    }

    .recipe-header-breadcrumbs {
        text-align: center;
    }

    .recipe-meta-container {
        align-items: center;
    }

    .recipe-meta-primary {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .meta-item {
        font-size: 15px;
    }

    .recipe-meta-secondary {
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .recipe-hero-buttons {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .recipe-btn {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================
   Custom Post Navigation
   ========================================= */
.cadence-recipe-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 60px 0;
    width: 100%;
}

.cadence-recipe-post-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    flex: 1;
    max-width: 50%;
    color: inherit;

}

/* Previous Post Alignment */
.cadence-recipe-post-nav .nav-prev {
    justify-content: flex-start;
    text-align: left;
}

/* Next Post Alignment */
.cadence-recipe-post-nav .nav-next {
    justify-content: flex-end;
    text-align: right;
}

/* Thumbnails */
.cadence-recipe-post-nav .nav-thumb {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;

    display: block;
}

.cadence-recipe-post-nav .nav-image-wrapper {
    overflow: hidden;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Content */
.cadence-recipe-post-nav .nav-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

/* Label & Arrow */
.cadence-recipe-post-nav .nav-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-black);
    /* Matching user black text preference generally */
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize;
}

.cadence-recipe-post-nav .nav-prev .nav-label {
    flex-direction: row;
}

.cadence-recipe-post-nav .nav-next .nav-label {
    justify-content: flex-end;
    /* Align arrow to right */
    flex-direction: row;
}

.cadence-recipe-post-nav .nav-label svg {
    width: 18px;
    height: 18px;

    stroke: currentColor;
}



/* Title */
.cadence-recipe-post-nav .nav-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-black);
    margin: 0;
    line-height: 1.3;
}

/* Link Hover */
.cadence-recipe-post-nav .nav-link:hover .nav-title {
    text-decoration: underline;
}

/* Empty State */
.cadence-recipe-post-nav .empty {
    flex: 1;
}

/* Mobile Responsive */


/* Fallback: Hide default Kadence/WP Navigation if PHP removal fails */
.single-post .entry-navigation,
.single-post .post-navigation:not(.cadence-recipe-post-nav) {
    display: none !important;
}

/* =========================================
   Related Posts Section
   ========================================= */
.cadence-recipe-related-posts {
    margin: 50px auto;
    max-width: var(--container-width);
    padding: 0 15px;
    /* Matching other containers */
}

.related-posts-title {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    font-family: var(--font-base);
    border-bottom: none;
    /* In case theme adds borders */
    padding-bottom: 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-post-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    /* align-items: center;  Image suggests center alignment of text? Yes */
    align-items: center;

}

/* Image Wrapper */
.related-post-image {
    width: 100%;
    aspect-ratio: 3/4;
    /* Vertical portrait for recipes */
    overflow: hidden;
    border-radius: 4px;
    /* Slight rounding */
    margin-bottom: 15px;
    background: #ffffff;
    position: relative;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}


/* Title Styling */
.related-post-heading {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
    line-height: 1.3;
    padding: 0 5px;
}

.related-post-item:hover .related-post-heading {
    color: var(--color-primary);
    /* Highlight on hover */
}

/* Fallback to hide default Kadence Related Posts if PHP hook misses */
.entry-related:not(.cadence-recipe-related-posts) {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns for Tablet */
        gap: 20px;
    }
}



@media (max-width: 400px) {
    .related-posts-grid {
        gap: 10px;
    }

    .related-post-heading {
        font-size: 14px;
    }
}

/* =========================================
   Save This Recipe Section
   ========================================= */
.save-recipe-section {
    margin: 40px 0;
    width: 100%;
}

.save-recipe-inner {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 40px;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* Diagonal Background Pattern like the image */
.save-recipe-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 50%, #e0e0e0 50%, #e0e0e0 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.save-recipe-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.save-recipe-icon {
    width: 32px;
    height: 32px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
}

.save-recipe-icon svg {
    width: 18px;
    height: 18px;
}

.save-recipe-title {
    font-size: 32px;
    font-weight: 800;
    color: #000000;
    margin: 0;
    font-family: var(--font-base);
}

.save-recipe-form {
    position: relative;
    z-index: 1;
}

.save-recipe-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.save-recipe-field {
    flex: 1;
}

.save-recipe-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444444;
    border-radius: 6px;
    font-size: 16px;
    font-family: var(--font-base);
    color: #000000;
    background: #ffffff;

}

.save-recipe-field input:focus {
    border-color: #000000;
    outline: none;
}

.save-recipe-agreement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.save-recipe-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000000;
}

.save-recipe-agreement label {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
}

.save-recipe-submit {
    background: #000000;
    color: #e0e0e0;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;

}

.save-recipe-submit:hover {
    background: #000000;
}



/* =========================================
   Single Post About Author (Nagi Style)
   ========================================= */
.single-post-about-wrapper {
    margin: 60px 0 40px;
    width: 100%;
}

.single-post-about-inner {
    display: flex;
    align-items: flex-end;
    background-color: #f1f1f1;
    gap: 1rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.single-post-about-image {
    flex: 0 0 380px;
    display: flex;
    align-items: flex-end;
}

.single-post-about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.single-post-about-content {
    flex: 1;
    padding-bottom: 50px;
}

.single-post-about-content h3 {
    color: var(--color-black);
    margin: 0 0 20px;
    line-height: 1.1;
    font: 700 38px/1.1 var(--font-base);
}

.single-post-about-content p {
    color: var(--color-black);
    margin-bottom: 30px;
    font: 600 18px/1.6 var(--font-base);
}

.single-about-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-black);
    font: 700 14px/1.6 var(--font-base);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
}

/* =========================================
   Single Category Page Design
   ========================================= */

/* Main Container Override */
.category-template-main {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* 1. Header Section */
.category-top-container {
    padding: 40px 20px 30px;
    background: #ffffff;
}

.category-inner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.theme-breadcrumbs {
    font-size: 14px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: capitalize;
    font-family: var(--font-base);
}

.theme-breadcrumbs a {
    color: #000000;
    text-decoration: none;
}

.theme-breadcrumbs .sep {
    margin: 0 8px;
    color: #444444;
}

.category-page-title {
    font-family: 'Poppins', sans-serif;
    /* Serif for main title */
    font-weight: 800;
    font-size: 42px;
    margin: 10px 0 20px 0;
    color: #000000;
    line-height: 1.2;
}

/* 2. Featured Banner (Yellow) */
.category-featured-banner {
    background-color: #ffcc00;
    padding: 40px 0 50px 0;
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    margin-top: 20px;
}

/* Wavy Top Decoration (Simulated with Border Radius or SVG? SVG is safer usage if inline, but here just simple box) */
/* The image shows a relatively clean banner. I'll stick to full block. */

.banner-deco-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    opacity: 0.6;
    pointer-events: none;
}

.featured-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.featured-header {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-top: 20px;
}

.sparkle-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
    color: #000000;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.featured-banner-title {
    font-family: var(--font-base);
    /* Sans serif for banner title */
    font-weight: 900;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    margin: 0;
}

/* 3. All Posts Section */
.category-all-posts-container {
    padding-bottom: 60px;
}

.all-posts-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    white-space: nowrap;
    overflow: hidden;
}

.all-posts-title {
    font-size: 34px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin: 0;
    color: #000000;
}

.styled-divider {
    flex-grow: 1;
    height: 8px;
    background-image: repeating-linear-gradient(90deg,
            #444444 0,
            #444444 1px,
            transparent 1px,
            transparent 5px);
    margin-left: 20px;
    align-self: center;
    opacity: 0.7;
    border-radius: 2px;
}

/* Posts Grid */
.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.cat-grid-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    /* Centered titles like image */
}

.cat-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cat-post-thumbnail {
    width: 100%;
    border-radius: 4px;
    /* Slight radius */
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 0.75;
    /* 3:4 Portrait */
    background: #ffffff;
}

.cat-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}


.cat-entry-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: #000000;
    margin: 0;
    font-family: var(--font-base);
}

.all-posts-header {
    align-items: center;
    /* Center align header on mobile */
}

/* =========================================
   Premium List Design (Global Default)
   ========================================= */
article ul,
.entry-content ul,
.wp-block-post-content ul,
ul.wp-block-list {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}

article ul li,
.entry-content ul li,
.wp-block-post-content ul li,
ul.wp-block-list li {
    position: relative !important;
    padding-left: 30px !important;
    margin-bottom: 15px !important;
    line-height: 1.7 !important;
    color: var(--color-text);
    font-size: 17px;
}

article ul li::before,
.entry-content ul li::before,
.wp-block-post-content ul li::before,
ul.wp-block-list li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 10px !important;
    width: 10px !important;
    height: 10px !important;
    background-color: var(--color-primary) !important;
    border-radius: 50% !important;
}


/* Nested Lists */
.entry-content ul ul,
article ul ul {
    margin-left: 30px !important;
    margin-top: 10px !important;
}

/* Editor Specific Tweaks */
.editor-styles-wrapper ul li::before {
    top: 12px !important;
}


/* =========================================
   Merged File: assets/css/header.css
   ========================================= */

/* ========================================
   CUSTOM HEADER STYLES - Optimized & Consolidated
   ======================================== */

/* --- 1. Utilities & Shared --- */
.top-bar-container,
.main-header-container,
.top-bar-left,
.top-bar-right,
.social-icons,
.social-icons a,
.subscribe-btn,
.site-logo a,
.primary-menu,
.header-right-items,
.mobile-menu-close,
.search-submit,
.search-form,
.mobile-social-icons a,
.mobile-primary-menu a,
.recipe-search-wrapper,
.recipe-search-form,
.recipe-search-btn {
    display: flex;
    align-items: center;
}

.top-bar-container,
.main-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    justify-content: space-between;
}

/* --- 2. Top Bar --- */
.custom-top-bar {
    background: linear-gradient(135deg, #ffcc00 0%, #ffcc00 100%);
    padding: 10px 0;
}

.top-bar-left,
.top-bar-right {
    gap: 15px;
}

.top-bar-promo {
    background: #ffffff;
    padding: 5px 5px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1.1;
    margin: -10px 0;

}

.top-bar-promo:hover {
    background: #f9f9f9;
}

.promo-text-bold {
    font-size: 18px;
    font-weight: 800;
    color: #000000;
    text-transform: none;
    padding: 5px;
}

.follow-text {
    font-size: clamp(13px, 1.2vw, 17px);
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.3px;
}

.follow-text {
    margin-right: 5px;
}

.social-icons {
    gap: 10px;
}

.social-icons a {
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    color: #000000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.subscribe-btn {
    gap: 8px;
    padding: 8px 18px;
    background: #cc0000;
    color: #e0e0e0;
    font: 600 13px/1 'Poppins', sans-serif;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.subscribe-btn svg {
    width: 16px;
    height: 16px;
}

/* --- 3. Main Header --- */
/* Main Header - Sticky styles consolidated at bottom (header#masthead.custom-main-header) */
.custom-main-header {
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);

    font-family: 'Poppins', sans-serif;
}

.main-header-container {
    gap: clamp(20px, 4vw, 40px);
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: clamp(32px, 5vw, 45px);
    width: auto;

}


/* --- 4. Desktop Navigation --- */
.main-navigation {
    flex: 1;
    justify-content: center;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: clamp(20px, 3vw, 35px);
    flex-direction: row;
    justify-content: center;
}

.primary-menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

.primary-menu a {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    padding: 8px 0;
    position: relative;

    text-transform: capitalize;
    letter-spacing: 0.3px;
    line-height: 18px;
}

/* Underline Effect */
.primary-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffcc00, #ffcc00);

    border-radius: 2px;
}

.primary-menu a:hover::before,
.primary-menu .current-menu-item a::before {
    width: 100%;
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
    color: #ffcc00;
}

/* Arrow Logic */
.primary-menu>li.menu-item-has-children>a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.primary-menu>li.menu-item-has-children>a::after {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;

}

.primary-menu>li.menu-item-has-children:hover>a::after {
    transform: rotate(225deg);
    margin-top: 4px;
    border-color: #ffcc00;
}

/* Dropdowns */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #000000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    padding: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;

    border-radius: 4px;
    margin-top: 15px;
    list-style: none;
    z-index: 9999;
}

.primary-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #000000 transparent;
}

.primary-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.primary-menu .sub-menu li {
    display: block;
}

.primary-menu .sub-menu a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-menu .sub-menu li:last-child a {
    border-bottom: none;
}

.primary-menu .sub-menu a::before {
    display: none;
}

.primary-menu .sub-menu a:hover {
    background: #000000;
    color: #e0e0e0;
    padding-left: 20px;
}

/* --- 5. Header Right & Search --- */
.header-right-items {
    gap: 20px;
    flex-shrink: 0;
}

.mobile-search-trigger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000000;
    padding: 5px;
}

.mobile-search-trigger:hover {
    color: #ffcc00;
}

.recipe-search-wrapper,
.recipe-search-form {
    position: relative;
}

.recipe-search-input {
    width: clamp(200px, 20vw, 280px);
    padding: 8px 50px 8px 20px;
    border: 2px solid #000000 !important;
    border-radius: 50px !important;
    font: 600 17px 'Poppins', sans-serif !important;

    outline: none !important;
    color: #000000 !important;
    height: 48px !important;
    appearance: none;
}

.recipe-search-input::placeholder {
    color: #000000 !important;
    font: 600 17px 'Poppins', sans-serif !important;
    opacity: 1;
}

.recipe-search-input:focus {
    width: clamp(220px, 22vw, 300px);
}

.recipe-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffcc00 !important;
    border: none !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    justify-content: center;
    cursor: pointer;

    color: #000000 !important;
    padding: 0;
    z-index: 2;
}

.recipe-search-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.recipe-search-btn:hover {
    background: #ffcc00 !important;
    box-shadow: none;
}

/* --- 6. Mobile Side Menu --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-bar {
    width: 25px;
    height: 3px;
    background: #000000;
    border-radius: 2px;

}

.mobile-menu-toggle:hover .menu-bar {
    background: #ffcc00;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;

    z-index: -1;
}

.mobile-menu-overlay.active::before {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 30px;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    justify-content: center;
    cursor: pointer;

    color: #000000;
    z-index: 1002;
}

.mobile-menu-close svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.mobile-menu-close:hover {
    background: #000000;
    color: #e0e0e0;
    transform: rotate(90deg);
}

.mobile-primary-menu {
    list-style: none;
    margin: 60px 0 0;
    padding: 0;
}

.mobile-primary-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #000000;
}

.mobile-primary-menu a {
    justify-content: space-between;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;

    text-transform: capitalize;
}

.mobile-primary-menu a:hover,
.mobile-primary-menu .current-menu-item a {
    color: #ffcc00;
}

/* Mobile Arrows & Submenus */
.mobile-primary-menu .menu-item-has-children>a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-right: 15px;

}

.mobile-primary-menu .menu-item-has-children.active>a::after {
    transform: rotate(225deg);
    margin-top: 3px;
}

.mobile-primary-menu .sub-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;

    background: #ffffff;
}

.mobile-primary-menu .sub-menu a {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    color: #444444;
    border-bottom: 1px solid #444444;
}

.mobile-primary-menu .sub-menu a:hover {
    padding-left: 25px;
    background: #ffffff;
}

/* Mobile Social Icons */
.mobile-social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #000000;
}

.mobile-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    color: #000000;
    text-decoration: none;

    font-size: 16px;
}

.mobile-social-icons a:hover {
    background: #ffcc00;
    color: #000000;
}

/* --- 7. Responsive Rules (Mobile: < 1210px) --- */
@media (max-width: 1210px) {
    .custom-top-bar {
        padding: 12px 0;
        display: flex;
    }

    .top-bar-container {
        justify-content: center;
    }

    .top-bar-left {
        width: 100%;
        text-align: center;
        justify-content: center;
        gap: 10px;
    }

    /* Hide promo banner on mobile */
    .top-bar-left .top-bar-promo {
        display: none !important;
    }

    /* Show social icons on mobile */
    .top-bar-right {
        display: flex !important;
        justify-content: center;
        width: 100%;
    }

    .top-bar-right .follow-text {
        display: none;
    }

    .subscribe-btn,
    .main-navigation {
        display: none !important;
    }

    /* Grid Layout */
    .main-header-container {
        display: grid;
        grid-template-columns: 40px 1fr 40px;
        gap: 15px;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        order: initial;
    }

    .site-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        text-align: center;
    }

    .mobile-search-trigger {
        display: flex;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        z-index: 1001;
    }

    .header-right-items {
        display: contents;
    }

    /* Mobile Search Bar (Hidden -> Slide Down) */
    .recipe-search-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ff6600;
        padding: 15px 20px;
        z-index: 998;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .recipe-search-wrapper.active {
        display: block !important;
    }

    .recipe-search-input {
        position: relative;
        width: 100% !important;
        opacity: 1;
        pointer-events: auto;
        border: none !important;
        height: 50px !important;
        right: auto;
        top: auto;
        transform: none;
    }

    .recipe-search-btn {
        right: 5px;
    }

    .recipe-search-form {
        width: 100%;
    }

    .custom-main-header {
        padding: 12px 0;
    }

    .custom-main-header.scrolled {
        padding: 10px 0;
    }
}



@media print {

    .custom-top-bar,
    .header-search,
    .mobile-menu-toggle {
        display: none;
    }
}

/* =========================================
   Merged File: assets/css/post-card.css
   ========================================= */

/* =========================================
   Post Card Shortcode Styles - Updated
   ========================================= */

.cr-post-card {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: visible;
    /* Changed to visible for overlap */
}

.cr-post-card-inner {
    display: flex;
    gap: 30px;
    align-items: stretch;
    /* Stretch to make image/content same height */
    position: relative;
}

.cr-post-card-image {
    flex: 0 0 45%;
    max-width: 400px;
    position: relative;
}

.cr-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.cr-post-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Removing top padding to align with image top */
    position: relative;
}

.cr-post-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
}

/* Positioning the number over the image */
.cr-post-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffcc00;
    /* Matching theme primary */
    color: #e0e0e0;
    border-radius: 50%;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    position: absolute;
    left: -48px;
    /* Move it over the gap and onto the image */
    top: 5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cr-post-card-title {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 800;
    margin: 0;
    color: #000000;
    line-height: 1.1;
    padding-top: 0;
}

.cr-post-card-description {
    margin: 20px 0 30px;
    flex-grow: 1;
}

.cr-post-card-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    text-align: left;
}

.cr-post-card-footer {
    padding-bottom: 20px;
    /* Space at the bottom as requested */
}

.cr-post-card-button {
    display: inline-block;
    background-color: #ffcc00;
    color: #000000 !important;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;

    width: fit-content;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cr-post-card-button:hover {
    background-color: #ffcc00;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}



/* =========================================
   Merged File: assets/css/recipe-newsletter.css
   ========================================= */

.recipe-newsletter-wrap {
    background-color: #ffcc00;
    /* Main Yellow Background */
    padding: 30px 30px;
    border-radius: 5px;
    /* Flat look as per typical WP content blocks or slightly rounded */
    margin: 40px 0;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.rn-headline {
    font-size: 42px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 30px 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.rn-input-group {
    display: flex;
    align-items: center;
    background-color: var(--color-white);
    border-radius: 50px;
    padding: 5px 5px 5px 10px;
    max-width: 600px;
    margin: 0 auto;
}

.rn-form {
    margin: 0;
}

.rn-input-group input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 18px;
    color: #000000;
    padding: 0;
    box-shadow: none !important;
}

.rn-submit {
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    padding: 10px 10px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;

    white-space: nowrap;
}

.rn-submit:hover {
    background-color: #000000;
}



/* Responsive Styles */


/* =========================================
   Merged File: assets/css/footer.css
   ========================================= */

/* =========================================
   Footer Styling
   ========================================= */
.site-footer {
    background-color: #000000;
    color: #e0e0e0;
    padding: 5px 0;
    font-family: var(--font-base, sans-serif);
    font-size: 18px;
    line-height: 18px;
}

.footer-container {
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Footer Navigation */
.footer-navigation .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.footer-navigation .footer-menu li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;

    font-size: 18px;
    line-height: 18px;
}

.footer-navigation .footer-menu li a:hover {
    color: var(--color-primary, #ffcc00);
}

/* Footer Right Side */
.footer-right {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-copyright {
    display: flex;
    gap: 15px;
    color: #e0e0e0;
    opacity: 0.9;
}

.site-credits {
    position: relative;
    padding-left: 15px;
}

.site-credits::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Back to Top */
.back-to-top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;

}

.back-to-top:hover {
    color: var(--color-primary, #ffcc00);
}

.back-to-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #ffcc00);
}

.back-to-top-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}


.site-credits::before {
    display: none;
}

.site-credits {
    padding-left: 0;
}


/* =========================================
   Merged File: assets/css/pre-footer.css
   ========================================= */

/* =========================================
   Pre-Footer Section Styling
   ========================================= */
.pre-footer-section {
    max-width: var(--container-width, 1200px);
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    font-family: var(--font-base, sans-serif);
}

.pre-footer-box {
    position: relative;
    padding: 10px 10px 10px;
    border-radius: 15px;
    text-align: center;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

/* Newsletter */
.pre-footer-newsletter {
    background: #ffcc00;
    /* Vibrant Yellow */
    border: 3px solid #90bd3e;
    padding: 10px 10px;
    justify-content: center;
}


/* Social */
.pre-footer-social {
    border: 3px solid #90bd3e;
}

/* Bottom About */
.pre-footer-bottom-about {
    border: 3px solid #E4405F;
}

/* Typography */


.pf-small-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pf-heading {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 10px;
}

.pf-desc {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #000000;
}

/* Newsletter Specific */
.pf-newsletter-heading {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -1px;
}



.pf-newsletter-form {
    width: 100%;
    max-width: 450px;
}

.pf-newsletter-input-group {
    display: flex;
    background: var(--color-bg-light) !important;
    border-radius: 100px !important;
    padding: 3px 3px 3px 25px !important;
    width: 100%;
    align-items: center;
    box-sizing: border-box;
    border: none !important;
    box-shadow: none !important;
}

.pf-newsletter-input-group input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 3px 0 !important;
    font-size: 16px;
    color: #000000 !important;
    font-family: inherit;
    box-shadow: none !important;
    height: auto !important;
    margin: 0 !important;
}

.pf-newsletter-btn {
    background: var(--color-black) !important;
    color: var(--color-white) !important;
    border: none !important;
    padding: 3px 10px !important;
    border-radius: 100px !important;
    font: 800 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;

    box-shadow: none !important;
    margin: 0 !important;
}

.pf-btn-arrow {
    display: flex;
    align-items: center;
}

/* Links & Buttons */
.pf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #000000;
    text-decoration: none;
    font-size: 14px;

    margin-top: auto;
}

.pf-link:hover {
    opacity: 0.7;
}

.pf-arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid #E4405F;
    border-radius: 50%;
    color: #E4405F;
}

/* Facebook Group Button */
.pf-fb-group-btn {
    background-color: #ffcc00;
    color: #000000;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.pf-fb-group-btn .pf-arrow-circle {
    border-color: #e0e0e0;
    color: #e0e0e0;
}

/* Social Icon Grid */
.pf-social-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 icons per row */
    gap: 15px;
    width: 100%;
    max-width: 250px;
    margin-top: 10px;
}

.pf-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Circular */
    text-decoration: none;

    background: #ffffff;
    border: 1px solid #e0e0e0;
    margin: 0 auto;
}


.pf-social-btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pf-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #e0e0e0;
    font-size: 18px;
}


/* Social Colors */
.pf-facebook .pf-social-icon {
    background: #1877F2;
}

.pf-instagram .pf-social-icon {
    background: radial-gradient(circle at 30% 107%, #ffcc00 0%, #ffcc00 5%, #ff6600 45%, #E4405F 60%, #1877F2 90%);
}

.pf-twitter .pf-social-icon {
    background: #000000;
    /* X Black */
}

.pf-linkedin .pf-social-icon {
    background: #1877F2;
}

.pf-pinterest .pf-social-icon {
    background: #cc0000;
}

.pf-youtube .pf-social-icon {
    background: #cc0000;
}


/* Responsive */






/* =========================================
   Merged File: assets/css/shortcodes.css
   ========================================= */

/* 
 * Shortcodes CSS 
 * Extracted from: search-section-shortcode.php, all-recipes-shortcode.php
 */

/* =========================================
   1. Custom Search Section Shortcode
   ========================================= */

/* Wrapper */
.custom-search-wrapper {
    width: 100%;
    background: transparent;
    padding: 40px 20px;
    box-sizing: border-box;
}

.custom-search-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
}

/* 1. Search Form Styling */
.custom-search-form-wrap {
    flex: 0 0 500px;
    width: 100%;
}

.custom-search-form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Input Field - Pill Design matching Header */
.custom-search-input {
    width: 100%;
    height: clamp(50px, 6vh, 60px);
    border: 2px solid #000000 !important;
    border-radius: 50px !important;
    padding: 0 65px 0 25px;
    font: 600 20px 'Poppins', sans-serif !important;
    color: #000000 !important;
    background: var(--color-white) !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;

}

/* Submit Button - Yellow Circle matching Header */
.custom-search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background-color: var(--color-primary) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    padding: 0;
    color: #000000 !important;
    z-index: 2;
}

.custom-search-submit:hover {
    background-color: #ffcc00 !important;
}

.custom-search-submit svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* 2. Trending Section Styling */
.custom-trending-wrap {
    flex: 1;
    text-align: left;
}

.trending-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    color: #000000;
    font-family: 'Poppins', sans-serif;
}

.trending-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.trending-link {
    color: #000000;
    text-decoration: none;
    font: 400 22px/24px 'Poppins', sans-serif;
    position: relative;
    transition: color 0.3s ease;
}

.trending-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: #000000;
    transition: width 0.3s ease;
}

.trending-link:hover::after {
    width: 100%;
}

/* Responsive Design */







/* =========================================
   2. Explore Recipes Shortcode
   ========================================= */

/* Container */
.explore-recipes-wrapper {
    width: 100%;
    background: #ffffff;
    /* White background as in image */
    padding: 50px 20px;
    box-sizing: border-box;
    display: block;
    clear: both;
}

.explore-recipes-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Decorative SVG */
.explore-deco {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.explore-deco svg path {
    opacity: 0.8;
}

/* Title */
.explore-title {
    font-size: 36px;
    font-weight: 800;
    /* Extra bold */
    color: #000000;
    line-height: 1.2;
    text-transform: capitalize;
    font-family: inherit;
    /* Use theme font */
}

/* Description */
.explore-text-wrap {
    max-width: 900px;
    margin: 0 auto 35px auto;
}

.explore-text {
    font-size: 17px;
    color: #444444;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Buttons Grid */
.explore-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Single Button */
.explore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-black) !important;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none !important;

    line-height: 1;
}

/* Button Icon (Arrow) */
.explore-btn-icon {
    margin-left: 10px;
    display: flex;
    align-items: center;
    opacity: 0.9;
}

/* =========================================
   3. All Recipes Shortcode (Pagination)
   ========================================= */

/* =========================================
   Global Pagination Styles
   ========================================= */
.recipe-pagination,
.category-pagination,
.navigation.pagination .nav-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-bottom: 40px;
    width: 100%;
}

/* Reset for standard WP pagination structure if used elsewhere */
.navigation.pagination {
    display: block;
    margin: 0;
    padding: 0;
}

.recipe-pagination .page-numbers,
.category-pagination .page-numbers,
.navigation.pagination .nav-links .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    padding: 0 !important;
    margin: 0 5px !important;
    border: 2px solid #000000 !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    color: #000000 !important;
    background-color: #e0e0e0 !important;
    font-family: var(--font-base, 'Poppins', sans-serif) !important;
    font-weight: 700 !important;
    font-size: 16px !important;

    box-shadow: none !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

/* Active & Hover States - Match Image 1 Yellow */
.recipe-pagination .page-numbers.current,
.recipe-pagination .page-numbers:hover,
.category-pagination .page-numbers.current,
.category-pagination .page-numbers:hover,
.navigation.pagination .nav-links .page-numbers.current,
.navigation.pagination .nav-links .page-numbers:hover {
    background-color: #ffcc00 !important;
    border-color: #000000 !important;
    color: #000000 !important;
}

/* Dots Styling */
.recipe-pagination .page-numbers.dots,
.category-pagination .page-numbers.dots,
.navigation.pagination .nav-links .page-numbers.dots {
    border: none !important;
    background: transparent !important;
    width: auto !important;
    min-width: 20px !important;
    padding: 0 !important;
}

/* Arrow Size adjustment if needed */
.recipe-pagination .page-numbers.prev i,
.recipe-pagination .page-numbers.next i,
.category-pagination .page-numbers.prev i,
.category-pagination .page-numbers.next i,
.navigation.pagination .nav-links .page-numbers.prev i,
.navigation.pagination .nav-links .page-numbers.next i {
    font-size: 14px !important;
}

/* Hide screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =========================================
   Comment Form Styles & Helpers
   ========================================= */
.comment-header-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffcc00;
    border: 2px solid #000000;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-header-icon-wrapper i {
    color: #000000;
    font-size: 20px;
}

.single-about-btn svg {
    margin-left: 5px;
}

/* =========================================
   Sticky Header Implementation
   ========================================= */
header#masthead.custom-main-header {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    background: #ffffff;

    width: 100%;
}

/* Adjust top position if admin bar is present */
.admin-bar header#masthead.custom-main-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar header#masthead.custom-main-header {
        top: 46px;
    }
}

/* Styles when scrolled */
header#masthead.custom-main-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.mobile-menu-overlay {
    z-index: 10000;
}

/* =========================================
   Search Overlay & Quick Search - PIXEL PERFECT
   ========================================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    display: none;
    /* Controlled by JS */
    background: transparent;
    overflow: hidden;
}

.search-overlay.active {
    display: block;
}

.search-overlay-glass-top {
    height: 20vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.search-overlay-close-arrow {
    background: none !important;
    border: none !important;
    color: #e0e0e0 !important;
    font-size: 32px;
    cursor: pointer;


    padding: 10px;
    outline: none;
    box-shadow: none !important;
}

.search-overlay-close-arrow:hover,
.search-overlay-close-arrow:focus,
.search-overlay-close-arrow:active {
    background: transparent !important;
    color: #e0e0e0 !important;
    box-shadow: none !important;
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.search-overlay-white-content {
    height: 80vh;
    background: #ffffff;
    overflow-y: auto;
    padding: 30px 0 60px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
}

.search-overlay-white-content::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari/Opera */
}

.search-overlay-container {
    max-width: var(--container-width-wide);
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

.search-overlay-form-wrapper {
    flex: 1;
    margin: 0 40px;
}

.search-overlay-input-group {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-overlay-input {
    width: 100%;
    padding: 12px 25px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-family: var(--font-base) !important;
    color: #000000 !important;
    outline: none !important;

}

.search-overlay-input:focus {
    border-color: #ffcc00;
}

.search-overlay-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #ffcc00;
    cursor: pointer;
}

/* Heading Section */
.search-overlay .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.search-overlay .section-title {
    font: 900 28px var(--font-base);
    color: #ffcc00;
    /* Bright Yellow */
    margin: 0;
    text-transform: uppercase;
}

.search-overlay .show-all-btn {
    padding: 8px 24px;
    background: #ffffff;
    border: 1px solid #444444;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #444444;
    text-decoration: none;

}

.search-overlay .show-all-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000000;
}

/* Grid & Card - Match Image Precisely */
.search-overlay .recipes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.overlay-recipe-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.overlay-recipe-card .card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.overlay-recipe-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-recipe-card .card-content {
    background: #ffffff;
    margin: -15px 10px 0;
    /* Slight overlap */
    padding: 12px 8px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    z-index: 2;
}

.overlay-recipe-card .card-title {
    margin: 0;
    font: 800 13px/1.3 var(--font-base);
    color: #000000;
}

/* Updated Grid to use Popular Section Card Style (rg-card) */
.search-overlay .rg-card {
    height: 100%;
}

.search-overlay .rg-image-wrapper {
    aspect-ratio: 1 / 1;
    /* More square like the image */
}

.search-overlay .rg-card-title {
    font: 800 14px/1.3 var(--font-base) !important;
    text-transform: none;
}

.search-overlay .rg-content {
    padding: 15px 10px;
}

/* Loader */
.search-overlay .overlay-loader {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    font-size: 30px;
    color: #ffcc00;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .rg-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .pre-footer-section {
        grid-template-columns: 1fr 1fr;
    }



    .custom-search-container {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .custom-search-form-wrap {
        flex: none;
        max-width: 600px;
    }

    .search-overlay .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .about-section-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        gap: 30px;
    }

    .about-section-content-side {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .about-section-divider {
        display: none;
    }

    .about-section-text-wrapper {
        padding-left: 0;
        width: 100%;
    }

    .about-section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .about-section-description {
        font-size: 15px;
        padding: 0 5px;
    }

    .about-section-socials {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }

    .about-section-follow-text {
        font-size: 16px;
    }

    .newsletter-category-section {
        flex-direction: column;
    }

    .newsletter-side {
        padding: 30px;
        text-align: center;
    }

    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }

    .categories-side {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
    }

    .watch-cook-section {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        gap: 35px;
    }

    .watch-cook-content-side h2 {
        font-size: 32px;
    }

    .watch-cook-content-side p {
        margin: 0 auto 30px;
    }

    .watch-cook-video-side {
        width: 100%;
    }

    .single-post-about-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 1.5rem;
        align-items: center;
    }

    .single-post-about-image {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .single-post-about-image img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
    }

    .single-post-about-content {
        padding-bottom: 0;
    }

    .single-post-about-content h3 {
        font-size: 28px;
    }

    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-navigation .footer-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-right {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .brand-logo-item {
        width: calc(100vw / var(--mobile-count) - var(--gap));
    }

    .category-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px 0;
    }

    .category-grid-title {
        font-size: 14px;
        padding: 4px 8px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .youtube-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        display: flex;
        overflow-x: auto;
        gap: 3px;
        padding: 10px 0;
        scroll-snap-type: x mandatory;
    }

    .video-item {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }

    .video-nav {
        display: flex;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .video-nav-prev {
        left: 5px;
    }

    .video-nav-next {
        right: 5px;
    }

    .video-item:nth-child(n+5) {
        display: block;
    }

    .video-section-header h2 {
        font-size: 20px;
    }

    .cadence-recipe-post-nav {
        flex-direction: row;
        /* Side-by-side */
        gap: 10px;
        margin: 30px 0;
        align-items: flex-start;
    }

    .cadence-recipe-post-nav .nav-link {
        flex-direction: column;
        /* Image top, text bottom */
        text-align: center;
        flex: 1;
        width: 50%;
        max-width: 50%;
        gap: 8px;
        padding: 0 5px;
        /* Add breathing room */
    }

    /* Reset alignments for mobile */
    .cadence-recipe-post-nav .nav-prev,
    .cadence-recipe-post-nav .nav-next {
        justify-content: flex-start;
        align-items: center;
    }

    /* Reorder Next Post: Image on Top */
    .cadence-recipe-post-nav .nav-next .nav-image-wrapper {
        order: -1;
    }

    .cadence-recipe-post-nav .nav-thumb,
    .cadence-recipe-post-nav .nav-image-wrapper {
        width: 80px;
        /* Smaller for side-by-side */
        height: 80px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .cadence-recipe-post-nav .nav-label {
        font-size: 11px;
        justify-content: center;
        margin-bottom: 2px;
        width: 100%;
        white-space: nowrap;
        /* Prevent breaking if possible */
    }

    .cadence-recipe-post-nav .nav-next .nav-label {
        justify-content: center;
    }

    .cadence-recipe-post-nav .nav-title {
        font-size: 13px;
        /* Smaller font to fit */
        line-height: 1.3;
        padding: 0;
        word-break: break-word;
        /* Handle long titles */
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        /* Limit lines */
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns for Mobile as well, efficient for 4 items */
        gap: 15px;
    }

    .related-posts-title {
        font-size: 20px;
    }

    .related-post-heading {
        font-size: 15px;
    }

    .save-recipe-inner {
        padding: 25px;
    }

    .save-recipe-title {
        font-size: 24px;
    }

    .save-recipe-row {
        flex-direction: column;
    }

    .save-recipe-field {
        width: 100%;
    }

    .save-recipe-submit {
        width: 100%;
    }

    .category-page-title {
        font-size: 32px;
    }

    .featured-banner-title {
        font-size: 22px;
    }

    .all-posts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .styled-divider {
        display: none;
    }

    .cr-post-card-inner {
        flex-direction: column;
        gap: 20px;
    }

    .cr-post-card-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cr-post-card-number {
        position: absolute;
        left: 15px;
        /* On mobile, move it inside the image area */
        top: 15px;
    }

    .cr-post-card-content {
        padding: 0 15px;
    }

    .cr-post-card-title {
        font-size: 26px;
    }

    .cr-post-card-description {
        margin: 15px 0 20px;
    }

    .recipe-newsletter-wrap {
        padding: 40px 25px;
        text-align: center;
    }

    .rn-headline {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .rn-input-group {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: 15px;
        max-width: 100%;
    }

    .rn-input-group input[type="email"] {
        background-color: var(--color-white);
        padding: 15px 25px;
        border-radius: 50px;
        width: 100%;
        text-align: center;
    }

    .rn-submit {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
    }

    .pf-newsletter-heading {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .pre-footer-section {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-top: 80px;
    }

    .custom-search-wrapper {
        padding: 30px 15px;
    }

    .custom-search-container {
        gap: 25px;
    }

    .custom-search-input {
        height: 54px;
        font-size: 18px;
        padding: 0 60px 0 20px;
    }

    .custom-search-submit {
        width: 36px;
        height: 36px;
        right: 5px;
    }

    .trending-title {
        font-size: 12px;
    }

    .trending-link {
        font-size: 15px;
    }

    .explore-recipes-wrapper {
        padding: 40px 15px;
    }

    .explore-title {
        font-size: 28px;
    }

    .explore-text {
        font-size: 15px;
    }

    /* Horizontal Scroll for Mobile */
    .explore-buttons {
        display: flex;
        flex-wrap: nowrap;
        /* Prevent wrapping */
        overflow-x: auto;
        /* Enable horizontal scroll */
        gap: 12px;
        padding-bottom: 5px;
        /* Space for scrollbar if any */
        justify-content: flex-start;
        /* Align left to start scroll */
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll on iOS */
        /* Hide scrollbar for cleaner look */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .explore-buttons::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .explore-btn {
        padding: 10px 20px;
        font-size: 14px;
        flex: 0 0 auto;
        /* Don't shrink or grow */
        white-space: nowrap;
        /* Keep text on one line */
        max-width: none;
    }


    .search-overlay-glass-top {
        height: 15vh;
    }

    .search-overlay-white-content {
        height: 85vh;
    }

    .search-overlay .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .search-overlay .section-title {
        font-size: 20px;
    }

    .search-overlay .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .search-overlay-form-wrapper {
        margin: 0;
        width: 100%;
    }

    .rg-header .rg-see-all {
        display: none;
    }

    .rg-footer-mobile {
        display: block;
    }

    .rg-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .rg-title {
        font-size: 20px;
    }

    .rg-description {
        font-size: 14px;
    }

    .rg-btn-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        max-width: 400px;
        padding: 12px 20px;
        border: 2px solid var(--color-primary);
        border-radius: 4px;
        text-decoration: none;
        color: var(--color-black);
        font: 800 13px var(--font-base);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .rg-btn-mobile:hover {
        background: var(--color-primary);
        color: var(--color-black);
        box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2);
    }

    #comments {
        padding-inline: 15px;
    }
}

@media (max-width: 480px) {
    .about-section-title {
        font-size: 24px;
    }

    .about-section-person-img {
        max-width: 280px;
    }

    .about-section-social-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .rg-container {
        grid-template-columns: 1fr;
    }

    .rg-image-wrapper {
        aspect-ratio: 1 / 1;
    }

    .newsletter-side {
        padding: 30px 15px;
    }

    .newsletter-side h2 {
        font-size: 24px;
    }

    .newsletter-form button {
        position: static;
        width: 100%;
        margin-top: 10px;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type=email] {
        text-align: center;
        padding: 12px;
    }

    .category-circle-img-wrapper {
        width: 100px;
        height: 100px;
    }

    .category-circle-name {
        font-size: 11px;
    }

    .categories-side {
        gap: 10px;
    }

    .youtube-videos-grid {
        grid-template-columns: 1fr;
    }

    .watch-cook-content-side h2 {
        font-size: 28px;
    }

    .video-bottom-title {
        font-size: 16px;
        bottom: 15px;
        left: 15px;
    }

    .youtube-play-btn {
        width: 50px;
        height: 35px;
        font-size: 18px;
    }

    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cat-entry-title {
        font-size: 15px;
        /* Slightly larger for readability */
        line-height: 1.3;
    }

    .category-top-container {
        padding: 30px 15px 20px;
    }

    .category-page-title {
        font-size: 28px;
        text-align: center;
    }

    .theme-breadcrumbs {
        text-align: center;
        font-size: 12px;
    }

    .mobile-menu-toggle {
        padding: 5px;
    }

    .menu-bar {
        width: 22px;
        height: 2.5px;
    }

    .recipe-search-btn {
        width: 36px !important;
        height: 36px !important;
    }

    .main-header-container {
        grid-template-columns: 36px 1fr 36px;
        gap: 10px;
    }

    .pf-social-buttons {
        grid-template-columns: repeat(3, 1fr);
        max-width: 200px;
        gap: 10px;
    }

    .pf-social-btn {
        width: 45px;
        height: 45px;
    }

    .pf-social-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .pre-footer-box {
        padding: 40px 15px 25px;
    }

    .pf-fb-group-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .pf-newsletter-input-group {
        flex-direction: column;
        background: transparent !important;
        padding: 0 !important;
        gap: 12px;
    }

    .pf-newsletter-input-group input {
        background: var(--color-white) !important;
        border: 1px solid var(--color-white) !important;
        border-radius: 50px !important;
        width: 100%;
        padding: 14px 20px !important;
        text-align: center;
        box-sizing: border-box;
        color: #000000 !important;
    }

    .pf-newsletter-btn {
        width: 100%;
        justify-content: center;
        padding: 5px 10px !important;
    }

    .custom-trending-wrap {
        display: none;
    }
}

/* =========================================
   Recipe Tips Shortcode
   ========================================= */
.recipe-tips-box {
    padding: 35px;
    border-radius: 12px;
}

.recipe-tips-main-title {
    font: 800 22px var(--font-base);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    margin-top: 0;
    color: #333;
}

.recipe-tip-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.recipe-tip-item:last-child {
    margin-bottom: 0;
}

.recipe-tip-number {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    margin-top: 3px;
    line-height: 1;
}

.recipe-tip-content {
    flex: 1;
    font: 500 17px/1.6 var(--font-base);
    color: #444;
}

.recipe-tip-heading {
    font-weight: 800;
    color: #333;
    margin-right: 5px;
}

.recipe-tip-text {
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .recipe-tips-box {
        padding: 25px 20px;
    }

    .recipe-tips-main-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .recipe-tip-item {
        gap: 12px;
    }

    .recipe-tip-number {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .recipe-tip-content {
        font-size: 15px;
    }
}

/* =========================================
   Recipe Header Adjustments
   ========================================= */
.recipe-separator {
    margin: 5px 0;
    width: 100%;
    height: 6px;
    border-top: 2px solid #000000c7;
    border-bottom: 2px solid #000000c7;
}

.recipe-disclosure {
    font-size: 14px;
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* =========================================
   Newsletter Popup
   ========================================= */
.recipe-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.recipe-popup-content {
    background: #fff;
    width: 900px;
    max-width: 95%;
    height: 500px;
    /* Fixed height for consistency */
    display: flex;
    /* Flex container for grid */
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    /* Optional rounded corners */
    overflow: hidden;
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recipe-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 30px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    z-index: 10;
}

.recipe-popup-grid {
    display: flex;
    width: 100%;
    height: 100%;
}

.recipe-popup-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* If fallback color needed */
    background-color: #ddd;
}

.recipe-popup-form-wrapper {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #fff;
}

.recipe-popup-title {
    font-size: 36px;
    /* Larger title */
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-accent-red, #cc0000);
    /* Use theme accent or fallback red */
    margin-bottom: 15px;
}

.recipe-popup-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.recipe-popup-input-group {
    margin-bottom: 15px;
}

.recipe-popup-input {
    width: 100%;
    padding: 15px 20px;
    background: #f1f1f5;
    border: 1px solid transparent;
    border-radius: 2px;
    /* Slight round per image 2 */
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
}

.recipe-popup-input:focus {
    background: #fff;
    border-color: #ddd;
    outline: none;
}

.recipe-popup-submit {
    width: 100%;
    padding: 15px;
    background: var(--color-accent-red, #cc0000);
    color: #fff;
    border: none;
    font-weight: 800;
    font-size: 18px;
    text-transform: capitalize;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.3s;
}

.recipe-popup-submit:hover {
    background: #a01818;
}

@media (max-width: 768px) {
    .recipe-popup-content {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .recipe-popup-image {
        height: 200px;
        /* Show image on mobile? or hide? */
        flex: none;
    }

    .recipe-popup-form-wrapper {
        padding: 30px 20px;
    }

    .recipe-popup-grid {
        flex-direction: column;
    }
}