/* Base: tokens and document defaults. Typography lives in css/typography.css.
   Tokens come from theme.json (settings.custom). */

:root {
	--padding-block-start: 50px;
	--padding-block-end: 50px;
	--wp--style--global--content-size: var(--wp--custom--layout--max-width, 1500px);
}

html {
	overflow-x: hidden;
}

/* clip, not hidden: hidden would make body a scroll container and break position: sticky (Hero block). */
body {
	overflow-x: clip;
}

html {
	scroll-behavior: smooth;
}

img,
video {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	min-height: 100%;
	height: auto;
	object-fit: cover;
}

a:focus {
	outline: none;
}

/* Pages that open with the Hero block (body class added in inc/blocks.php): the hero starts at the very
   top of the page and the navigation sits on top of it. Set the page's navigation to a transparent
   background and light text in Site Controls. */
.has-th-hero .wp-site-blocks {
	position: relative; /* so the header's top: 0 is the top of the page content, below the WP admin bar when logged in */
}

.has-th-hero header.wp-block-template-part {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.has-th-hero main.wp-block-group {
	margin-top: 0 !important;
}

.has-th-hero main.wp-block-group > .wp-block-group {
	padding-top: 0 !important;
}
