/*
Theme Name: Celebrate
Author: Celebrate Creative
Author URI: https://celebratecreative.com
Theme URI: https://celebratecreative.com
Tags: full-site-editing, editor-style, block-styles
Text Domain: celebrate
Requires at least: 6.7
Requires PHP: 8.0
Tested up to: 6.9.1
Version: 4.0.0
*/

:root {
	--color--primary--lighter--20: hsl(from var(--wp--preset--color--primary) h s calc(l + 20));
	--color--primary--lighter--40: hsl(from var(--wp--preset--color--primary) h s calc(l + 40));
	--color--primary--lighter--60: hsl(from var(--wp--preset--color--primary) h s calc(l + 60));
	--color--primary--darker--10: hsl(from var(--wp--preset--color--primary) h s calc(l - 10));
	--color--primary--darker--20: hsl(from var(--wp--preset--color--primary) h s calc(l - 20));
}

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;
}

a {
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

figure {
	margin: 0;
}

iframe {
	display: flex;
}

.home>*,
.page-template-default>*,
.post-template-default>* {
	overflow: clip;
	max-width: 100% !important;
}

:focus-visible {
	outline: none;
}

.wp-block-post-content > .wp-block-group.has-background + .wp-block-group.has-background,
.wp-block-post-content > .wp-block-group.has-background + .wp-block-cover,
.wp-block-post-content > .wp-block-cover + .wp-block-group.has-background,
.wp-block-post-content > .wp-block-cover + .wp-block-cover {
	margin-block-start: 0;
}

:root :where(.is-layout-constrained) > * {
	margin-block-start: var(--wp--style--block-gap, 1.5rem);
	margin-block-end: 0;
}

:root :where(.is-layout-constrained) > :first-child {
	margin-block-start: 0;
}

:root :where(.is-layout-flow) > :last-child {
	margin-block-end: 0;
}

blockquote,
figcaption,
h1,
h2,
h3,
h4,
h5,
h6,
p {
	text-wrap: pretty;
}

.wp-block-html {
	box-sizing: border-box;
}