/*!
Theme Name: The Baker's Dozen
Theme URI: 
Author: AZ Developer
Author URI: 
Description: This theme is used for The Baker's Dozen Website.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: the-bakers-dozen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
/* Product Page Styles */
.shop-now-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.shop-now-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-now-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.shop-now-close:hover {
    color: #333;
}

.shop-now-modal-content h3 {
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
    color: #333;
}

.platform-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.platform-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 60px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fafafa;
}

.platform-logo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.platform-logo-link img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Gallery Interactivity Styles */
.product-details-sub-image-wrapper {
    cursor: pointer;
    transition: opacity 0.2s;
}

.product-details-sub-image-wrapper:hover {
    opacity: 0.8;
}

.product-details-sub-image-wrapper.active {
    border: 2px solid #333;
    opacity: 1;
}

/* Fix Related Products Grid */
.product-page-products-section .products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-page-products-section .product-card {
    flex: 0 0 25%;
    max-width: 25%;
}

@media (max-width: 1120px) {
    .product-page-products-section .product-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 840px) {
    .product-page-products-section .product-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 560px) {
    .product-page-products-section .product-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


.shop-page-products-section-wrapper .products-categories-tabs .products-categories-tab span {
    color: #000;
    font-size: 13px;
}

#wpcf7-f597-o1 .footer-form p {
    display: contents;
}

.page-template-tpl-aboutus .secondary-hero-content .hero-title {
    font-family: "Astro Earth", sans-serif;
}

/* Sticky Navigation for Desktop */
@media (min-width: 1024px) {
    header#primary.is-sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
        background-color: #26272b;
        /* primary-bg */
        animation: slideDownNav 0.3s ease-in-out forwards;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
}

@keyframes slideDownNav {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Marquee Animation */
.features-bar,
.features-bar-2 {
    overflow: hidden;
    white-space: nowrap;
}

.features-bar-content {
    display: flex;
    width: max-content;
    animation: marqueeScroll 20s linear infinite;
    justify-content: flex-start !important;
    max-width: none !important;
    padding-right: calc(var(--space-20) + 6px) !important;
}

.features-bar-2-content {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
    justify-content: flex-start !important;
    max-width: none !important;
    padding-right: calc(var(--space-24) + 6px) !important;
}

.features-bar-content:hover,
.features-bar-2-content:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Fix marker for duplicated items */
.features-bar-content li.no-marker,
.features-bar-2-content li.no-marker {
    list-style-type: none !important;
    padding-left: 0 !important;
}

/* ============================================================
   Desktop Dropdown Menu (Hover)
============================================================ */
@media (min-width: 1025px) {
    .nav-links .menu-item-has-children {
        position: relative;
    }

    .nav-links .menu-item-has-children>a {
        display: inline-flex;
        align-items: center;
    }

    .nav-links .menu-item-has-children>a::after {
        content: "";
        display: inline-block;
        margin-left: 6px;
        border-top: 4px solid currentColor;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        transition: transform 0.2s;
    }

    .nav-links .menu-item-has-children:hover>a::after {
        transform: rotate(180deg);
    }

    .nav-links .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--color-white, #ffffff);
        border: 1px solid var(--color-light-border, #e5e5e5);
        min-width: 260px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s ease-in-out;
        padding: 0;
        margin: 0;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        border-radius: 4px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .nav-links .menu-item-has-children:hover .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links .sub-menu li {
        border-right: none !important;
        padding: 0 !important;
        width: 100%;
        margin: 0;
    }

    .nav-links .sub-menu li a {
        display: block;
        padding: 12px 20px;
        color: var(--color-dark-text, #333333);
        text-decoration: none;
        transition: background-color 0.2s, color 0.2s;
        font-size: 14px;
    }

    .nav-links .sub-menu li a:hover {
        background-color: var(--color-light-background, #f5f5f5);
        color: var(--color-primary, #000000);
    }

    .nav-links .sub-menu .sub-menu {
        top: 0;
        left: 100%;
    }
}

/* ============================================================
   Mobile Dropdown Menu (Click toggle)
============================================================ */
@media (max-width: 1024px) {
    .mobile-nav-links .sub-menu {
        display: none;
        /* hidden by default */
        padding-left: 15px;
        margin-top: 10px;
        margin-bottom: 10px;
        border-left: 1px dashed var(--color-light-border, #e5e5e5);
        width: 100%;
    }

    .mobile-nav-links li.menu-item-has-children {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-nav-links .menu-item-has-children>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* The dropdown toggle button */
    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
        color: inherit;
    }

    .submenu-toggle::after {
        content: "";
        display: inline-block;
        border-top: 5px solid currentColor;
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
        transition: transform 0.3s;
    }

    .menu-item-has-children.submenu-active>a .submenu-toggle::after {
        transform: rotate(180deg);
    }

    .mobile-nav-links .sub-menu li {
        padding: var(--space-6) 0
    }

    .mobile-nav-links .sub-menu li a {
        font-size: 14px;
        /*padding: 8px 0;*/
        display: block;
    }
}

header#primary.is-sticky .features-bar {
    display: none;
}

/* ============================================================
   Default Page Template Styles
============================================================ */
.default-page-wrapper {
    padding: 50px 0;
    color: var(--color-dark-text, #333333);
}

.default-page-wrapper .entry-header {
    margin-bottom: 40px;
    text-align: center;
}

.default-page-wrapper .entry-title {
    font-family: "Astro Earth", sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: normal;
    color: var(--color-primary-text, #000000);
}

.default-page-wrapper .entry-content {
    font-size: 16px;
    line-height: 1.8;
}

.default-page-wrapper .entry-content h2,
.default-page-wrapper .entry-content h3,
.default-page-wrapper .entry-content h4,
.default-page-wrapper .entry-content h5,
.default-page-wrapper .entry-content h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-primary-text, #000000);
}

.default-page-wrapper .entry-content p {
    margin-bottom: 20px;
}

.default-page-wrapper .entry-content ul,
.default-page-wrapper .entry-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.default-page-wrapper .entry-content li {
    margin-bottom: 10px;
}

.default-page-wrapper .entry-content a {
    color: var(--color-decorative-text, #ff7a00);
    text-decoration: underline;
}

.default-page-wrapper .entry-content a:hover {
    text-decoration: none;
}

.default-page-wrapper .entry-content img {
    border-radius: 12px;
    margin-bottom: 20px;
}

/* ==========================================================================
   Home Hero Video Demo (Client Request)
   To remove this and restore the original slider:
   1. Remove this CSS block entirely.
   2. Remove the .hero-video-demo block in header.php and remove .original-home-hero class from .hero-content.
========================================================================== */

/* Note: The visibility of .original-home-hero and .hero-video-demo is now controlled dynamically in PHP via the SCF Hero Type toggle. */

/* Video-only hero specific styles */
.hero-video-demo.video-only-hero::before {
    /*background: rgba(0, 0, 0, 0.15) !important;*/
}


/* Video Background Hero Container */
.hero-video-demo {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 80px 0;
}

/* YouTube Background Video wrapper and iframe */
.hero-video-demo .hero-bg-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-video-demo .hero-bg-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 Aspect Ratio */
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Dark overlay to make text readable */
.hero-video-demo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.65);*/
    z-index: 1;
    /* Place above the video (which is at z-index 0) */
}

/* Overlay content wrapper */
.hero-video-overlay-content {
    position: relative;
    z-index: 2;
    /* Place above the dark overlay (which is at z-index 1) */
    color: #fff;
    max-width: 800px;
}

/* Typography overrides for the overlay text */
.hero-video-overlay-content .hero-title {
    color: #ffffff !important;
    font-family: "Astro Earth", sans-serif;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-video-overlay-content .hero-description,
.hero-video-overlay-content .hero-left-content-description {
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-video-demo {
        min-height: 60vh;
        text-align: center;
        justify-content: center;
    }

    .hero-video-overlay-content {
        text-align: center;
    }

    .cook-with-us-section-videos-wrapper {
        flex-wrap: wrap;
    }

    .cook-with-us-section-video {
        width: 100%;
        height: auto;
    }

    .container {
        width: 100%;
    }

    .special-note-section-content-wrapper {
        width: 100%;
        padding-inline: 30px;
    }
}

.our-journey-section {
    text-align: center;
}

.bg-yellow {
    background-color: var(--color-yellow);
}

/* Mobile WhatsApp Button */
.whatsapp_now {
    display: block;
    position: fixed;
    bottom: 30px;
    z-index: 100;
    right: 30px;
}

.whatsapp_now a {
    display: block;
    margin: 10px 0;
}

.whatsapp_now img {
    width: 50px;
    height: 50px;
}



/* ============================================================
   FAQ Page Styles
============================================================ */
.faq-section {
    margin: 0 auto;
    padding: 100px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-header {
    text-align: center;
    margin: 0 auto;
}

.faq-header h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.05;
    font-weight: normal;
    color: var(--color-primary-text);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.faq-subtitle {
    color: var(--color-light-text);
    font-size: 18px;
    line-height: 1.6;
}

.faq-accordion-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.faq-item {
    background-color: var(--color-cream-yellow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    background-color: #ffffff;
    border-color: var(--color-yellow);
    box-shadow: 0 8px 25px rgba(255, 222, 89, 0.15);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-primary-text);
    transition: color 0.3s ease;
}

.faq-trigger:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: -2px;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: var(--color-primary-text);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg) scaleY(0);
}

.faq-item.active .faq-icon::before {
    background-color: var(--color-dark-yellow);
}

.faq-panel {
    display: none;
}

.faq-panel-content {
    padding: 0 30px 24px 30px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-light-text);
}

.faq-panel-content p {
    margin-bottom: 12px;
}

.faq-panel-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 15px;
        gap: 30px;
    }

    .faq-trigger {
        padding: 18px 20px;
        font-size: 16px;
    }

    .faq-panel-content {
        padding: 0 20px 18px 20px;
        font-size: 14px;
    }

    .faq-icon {
        width: 16px;
        height: 16px;
    }

    .faq-icon::before {
        top: 7px;
        width: 16px;
    }

    .faq-icon::after {
        left: 7px;
        height: 16px;
    }
}

/* ============================================================
   Contact Page Styles (Dark Charcoal Theme)
   ============================================================ */
.contact-page-wrapper {
    background-color: var(--color-primary-bg, #26272b);
    width: 100%;
}

.contact-section {
    margin: 0 auto;
    padding: 100px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-header {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.contact-header h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1.05;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.contact-section-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    font-style: italic;
    color: var(--color-yellow, #ffde59);
    margin-top: 10px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-col .info-label {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    text-transform: capitalize;
}

.contact-info-col .info-value {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-col a.info-value:hover {
    color: var(--color-yellow, #ffde59);
}

.contact-social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon-link:hover {
    transform: translateY(-3px);
}

.social-icon-link img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

/* Form Styles */
.contact-form-wrapper {
    margin-top: 20px;
    margin-bottom: 50px;
}

/* Bypass Contact Form 7 automatic paragraph elements */
.contact-form-wrapper p {
    display: contents;
}

.tbd-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tbd-form-row {
    display: grid;
    gap: 25px;
}

.tbd-form-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tbd-form-row-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tbd-form-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tbd-form-col label {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
}

/* Input Styles */
.tbd-form-col input[type="text"],
.tbd-form-col input[type="email"],
.tbd-form-col input[type="tel"],
.tbd-form-col select,
.tbd-form-col textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: #ffffff;
    background-color: #2e2f34;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tbd-form-col input::placeholder,
.tbd-form-col textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.tbd-form-col input:focus,
.tbd-form-col select:focus,
.tbd-form-col textarea:focus {
    outline: none;
    border-color: var(--color-yellow, #ffde59);
    box-shadow: 0 0 0 3px rgba(255, 222, 89, 0.15);
}

.tbd-form-col select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 15px;
    padding-right: 45px;
    cursor: pointer;
}

.tbd-form-col textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit Button */
.tbd-form-submit-wrapper {
    display: flex;
    justify-content: flex-end;
}

.tbd-form-submit-wrapper input[type="submit"] {
    background-color: var(--color-yellow, #ffde59);
    color: #000;
    border: none;
    border-radius: 0;
    padding: 15px 60px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.tbd-form-submit-wrapper input[type="submit"]:hover {
    background-color: #ffffff;
    color: #000;
}

.tbd-form-submit-wrapper input[type="submit"]:active {
    transform: scale(0.98);
}

/* Grievance Notice */
.contact-grievance-notice {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    margin-top: 20px;
}

.contact-grievance-notice p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.contact-grievance-notice a {
    color: var(--color-yellow, #ffde59);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-grievance-notice a:hover {
    color: #ffffff;
}

/* Responsiveness */
@media (max-width: 991px) {

    .tbd-form-row-3,
    .tbd-form-row-2 {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 15px;
        gap: 30px;
    }

    .contact-section-title {
        margin-bottom: 25px;
    }

    .tbd-form-submit-wrapper {
        justify-content: stretch;
    }

    .tbd-form-submit-wrapper input[type="submit"] {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   Recipe Blogs Grid Section & Cards Styles
   ============================================================ */
.recipe-blogs {
    padding-block: 80px;
    background-color: #ffffff;
    color: var(--color-dark-text, #202126);
}

.recipe-blogs-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-12, 12px);
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

.recipe-blogs-header h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 68px;
    line-height: 75px;
    font-weight: normal;
    color: var(--color-primary-text, #23242a);
    text-transform: uppercase;
    margin: 0;
}

.recipe-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 30px;
}

.blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-meta {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8c8c8c;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-card-meta .meta-separator {
    color: #d1d5db;
}

.blog-card-meta a {
    color: #cda87b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-meta a:hover {
    color: var(--color-primary-text, #23242a);
    text-decoration: underline;
}

.blog-card-title {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--color-primary-text, #23242a);
    text-transform: uppercase;
    margin-bottom: 15px;
    transition: color 0.2s ease;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.blog-card-title a:hover {
    color: var(--color-decorative-text, #ff7a00);
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-footer {
    margin-top: auto;
}

.blog-card-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: #4a4a4a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 2;
    background: transparent;
}

.blog-card:hover .blog-card-btn {
    background-color: var(--color-cream-yellow, #fffbeb);
    border-color: var(--color-yellow, #ffde59);
    color: var(--color-primary-text, #23242a);
}

/* ============================================================
   Single Blog Post Page Styles
   ============================================================ */
.single-blog-post {
    max-width: 800px;
    margin: 80px auto;
    padding-inline: 20px;
    color: var(--color-dark-text, #202126);
}

.single-blog-image {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.single-blog-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.single-blog-date {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #8c8c8c;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.single-blog-title {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    color: var(--color-primary-text, #23242a);
    text-transform: uppercase;
    margin-bottom: 25px;
}

.single-blog-divider {
    width: 60px;
    height: 2px;
    background-color: #e2e8f0;
    border: none;
    margin: 0 auto 20px auto;
}

.single-blog-categories {
    font-size: 14px;
    font-weight: 500;
    color: #8c8c8c;
    text-transform: lowercase;
}

.single-blog-content {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 60px;
}

.single-blog-content p {
    margin-bottom: 24px;
}

.single-blog-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    border-top: 1px solid #edf2f7;
    padding-top: 40px;
}

/* Claps styling */
.single-blog-claps .clap-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #4a4a4a;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.single-blog-claps .clap-btn:hover {
    border-color: var(--color-yellow, #ffde59);
    background-color: var(--color-cream-yellow, #fffbeb);
    transform: translateY(-2px);
}

.single-blog-claps .clap-btn.clapped {
    animation: clapBounce 0.3s ease;
    background-color: var(--color-yellow, #ffde59);
    border-color: var(--color-yellow, #ffde59);
    color: #000;
}

.single-blog-claps .clap-icon {
    fill: currentColor;
}

@keyframes clapBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Social share styling */
.single-blog-share {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.single-blog-share .share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000000;
    color: #ffffff;
    transition: all 0.3s ease;
}

.single-blog-share .share-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.single-blog-share .share-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: var(--color-yellow, #ffde59);
    color: #000000;
}

/* ============================================================
   Category Archive Page Header & Pagination Styles
   ============================================================ */
.category-header-section {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
    background-color: #ffffff;
}

.category-header-content h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.1;
    font-weight: normal;
    color: var(--color-primary-text, #23242a);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.category-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Pagination styles */
.navigation.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.navigation.pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.navigation.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: var(--color-primary-text, #23242a);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
    background-color: var(--color-yellow, #ffde59);
    border-color: var(--color-yellow, #ffde59);
    color: #000000;
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
    border-color: #e2e8f0;
}

.navigation.pagination .page-numbers img {
    width: 14px;
    height: 14px;
}

/* ============================================================
   Aesthetics and Responsive Grid Adjustments
   ============================================================ */
@media (max-width: 991px) {
    .recipe-blogs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
}

@media (max-width: 650px) {
    .recipe-blogs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .recipe-blogs {
        padding-block: 50px;
    }

    .recipe-blogs {
        width: 90%;
    }

}
.nav-logo img {
  width: 210px;
}