/* Container & Native Responsive Framework */
/* Container & Mobile-Optimised Responsive Framework */
.responsive-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 !important; /* Zero padding to prevent double layout stacking */
    width: 100% !important;
    box-sizing: border-box !important;
}

.post-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    
    /* FIX: Negative margins pull the grid outward to cancel your theme's side padding */
    margin-left: -15px !important;
    margin-right: -15px !important;
    width: calc(100% + 30px) !important; /* Compensate for the negative margins */
    
    gap: 15px !important; /* Tighten card gaps on mobile */
    min-height: 400px !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Individual Grid Card Configurations */
.grid-item {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 0px; /* Optional: Remove border-radius on mobile for an edge-to-edge app look */
}

/* Controls the inner spacing where text sits safely inside the card boundaries */
.grid-item-inner { 
    padding: 12px 15px; 
}

.post-title { 
    font-size: 1.1rem; 
    margin: 10px 0 6px; 
    line-height: 1.3;
}

/* Small Tablets / Large Mobile Landscape Viewports */
@media (min-width: 600px) {
    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

/* Medium Tablets Viewports */
@media (min-width: 768px) { 
    .responsive-grid-container {
        /* Safely re-introduce normal framework spacing on larger tablet/desktop displays */
        padding: 0 20px !important; 
    }
    .post-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
        gap: 24px !important;
    } 
    .post-title {
        font-size: 1.2rem;
    }
}

/* Desktop Layout Breakthrough */
@media (min-width: 1024px) { 
    .post-grid { 
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important; 
        gap: 30px !important;
    } 
    .post-title {
        font-size: 1.25rem;
    }
}



/* Cards Entry Transition Rules */
.animated-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s ease;
}
/* Triggered by JS layout updates */
.post-grid .animated-card[style*="opacity: 1"] {
    transform: translateY(0);
}

/* Individual Grid Design Layouts */
.grid-item {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
}
.grid-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.grid-item-inner { padding: 15px; }
.post-thumbnail img { width: 100%; height: auto; display: block; object-fit: cover; }
.post-title { font-size: 1.25rem; margin: 15px 0 10px; }
.post-title a { color: #333; text-decoration: none; }
.post-title a:hover { color: #0073aa; }

/* Filter Navigation Components */
/* Fixed Sticky Category Filter Menu */
.category-filters {
    list-style: none;
    margin: 0 0 30px 0;
    display: flex;
    flex-wrap: nowrap; 
    overflow-x: auto;  
    -webkit-overflow-scrolling: touch; 
    gap: 10px;
    justify-content: flex-start; 
    
    /* FIX 1: Enforce strict sticky placement exclusively */
    position: sticky !important;
    top: 0; 
    z-index: 999;
    background: transparent; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    
    /* FIX 2: Mobile edge-to-edge breakout that plays nice with sticky */
    width: calc(100% + 20px) !important; /* Matches theme container gaps */
    margin-left: -10px !important;       /* Pulls left edge flush to frame */
    margin-right: -10px !important;      /* Pulls right edge flush to frame */
    padding: 12px 15px !important; 
    box-sizing: border-box !important;

    /* Transition configurations for smart hiding */
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;

    /* Modern visual edge fade indicator */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

/* The hidden state class applied on scroll-down */
.category-filters.filters-hidden {
    opacity: 0;
    transform: translateY(-100%); 
    pointer-events: none; 
}

/* Hide horizontal scrollbars */
.category-filters::-webkit-scrollbar { display: none; }
.category-filters { -ms-overflow-style: none; scrollbar-width: none; }

/* Admin bar tracking offsets */
.admin-bar .category-filters { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .category-filters { top: 46px; } 
}

/* Tablet & Desktop Layout Behavior Upgrades */
@media (min-width: 768px) {
    .category-filters {
        /* Reset mobile breakout overrides */
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        
        flex-wrap: wrap; 
        justify-content: center; 
        padding: 15px 0 !important;
        box-shadow: none; 
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;

        /* Remove mobile visual edge mask */
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }
}

.category-filters a, .category-filters a:active  {
	text-decoration:none;
}

/* Fix for logged-in WordPress admins */
.admin-bar .category-filters {
    top: 32px; /* Standard thickness of the WP Admin bar on desktop */
}

/* Example Fix: If your theme has a sticky header that is 60px tall */

.category-filters {
    top: 62px !important;
	background-color:transparent;
}
.admin-bar .category-filters {
    top: 94px !important; 
}


/* Tablet & Desktop Layout Behavior Upgrades */
@media (min-width: 768px) {
    .category-filters {
        flex-wrap: wrap; /* Let items wrap normally on wider screens */
        justify-content: center; /* Center align buttons beautifully on desktops */
        padding: 15px 0;
        box-shadow: none; /* Strip shadow on desktop if you prefer a flush inline look */
    }
}

.filter-item {
    display: inline-block; padding: 8px 18px; background: #f5f5f5;
    color: #444; text-decoration: none; border-radius: 20px;
    font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease;
}
.filter-item:hover, .filter-item.active { background: #0073aa; color: #fff; }

/* Empty States */
.grid-empty-state {
    grid-column: 1 / -1; text-align: center; padding: 60px 20px;
    background: #f9f9f9; border: 2px dashed #ddd; border-radius: 8px;
    margin: 20px auto; max-width: 600px; opacity: 1 !important; transform: none !important;
}
.empty-state-icon { font-size: 3rem; margin-bottom: 15px; }
.empty-state-title { font-size: 1.5rem; margin: 0 0 10px 0; }
.empty-state-text { color: #666; margin: 0; line-height: 1.5; }

/* Spinner Trackers */
#infinite-scroll-sentinel { display: flex; justify-content: center; align-items: center; height: 60px; margin-top: 30px; }
.spinner {
    width: 30px; height: 30px; border: 3px solid #f3f3f3;
    border-top: 3px solid #0073aa; border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Spinner Trackers & Layout Fix */
#infinite-scroll-sentinel { 
    grid-column: 1 / -1; 
    display: none; /* FIX: Hide the spinner element by default */
    justify-content: center; 
    align-items: center; 
    height: 60px; 
    margin-top: 20px; 
    clear: both;
}

/* Prevent container layout collapse and ensure cards remain rendered */
.post-grid {
    min-height: 400px; /* Forces browser structural allocation space tracking */
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure the shortcode root framework stays expanded */
.responsive-grid-container {
    overflow: visible;
    width: 100%;
}

/* Defeat theme layout interceptors and override layout system hijackers */
.post-grid .grid-item.animated-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Ensure the wrapper never collapses under any circumstances */
.post-grid {
    display: grid !important;
    min-height: 400px !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Series Card Highlighting Component */
.series-card {
    border-color: #0073aa !important; /* Theme accent color outline */
    position: relative;
}

/* Position the structural series label badge over the thumbnail image corner */
.post-thumbnail {
    position: relative;
}
.series-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 5;
    background: #0073aa;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* --- THE MOBILE ASYMMETRIC REDUCTION PLAN --- */
@media (max-width: 599px) {
    /* 1. Remove spacing under Part 1, clear its bottom border rules, and force negative margin alignment */
    .grid-item.part-id-1 {
        margin-bottom: 0 !important;
        border-bottom: none !important; /* Removes the border line to make it look like a single card */
        padding-bottom: 0 !important; /* Pulls the content containers tightly together */
		border-radius: 3px 3px 0px 0px; 
    }
    
    /* 2. Style Part 2 as an internal sub-row, completely eliminating the top border and gap shifts */
    .grid-item.part-id-2 {
        background: #fafafa !important; 
        border-top: 1px dashed #d1d1d1 !important; /* Moves the clean dashed dividing line inside the unified card */
        border-radius: 0px 0px 3px 3px;
        /* 
         * FIX: This negative margin completely neutralises the grid gap calculation constraint, 
         * pulling the second card container flush against the bottom edge of Part 1.
         */
        margin-top: -15px !important; 
        padding-top: 15px !important;
    }
    
    /* 3. Drop elements that compromise the compact layout sizing rules */
    .grid-item.part-id-2 .post-title { 
        font-size: 0.95rem !important; 
        margin-top: 0 !important;
    }
    .grid-item.part-id-2 .post-excerpt { 
        display: none !important; 
    }
    
    /* 4. Transform the image footprint layout down to a tight 65px frame box */
    .grid-item.part-id-2 .post-thumbnail {
        max-width: 65px !important;
        width: 65px !important;
        float: left !important;
        margin-right: 12px !important;
        margin-bottom: 0 !important; /* Zero margin box layout constraints */
    }
    
    .grid-item.part-id-2 .grid-item-inner {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    .grid-item.part-id-2 .grid-item-inner::after { 
        content: ""; 
        display: table; 
        clear: both; 
    }
    
    .grid-item.part-id-2 .series-badge { 
        background: #555555 !important; 
    }
}

/* ==========================================================================
   5. LIVE SEARCH INPUT & COLLAPSIBLE MOBILE ICON
   ========================================================================== */
.grid-search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto 25px auto;
    width: 100%;
}

#grid-search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: #ffffff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

#grid-search-input:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

/* FIX 1: Explicitly hide the clear "X" icon on initialization */
.search-clear-icon {
    display: none; 
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: #999;
    cursor: pointer;
    user-select: none;
    line-height: 1;
    z-index: 10; /* Float cleanly on the top-most interaction plane */
}

.search-clear-icon:hover {
    color: #333;
}

@media (max-width: 767px) {
    .grid-search-wrapper {
        max-width: 45px;
        transition: max-width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        float: right;
        margin-bottom: 20px;
    }
    
    .grid-search-wrapper:focus-within,
    .grid-search-wrapper.has-input {
        max-width: 100%;
        float: none;
        width: 100%;
    }

    #grid-search-input {
        padding: 10px 16px 10px 16px;
        text-indent: -9999px; /* Hide text field placeholder on mobile until active */
        cursor: pointer;
        background: #ffffff;
    }
    
    .grid-search-wrapper:focus-within #grid-search-input,
    .grid-search-wrapper.has-input #grid-search-input {
        text-indent: 0px; /* Snap placeholder and typing text back into normal visibility */
        padding-left: 40px; /* Make safe room for the icon placeholder */
        padding-right: 40px; /* Make safe room on the right for the clear icon */
        cursor: text;
    }

    /* Create the magnifying glass icon completely via pure CSS shapes */
    .grid-search-wrapper::before {
        content: "";
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        border: 2px solid #999; 
        border-radius: 50%;
        z-index: 5;
        pointer-events: none;
        transition: left 0.2s ease;
    }

    /* The handle of the magnifying glass magnifying pointer line shape */
    .grid-search-wrapper::after {
        content: "";
        position: absolute;
        left: 25px; 
        top: calc(50% + 5px);
        width: 6px;
        height: 2px;
        background: #999; 
        transform: rotate(45deg);
        z-index: 5;
        pointer-events: none;
        transition: left 0.2s ease;
    }

    /* Maintain perfect centering balance when the search tray expands outwards */
    .grid-search-wrapper:focus-within::before,
    .grid-search-wrapper.has-input::before {
        left: 16px;
    }
    .grid-search-wrapper:focus-within::after,
    .grid-search-wrapper.has-input::after {
        left: 26px;
    }

    /* FIX 2: Correct clear icon position on mobile when expanded layout is active */
    .grid-search-wrapper.has-input .search-clear-icon {
        right: 15px;
        left: auto;
    }
}
/* ==========================================================================
   8. FOOTER RELATED POSTS & SIBLINGS COMPONENTS
   ========================================================================== */
.custom-related-posts-section {
    margin: 50px 0 20px 0;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
    clear: both;
}

.related-heading {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.related-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
}

.related-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.related-card:not(.current-series-active):hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #0073aa;
}

.related-card.series-sibling-card {
    border-color: #d1d1d1;
}

.related-card.current-series-active {
    border: 2px solid #0073aa !important;
    background: #f7fcfe;
}

.related-card-inner { 
    padding: 10px; 
}

.related-thumbnail { 
    position: relative; 
    overflow: hidden; 
    margin-bottom: 10px; 
}

/* Enforce perfect square crops natively */
.related-thumbnail img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
}

.related-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 5;
    background: #444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}
.series-sibling-card .related-badge { background: #555; }
.current-series-active .related-badge { background: #0073aa; }

.now-reading-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 115, 170, 0.08);
    color: #0073aa;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.related-title {
    font-size: 0.95rem !important;
    margin: 5px 0 0 0 !important;
    line-height: 1.3;
    font-weight: 500;
}
.related-title a { color: #333; text-decoration: none; }
.related-title a:hover { color: #0073aa; }
.current-title-text { color: #0073aa; font-weight: 600; }

@media (max-width: 480px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
        gap: 12px !important;
    }
}

/* ==========================================================================
   9. HORIZONTAL SWIPER RELATED FOOTER SYSTEM
   ========================================================================== */
.related-footer-matrix {
    margin-top: 20px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important; 
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 10px 4px 20px 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: auto !make-important;
    
    /* Softened linear fade so the final element stays recognizable */
    -webkit-mask-image: linear-gradient(to right, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, black 88%, transparent 100%);
}

/* Enable standard visible scrollbars on desktop screens to provide a clear track to click/drag */
@media (min-width: 768px) {
    .related-footer-matrix {
        scrollbar-width: auto !important; /* Restores standard Firefox tracks */
        -ms-overflow-style: auto !important;
    }
    .related-footer-matrix::-webkit-scrollbar {
        display: block !important;
        height: 6px !important; /* Ultra-thin, non-intrusive scroll tracker */
    }
    .related-footer-matrix::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 10px;
    }
    .related-footer-matrix::-webkit-scrollbar-thumb {
        background: #0073aa !important; /* Tinted scroll handler block to match your theme */
        border-radius: 10px;
    }
}

/* Keep scrollbars completely invisible on mobile phones for native momentum swiping */
@media (max-width: 767px) {
    .related-footer-matrix::-webkit-scrollbar { display: none !important; }
    .related-footer-matrix { -ms-overflow-style: none !important; scrollbar-width: none !important; }
    
    .related-footer-matrix {
        width: calc(100% + 30px) !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding-left: 15px !important;
        padding-right: 30px !important;
    }
}

.related-footer-matrix .grid-item {
    flex: 0 0 240px !important;
    max-width: 240px !important;
    width: 240px !important;
    margin: 0 !important;
}

.related-footer-matrix .post-title { font-size: 1.05rem !important; line-height: 1.3 !important; margin: 8px 0 !important; }
.related-footer-matrix .post-excerpt { font-size: 0.85rem !important; line-height: 1.4 !important; color: #666; }

.related-footer-matrix .grid-item.highlighted-series-sibling {
    border: 2px solid #0073aa !important;
    background: #f7fcfe !important;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.08) !important;
}

.series-badge.sibling-badge { background: #0073aa !important; letter-spacing: 0.5px; }
.series-badge.general-badge { background: #555555 !important; }
.custom-related-posts-section::after { content: ""; display: table; clear: both; }

/* ==========================================================================
   THE RED PEACH: AUTONOMIC BREAKPOINT ALIGNMENT MATRIX
   Forces post cards to sync column drops perfectly at exactly 600px
   and completely strips horizontal mobile page leaks.
   ========================================================================== */

/* 1. BASE MATRIX CORE: Active across all desktop and standard tablet screens */
.post-grid,
.responsive-grid-container .post-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important; /* Premium 3-column desktop view layout */
    gap: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. THE 992px BREAKPOINT TRACK: Scales down smoothly to a balanced 2-column layout */
@media (max-width: 991px) {
    .post-grid,
    .responsive-grid-container .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ==========================================================================
   3. THE SECURE FIXED 600px BREAKPOINT SHIELD (REINFORCED CONTAINMENT)
   Forces the grid to drop to a single column at exactly 600px width.
   Stops columns from bleeding horizontally past mobile viewport boundaries.
   ========================================================================== */
@media (max-width: 600px) {
    
    /* THE MOVEMENT CORE: Enforces absolute fluid containment matching your text views */
    .post-grid,
    .responsive-grid-container .post-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Pure uniform fluid layout sizing */
        gap: 24px 0 !important; /* FIXED ALIGNMENT: 24px spacing vertically, 0px horizontally stops side leaks */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important; /* Forces the entire grid module to lock perfectly in the center */
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important; /* Prevents container tags from clipping layouts */
        box-sizing: border-box !important;
    }

    /* UNIFIED CARD CONTAINMENT: Centered grid item properties */
    .post-grid article.theredpeach-unified-card,
    .post-grid .grid-item {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important; /* Centers each individual card element natively */
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    /* TYPOGRAPHY PROTECTION GATES: Safeguards titles from stretching borders */
    .post-grid .grid-item h2,
    .post-grid .grid-item h3,
    .post-grid .grid-item a {
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
}
/* ==========================================================================
   THE RED PEACH: DUAL SEARCH & PILLS INTEGRATED MOBILE STICKY ENGINE
   Activates smooth transitions and clears structural layers for your scroll script.
   ========================================================================== */
@media (max-width: 991px) {
    
    /* THE FIXED BRAND HEADER STICKY SYSTEM CORE */
    #masthead, 
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 99999 !important; /* Forces header to sit on top of card items frames */
        transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important; /* Premium fluid easing */
        transform: translateY(0) !important;
    }

    /* THE TRANSLATION MATRIX SHIELD: Slides the header cleanly up out of view on down-scroll */
    .header-sticky-hidden {
        transform: translateY(-100%) !important;
    }

    /* THE STICKY SEARCH CONTAINER RUNWAY: Positioned right below the mobile header line */
    .trp-grid-search-container.elastic-sticky-visible {
        position: fixed !important;
        top: 0px !important; /* Locks flush directly under the main header frame bounds */
        left: 0 !important;
        width: 100% !important;
        background-color: transparent; !important;
        padding: 12px 16px 6px 16px !important;
        margin: 0 !important;
        z-index: 99998 !important;
    }

    /* THE STICKY FILTER PILLS RUNWAY: Positioned right below the sticky search bar height clearance */
    .category-filters.elastic-sticky-visible {
        position: fixed !important;
        top: 114px !important; /* Sits perfectly below the active sticky search box height */
        left: 0 !important;
        width: 100% !important;
        background-color: transparent !important;
        padding: 6px 16px 12px 16px !important;
        box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05) !important;
       /* border-bottom: 1px solid #f1f5f9 !important;*/
        margin: 0 !important;
        z-index: 99998 !important;
    }

    /* HIDDEN ARCHITECTURE GATES: Converted to none layout elements on down-scroll */
    .trp-grid-search-container.elastic-sticky-hidden,
    .category-filters.elastic-sticky-hidden {
        position:static;
    }
}



