/*
Theme Name: Huysmans
Description: Portfolio child theme of Ipsum. Design lives in theme.json; reusable features live in the Huysmans Blocks plugin.
Author: Dominic Huysmans
Template: ipsum-trunk
Requires at least: 7.1
Tested up to: 7.2
Requires PHP: 7.4
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huysmans
*/

/*
 * Keep the header and footer above Image Trail images. The images stack inside
 * their block (it isolates its own stacking context), so lifting these parts
 * puts their content on top even when "Images above content" is on.
 */
.wp-site-blocks > header,
.wp-site-blocks > footer {
	position: relative;
	z-index: 2;
}

/*
 * "Full-screen Hero" template: the header and footer float over the content,
 * pinned to the top and bottom of the page, so a hero whose minimum height is
 * the window height fills the whole screen, as on Salient. The page wrapper is
 * their reference box; it already starts below the admin bar when logged in.
 */
.wp-site-blocks:has(> .is-overlay) {
	position: relative;
}

.wp-site-blocks > .is-overlay {
	position: absolute;
	inset-inline: 0;
	z-index: 10;
}

.wp-site-blocks > header.is-overlay {
	top: 0;
}

.wp-site-blocks > footer.is-overlay {
	bottom: 0;
}
