/* Dynamic Search Styles - CACHE BUSTER 2 */
#blog-listing-container {
    transition: opacity 0.3s ease;
    min-height: 400px;
    position: relative;
    clear: both;
}

.no-results {
    padding: 100px 20px;
    text-align: center;
    font-size: 1.4rem;
    color: #888;
    width: 100%;
}

.search-loading::after {
    content: "";
    position: absolute;
    top: 100px;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    border: 4px solid rgba(37, 99, 235, 0.1);
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 100;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Sidebar Highlighting - Standard Theme Overrides */
ul.list-category-types li.issubcat.active a {
    color: #2563eb;
    font-weight: 700 !important;
    padding-left: 10px !important;
}

/* Ensure the bullet point appears by overriding theme's before content */
ul.list-category-types li.issubcat.active::before {
    content: "\2022" ;
    /* Bullet point */
    color: #2563eb;
    font-size: 30px ;
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    position: absolute !important;
    left: -5px ;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix for refresh icon */
#refresh-filters svg {
    pointer-events: none;
}

/* Center no-posts message when blog grid is empty */
.blog-listing:not(:has(.blog-card)) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.blog-listing .noproduct {
    position: static;
    width: auto;
}