/* ══════════════════════════════════════════════════════════════
   Explore Archive — Responsive (Elementor breakpoints)
   Layered on top of explore-archive.css.
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet Portrait (≤1024px) ───────────────────────────────── */
@media (max-width: 1024px) {
    body.xp-explore .xp-filters-target .search-filters .filter-wrapper {
        padding: 12px 0 !important;
        gap: 12px !important;
    }

    body.xp-explore .xp-filters-target .filter-wrapper > .form-group.wp-search-filter,
    body.xp-explore .xp-filters-target .search-filters .filter-wrapper > .dropdown-filter.form-group.md-group label {
        height: 46px !important;
        font-size: 14px !important;
    }

    body.xp-explore .xp-flhead-target .fl-head,
    body.xp-explore .explore-type-2 .container > .fl-head {
        margin: 0 !important;
    }
}

/* ── Mobile Portrait (≤767px) ────────────────────────────────── */
@media (max-width: 767px) {

    body.xp-explore .xp-filters-target .filter-wrapper > .form-group.wp-search-filter,
    body.xp-explore .xp-filters-target .search-filters .filter-wrapper > .dropdown-filter.form-group.md-group label {
        height: 44px !important;
        font-size: 14px !important;
    }

    body.xp-explore .xp-filters-target .filter-wrapper > .wp-search-filter::before {
        font-size: 20px;
        left: 12px;
    }

    body.xp-explore .xp-filters-target .filter-wrapper > .wp-search-filter {
        padding-left: 42px !important;
    }

    body.xp-explore .xp-filters-target .filter-wrapper > .wp-search-filter.md-group label {
        left: 42px !important;
    }

    body.xp-explore .xp-flhead-target .fl-head,
    body.xp-explore .explore-type-2 .container > .fl-head {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0px !important;
    }

    body.xp-explore .xp-orderby-inline {
        width: 100% !important;
    }

    body.xp-explore .explore-type-2 .col-md-4.col-sm-6.grid-item {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
