.ofbt-sticky-header .wp-site-blocks > header {
	position: fixed;
	z-index: 1001;
	top: 0;
	right: 0;
	left: 0;
	padding-right: var(--wp--custom--spacing--outer, 0);
	padding-left: var(--wp--custom--spacing--outer, 0);
}

.ofbt-sticky-header .wp-site-blocks > header + main,
.ofbt-sticky-header .wp-site-blocks > header + .wp-block-group {
	margin-top: 0;
}

.admin-bar.ofbt-sticky-header .wp-site-blocks > header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.admin-bar.ofbt-sticky-header .wp-site-blocks > header + main:not(.wp-block-query),
.admin-bar.ofbt-sticky-header .wp-site-blocks > header + .wp-block-group {
	margin-top: calc(-1 * var(--wp-admin--admin-bar--height, 32px));
}

.ofbt-animate-logo .wp-site-blocks > header .wp-block-site-logo img {
	transition: width 0.3s ease-in-out, height 0.3s ease-in-out, margin 0.3s ease-in-out;
}

.ofbt-animate-logo .wp-site-blocks > header.shrink-logo .wp-block-site-logo img {
	width: var(--ofbt-shrunk-logo-width, 48px);
	height: auto;
}

.ofbt-hide-logo-on-scroll .wp-site-blocks > header .wp-block-site-logo img {
	vertical-align: top;
}

.ofbt-hide-logo-on-scroll .wp-site-blocks > header.shrink-logo .wp-block-site-logo img {
	margin: 0;
}

@media (prefers-reduced-motion: reduce) {
	.ofbt-animate-logo .wp-site-blocks > header .wp-block-site-logo img {
		transition: none;
	}
}
