
:root {
	--wp--custom--spacing--tw-small: 40px;
	--wp--custom--spacing--tw-medium: 48px;
	--wp--custom--spacing--tw-large: 60px;
	--wp--custom--spacing--tw-x-large: 80px;
}

.wp-site-blocks > * {
	margin-top: 0;
}

.wp-block-media-text__content > * {
	margin-block: 0;
}

.wp-block-media-text__content > * + * {
	margin-block-start: var(--wp--style--block-gap, 1rem);
	margin-block-end: 0;
}

.alignfull + .alignfull:where(.wp-block-group.has-background, .wp-block-cover, .wp-block-media-text) {
	margin-top: 0;
}

.wp-block-post-content .wp-block-group:where(.alignfull) > :where(figure), .wp-block-post-content .wp-block-group:where(.alignfull) > :where(figure) + *, .wp-block-post-content > :where(figure), .wp-block-post-content > :where(figure) + * {
	margin-top: var(--wp--custom--spacing--tw-small);
}

.wp-block-group:where(.alignfull) > :where(h1, h2, h3), .wp-block-post-content .alignwide:where(figure), .wp-block-post-content .alignwide:where(figure) + *, .wp-block-post-content :where(h1, h2, h3, p, .wp-block-buttons) + :where(.wp-block-columns, .wp-block-cover, .wp-block-group.has-background, .wp-block-media-text), .wp-block-post-content > :where(h1, h2, h3) {
	margin-top: var(--wp--custom--spacing--tw-medium);
}

.wp-block-column :where(h3, h4, h5, h6, p, ol, ul) + :where(p, ol, ul:not([class*="wp-block"])), .wp-block-media-text__content :where(h3, h4, h5, h6, p, ul, ol) + :where(p, ol, ul:not([class*="wp-block"])) {
	margin-top: max(calc(var(--wp--style--block-gap) * .66667), 16px);
}

.wp-block-column > :where(.wp-block-image, .wp-block-cover) + :where(.wp-block-heading, h2, h3, p, ul, ol) {
	margin-top: min(calc(var(--wp--style--block-gap) * 1.16667), 32px);
}

.wp-block-post-content *:not(.alignfull) + :where(.wp-block-cover.alignfull), .wp-block-post-content .alignfull:where(figure), .wp-block-post-content .alignfull:where(figure) + *, .wp-block-post-content :where(.wp-block-cover.alignfull) + *:not(.alignfull) {
	margin-top: var(--wp--custom--spacing--tw-large);
}

.wp-block-group.is-layout-flex > *, :is(.wp-block-post-content, .wp-block-group, .wp-block-column, .wp-block-media-text__content, .wp-block-post, .wp-block-cover__inner-container) > *:first-child {
	margin-top: 0;
}

.wp-block-post-content :is(.wp-block-spacer, .wp-block-separator) + :is(figure, .wp-block-heading), .wp-block-post-content figure + :is(.wp-block-spacer, .wp-block-separator) {
	margin-top: var(--wp--style--block-gap);
}

.wp-block-post-content.has-global-padding > .wp-block-cover.alignfull, .wp-block-template-part:where(header, footer) .has-global-padding  > .wp-block-group.alignfull, .wp-block-template-part:where(header, footer) > .wp-block-group:not(.has-global-padding) {
	padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
}

:where(.wp-block-post-content) .wp-block-cover.alignfull, :where(.wp-block-post-content) .wp-block-group.has-background.alignfull {
	padding-block: var(--wp--custom--spacing--tw-x-large);
}

:where(.wp-block-post-content) .wp-block-cover:not(.alignfull), :where(.wp-block-post-content) .wp-block-group.has-background:not(.alignfull) {
	padding: var(--wp--custom--spacing--tw-small) clamp(24px, calc(9.88224px + 2.9412vw), var(--wp--custom--spacing--tw-small));
}

:where(.wp-block-post-content) .wp-block-cover.alignwide, :where(.wp-block-post-content) .wp-block-group.has-background.alignwide {
	padding: var(--wp--custom--spacing--tw-large) clamp(24px, calc(-7.76448px + 6.6176vw), var(--wp--custom--spacing--tw-large));
}

.wp-block-post-content .wp-block-query .wp-block-group {
	padding: 0;
}

.wp-block-media-text .wp-block-media-text__content {
	padding: clamp(20px, 9.25%, var(--wp--custom--spacing--tw-small));
}

.wp-block-media-text:not(.has-background):not(.is-style-tw-shadow):not(.alignfull) {
	gap: 32px clamp(20px, 5.25%, var(--wp--custom--spacing--tw-large));
}

@media (max-width:767px) {
	.wp-block-media-text:where(.tw-stack-md, .is-stacked-on-mobile) .wp-block-media-text__content {
		padding: 32px 24px;
	}
}

.wp-block-media-text.alignfull .wp-block-media-text__content {
	padding: var(--wp--custom--spacing--tw-large) var(--wp--style--root--padding-left, 8%);
}

.wp-block-media-text:not(.has-background):not(.is-style-tw-shadow):not(.alignfull) .wp-block-media-text__content {
	padding: 0;
}

.wp-block-quote {
	margin-inline: 0;
}

.wp-block-quote cite {
	display: block;
}

.wp-block-post-template + .wp-block-spacer:last-child {
	display: none;
}

:where(.wp-block-cover) a:where(:not(.wp-element-button)) {
	color: inherit;
}
