/*
Theme Name: Safehouse Pro
Theme URI: https://github.com/extendify/safehouse-pro
Author: Extendify
Author URI: https://extendify.com
Description: Safehouse Pro is a distinct, dynamic block theme designed as a canvas for your next online venture. Sporting multiple style variations, Safehouse Pro is the most expressive block theme yet. Go fresh, bold, bohemian or minimal — with a single click.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 2.0.29
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: safehouse-pro
Tags: one-column, custom-colors, custom-menu, custom-logo, e-commerce, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments
Template: extendable

Safehouse Pro is a derivative work of the code from the
Twenty Twenty-Two WordPress Theme, which is licensed GPLv2.

Safehouse Pro WordPress Theme, (C) 2022 Extendify Inc.
Safehouse Pro therefore is also distributed under the terms of the GNU GPL.
*/

.custom-item-box {
	min-height: 100%;
}

.floating-toc-container {
	position: fixed !important; /* Detach from content */
    right: 20px; /* Distance from right edge */
    top: 50%; /* Move top edge to middle of screen */
    transform: translateY(-50%); /* Pull back up by half its height to center perfectly */
    z-index: 9999; /* Ensure it sits on top of everything */
    
    /* Optional: Ensure it doesn't get cut off on small screens */
    max-height: 90vh; 
    overflow-y: auto;
    
    /* styling to make it look like a floating card */
    background: #ffffff; 
    box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

/* Hide on Mobile so it doesn't block text */
@media screen and (max-width: 1440px) {
    .floating-toc-container {
        display: none !important;
    }
}