/* Interior pages only. Keep the same widget spacing and proportions as home.
   Porto's sticky wrapper is disabled on interior pages by this plugin. */
@media (min-width: 992px) {
    body.fm-pssb-interior #main .left-sidebar .sidebar-content {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: var(--fm-pssb-base-width, auto) !important;
        min-width: var(--fm-pssb-base-width, 0px) !important;
        max-width: var(--fm-pssb-base-width, none) !important;
        transform: none !important;
        box-sizing: border-box !important;
        border: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        z-index: 20 !important;
    }

    /* Category pages used 20px padding on this widget; the actual homepage
       uses zero padding and top/bottom margins instead. Restore that look. */
    body.fm-pssb-interior .left-sidebar #block-widget-2 {
        padding: 0 !important;
        margin: 20px 0 30px !important;
        border: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* An out-of-flow fixed parent does not collapse its last child margin.
       Zero only that invisible bottom margin to keep the exact home height. */
    body.fm-pssb-interior.fm-pssb-pinned .left-sidebar #block-widget-2 {
        margin-bottom: 0 !important;
    }

    body.fm-pssb-interior .left-sidebar .fm-pssb-placeholder {
        display: none;
        height: 0;
        pointer-events: none;
    }
    body.fm-pssb-interior.fm-pssb-pinned .left-sidebar .fm-pssb-placeholder {
        display: block;
        height: var(--fm-pssb-placeholder-height, 0px);
    }
    body.fm-pssb-interior.fm-pssb-pinned #main .left-sidebar .sidebar-content {
        position: fixed !important;
        top: var(--fm-pssb-top, 250px) !important;
        left: var(--fm-pssb-left, auto) !important;
        width: var(--fm-pssb-base-width, auto) !important;
        transform: scale(var(--fm-pssb-scale, 1)) !important;
        transform-origin: left top !important;
        margin: 0 !important;
        z-index: 30 !important;
        overflow: visible !important;
    }
}
@media (max-width: 991px) {
    body.fm-pssb-interior #main .left-sidebar .sidebar-content {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        transform: none !important;
    }
}
