/* Alignment
---------------------------------------------*/

.full-width-content .entry-content > .alignfull,
.block-editor-block-list__layout.is-root-container > [data-align="full"] {
	margin-left: calc(-100vw / 2 + 100% / 2);
	margin-right: calc(-100vw / 2 + 100% / 2);
	max-width: 100vw;
	width: unset;
}

.content-sidebar .site-container .alignfull,
.sidebar-content .site-container .alignfull {
	margin: 0 0 30px;
	width: 100%;
}

.wp-block-image.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

/* Block Styles
--------------------------------------------- */

.is-style-boxshadow {
	box-shadow: 0 0 20px rgb(0 0 0 / 7%);
}

.is-style-full-height {
	align-items: center;
	display: grid;
	min-height: 100vh;
}

.is-style-kicker {
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--font-weight--semi-bold);
    letter-spacing: 0.075em;
	margin-bottom: 15px;
	text-transform: uppercase;
}

p.is-style-no-margin,
.is-style-no-margin,
.wp-block-column.is-style-no-margin,
.wp-block-image.is-style-no-margin {
	margin: 0;
}

ol.is-style-no-margin,
ul.is-style-no-margin,
.is-style-no-margin ul,
.wp-block-query.is-style-no-margin ul {
	margin-bottom: 0;
}

.is-style-less-padding-bottom {
	padding-bottom: 15px !important;
}

.is-style-no-padding {
	padding: 0 !important;
}

.is-style-no-padding-bottom {
	padding-bottom: 0 !important;
}

/* Buttons
--------------------------------------------- */

.wp-block-button__link {
	-webkit-appearance: none;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	cursor: pointer;
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--semi-bold);
	line-height: var(--wp--custom--line-height--one);
	padding: 12px 20px;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	width: auto;
}

.wp-block-button__link:focus,
.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--background);
	text-decoration: none;
}

.is-style-outline>.wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) {
	border: 1px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	padding: 11px 18px;
}

.is-style-outline>.wp-block-button__link:not(.has-text-color):focus,
.is-style-outline>.wp-block-button__link:not(.has-text-color):hover,
.wp-block-button__link.is-style-outline:not(.has-text-color):focus,
.wp-block-button__link.is-style-outline:not(.has-text-color):hover {
	background-color: var(--wp--preset--color--primary);
	border: 1px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
}

/* Caption
--------------------------------------------- */

.wp-block-embed figcaption,
.wp-block-gallery figcaption,
.wp-block-image figcaption,
.wp-block-pullquote figcaption,
.wp-block-quote figcaption,
.wp-block-table figcaption {
	color: var(--wp--preset--color--foreground);
	font-size: var(--wp--preset--font-size--small);
	margin-bottom: 0;
	margin-top: 10px;
	text-align: center;
}

.wp-block-gallery figcaption {
	margin-top: 0;
}

/* Columns
--------------------------------------------- */

.wp-block-columns.alignfull {
	padding: 0 20px;
}

.wp-block-columns {
	margin-bottom: 0;
}

@media (min-width: 600px) and (max-width: 781px) {
	
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
		flex-basis: unset !important;
	}
	
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:nth-child(2n) {
		margin-left: 0;
	}

}

/* Cover
---------------------------------------------*/

.wp-block-cover {
    padding-right: 10px;
    padding-left: 10px;
}

@media only screen and (min-width: 360px) {
	
	.wp-block-cover {
		padding-right: 20px;
		padding-left: 20px;
	}

}

/* Headings
--------------------------------------------- */

h1.has-background,
h2.has-background,
h3.has-background,
h4.has-background,
h5.has-background,
h6.has-background {
	padding: 20px 25px;
}

/* Paragraphs & Groups
--------------------------------------------- */

p.is-style-boxshadow,
p.has-background,
.wp-block-group:where(.has-background) {
	overflow: hidden;
	padding: 20px;
}

.wp-block-group:where(.has-background.alignfull) {
	padding-top: 50px;
}

@media only screen and (max-width: 359px) {

	.wp-block-group:where(.has-background.alignfull) {
		padding-left: 10px;
		padding-right: 10px;
	}	
	
}

@media only screen and (min-width: 768px) {
	
	p.is-style-boxshadow,
	p.has-background,
	.wp-block-group:where(.has-background):not(.alignfull) {
		padding: 30px;
	}

}

/* Query Loop
--------------------------------------------- */

.wp-block-query ul {
	flex-grow: 1;
	margin-bottom: 15px;
    padding-left: 0;
}

.wp-block-query ul > li {
    list-style-type: none;
	margin: 0;
}

.wp-block-post-template.is-flex-container,
.wp-block-query-loop.is-flex-container {
	flex-grow: 1;
    gap: 10px 20px;
	justify-content: space-between;
}

.wp-block-query .wp-block-post-featured-image {
	margin-bottom: 8px;
}

.wp-block-query .wp-block-post-title {
	font-size: var(--wp--preset--font-size--medium);
}

.wp-block-query .wp-block-post-title a {
	color: var(--wp--preset--color--foreground);
	text-decoration: none;
}

.wp-block-query .wp-block-post-title a:focus,
.wp-block-query .wp-block-post-title a:hover {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

.wp-block-post-excerpt__excerpt {
	margin-bottom: 25px;
}

.wp-block-post-template.is-flex-container.is-flex-container.columns-4 > li,
.wp-block-query-loop.is-flex-container.is-flex-container.columns-4 > li {
	width: calc(50% - 10px);
}

@media (max-width: 781px) {

	.wp-block-post-template.is-flex-container.is-flex-container.columns-2 > li,
	.wp-block-query-loop.is-flex-container.is-flex-container.columns-2 > li {
		width: calc(50% - 10px);
	}

}

@media (min-width: 782px) {
	
	.wp-block-post-template.is-flex-container.is-flex-container.columns-4 > li,
	.wp-block-query-loop.is-flex-container.is-flex-container.columns-4 > li {
		width: calc(25% - 15px);
	}
	
}

/* Quotes
--------------------------------------------- */

.wp-block-quote.has-text-align-center,
.wp-block-quote.has-text-align-left,
.wp-block-quote.has-text-align-right,
.wp-block-quote.is-style-large {
	border: 2px solid var(--wp--preset--color--tertiary);
	margin-bottom: 40px;
	padding: 30px;
}

.wp-block-quote.is-style-plain {
    border: none;
}

.wp-block-quote p:last-of-type {
	margin-bottom: 0;
}

.wp-block-quote cite,
.wp-block-quote.is-style-large p,
.wp-block-quote.is-style-large cite {
	font-style: inherit;
}

.wp-block-quote.is-style-large p {
	font-size: var(--wp--preset--font-size--x-large);
	line-height: var(--wp--custom--line-height--medium);
}

.wp-block-pullquote cite,
.wp-block-quote cite,
.wp-block-quote.is-style-large cite {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	margin-top: 15px;
	opacity: 0.8;
	text-align: inherit;
}

/* Separator
--------------------------------------------- */

.wp-block-separator {
	border-bottom: 1px solid;
	opacity: 1;
}