/* hide original sidebar on mobile */
@media (max-width: 768px) {
    aside,
    .sidebar,
    #secondary {
        display: none !important;
    }
}

/* button */
.mf-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mf-toggle {
        display: block;
        margin: 10px 0;
        padding: 10px 16px;
        background: #000;
        color: #fff;
        border: none;
        border-radius: 6px;
        width: 100%;
        line-height: 1;
    }
}

/* OVERLAY */
.mf-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.mf-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* PANEL (small improvement) */
.mf-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    box-shadow: -10px 0 25px rgba(0,0,0,0.2);
}

.mf-panel.active {
    right: 0;
}

/* CLOSE BUTTON (nicer) */
.mf-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 20px;
    height: 20px;
    border-radius: 100px;
    border: none;
    background: #000;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 29px !important;
}

/* Optional: title spacing */
.mf-content {
    margin-top: 80px;
}