/**
 * sedilo-core 1.10.5 — Mobile Seitenleisten-Schublade (systemweit), v3.
 *
 * Die Schubladen-Styles der Seitenleiste setzt das JS vollständig INLINE
 * (Übernahme beim Öffnen, exakte Wiederherstellung beim Schließen) — hier
 * verbleiben nur Pfeil-Griff, Backdrop und die Scroll-Sperre.
 *
 * 1.10.5: Griff dezent statt Markenblau (Betreiber-Wunsch 05.07.) —
 * halbtransparentes Dunkelgrau, schmaler, überdeckt Inhalte kaum noch.
 */
@media (max-width: 991.98px) {
    body.sedilo-drawer-active.sedilo-drawer-open {
        overflow: hidden; /* Hintergrund nicht mitscrollen */
    }

    .sedilo-drawer-handle {
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1046;
        width: 22px;
        height: 56px;
        padding: 0;
        border: 0;
        border-radius: 9px 0 0 9px;
        background: rgba(33, 37, 41, 0.35);
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.92857rem;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
        transition: background 0.15s ease, right 0.25s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .sedilo-drawer-handle:hover,
    .sedilo-drawer-handle:active {
        background: rgba(33, 37, 41, 0.55);
    }

    .sedilo-drawer-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.40);
        z-index: 1044;
        display: none;
    }

    body.sedilo-drawer-open .sedilo-drawer-backdrop {
        display: block;
    }
}

/* Desktop/Tablet-quer: Schubladen-UI komplett aus */
@media (min-width: 992px) {
    .sedilo-drawer-handle,
    .sedilo-drawer-backdrop {
        display: none !important;
    }
}

/* 1.10.5 — Umschalter der Mitgliederverzeichnis-Filter (alle Breiten) */
.sedilo-people-filter-toggle {
    margin-bottom: 10px;
}
