/* Non-critical general CSS (mobile breakpoints should go in respective files) */

button:not(.is-style-outline), a.button:not(.is-style-outline), a.wp-block-button__link:not(.is-style-outline), #footer a.wp-block-button__link:not(.is-style-outline), input[type=submit] {
	border: 1px solid var(--wp--preset--color--background);
	color: var(--wp--preset--color--background) !important;
	font-weight: var(--wp--custom--typography--link--font-weight);
}

#header {
	text-transform: uppercase;
}

h1.wp-block-post-title:first-child,
main > h1.wp-block-heading:first-child
{ margin-top: var(--wp--preset--spacing--70) !important; }

.entry-meta {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--sans-serif);
	font-size: var(--wp--preset--font-size--x-small);
	text-transform: uppercase;
}

.has-x-small-font-size, .has-x-small-font-size *,
.has-small-font-size, .has-small-font-size *,
.has-medium-font-size, .has-medium-font-size *
{
	font-family: var(--wp--preset--font-family--sans-serif) !important;
}

.has-large-font-size, .has-large-font-size *,
.has-x-large-font-size, .has-x-large-font-size *,
.has-huge-font-size, .has-huge-font-size *
{
	color: var(--wp--preset--color--secondary);
	font-family: var(--wp--preset--font-family--serif) !important;
}

:is(h2, h3).has-small-font-size {
	margin-bottom: calc(var(--wp--style--block-gap) / 2);
}

.has-small-font-size + :is(h2, h3) {
	margin-top: 0;
}

.is-light {
	color: var(--wp--preset--color--foreground);
}

.wp-block-cover.alignfull.is-position-center-left .wp-block-cover__inner-container,
.wp-block-cover.alignfull.is-position-center-right .wp-block-cover__inner-container
{
	width: clamp(280px, 25vw, 360px);
}

.wp-block-cover :where(.wp-block-group.has-background) {
	padding: var(--wp--style--block-gap);
}

.wp-block-group > h2:first-child + h3 {
	border-bottom: 1px solid var(--wp--preset--color--translucent-black);
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.wp-block-group > h2:first-child + h3.has-xx-large-font-size {
	padding-bottom: 0.2rem;
}

.wp-block-group > h2:first-child + h3 + p {
	margin-top: 0;
}

.gfield--type-honeypot { display: none !important; }

.gform_required_legend { display: none; }

.gform_wrapper.gravity-theme .gform_fields { align-items: center; }

#gform_4 .gform_footer { display: none; }

#gform_fields_4 > *:not(.gfield--type-honeypot), #gform_fields_4 > *:not(.gfield--type-honeypot) > * {
	display: inline-block !important;
	margin-right: 0.5rem !important;
	width: 100% !important;
}

#footer h3 {
	font-family: var(--wp--preset--font-family--serif) !important;
	font-size: var(--wp--preset--font-size--large) !important;
}

#footer-1 {
	/*display: block !important;*/
	max-width: var(--wp--style--global--wide-size);
}


/* Workarounds */

/* WP 6.9 requires this... why? */
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) { background: transparent !important; }
