@media (max-width: 1024px) {
    #rz-explore .mayan-responsive-fields .rz-search-filter--inline {
        --filter-ink: #183448;
        --filter-accent: #005982;
        --filter-line: #dce5e9;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    #rz-explore .mayan-responsive-fields .rz-search-filter--inline > .rz--content {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 1px;
        padding: 5px;
        border: 1px solid var(--filter-line);
        border-radius: 12px;
        background: #f3f6f7;
    }
    #rz-explore .mayan-responsive-fields .rz-search-filter-inner,
    #rz-explore .mayan-responsive-fields .rz-search-filter-inner > .rz-form,
    #rz-explore .mayan-responsive-fields .rz-search-filter-inner > .rz-form > .rz-grid,
    #rz-explore .mayan-responsive-fields .rz-search-footer { display: contents; }
    #rz-explore .mayan-responsive-fields .rz-search-footer > div:not(.rz--submit):not(:has(a)) { display: none; }
    #rz-explore .mayan-responsive-fields .mayan-search-editor { grid-column: 1 / -1; }
    #rz-explore .mayan-responsive-fields [data-filter-caption],
    #rz-explore .mayan-filter-group {
        position: relative;
        min-width: 0;
        margin: 0;
        padding: 0;
        font: 400 15px/20px var(--font-body, 'Open Sans'), sans-serif;
        color: var(--filter-ink);
        --text-inset: 32px;
    }
    #rz-explore .mayan-responsive-fields [data-filter-caption]::before,
    #rz-explore .mayan-filter-group summary::before {
        content: var(--filter-icon) / '';
        position: absolute;
        top: 50%;
        left: 8px;
        transform: translateY(-50%);
        pointer-events: none;
        color: var(--filter-accent);
        font: 900 15px/1 'Font Awesome 5 Free';
        z-index: 1;
    }
    #rz-explore [data-filter-icon="place"] { --filter-icon: '\f3c5'; }
    #rz-explore [data-filter-icon="calendar"] { --filter-icon: '\f073'; }
    #rz-explore [data-filter-icon="category"] { --filter-icon: '\f005'; }
    #rz-explore [data-filter-icon="people"], #rz-explore .mayan-filter-group { --filter-icon: '\f500'; }
    #rz-explore .mayan-responsive-fields [data-filter-icon="place"] {
        box-shadow: inset -1px 0 var(--filter-line), inset 0 -1px var(--filter-line);
    }
    #rz-explore .mayan-responsive-fields :is([data-filter-icon="calendar"],[data-filter-icon="category"]) {
        box-shadow: inset 0 -1px var(--filter-line);
    }

    #rz-explore .mayan-responsive-fields [data-filter-caption]::after,
    #rz-explore .mayan-filter-group summary > span {
        content: attr(data-filter-caption);
        position: absolute;
        inset: 7px 5px auto var(--text-inset);
        pointer-events: none;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #405c6c;
        font: inherit;
    }
    #rz-explore .mayan-responsive-fields [data-filter-caption] > .rz-form-group > .rz-filter-tab > .rz-tab-title,
    #rz-explore .mayan-responsive-fields [data-filter-caption] > .rz-form-group > .rz-guests > .rz--label,
    #rz-explore .mayan-responsive-fields [data-filter-caption] > .rz-form-group > .rz-select2 .select2-selection--single,
    #rz-explore .mayan-filter-group summary {
        position: relative;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        height: 57px;
        min-height: 57px;
        padding: 21px 23px 0 var(--text-inset);
        border: 0;
        border-radius: 6px;
        color: var(--filter-ink);
        background: transparent;
        font: 600 15px/20px var(--font-body, 'Open Sans'), sans-serif;
        cursor: pointer;
    }
    #rz-explore .mayan-responsive-fields [data-filter-caption] .select2-selection__rendered,
    #rz-explore .mayan-responsive-fields [data-filter-caption] :is(.rz-tab-title,.rz-guests > .rz--label) > span,
    #rz-explore .mayan-filter-group summary > strong {
        width: 100%;
        min-width: 0;
        padding: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: inherit;
        font: inherit;
    }
    #rz-explore .mayan-responsive-fields [data-filter-caption] :is(.rz-tab-title,.rz--label,.select2-selection--single)::after,
    #rz-explore .mayan-filter-group summary::after {
        content: '\f078';
        position: absolute;
        top: 50%;
        right: 7px;
        margin: 0;
        transform: translateY(-50%);
        color: #526e7c;
        font: 900 9px/1 'Font Awesome 5 Free';
        height: auto;
    }
    #rz-explore .mayan-responsive-fields [data-filter-caption] .select2-selection__arrow,
    #rz-explore .mayan-responsive-fields [data-filter-caption] .select2-selection__rendered::after { display: none; }
    #rz-explore .mayan-responsive-fields [data-filter-caption] :is(.select2-selection__placeholder,.rz-tab-title.rz-is-placeholder > span,.rz-guests.rz-is-placeholder > .rz--label > span),
    #rz-explore .mayan-responsive-fields [data-filter-value] .rz-guests > .rz--label > span { opacity: 0; }
    #rz-explore .mayan-responsive-fields [data-filter-caption]:has(.select2-selection__placeholder,.rz-tab-title.rz-is-placeholder,.rz-guests.rz-is-placeholder) > .rz-form-group::after,
    #rz-explore .mayan-responsive-fields [data-filter-value] > .rz-form-group::after {
        content: attr(data-value);
        position: absolute;
        inset: 29px 20px auto var(--text-inset);
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        pointer-events: none;
        color: var(--filter-ink);
        font: 600 15px/20px var(--font-body, 'Open Sans'), sans-serif;
    }
    #rz-explore .mayan-responsive-fields [data-filter-caption] > .rz-form-group { position: relative; }
    #rz-explore .mayan-filter-group summary { list-style: none; }
    #rz-explore .mayan-filter-group summary::-webkit-details-marker { display: none; }
    #rz-explore .mayan-filter-group summary > span { font-weight: 400; }
    #rz-explore .mayan-filter-group[open] { z-index: 12; }
    #rz-explore .mayan-filter-group-options {
        position: absolute;
        z-index: 2;
        width: min(280px, calc(100vw - 52px));
        top: calc(100% + 4px);
        left: 0;
        padding: 16px;
        border: 1px solid var(--filter-line);
        border-radius: 10px;
        background: white;
        box-shadow: 0 6px 22px #13384c25;
    }
    #rz-explore .mayan-filter-group-options > .rz-mod,
    #rz-explore .mayan-filter-group-options > .rz-mod > .rz-form-group { width: 100%; max-width: none; margin: 0; padding: 0; }
    #rz-explore .mayan-filter-group-options > .rz-mod + .rz-mod { margin-top: 12px; }

    #rz-explore .mayan-responsive-fields .rz-search-footer .rz--submit {
        grid-area: 2 / 2;
        align-self: stretch;
        justify-self: stretch;
        display: flex;
        min-width: 0;
        max-width: none;
        width: auto !important;
        margin: 0;
        padding: 4px 0;
    }
    #rz-explore .mayan-responsive-fields .rz-search-footer .rz--submit > a {
        display: inline-flex;
        flex: 1 0 100%;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100% !important;
        min-width: 100%;
        max-width: 100%;
        height: 100%;
        min-height: 46px;
        transition-property: color, background-color, box-shadow;
        border-radius: 9px;
        color: white;
        font: 600 15px/20px var(--font-body, 'Open Sans'), sans-serif;
    }
    #rz-explore .mayan-responsive-fields .rz-search-footer .rz--submit > a > span:not(.fas) {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        clip-path: none;
    }
    #rz-explore .mayan-responsive-fields .rz-search-footer > div:not(.rz--submit) {
        grid-row: 3;
        align-self: center;
        min-width: 0;
        width: auto;
        padding: 0 8px;
    }
    #rz-explore .mayan-responsive-fields .rz-search-footer :is(.rz-more-filters,.rz-search-clear) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: auto;
        min-height: 44px;
        height: auto;
        padding: 0;
        border: 0;
        background: transparent;
        font-weight: 600;
        color: var(--filter-accent);
    }
    #rz-explore .mayan-responsive-fields .rz-search-clear > span {
        position: static;
        width: auto;
        height: auto;
        margin: 0;
        clip-path: none;
    }
    #rz-explore .mayan-responsive-fields .rz-search-footer .rz-ml-auto { grid-column: 2; justify-self: end; }
    #rz-explore .mayan-responsive-fields .mayan-filter-count-empty { display: none; }
    #rz-explore .mayan-responsive-fields .rz-search > .mayan-search-context { display: none; }
    #rz-explore .mayan-responsive-fields .mayan-filter-heading:not([hidden]) {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
        min-height: 44px;
        margin: 4px 16px -8px;
    }
    #rz-explore .mayan-responsive-fields .mayan-filter-heading h2 {
        margin: 0;
        font: 600 17px/22px var(--font-body, 'Open Sans'), sans-serif;
    }
    #rz-explore .mayan-filter-tools { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
    #rz-explore .mayan-filter-tools :is(.rz-more-filters,.rz-search-clear) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: auto;
        min-width: 44px;
        min-height: 44px;
        padding-inline: 6px;
        border: 0;
        background: transparent;
        color: #005982;
        font: 600 14px/20px var(--font-body, 'Open Sans'), sans-serif;
    }
    #rz-explore .mayan-filter-tools:not(.has-criteria) .rz-search-clear { display: none; }
}
@media (max-width: 350px) {
    #rz-explore .mayan-responsive-fields [data-filter-caption], #rz-explore .mayan-filter-group { --text-inset: 8px; }
    #rz-explore .mayan-responsive-fields [data-filter-caption]::before, #rz-explore .mayan-filter-group summary::before { display: none; }
}
