/*
Theme Name: CodeGeek FSE
Author: CodeGeek
Author URI: https://codegeek.net
Theme URI:
Description: A WordPress full site editor theme by CodeGeek
Tags: full-site-editing, editor-style, block-styles, block-patterns, accessibility-ready
Text Domain: codegeek
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.1.1
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}


/* Move the fixed position down to adjust for the WordPress admin bar */
.admin-bar .is-style-codegeek-sticky {
	top: calc(2em + var(--wp-admin--admin-bar--height, 0px));
}

.is-style-codegeek-sticky-header {
	position: sticky;
	top: 0;
	z-index: 999;
}

/* Move the sticky position down to adjust for the WordPress admin bar */
.admin-bar .is-style-codegeek-sticky-header {
	top: var(--wp-admin--admin-bar--height, 0px);
}


/* Hide the header block patterns on the paginated results. */
.home.paged .codegeek-pattern-header-image {
	display: none;
}

/* Hide selected sticky posts and paginated results. */
body.query-block-paged .wp-block-query.codegeek-hide-sticky {
	display: none;
}

.codegeek-blog-layout .wp-block-post-template li .wp-block-group:not(.codegeek-post-meta) {
	height: 100%;
}
