/*
Theme Name: Finders 22
Theme URI: www.onlineability.net
Author: Andy Darley
Author URI: www.onlineability.net
Description: Based on the Jace theme. A new Finders theme for 2022 onwards.
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.7
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: https://raw.githubusercontent.com/Automattic/themes/trunk/LICENSE
Template: 
Text Domain: finders22
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*//* 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;
}

/*
* Sticky button is experimental,
* only use it on the front for screens above 782px width.
*/
@media screen and (min-width: 782px) {

	.is-style-jace-sticky {
		position: fixed;
		top: 2em;
		right: 2em;
	}

	/* Move the fixed position down to adjust for the WordPress admin bar */
	.admin-bar .is-style-jace-sticky {
		top: calc(2em + 32px);
	}

	.is-style-jace-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-jace-sticky-header {
		top: 32px;
	}

}

/*
 * Increase horizontal padding on smaller screens.
 * Temporary solution to avoid text content
 * running up to the edge of the browser window,
 * making the text difficult to read.
*/
@media ( max-width: 1024px ) {

	main > :not(.alignfull),
	.sidebar > :not(.alignfull),
	main > .wp-block-query > :not(.alignfull),
	main .entry-content > :not(.alignfull),
	main .entry-content .wp-block-columns.alignfull p,
	.woocommerce .woocommerce-breadcrumb,
	.woocommerce :not(.related) > ul.products,
	.sidebar .wp-block-query > :not(.alignfull),
	.sidebar .entry-content > :not(.alignfull),
	.sidebar .entry-content .wp-block-columns.alignfull p {
		padding-left: var(--wp--custom--h-spacing);
		padding-right: var(--wp--custom--h-spacing);
	}
}

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

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

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