/********************************************************/
/*
/*      Base CSS
/*
/********************************************************/

html, body {
	scroll-behavior: smooth;
	scroll-padding-top: 3rem; 
	width: 100%;
	height: 100%;
	margin-block-start: 0 !important;
	overflow-x: clip;
}

body {
	width: 100%;
	max-width: var(--wp--custom--viewport-width);
}

menu {
	padding: 0;
}

.wp-site-blocks {
	
	display: flex;
	flex-direction: column;
	min-height: 100%;
	
	& > :is(main, menu, footer)  {
		width: 100%;
		max-width: var(--wp--custom--full-size);
		margin-inline: auto;
	}

	& > main  {
		flex-grow: 2;
		
	}
}

.gform_required_legend { display: none;}



section.full-height {
	//min-height: calc(100vh - 2rem);
	min-height: 80vh;
	
	&.is-layout-grid {
		grid-template-rows: 1fr;
		grid-template-columns: 24rem 1fr!important;
	}
	
	& aside.grid {
		max-height: calc(100vh - 4rem);
		position: sticky;
		top:2rem;
		
		grid-template-rows: repeat(3, 1fr)!important;
		grid-template-columns: repeat(3, 1fr)!important;
		
		& figure {
			width: 100%;
			height: 100%;
			position:  relative;
			overflow: clip;
			
			
			& :is(img, video)  { 
				position: absolute;
				inset: 0;
				width: 100%!important;
				height: 100%!important;
				object-fit: cover;
		
			}
		}
	}
	

}