/**
 * Nourish & Pure - Enhanced Editorial Components & Layouts
 *
 * @package NourishPure
 */

/* -------------------------------------------------------------------------
   1. Reading Progress Bar
   ------------------------------------------------------------------------- */
.np-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background-color: var(--wp--preset--color--primary-accent, #44624a);
    z-index: 99999;
    pointer-events: none;
    transition: width 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
    .np-reading-progress {
        display: none !important;
    }
}

/* -------------------------------------------------------------------------
   2. Reading Time & Article Metadata
   ------------------------------------------------------------------------- */
.np-reading-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--wp--preset--font-size--x-small, 0.8125rem);
    color: var(--wp--preset--color--secondary-text, #6b726a);
    font-weight: 500;
}

.np-reading-time-badge svg {
    flex-shrink: 0;
}

.np-article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: var(--wp--preset--font-size--small, 0.875rem);
    color: var(--wp--preset--color--secondary-text, #6b726a);
}

.np-meta-separator {
    color: var(--wp--preset--color--border, #ebe5dc);
}

/* -------------------------------------------------------------------------
   3. Header, Navigation & Mobile Drawer Refinements
   ------------------------------------------------------------------------- */
body.np-menu-open {
    overflow: hidden !important;
    touch-action: none;
}

header.wp-block-template-part {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.np-site-header {
    background-color: var(--wp--preset--color--base, #ffffff);
    border-bottom: 1px solid var(--wp--preset--color--border, #ebe5dc);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Nutritist Top Utility Bar */
.np-top-utility-bar {
    background-color: #f4f8f4;
    border-bottom: 1px solid #e3ede3;
    font-size: 0.8125rem;
    color: #475447;
    padding: 0.35rem 1.25rem;
}

.np-top-bar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.np-top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.np-top-pill-badge {
    display: inline-block;
    background-color: var(--wp--preset--color--primary-accent, #2f6643);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    line-height: 1;
}

.np-top-bar-text {
    font-weight: 500;
    font-size: 0.8rem;
    color: #344034;
}

.np-top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.np-top-bar-link {
    color: var(--wp--preset--color--primary-accent, #2f6643);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.15s ease;
}

.np-top-bar-link:hover {
    color: #1e442c;
    text-decoration: underline;
}

.np-top-divider {
    color: #c9d8c9;
    font-size: 0.8rem;
    user-select: none;
}

.np-top-social-links {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.np-top-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #475447;
    transition: all 0.15s ease;
}

.np-top-social-icon:hover {
    color: var(--wp--preset--color--primary-accent, #2f6643);
    background-color: #e3ede3;
}

/* Nutritist Main Navigation Bar */
.np-header-main-bar {
    background-color: #ffffff;
    padding: 0.65rem 1.25rem;
    position: relative;
}

.np-header-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 56px;
}

/* Brand Identity */
.np-brand-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.np-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: inherit;
}

.np-brand-logo-icon {
    font-size: 1.6rem;
    line-height: 1;
    display: inline-block;
}

.np-brand-name {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--wp--preset--color--contrast, #1e221e);
    letter-spacing: -0.02em;
    line-height: 1;
}

.np-brand-tag {
    display: inline-block;
    background-color: #eef5ee;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #d8e6d8;
    line-height: 1;
    margin-left: 0.2rem;
}

/* Desktop Centered Navigation */
.np-desktop-nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0 1rem;
}

.np-desktop-nav-list {
    display: flex;
    align-items: center;
    gap: 1.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.np-nav-link {
    font-family: var(--wp--preset--font-family--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    padding: 0.35rem 0.15rem;
    position: relative;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.np-nav-link:hover,
.np-nav-link:focus {
    color: var(--wp--preset--color--primary-accent, #2f6643);
}

.np-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--wp--preset--color--primary-accent, #2f6643);
    border-radius: 2px;
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.np-nav-link:hover::after {
    width: 100%;
}

/* Desktop Actions (Search + Pill CTA Button) */
.np-desktop-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.np-desktop-search-form {
    display: flex;
    align-items: center;
    background-color: #fbf9f5;
    border: 1px solid #e5dfd7;
    border-radius: 999px;
    padding: 0.2rem 0.4rem 0.2rem 0.85rem;
    transition: all 0.2s ease;
}

.np-desktop-search-form:focus-within {
    border-color: var(--wp--preset--color--primary-accent, #2f6643);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(47, 102, 67, 0.12);
}

.np-desktop-search-field {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.8125rem;
    color: #1e221e;
    width: 95px;
    padding: 0.25rem 0;
    font-family: inherit;
    transition: width 0.2s ease;
}

.np-desktop-search-field:focus {
    width: 150px;
}

.np-desktop-search-submit {
    background: transparent;
    border: none;
    padding: 0.3rem;
    color: #6b726a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.15s ease;
}

.np-desktop-search-submit:hover {
    color: var(--wp--preset--color--primary-accent, #2f6643);
}

/* Nutritist Pill CTA Button */
.np-nutritist-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background-color: var(--wp--preset--color--primary-accent, #2f6643);
    color: #ffffff !important;
    font-family: var(--wp--preset--font-family--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--wp--preset--color--primary-accent, #2f6643);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(47, 102, 67, 0.18);
    white-space: nowrap;
}

.np-nutritist-cta-btn:hover {
    background-color: #234d32;
    border-color: #234d32;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(47, 102, 67, 0.28);
}

.np-nutritist-cta-btn svg {
    display: block;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.np-nutritist-cta-btn:hover svg {
    transform: translateX(2px);
}

/* Mobile Header Controls */
.np-mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 6px;
    padding: 0.45rem 0.65rem;
    color: var(--wp--preset--color--contrast, #1e221e);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all 0.15s ease;
    min-height: 40px;
}

.np-mobile-menu-toggle:hover,
.np-mobile-menu-toggle:active {
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
    border-color: var(--wp--preset--color--primary-accent, #2f6643);
}

.np-mobile-header-actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.np-mobile-search-trigger {
    background: transparent;
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 6px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--contrast, #1e221e);
    cursor: pointer;
    transition: all 0.15s ease;
}

.np-mobile-search-trigger:hover,
.np-mobile-search-trigger:active {
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
}

.np-mobile-shop-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wp--preset--color--primary-accent, #2f6643);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.np-mobile-shop-cta:active {
    transform: scale(0.95);
}

.np-shop-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--wp--preset--color--secondary-accent, #c27852);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.2rem 0.35rem;
    border-radius: 999px;
    border: 1.5px solid #ffffff;
}

/* Category Strip (Hidden on Desktop to prevent clutter, visible on Mobile Swipe Rail) */
.np-category-strip {
    display: none;
    border-top: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-bottom: 1px solid var(--wp--preset--color--border, #ebe5dc);
    background-color: var(--wp--preset--color--base, #ffffff);
    padding: 0.45rem 1rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.np-category-strip::-webkit-scrollbar {
    display: none;
}

.np-category-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.np-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.775rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--wp--preset--color--contrast, #1e221e);
    text-decoration: none;
    background-color: var(--wp--preset--color--surface, #ffffff);
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.np-cat-pill:hover,
.np-cat-pill:active {
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
    border-color: var(--wp--preset--color--primary-accent, #2f6643);
    color: var(--wp--preset--color--primary-accent, #2f6643);
}

.np-cat-pill-shop {
    background-color: #fdf5ed;
    border-color: #f0d5be;
    color: #9c4c23;
    font-weight: 700;
}

/* -------------------------------------------------------------------------
   Off-Canvas Mobile Drawer Navigation
   ------------------------------------------------------------------------- */
.np-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 100000;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.25s ease;
}

.np-mobile-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.np-drawer-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 20, 15, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.np-mobile-drawer.is-open .np-drawer-backdrop {
    opacity: 1;
}

.np-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 360px);
    height: 100%;
    background-color: var(--wp--preset--color--base, #fbf9f5);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.np-mobile-drawer.is-open .np-drawer-panel {
    transform: translateX(0);
}

.np-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--wp--preset--color--border, #ebe5dc);
    background-color: #ffffff;
}

.np-drawer-brand {
    display: flex;
    flex-direction: column;
}

.np-drawer-title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--wp--preset--color--contrast, #1e221e);
}

.np-drawer-subtitle {
    font-size: 0.7rem;
    color: var(--wp--preset--color--secondary-text, #6b726a);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.np-drawer-close {
    background: transparent;
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wp--preset--color--contrast, #1e221e);
    cursor: pointer;
    transition: all 0.15s ease;
}

.np-drawer-close:hover,
.np-drawer-close:active {
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
}

/* Drawer Search */
.np-drawer-search {
    padding: 0.85rem 1.25rem;
    background-color: #ffffff;
    border-bottom: 1px solid var(--wp--preset--color--border, #ebe5dc);
}

.np-search-input-wrap {
    display: flex;
    align-items: center;
    background-color: var(--wp--preset--color--base, #fbf9f5);
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 6px;
    padding: 0.35rem 0.65rem;
    gap: 0.5rem;
}

.np-search-input-wrap svg {
    color: var(--wp--preset--color--secondary-text, #6b726a);
    flex-shrink: 0;
}

.np-mobile-search-field {
    border: none;
    background: transparent;
    font-size: 0.875rem;
    width: 100%;
    color: var(--wp--preset--color--contrast, #1e221e);
    padding: 0.25rem 0;
}

.np-mobile-search-field:focus {
    outline: none;
}

.np-mobile-search-submit {
    background-color: var(--wp--preset--color--primary-accent, #44624a);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

/* Drawer Body Scroll Container */
.np-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem;
}

.np-drawer-section {
    margin-bottom: 1.75rem;
}

.np-drawer-section-label {
    display: block;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--primary-accent, #44624a);
    margin-bottom: 0.75rem;
}

.np-drawer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.np-drawer-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    background-color: #ffffff;
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
    min-height: 48px;
}

.np-drawer-link:hover,
.np-drawer-link:active {
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
    border-color: var(--wp--preset--color--primary-accent, #44624a);
    transform: translateX(3px);
}

.np-drawer-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.np-drawer-link-text {
    display: flex;
    flex-direction: column;
}

.np-drawer-link-text strong {
    font-size: 0.875rem;
    color: var(--wp--preset--color--contrast, #1e221e);
    line-height: 1.2;
}

.np-drawer-link-text small {
    font-size: 0.725rem;
    color: var(--wp--preset--color--secondary-text, #6b726a);
    margin-top: 2px;
}

/* Monetization Callout in Drawer */
.np-drawer-product-card {
    background: linear-gradient(135deg, #fdf5ed 0%, #f6ebe0 100%);
    border: 1px solid #ebd0bb;
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.75rem;
}

.np-product-card-badge {
    font-size: 0.675rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9c4c23;
    margin-bottom: 0.35rem;
}

.np-product-card-title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
    color: #3b2214;
    line-height: 1.2;
}

.np-product-card-desc {
    font-size: 0.775rem;
    line-height: 1.45;
    color: #6d4b35;
    margin: 0 0 0.85rem;
}

.np-product-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--primary-accent, #44624a);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.15s ease;
}

.np-product-card-btn:hover,
.np-product-card-btn:active {
    background-color: #344c39;
}

/* Drawer Publication Pages */
.np-drawer-pages-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.np-drawer-pages-list a {
    display: block;
    font-size: 0.8125rem;
    color: var(--wp--preset--color--secondary-text, #6b726a);
    text-decoration: none;
    padding: 0.4rem 0.5rem;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.np-drawer-pages-list a:hover,
.np-drawer-pages-list a:active {
    color: var(--wp--preset--color--primary-accent, #44624a);
    background-color: #ffffff;
}

/* Drawer Social */
.np-drawer-social {
    border-top: 1px solid var(--wp--preset--color--border, #ebe5dc);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.np-drawer-social-icons {
    display: flex;
    gap: 0.75rem;
}

.np-social-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--wp--preset--color--contrast, #1e221e);
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    transition: all 0.15s ease;
    flex: 1;
    justify-content: center;
}

.np-social-pinterest svg {
    color: #e60023;
}

.np-social-facebook svg {
    color: #1877f2;
}

.np-social-icon-btn:hover,
.np-social-icon-btn:active {
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
}

/* -------------------------------------------------------------------------
   Responsive Media Queries for Header & Navigation
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .np-top-utility-bar {
        display: none !important;
    }

    .np-desktop-nav-menu,
    .np-desktop-actions {
        display: none !important;
    }

    .np-mobile-menu-toggle {
        display: inline-flex !important;
    }

    .np-mobile-header-actions {
        display: inline-flex !important;
    }

    .np-header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        min-height: 50px;
    }

    .np-brand-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .np-brand-name {
        font-size: 1.35rem !important;
    }

    .np-brand-tag {
        display: none !important;
    }

    .np-category-strip {
        display: block !important;
        padding: 0.45rem 0.75rem;
    }

    .np-cat-pill {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
}


/* -------------------------------------------------------------------------
   4. Editorial Social Sharing Bar (Pixel-Perfect Alignment)
   ------------------------------------------------------------------------- */
.np-social-share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 1.75rem 0;
    padding: 0.85rem 0;
    border-top: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-bottom: 1px solid var(--wp--preset--color--border, #ebe5dc);
}

.np-article-reading-column > .wp-block-group .np-social-share-bar {
    border-top: none !important;
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.np-share-label-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    flex-shrink: 0;
}

.np-share-label-wrap svg {
    display: block;
    flex-shrink: 0;
    color: var(--wp--preset--color--primary-accent, #2f6643);
}

.np-share-label {
    font-family: var(--wp--preset--font-family--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    line-height: 1;
}

.np-share-buttons-group {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.np-social-share-bar p,
.np-share-buttons-group p {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
}

.np-social-share-bar br,
.np-share-buttons-group br,
.np-share-pill br {
    display: none !important;
}

/* Share Pill: Normalizes <a> and <button> for 100% horizontal & vertical alignment */
.np-share-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    box-sizing: border-box !important;
    padding: 0 14px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    border: 1px solid #e0ded8 !important;
    background-color: #ffffff !important;
    color: #2b332b !important;
    font-family: var(--wp--preset--font-family--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    gap: 0.45rem !important;
    vertical-align: middle !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    transition: all 0.18s ease-in-out !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.np-share-pill svg {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    display: block !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

.np-share-pill .np-share-text {
    display: inline-block !important;
    line-height: 1 !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    vertical-align: middle !important;
    transform: translateY(0.5px);
}

/* Specific Brand Hover States */
.np-share-pill.np-share-pinterest:hover {
    background-color: #e60023 !important;
    border-color: #e60023 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(230, 0, 35, 0.25) !important;
}

.np-share-pill.np-share-facebook:hover {
    background-color: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25) !important;
}

.np-share-pill.np-share-twitter:hover {
    background-color: #0f1419 !important;
    border-color: #0f1419 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 20, 25, 0.25) !important;
}

.np-share-pill.np-share-email:hover {
    background-color: var(--wp--preset--color--primary-accent, #2f6643) !important;
    border-color: var(--wp--preset--color--primary-accent, #2f6643) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(47, 102, 67, 0.25) !important;
}

.np-share-pill.np-share-native:hover {
    background-color: #3d5a42 !important;
    border-color: #3d5a42 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(61, 90, 66, 0.25) !important;
}

/* Mobile Floating Share Bar */
.np-mobile-share-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--wp--preset--color--border, #ebe5dc);
    padding: 0.45rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    z-index: 9998;
    box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.07);
}

@media (max-width: 768px) {
    .np-mobile-share-bar {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .np-mobile-share-bar .np-social-share-bar {
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        width: 100% !important;
    }

    .np-mobile-share-bar .np-share-label-wrap {
        display: none !important;
    }

    .np-mobile-share-bar .np-share-buttons-group {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 0.35rem !important;
        flex-wrap: nowrap !important;
    }

    .np-mobile-share-bar .np-share-pill {
        flex: 1 1 0 !important;
        padding: 0 4px !important;
        height: 36px !important;
        min-height: 36px !important;
        font-size: 0.725rem !important;
        gap: 0.25rem !important;
    }

    .np-mobile-share-bar .np-share-pill .np-share-text {
        font-size: 0.725rem !important;
    }

    body.single-post {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
}

/* -------------------------------------------------------------------------
   5. Editorial Callout Patterns (Tip & Caution)
   ------------------------------------------------------------------------- */
.np-callout-tip {
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
    border-left: 4px solid var(--wp--preset--color--primary-accent, #44624a);
    padding: 1.25rem 1.5rem;
    border-radius: 0 4px 4px 0;
    margin: 2rem 0;
}

.np-callout-tip h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--wp--preset--color--primary-accent, #44624a);
    font-size: var(--wp--preset--font-size--medium, 1.25rem);
}

.np-callout-caution {
    background-color: #fdf5f2;
    border-left: 4px solid var(--wp--preset--color--secondary-accent, #c27852);
    padding: 1.25rem 1.5rem;
    border-radius: 0 4px 4px 0;
    margin: 2rem 0;
}

.np-callout-caution h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--wp--preset--color--secondary-accent, #c27852);
    font-size: var(--wp--preset--font-size--medium, 1.25rem);
}

/* -------------------------------------------------------------------------
   6. Recipe Card Component
   ------------------------------------------------------------------------- */
.np-recipe-card {
    background-color: var(--wp--preset--color--surface, #ffffff);
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 6px;
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.np-recipe-header {
    border-bottom: 1px solid var(--wp--preset--color--border, #ebe5dc);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.np-recipe-title {
    margin: 0 0 0.5rem;
    font-family: var(--wp--preset--font-family--serif);
    font-size: var(--wp--preset--font-size--x-large, 2rem);
}

.np-recipe-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 1rem;
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
    padding: 1rem;
    border-radius: 4px;
    margin: 1.25rem 0;
    text-align: center;
}

.np-recipe-meta-item .np-meta-label {
    display: block;
    font-size: var(--wp--preset--font-size--x-small, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wp--preset--color--secondary-text, #6b726a);
    font-weight: 600;
}

.np-recipe-meta-item .np-meta-value {
    display: block;
    font-size: var(--wp--preset--font-size--normal, 1.125rem);
    font-weight: 700;
    color: var(--wp--preset--color--contrast, #1e221e);
}

.np-recipe-section-title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: var(--wp--preset--font-size--medium, 1.35rem);
    color: var(--wp--preset--color--primary-accent, #44624a);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.np-recipe-ingredients ul {
    list-style: none;
    padding-left: 0;
}

.np-recipe-ingredients li {
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--wp--preset--color--border, #ebe5dc);
}

.np-recipe-instructions ol {
    padding-left: 1.25rem;
}

.np-recipe-instructions li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.np-recipe-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--wp--preset--color--primary-accent, #44624a);
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: var(--wp--preset--font-size--small, 0.875rem);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.15s ease;
}

.np-recipe-print-btn:hover {
    background-color: #36503b;
    text-decoration: none;
}

/* -------------------------------------------------------------------------
   7. Process & "How It's Made" Component
   ------------------------------------------------------------------------- */
.np-process-container {
    margin: 2.5rem 0;
}

.np-process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.np-step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--primary-accent, #44624a);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--wp--preset--font-family--serif);
    font-size: 1.25rem;
}

.np-step-content {
    flex: 1;
}

.np-step-content h4 {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--wp--preset--font-family--serif);
}

/* -------------------------------------------------------------------------
   8. Product Review & Pros/Cons Component
   ------------------------------------------------------------------------- */
.np-review-box {
    background-color: var(--wp--preset--color--surface, #ffffff);
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 6px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.np-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

@media (max-width: 600px) {
    .np-pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

.np-pros-card, .np-cons-card {
    background-color: var(--wp--preset--color--base, #fbf9f5);
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    padding: 1.25rem;
    border-radius: 4px;
}

.np-pros-card h4 {
    color: #2e6b3d;
    margin-top: 0;
    font-size: 1.1rem;
}

.np-cons-card h4 {
    color: var(--wp--preset--color--secondary-accent, #c27852);
    margin-top: 0;
    font-size: 1.1rem;
}

.np-pros-card ul, .np-cons-card ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: var(--wp--preset--font-size--small, 0.9375rem);
}

.np-affiliate-disclosure {
    font-size: var(--wp--preset--font-size--x-small, 0.8125rem);
    color: var(--wp--preset--color--secondary-text, #6b726a);
    font-style: italic;
    border-top: 1px solid var(--wp--preset--color--border, #ebe5dc);
    padding-top: 0.75rem;
    margin-top: 1.25rem;
}

/* -------------------------------------------------------------------------
   9. Responsive Comparison Table Wrapper
   ------------------------------------------------------------------------- */
.np-table-overflow-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 4px;
}

.np-table-overflow-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.np-table-overflow-wrapper th {
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
    color: var(--wp--preset--color--contrast, #1e221e);
    text-align: left;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    border-bottom: 2px solid var(--wp--preset--color--border, #ebe5dc);
}

.np-table-overflow-wrapper td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--wp--preset--color--border, #ebe5dc);
}

.np-table-overflow-wrapper tr:nth-child(even) td {
    background-color: #faf8f4;
}

/* -------------------------------------------------------------------------
   10. Advertising Containers (Zero-CLS Reserved Area)
   ------------------------------------------------------------------------- */
.np-ad-container {
    text-align: center;
    margin: 2.25rem auto;
    max-width: 100%;
    clear: both;
}

.np-ad-label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--secondary-text, #6b726a);
    margin-bottom: 0.35rem;
}

.np-ad-wrapper {
    background-color: #f7f4ed;
    border: 1px dashed var(--wp--preset--color--border, #ebe5dc);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    min-width: 300px;
    max-width: 100%;
}

.np-ad-after_intro .np-ad-wrapper,
.np-ad-in_article .np-ad-wrapper {
    min-height: 250px;
}

.np-ad-sidebar .np-ad-wrapper {
    min-height: 300px;
    min-width: 250px;
}

/* -------------------------------------------------------------------------
   11. Editorial Cards & Query Loops
   ------------------------------------------------------------------------- */
.np-article-card {
    background-color: var(--wp--preset--color--surface, #ffffff);
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.np-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.np-article-card .wp-block-post-featured-image {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.np-article-card .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.np-article-card:hover .wp-block-post-featured-image img {
    transform: scale(1.025);
}

.np-article-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* -------------------------------------------------------------------------
   12. Table of Contents
   ------------------------------------------------------------------------- */
.np-toc {
    background-color: var(--wp--preset--color--highlight, #f0f2eb);
    border: 1px solid var(--wp--preset--color--border, #ebe5dc);
    border-radius: 4px;
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
}

.np-toc-title {
    font-family: var(--wp--preset--font-family--serif);
    font-size: var(--wp--preset--font-size--medium, 1.25rem);
    margin: 0 0 0.75rem;
    color: var(--wp--preset--color--contrast, #1e221e);
}

.np-toc-list {
    margin: 0;
    padding-left: 1.25rem;
}

.np-toc-list li {
    margin-bottom: 0.4rem;
}

.np-toc-list a {
    color: var(--wp--preset--color--contrast, #1e221e);
    text-decoration: none;
    font-weight: 500;
}

.np-toc-list a:hover {
    color: var(--wp--preset--color--primary-accent, #44624a);
    text-decoration: underline;
}

/* -------------------------------------------------------------------------
   13. Footer Refinements
   ------------------------------------------------------------------------- */
.np-site-footer {
    background-color: #171b17;
    color: #e5e7e4;
    border-top: 1px solid var(--wp--preset--color--border, #ebe5dc);
    padding-top: 4rem;
    padding-bottom: 2.5rem;
}

.np-site-footer a {
    color: #c9ccc8;
}

.np-site-footer a:hover {
    color: #ffffff;
}

.np-footer-bottom {
    border-top: 1px solid #2a302a;
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: #8c938b;
}

/* -------------------------------------------------------------------------
   14. Nutritist Theme Homepage & Hero Layout Styles
   ------------------------------------------------------------------------- */

/* Common Nutritist Buttons */
.np-btn-nutritist-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    background-color: var(--wp--preset--color--primary-accent, #2f6643) !important;
    color: #ffffff !important;
    font-family: var(--wp--preset--font-family--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 0.75rem 1.45rem !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    border: 1px solid var(--wp--preset--color--primary-accent, #2f6643) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 3px 10px rgba(47, 102, 67, 0.18) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.np-btn-nutritist-primary:hover {
    background-color: #234d32 !important;
    border-color: #234d32 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(47, 102, 67, 0.28) !important;
    color: #ffffff !important;
}

.np-btn-nutritist-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    background-color: #ffffff !important;
    color: var(--wp--preset--color--primary-accent, #2f6643) !important;
    font-family: var(--wp--preset--font-family--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 0.75rem 1.45rem !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    border: 1px solid #c9d8c9 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.np-btn-nutritist-secondary:hover {
    background-color: #eef5ee !important;
    border-color: var(--wp--preset--color--primary-accent, #2f6643) !important;
    color: #1e442c !important;
}

.np-btn-full {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Common Section Typography */
.np-section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem auto;
}

.np-eyebrow-text {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    background-color: #eef5ee;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.np-section-heading {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    color: var(--wp--preset--color--contrast, #1e221e);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.015em;
}

.np-section-subheading {
    font-size: 1rem;
    line-height: 1.6;
    color: #5a665a;
    margin: 0;
}

/* 1. Hero Section Layout */
.np-nutritist-hero-wrapper {
    background-color: #f8faf7;
    border-bottom: 1px solid #e2ebe2;
    padding: 3.5rem 1.25rem 4rem 1.25rem;
}

.np-hero-container {
    max-width: 1240px;
    margin: 0 auto;
}

.np-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.np-hero-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #e8f2e8;
    border: 1px solid #d2e4d2;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.np-badge-dot {
    width: 7px;
    height: 7px;
    background-color: var(--wp--preset--color--primary-accent, #2f6643);
    border-radius: 50%;
    display: inline-block;
}

.np-hero-title {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: clamp(2.35rem, 4vw, 3.45rem);
    line-height: 1.15;
    color: var(--wp--preset--color--contrast, #1e221e);
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.025em;
}

.np-title-accent {
    color: var(--wp--preset--color--primary-accent, #2f6643);
}

.np-hero-lead {
    font-size: 1.075rem;
    line-height: 1.7;
    color: #4a574a;
    margin: 0 0 1.75rem 0;
}

.np-hero-actions-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.np-hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    font-size: 0.825rem;
    color: #5a665a;
    border-top: 1px solid #e0eae0;
    padding-top: 1.25rem;
}

.np-trust-stars {
    color: #e69500;
    font-weight: 700;
    letter-spacing: 1px;
}

.np-trust-divider {
    color: #c9d8c9;
}

/* Hero Right Column: Card with Floating Chips */
.np-hero-visual-col {
    position: relative;
    display: flex;
    justify-content: center;
}

.np-hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.np-hero-img-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(35, 77, 50, 0.12);
    border: 4px solid #ffffff;
    position: relative;
}

.np-hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.np-hero-img-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

.np-floating-chip {
    position: absolute;
    background: #ffffff;
    border-radius: 999px;
    padding: 0.6rem 1.15rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #e5eee5;
    z-index: 2;
    transition: transform 0.2s ease;
}

.np-floating-chip:hover {
    transform: translateY(-2px);
}

.np-chip-top {
    top: 25px;
    left: -25px;
}

.np-chip-bottom {
    bottom: 25px;
    right: -20px;
}

.np-chip-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.np-chip-body strong {
    display: block;
    font-size: 0.85rem;
    color: #1e221e;
    line-height: 1.2;
}

.np-chip-body small {
    font-size: 0.725rem;
    color: #5a665a;
    display: block;
}

.np-floating-badge-pill {
    position: absolute;
    top: -14px;
    right: 20px;
    background: var(--wp--preset--color--primary-accent, #2f6643);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(47, 102, 67, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* 2. 1-Second Retention Strip */
.np-retention-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.np-retention-card {
    background: #ffffff;
    border: 1px solid #e2ebe2;
    border-radius: 16px;
    padding: 1.65rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.np-retention-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(35, 77, 50, 0.08);
    border-color: #cde0cd;
}

.np-retention-icon-box {
    font-size: 1.85rem;
    margin-bottom: 0.85rem;
    line-height: 1;
}

.np-retention-card-title {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: 1.15rem;
    margin: 0 0 0.45rem 0;
    color: var(--wp--preset--color--contrast, #1e221e);
}

.np-retention-card-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #5a665a;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.np-retention-link {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    text-decoration: none;
    transition: color 0.15s ease;
}

.np-retention-link:hover {
    color: #1e442c;
    text-decoration: underline;
}

/* 3. Featured Story Section Layout */
.np-story-section-wrapper {
    padding: 5rem 1.25rem;
    background-color: #ffffff;
}

.np-story-container {
    max-width: 1240px;
    margin: 0 auto;
}

.np-story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.np-story-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.np-story-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.np-story-floating-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    border: 1px solid #e0ece0;
}

.np-story-pill-highlight {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    background-color: #eef5ee;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
    display: inline-block;
}

.np-story-floating-card h4 {
    margin: 0.4rem 0 0.2rem 0;
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: 1.15rem;
    color: #1e221e;
}

.np-story-floating-card p {
    margin: 0;
    font-size: 0.775rem;
    color: #5a665a;
}

.np-story-title {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    line-height: 1.22;
    color: var(--wp--preset--color--contrast, #1e221e);
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.015em;
}

.np-story-title-highlight {
    color: var(--wp--preset--color--primary-accent, #2f6643);
}

.np-story-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #344034;
    font-weight: 500;
    margin-bottom: 0.85rem;
}

.np-story-body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #5a665a;
    margin-bottom: 1.5rem;
}

.np-checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1.25rem;
    margin-bottom: 1.75rem;
}

.np-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.np-check-icon {
    width: 18px;
    height: 18px;
    background-color: var(--wp--preset--color--primary-accent, #2f6643);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.np-check-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #253325;
}

.np-story-badges-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #ebe5dc;
}

.np-mini-feature-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #f8faf7;
    border: 1px solid #e5eee5;
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
}

.np-feature-icon {
    font-size: 1.25rem;
}

.np-feature-info strong {
    display: block;
    font-size: 0.8125rem;
    color: #1e221e;
    line-height: 1.2;
}

.np-feature-info small {
    font-size: 0.7rem;
    color: #6b726a;
}

.np-story-cta-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.np-story-text-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    text-decoration: underline;
}

/* 4. Nutritist 3 Value Pillars */
.np-pillars-section-wrapper {
    padding: 5rem 1.25rem;
    background-color: #f4f8f4;
    border-top: 1px solid #e3ede3;
    border-bottom: 1px solid #e3ede3;
}

.np-pillars-container {
    max-width: 1240px;
    margin: 0 auto;
}

.np-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.np-pillar-card {
    background-color: #ffffff;
    border: 1px solid #e0ebe0;
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.np-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(35, 77, 50, 0.08);
}

.np-pillar-featured {
    border-color: var(--wp--preset--color--primary-accent, #2f6643);
    box-shadow: 0 8px 25px rgba(47, 102, 67, 0.08);
}

.np-pillar-badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--wp--preset--color--primary-accent, #2f6643);
    color: #ffffff;
    font-size: 0.675rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.np-pillar-icon-circle {
    width: 54px;
    height: 54px;
    background-color: #eef5ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.np-pillar-title {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: 1.35rem;
    color: var(--wp--preset--color--contrast, #1e221e);
    margin: 0 0 0.65rem 0;
}

.np-pillar-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5a665a;
    margin: 0 0 1.25rem 0;
}

.np-pillar-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.825rem;
    color: #3e4d3e;
    font-weight: 500;
}

.np-pillar-bullets li::before {
    content: "•";
    color: var(--wp--preset--color--primary-accent, #2f6643);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 5. Signature Dishes & Formulas */
.np-dishes-section-wrapper {
    padding: 5rem 1.25rem;
    background-color: #ffffff;
}

.np-dishes-container {
    max-width: 1240px;
    margin: 0 auto;
}

.np-dishes-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.np-dishes-subheading {
    font-size: 1rem;
    line-height: 1.6;
    color: #5a665a;
    margin: 0;
}

.np-dishes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.95fr;
    gap: 1.75rem;
}

.np-dish-card {
    background-color: #ffffff;
    border: 1px solid #ebe5dc;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.np-dish-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.np-dish-thumb-frame {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.np-dish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.np-dish-price-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--wp--preset--color--primary-accent, #2f6643);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.np-dish-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.np-dish-macros {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.np-macro-pill {
    font-size: 0.725rem;
    font-weight: 700;
    background-color: #f0f6f0;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.np-dish-title {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    color: var(--wp--preset--color--contrast, #1e221e);
}

.np-dish-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #5a665a;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.np-dish-link {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    text-decoration: none;
}

.np-dish-link:hover {
    text-decoration: underline;
}

/* Nutritist NEW! Highlight Promo Card */
.np-dish-promo-card {
    background: linear-gradient(135deg, #244b32 0%, #173322 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(23, 51, 34, 0.25);
}

.np-promo-card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8deb8d;
    margin-bottom: 0.75rem;
}

.np-promo-price-wrap {
    margin-bottom: 0.85rem;
}

.np-promo-price-small {
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    display: block;
}

.np-promo-price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.np-promo-title {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: 1.35rem;
    color: #ffffff;
    margin: 0 0 0.65rem 0;
}

.np-promo-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    opacity: 0.9;
    margin: 0 0 1.25rem 0;
}

.np-promo-checklist {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    font-size: 0.825rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* 6. Nutritist How It Works (4 Steps) */
.np-steps-section-wrapper {
    padding: 5rem 1.25rem;
    background-color: #fbf9f5;
}

.np-steps-container {
    max-width: 1240px;
    margin: 0 auto;
}

.np-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.np-step-card {
    background-color: #ffffff;
    border: 1px solid #ebe5dc;
    border-radius: 16px;
    padding: 1.85rem 1.35rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.np-step-number-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: var(--wp--preset--font-family--serif, Georgia, serif);
    font-size: 1.15rem;
    font-weight: 800;
    color: #c9d8c9;
}

.np-step-icon {
    font-size: 1.85rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.np-step-title {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: 1.15rem;
    color: var(--wp--preset--color--contrast, #1e221e);
    margin: 0 0 0.5rem 0;
}

.np-step-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #5a665a;
    margin: 0;
}

/* 7. Nutritist Pricing & Digital Plans */
.np-pricing-section-wrapper {
    padding: 5rem 1.25rem;
    background-color: #ffffff;
}

.np-pricing-container {
    max-width: 1040px;
    margin: 0 auto;
}

.np-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.np-pricing-card {
    background-color: #ffffff;
    border: 1px solid #e0ded8;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.np-pricing-popular {
    border: 2px solid var(--wp--preset--color--primary-accent, #2f6643);
    box-shadow: 0 12px 35px rgba(47, 102, 67, 0.12);
}

.np-pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background-color: var(--wp--preset--color--primary-accent, #2f6643);
    color: #ffffff;
    font-size: 0.675rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.np-pricing-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary-accent, #2f6643);
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    display: block;
}

.np-pricing-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.85rem;
}

.np-price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e221e;
}

.np-price-amount {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
    color: #1e221e;
}

.np-price-period {
    font-size: 0.875rem;
    color: #6b726a;
    margin-left: 0.35rem;
}

.np-pricing-title {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: 1.35rem;
    color: #1e221e;
    margin: 0 0 0.5rem 0;
}

.np-pricing-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #5a665a;
    margin: 0 0 1.5rem 0;
}

.np-pricing-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: #2d3b2d;
    font-weight: 500;
}

.np-pricing-guarantee-box {
    background-color: #f4f8f4;
    border: 1px solid #d8e6d8;
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.np-guarantee-icon {
    font-size: 1.85rem;
    line-height: 1;
}

.np-guarantee-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #344034;
}

/* 8. Nutritist Testimonials */
.np-testimonials-section-wrapper {
    padding: 5rem 1.25rem;
    background-color: #f8faf7;
}

.np-testimonials-container {
    max-width: 1240px;
    margin: 0 auto;
}

.np-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.np-testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e0ece0;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.np-test-stars {
    color: #e69500;
    font-size: 1.15rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.np-test-quote {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #344034;
    font-style: italic;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.np-test-author-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.np-test-avatar-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--primary-accent, #2f6643);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.np-test-author-info strong {
    display: block;
    font-size: 0.875rem;
    color: #1e221e;
}

.np-test-author-info small {
    font-size: 0.75rem;
    color: #6b726a;
}

/* 9. Nutritist Tips & Articles Query Grid */
.np-articles-section-wrapper {
    padding: 5rem 1.25rem;
    background-color: #ffffff;
}

.np-articles-container {
    max-width: 1240px;
    margin: 0 auto;
}

.np-query-wrapper .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.75rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.np-article-card-nutritist {
    background-color: #ffffff;
    border: 1px solid #ebe5dc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.np-article-card-nutritist:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.np-card-thumb-wrap {
    overflow: hidden;
    height: 200px;
}

.np-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.np-article-card-nutritist:hover .np-card-thumb-wrap img {
    transform: scale(1.03);
}

.np-card-content-wrap {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.np-card-meta-bottom {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0ede8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b726a;
}

/* 10. Nutritist Newsletter & Lead Magnet Box */
.np-newsletter-section-wrapper {
    padding: 4rem 1.25rem 5rem 1.25rem;
    background-color: #ffffff;
}

.np-newsletter-container {
    max-width: 980px;
    margin: 0 auto;
}

.np-newsletter-box {
    background: linear-gradient(135deg, #244b32 0%, #173322 100%);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 15px 40px rgba(23, 51, 34, 0.22);
}

.np-newsletter-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: 0.06em;
}

.np-newsletter-title {
    font-family: var(--wp--preset--font-family--serif, "Playfair Display", Georgia, serif);
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    margin: 0 0 0.85rem 0;
    color: #ffffff;
    letter-spacing: -0.015em;
}

.np-newsletter-desc {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto 2rem auto;
}

.np-newsletter-input-group {
    display: flex;
    gap: 0.65rem;
    max-width: 560px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.np-newsletter-input {
    flex: 1;
    min-width: 240px;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: none;
    font-size: 0.9375rem;
    outline: none;
}

.np-newsletter-submit {
    background-color: #ffc83b !important;
    color: #1e221e !important;
    font-weight: 700 !important;
    border-color: #ffc83b !important;
    padding: 0.85rem 1.5rem !important;
}

.np-newsletter-submit:hover {
    background-color: #e6b12a !important;
    border-color: #e6b12a !important;
}

.np-newsletter-guarantee {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* -------------------------------------------------------------------------
   Nutritist Responsive Layout Rules
   ------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .np-hero-grid,
    .np-story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .np-dishes-grid {
        grid-template-columns: 1fr;
    }

    .np-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .np-retention-strip,
    .np-pillars-grid,
    .np-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .np-pricing-grid {
        grid-template-columns: 1fr;
    }

    .np-query-wrapper .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }

    .np-chip-top {
        left: 0;
        top: 10px;
    }

    .np-chip-bottom {
        right: 0;
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .np-desktop-br {
        display: none;
    }

    .np-nutritist-hero-wrapper {
        padding: 2.25rem 1rem 3rem 1rem;
    }

    .np-story-section-wrapper,
    .np-pillars-section-wrapper,
    .np-dishes-section-wrapper,
    .np-steps-section-wrapper,
    .np-pricing-section-wrapper,
    .np-testimonials-section-wrapper,
    .np-articles-section-wrapper {
        padding: 3.5rem 1rem;
    }

    .np-steps-grid {
        grid-template-columns: 1fr;
    }

    .np-checklist-grid {
        grid-template-columns: 1fr;
    }

    .np-hero-actions-row {
        flex-direction: column;
        align-items: stretch;
    }

    .np-btn-nutritist-primary,
    .np-btn-nutritist-secondary {
        width: 100% !important;
        text-align: center !important;
    }

    .np-floating-chip {
        padding: 0.45rem 0.85rem;
    }

    .np-chip-icon {
        font-size: 1.2rem;
    }

    .np-chip-body strong {
        font-size: 0.775rem;
    }

    .np-chip-body small {
        font-size: 0.65rem;
    }

    .np-newsletter-box {
        padding: 2.5rem 1.25rem;
    }

    .np-newsletter-input-group {
        flex-direction: column;
    }

    .np-newsletter-input,
    .np-newsletter-submit {
        width: 100%;
        box-sizing: border-box;
    }
}
