@media (min-width: 992px) {
    /* desktop only */
    .col-xl-4.col-lg-4 {
        position: sticky;
        top: 110px; /* adjust based on header height */
        align-self: flex-start;
        height: fit-content;
    }
}
/* Prevent sticky breaking inside flex/grid */
.row {
    align-items: flex-start;
}
.wt-listing-item.large-card {
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(25, 41, 66, 0.06);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.listing-place-timing {
    margin-bottom: 6px;
}
@media (max-width: 767.98px) {
    .wt-listing-item.large-card .col-md-4,
    .wt-listing-item.large-card .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .wt-listing-item.large-card .col-md-4 {
        margin-bottom: 12px;
    }
}
.filter-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #f96b39;
}
#sort-select {
    border-radius: 8px;
    font-weight: 600;
}
.news-tabs .nav-link {
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
}
.news-tabs .nav-link.active {
    background: #f96b39;
    color: #fff;
}
/* ===== NEWS CARD UI IMPROVEMENTS ===== */
.news-img-wrapper img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}
/* Priority badge */
.news-priority-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 6px;
}
.news-priority-badge.breaking {
    background: #e74c3c;
    color: #fff;
}
.news-priority-badge.featured {
    background: #f39c12;
    color: #fff;
}
.news-priority-badge.normal {
    background: #ecf0f1;
    color: #555;
}
/* Title */
.wt-listing-item h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}
/* Meta info */
.wt-listing-item .text-muted.small {
    font-size: 12px;
}
/* Read more link */
.read-more-link {
    font-size: 13px;
    font-weight: 600;
    color: #f96b39;
    text-decoration: none;
}
.read-more-link:hover {
    text-decoration: underline;
}
/* Card padding refinement */
.wt-listing-item.large-card {
    padding: 20px;
}
/* =================== MOBILE FILTER HAMBURGER =================== */
.mobile-filter-toggle {
    position: fixed;
    top: 250px;
    right: 16px;
    z-index: 999;
    background: #f96b39;
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-filter-toggle:hover {
    background: #d96328;
    transform: scale(1.05);
}

.mobile-filter-toggle i {
    font-size: 20px;
}

.mobile-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-filter-overlay.active {
    opacity: 1;
}

.mobile-filter-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #f4f2ee;
    z-index: 1001;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
}

.mobile-filter-drawer.active {
    right: 0;
}

.mobile-filter-header {
    position: sticky;
    top: 0;
    background: #ffffff;
    padding: 16px;
    border-bottom: 1px solid #d4d2ce;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.mobile-filter-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.mobile-filter-close {
    background: none;
    border: none;
    font-size: 24px;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.mobile-filter-close:hover {
    background: rgba(0, 0, 0, 0.08);
}

.mobile-filter-content {
    padding: 0;
}

.mobile-filter-content .side-bar {
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 16px;
    margin: 0;
}

.mobile-filter-content .widget-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.9);
}

.mobile-filter-content .wt-separator {
    margin: 8px 0 16px;
}

.mobile-filter-content .form-control,
.mobile-filter-content .form-select,
.mobile-filter-content .form-float-input {
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid #d4d2ce;
    border-radius: 8px;
    background: #ffffff;
}

.mobile-filter-content .form-control:focus,
.mobile-filter-content .form-select:focus,
.mobile-filter-content .form-float-input:focus {
    border-color: #f96b39;
    box-shadow: 0 0 0 2px rgba(249, 107, 57, 0.1);
}

.mobile-filter-content .float-input-control label {
    font-size: 13px;
}

.mobile-filter-content .btn-primary {
    background: #f96b39;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(249, 107, 57, 0.2);
    transition: all 0.2s;
}

.mobile-filter-content .btn-primary:hover {
    background: #d96328;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(249, 107, 57, 0.3);
}

.mobile-filter-content .btn-outline-secondary {
    font-size: 12px;
    padding: 8px 12px;
}

@media (max-width: 1199px) {
    .mobile-filter-toggle {
        display: flex;
    }

    .desktop-filter-sidebar {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .mobile-filter-toggle,
    .mobile-filter-overlay,
    .mobile-filter-drawer {
        display: none !important;
    }
}
/* Filter Count Badge */
.mobile-filter-toggle {
    overflow: visible;
}

.filter-count-badge {
    display: none;
    background: #0a66c2;
    color: #fff;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    position: absolute;
    top: -4px;
    right: -4px;
}

/* Clear All link in drawer header */
.mobile-clear-all-link {
    font-size: 13px;
    font-weight: 600;
    color: #f96b39;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid #f96b39;
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
}

.mobile-clear-all-link:hover {
    background: #f96b39;
    color: #fff;
}

/* Reset link below Apply */
.reset-link {
    display: block;
    text-align: center;
    color: rgba(0, 0, 0, 0.64);
    font-size: 14px;
    margin-top: 6px;
    text-decoration: none;
    font-weight: 700;
}

.reset-link:hover {
    color: #f96b39;
}
