/* 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);
	font-weight: var(--wp--custom--typography--link--font-weight);
}

#header {
	text-transform: uppercase;
}

> h1.wp-block-post-title:first-child { margin-top: var(--wp--style--block-gap); }

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

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

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

/* Workarounds */

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