/*!
 * blocks.css - fallback core block styles.
 *
 * ClassicPress does not ship wp-includes/css/dist/block-library/, so nothing
 * styles the .wp-block-* classes sitting in migrated content. This covers the
 * layout, media and typography blocks that turn up on ordinary sites.
 *
 * For complete coverage of every core block, copy
 * wp-includes/css/dist/block-library/style.css out of any WordPress install and
 * save it in this folder as block-library.css. The plugin will load that instead.
 * It is GPLv2 licensed, so redistributing it is permitted.
 */

/* ---------------------------------------------------------------
   Layout
   --------------------------------------------------------------- */

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

.wp-block-columns {
	display: flex;
	box-sizing: border-box;
	flex-wrap: wrap;
	align-items: normal;
	margin-bottom: 1.75em;
	gap: var(--wp--style--block-gap, 2em);
}

@media (min-width: 782px) {

	.wp-block-columns {
		flex-wrap: nowrap;
	}
}

.wp-block-column {
	flex-grow: 1;
	min-width: 0;
	word-break: break-word;
	overflow-wrap: break-word;
	box-sizing: border-box;
}

@media (max-width: 781px) {

	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
		flex-basis: 100% !important;
	}
}

.wp-block-columns.are-vertically-aligned-top,
.wp-block-column.is-vertically-aligned-top {
	align-self: flex-start;
}

.wp-block-columns.are-vertically-aligned-center,
.wp-block-column.is-vertically-aligned-center {
	align-self: center;
}

.wp-block-columns.are-vertically-aligned-bottom,
.wp-block-column.is-vertically-aligned-bottom {
	align-self: flex-end;
}

.wp-block-row,
.wp-block-group.is-layout-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--style--block-gap, 0.5em);
}

.wp-block-group.is-layout-flex.is-vertical {
	flex-direction: column;
	align-items: flex-start;
}

/* ---------------------------------------------------------------
   Cover
   --------------------------------------------------------------- */

.wp-block-cover {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 430px;
	padding: 1em;
	overflow: hidden;
	background-position: 50%;
	background-size: cover;
}

.wp-block-cover__background,
.wp-block-cover__gradient-background {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.wp-block-cover__image-background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: none;
	z-index: 0;
}

.wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	color: inherit;
}

.wp-block-cover .has-background-dim:not([class*="-background-color"]) {
	background-color: #000;
}

.wp-block-cover .has-background-dim { opacity: 0.5; }
.wp-block-cover .has-background-dim.has-background-dim-0 { opacity: 0; }
.wp-block-cover .has-background-dim.has-background-dim-10 { opacity: 0.1; }
.wp-block-cover .has-background-dim.has-background-dim-20 { opacity: 0.2; }
.wp-block-cover .has-background-dim.has-background-dim-30 { opacity: 0.3; }
.wp-block-cover .has-background-dim.has-background-dim-40 { opacity: 0.4; }
.wp-block-cover .has-background-dim.has-background-dim-50 { opacity: 0.5; }
.wp-block-cover .has-background-dim.has-background-dim-60 { opacity: 0.6; }
.wp-block-cover .has-background-dim.has-background-dim-70 { opacity: 0.7; }
.wp-block-cover .has-background-dim.has-background-dim-80 { opacity: 0.8; }
.wp-block-cover .has-background-dim.has-background-dim-90 { opacity: 0.9; }
.wp-block-cover .has-background-dim.has-background-dim-100 { opacity: 1; }

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	gap: 0.5em;
}

.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-buttons.is-content-justification-right { justify-content: flex-end; }
.wp-block-buttons.is-vertical { flex-direction: column; }

.wp-block-button {
	box-sizing: border-box;
	display: inline-block;
}

.wp-block-button__link,
.wp-element-button {
	display: inline-block;
	box-sizing: border-box;
	padding: calc(0.667em + 2px) calc(1.333em + 2px);
	text-align: center;
	text-decoration: none;
	word-break: break-word;
	line-height: 1.3;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 0.25rem;
	background-color: #32373c;
	color: #fff;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:active,
.wp-block-button__link:visited {
	text-decoration: none;
	color: inherit;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background-color: transparent;
	border-color: currentcolor;
	color: currentcolor;
}

.wp-block-button.is-style-squared > .wp-block-button__link {
	border-radius: 0;
}

.wp-block-button__width-25 { width: calc(25% - var(--wp--style--block-gap, 0.5em) * 0.75); }
.wp-block-button__width-50 { width: calc(50% - var(--wp--style--block-gap, 0.5em) * 0.5); }
.wp-block-button__width-75 { width: calc(75% - var(--wp--style--block-gap, 0.5em) * 0.25); }
.wp-block-button__width-100 { width: 100%; }

.wp-block-button__width-25 .wp-block-button__link,
.wp-block-button__width-50 .wp-block-button__link,
.wp-block-button__width-75 .wp-block-button__link,
.wp-block-button__width-100 .wp-block-button__link {
	width: 100%;
}

/* ---------------------------------------------------------------
   Media
   --------------------------------------------------------------- */

.wp-block-image {
	margin: 0 0 1em;
}

.wp-block-image img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
	box-sizing: border-box;
}

.wp-block-image.aligncenter,
.wp-block-image .aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.wp-block-image.is-resized img {
	width: auto;
}

.wp-block-image.is-style-rounded img,
.wp-block-image .is-style-rounded img {
	border-radius: 9999px;
}

.wp-block-image figcaption {
	margin-top: 0.5em;
	margin-bottom: 1em;
	font-size: 0.8em;
	text-align: center;
}

.wp-block-media-text {
	display: grid;
	grid-template-columns: 50% 1fr;
	grid-template-rows: auto;
	box-sizing: border-box;
}

.wp-block-media-text .wp-block-media-text__content {
	padding: 0 8%;
	word-break: break-word;
	align-self: center;
}

.wp-block-media-text .wp-block-media-text__media {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
	grid-column: 2;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	grid-column: 1;
	grid-row: 1;
}

@media (max-width: 600px) {

	.wp-block-media-text.is-stacked-on-mobile {
		grid-template-columns: 100% !important;
	}

	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media,
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		grid-column: 1;
	}

	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media { grid-row: 1; }
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content { grid-row: 2; }
}

.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--style--block-gap, 1em);
	list-style-type: none;
	padding: 0;
	margin: 0 0 1em;
}

.wp-block-gallery .wp-block-image {
	flex-grow: 1;
	margin: 0;
}

.wp-block-gallery.columns-2 .wp-block-image { width: calc(50% - var(--wp--style--block-gap, 1em) * 0.5); }
.wp-block-gallery.columns-3 .wp-block-image { width: calc(33.33% - var(--wp--style--block-gap, 1em) * 0.66); }
.wp-block-gallery.columns-4 .wp-block-image { width: calc(25% - var(--wp--style--block-gap, 1em) * 0.75); }

.wp-block-embed {
	margin: 0 0 1em;
	overflow-wrap: break-word;
}

.wp-block-embed figcaption {
	margin-top: 0.5em;
	font-size: 0.8em;
	text-align: center;
}

.wp-block-embed__wrapper {
	position: relative;
}

.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
	content: "";
	display: block;
	padding-top: 56.25%;
}

.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* ---------------------------------------------------------------
   Typography and structure
   --------------------------------------------------------------- */

.wp-block-heading {
	overflow-wrap: break-word;
}

.wp-block-spacer {
	clear: both;
}

.wp-block-separator {
	border: none;
	border-bottom: 2px solid currentcolor;
	margin-left: auto;
	margin-right: auto;
	opacity: 0.4;
}

.wp-block-separator.is-style-wide {
	border-bottom-width: 1px;
}

.wp-block-separator:not(.is-style-wide):not(.alignwide):not(.alignfull) {
	width: 100px;
}

.wp-block-quote {
	box-sizing: border-box;
	overflow-wrap: break-word;
	border-left: 0.25em solid currentcolor;
	margin: 0 0 1.75em;
	padding-left: 1em;
}

.wp-block-quote cite,
.wp-block-quote footer {
	display: block;
	font-size: 0.8em;
	font-style: normal;
}

.wp-block-pullquote {
	box-sizing: border-box;
	overflow-wrap: break-word;
	margin: 0 0 1em;
	padding: 3em 0;
	text-align: center;
	border-top: 4px solid currentcolor;
	border-bottom: 4px solid currentcolor;
}

.wp-block-pullquote cite {
	display: block;
	font-size: 0.8em;
	font-style: normal;
	text-transform: uppercase;
}

.wp-block-code {
	box-sizing: border-box;
	overflow-wrap: break-word;
	font-family: monospace;
	padding: 0.8em 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.wp-block-preformatted {
	white-space: pre-wrap;
}

.wp-block-verse {
	white-space: pre-wrap;
	font-family: inherit;
}

.wp-block-table {
	margin: 0 0 1em;
	overflow-x: auto;
}

.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table td,
.wp-block-table th {
	border: 1px solid;
	padding: 0.5em;
	word-break: normal;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: rgba(0, 0, 0, 0.04);
}

.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
	border-color: transparent;
}

.wp-block-table figcaption {
	font-size: 0.8em;
	text-align: center;
}

.wp-block-list li {
	overflow-wrap: break-word;
}

.wp-block-details summary {
	cursor: pointer;
}

/* ---------------------------------------------------------------
   Dynamic block output
   --------------------------------------------------------------- */

.wp-block-latest-posts,
.wp-block-categories,
.wp-block-archives,
.wp-block-page-list {
	box-sizing: border-box;
}

.wp-block-latest-posts.is-grid {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	list-style: none;
}

.wp-block-latest-posts.is-grid li {
	margin: 0 1.25em 1.25em 0;
	width: 100%;
}

.wp-block-latest-posts.columns-2 li { width: calc(50% - 0.625em); }
.wp-block-latest-posts.columns-3 li { width: calc(33.33% - 0.83em); }
.wp-block-latest-posts.columns-4 li { width: calc(25% - 0.94em); }

.wp-block-latest-posts:not(.is-grid) > li::after {
	display: table;
	content: "";
	clear: both;
}

.wp-block-latest-posts__featured-image {
	float: left;
	margin-right: 1rem;
	clear: both;
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
	display: block;
	font-size: 0.8125em;
}

.wp-block-latest-comments {
	padding-left: 0;
	list-style: none;
}

.wp-block-latest-comments__comment {
	line-height: 1.1;
	list-style: none;
	margin-bottom: 1em;
}

.wp-block-latest-comments__comment-avatar {
	float: left;
	margin-right: 0.75em;
	border-radius: 24px;
}

.wp-block-latest-comments__comment-date {
	display: block;
	font-size: 0.75em;
}

.wp-block-latest-comments__comment-excerpt p {
	font-size: 0.875em;
	line-height: 1.5;
	margin: 0.36em 0 0.7em;
}

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

.wp-block-search__inside-wrapper {
	display: flex;
	flex: auto;
	flex-wrap: nowrap;
	max-width: 100%;
}

.wp-block-search__input {
	flex-grow: 1;
	min-width: 3em;
	border: 1px solid #949494;
	padding: 8px;
	text-decoration: unset !important;
}

.wp-block-search__button {
	margin-left: 0.625em;
	word-break: normal;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
	border: 1px solid #949494;
	padding: 4px;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__input {
	border: none;
	padding: 0 0 0 0.25em;
}

.wp-block-calendar {
	text-align: center;
}

.wp-block-calendar table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-calendar th,
.wp-block-calendar td {
	border: 1px solid #ddd;
	padding: 0.25em;
}

.wp-block-tag-cloud {
	box-sizing: border-box;
}

.wp-block-tag-cloud a {
	display: inline-block;
	margin-right: 5px;
}

/* ---------------------------------------------------------------
   Alignments
   --------------------------------------------------------------- */

.wp-block-image .alignleft,
.wp-block-image.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.wp-block-image .alignright,
.wp-block-image.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.has-text-align-left { text-align: left; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }

.entry-content > .alignwide,
.entry-content > .wp-block-group.alignwide {
	max-width: var(--wp--style--global--wide-size, 1180px);
	margin-left: auto;
	margin-right: auto;
}

/*
 * alignfull is deliberately NOT given core's calc(50% - 50vw) viewport bleed.
 * On a classic theme the content column frequently sits beside a sidebar, where
 * full bleed causes horizontal overflow. Filling the column is the sane default.
 * Override in your theme if you want true edge-to-edge.
 */
.entry-content > .alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
