/* BOH | Gutenberg Content Source
 * Canonical styling for editable WordPress post_content / Gutenberg blocks.
 * Renderers must add .boh-gutenberg-content to any front-end surface that
 * should receive these rules. Do not target generic Beaver wrappers.
 */

:is(.boh-gutenberg-content, .editor-styles-wrapper) {
	--boh-content-navy: var(--boh-navy, #00263D);
	--boh-content-cream: var(--boh-sand, #FBF7F2);
	--boh-content-sky: var(--boh-sky, #BED5E2);
	--boh-content-brick: var(--boh-brick, #A24D39);
	--boh-content-onyx: var(--boh-onyx, #232830);
	--boh-content-text: var(--boh-content-onyx);
	--boh-content-caption: rgba(35, 40, 48, .78);
	color: var(--boh-content-text) !important;
	font-family: trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) > :first-child {
	margin-top: 0;
}

.editor-styles-wrapper .is-root-container > :first-child,
.editor-styles-wrapper .block-editor-block-list__layout > :first-child {
	margin-top: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) > :last-child {
	margin-bottom: 0;
}

.editor-styles-wrapper .is-root-container > :last-child,
.editor-styles-wrapper .block-editor-block-list__layout > :last-child {
	margin-bottom: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) h2,
:is(.boh-gutenberg-content, .editor-styles-wrapper) h3,
:is(.boh-gutenberg-content, .editor-styles-wrapper) h4 {
	color: var(--boh-content-navy) !important;
	font-family: pliego, "Pliego", Georgia, serif !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: -.03em !important;
	text-wrap: balance;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) h2 {
	margin: 0 0 20px;
	font-size: 50px;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) h3 {
	margin: 48px 0 18px;
	font-size: 35px;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) h4 {
	margin: 40px 0 16px;
	font-size: 30px;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) > :where(p, ul, ol) + h2,
:is(.boh-gutenberg-content, .editor-styles-wrapper) > :where(p, ul, ol) + h3,
:is(.boh-gutenberg-content, .editor-styles-wrapper) > :where(p, ul, ol) + h4 {
	margin-top: 51px;
}

.editor-styles-wrapper .is-root-container > :where(p, ul, ol) + :where(h2, h3, h4),
.editor-styles-wrapper .block-editor-block-list__layout > :where(p, ul, ol) + :where(h2, h3, h4) {
	margin-top: 51px;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) h5,
:is(.boh-gutenberg-content, .editor-styles-wrapper) h6 {
	margin: 32px 0 12px;
	color: var(--boh-content-navy) !important;
	font-family: trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .1em;
	text-transform: uppercase;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) p,
:is(.boh-gutenberg-content, .editor-styles-wrapper) li {
	color: var(--boh-content-text) !important;
	font-family: trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif !important;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) p {
	margin: 0 0 23px;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) ul,
:is(.boh-gutenberg-content, .editor-styles-wrapper) ol {
	margin: 0 0 28px 1.2em;
	padding: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) li {
	margin: 0 0 10px;
	padding-left: .2em;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) a:not(.wp-block-button__link):not([class^="boh-"]):not([class*=" boh-"]) {
	color: var(--boh-content-brick) !important;
	text-underline-offset: .16em;
	text-decoration-thickness: 1px;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) a:not(.wp-block-button__link):not([class^="boh-"]):not([class*=" boh-"]):hover,
:is(.boh-gutenberg-content, .editor-styles-wrapper) a:not(.wp-block-button__link):not([class^="boh-"]):not([class*=" boh-"]):focus-visible {
	color: var(--boh-content-navy) !important;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) blockquote {
	margin: 50px 0;
	padding: 0 0 0 28px;
	border-left: 4px solid var(--boh-content-brick);
	color: var(--boh-content-navy) !important;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) blockquote p {
	color: var(--boh-content-navy) !important;
	font-family: pliego, "Pliego", Georgia, serif !important;
	font-size: 36px;
	line-height: 1;
	letter-spacing: -.03em;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) blockquote.boh-for-parents-testimony {
	margin: 34px 0;
	padding-left: 22px;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) blockquote.boh-for-parents-testimony p {
	font-size: 24px;
	line-height: 1.18;
	letter-spacing: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) blockquote.boh-for-parents-testimony cite {
	display: block;
	margin-top: 14px;
	color: var(--boh-content-brick);
	font-family: trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.3;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) img {
	max-width: 100%;
	height: auto;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) figure,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-image,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-embed {
	margin: 46px 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-image img,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-media-text img {
	display: block;
	width: 100%;
	height: auto;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) figcaption,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-image figcaption,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-embed figcaption {
	margin: 12px 0 0;
	color: var(--boh-content-caption);
	font-family: trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.3;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-embed iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-buttons {
	gap: 15px;
	margin: 34px 0;
}

.editor-styles-wrapper :where(.is-root-container, .block-editor-block-list__layout) > .wp-block-buttons {
	box-sizing: border-box;
	width: min(800px, calc(100% - 48px));
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.editor-styles-wrapper :where(.is-root-container, .block-editor-block-list__layout) > .wp-block-buttons.alignwide,
.editor-styles-wrapper :where(.is-root-container, .block-editor-block-list__layout) > .wp-block-buttons.alignfull {
	width: auto;
	max-width: none;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-button__link,
:is(.boh-gutenberg-content, .editor-styles-wrapper) a.wp-block-button__link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 15px !important;
	box-sizing: border-box !important;
	min-height: 63px !important;
	padding: 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--boh-content-navy) !important;
	color: #fff !important;
	font-family: trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: .1em !important;
	text-decoration: none !important;
	text-transform: uppercase !important;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-button__link::after,
:is(.boh-gutenberg-content, .editor-styles-wrapper) a.wp-block-button__link::after {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 25px;
	height: 10.519px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20viewBox='0%200%2026.4169%2011.9329'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M0%205.96646H24.1381'%20stroke='black'%20stroke-width='2'/%3E%3Cpath%20d='M19.7439%200.70714L25.0028%205.96646L19.7439%2011.2258'%20stroke='black'%20stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20preserveAspectRatio='none'%20width='100%25'%20height='100%25'%20overflow='visible'%20viewBox='0%200%2026.4169%2011.9329'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M0%205.96646H24.1381'%20stroke='black'%20stroke-width='2'/%3E%3Cpath%20d='M19.7439%200.70714L25.0028%205.96646L19.7439%2011.2258'%20stroke='black'%20stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	transition: transform .2s ease;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-button .wp-block-button__link:hover,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-button .wp-block-button__link:focus-visible {
	background: #001f32 !important;
	color: #fff !important;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-button .wp-block-button__link:hover::after,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-button .wp-block-button__link:focus-visible::after {
	transform: translateX(2px);
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--boh-content-navy) !important;
	border: 0 !important;
	box-shadow: inset 0 0 0 2px var(--boh-content-navy);
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-button.is-style-outline .wp-block-button__link:hover,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	background: var(--boh-content-navy) !important;
	color: #fff !important;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) table {
	width: 100%;
	border-collapse: collapse;
	margin: 34px 0;
	font-family: trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif;
	font-size: 18px;
	line-height: 1.3;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) th,
:is(.boh-gutenberg-content, .editor-styles-wrapper) td {
	border: 1px solid rgba(0, 38, 61, .24);
	padding: 14px;
	text-align: left;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) th {
	color: var(--boh-content-navy) !important;
	font-weight: 700;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-separator {
	border: 0;
	border-top: 2px solid rgba(0, 38, 61, .22);
	margin: 54px 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-columns {
	gap: 40px;
	margin: 46px 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-column > :first-child,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-group.has-background > :first-child {
	margin-top: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-column > :last-child,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-group.has-background > :last-child {
	margin-bottom: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-group {
	margin: 46px 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-group.has-background {
	padding: 40px;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .boh-advisory-roster {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 30px;
	margin: 0 0 28px;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .boh-advisory-roster > .wp-block-group__inner-container {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 30px;
	width: 100%;
	max-width: none;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .boh-advisory-roster__item {
	margin: 0;
	padding: 18px 0 16px;
	border-top: 1px solid rgba(0, 38, 61, .18);
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .boh-advisory-roster__name {
	margin: 0 0 5px;
	color: var(--boh-content-navy) !important;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .boh-advisory-roster__byline {
	margin: 0;
	color: var(--boh-content-caption) !important;
	font-size: 16px;
	line-height: 1.35;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-pullquote {
	margin: 54px 0;
	padding: 40px 0;
	border-top: 2px solid var(--boh-content-brick);
	border-bottom: 2px solid var(--boh-content-brick);
	color: var(--boh-content-navy) !important;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-pullquote p {
	margin: 0;
	color: var(--boh-content-navy) !important;
	font-family: pliego, "Pliego", Georgia, serif !important;
	font-size: 50px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -.03em;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-pullquote cite {
	display: block;
	margin-top: 18px;
	color: var(--boh-content-brick);
	font-family: trade-gothic-next-condensed, trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1.3;
	text-transform: uppercase;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-media-text {
	gap: 40px;
	margin: 54px 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-media-text .wp-block-media-text__content {
	padding: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-details {
	margin: 28px 0;
	padding: 24px;
	border: 2px solid var(--boh-content-sky);
	background: rgba(190, 213, 226, .18);
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-details summary {
	cursor: pointer;
	color: var(--boh-content-navy);
	font-family: trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .1em;
	text-transform: uppercase;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-details > :last-child {
	margin-bottom: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-code,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-preformatted,
:is(.boh-gutenberg-content, .editor-styles-wrapper) pre {
	margin: 34px 0;
	padding: 24px;
	background: rgba(0, 38, 61, .08);
	border-left: 4px solid var(--boh-content-brick);
	overflow: auto;
	color: var(--boh-content-text);
	font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 15px;
	line-height: 1.55;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) code {
	font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .9em;
	background: rgba(0, 38, 61, .08);
	padding: .08em .25em;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) pre code,
:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-code code {
	background: transparent;
	padding: 0;
}

:is(.boh-gutenberg-content, .editor-styles-wrapper) .wp-block-verse {
	margin: 34px 0;
	padding: 0 0 0 24px;
	border-left: 4px solid var(--boh-content-sky);
	font-family: pliego, "Pliego", Georgia, serif;
	font-size: 30px;
	line-height: 1.12;
	color: var(--boh-content-navy);
}

.boh-gutenberg-content--resource {
	--boh-content-navy: var(--boh-resource-navy, #00263D);
	--boh-content-cream: var(--boh-resource-sand, #FBF7F2);
	--boh-content-sky: var(--boh-resource-sky, #BED5E2);
	--boh-content-brick: var(--boh-resource-brick, #A24D39);
	--boh-content-onyx: var(--boh-resource-onyx, #232830);
	--boh-content-text: var(--boh-resource-onyx, #232830);
}

.boh-gutenberg-content--resource > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.boh-gutenberg-content--resource > :where(p, ul, ol) {
	margin: 0 0 23px;
}

.boh-gutenberg-content--resource > :where(ul, ol) {
	padding-left: 1.2em;
}

.boh-gutenberg-content--resource > :where(ul, ol) li + li {
	margin-top: 8px;
}

.boh-gutenberg-content--resource :where(h2, h3, h4) {
	margin: 58px 0 23px;
	color: var(--boh-content-navy) !important;
	font-family: pliego, "Pliego", Georgia, serif !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
}

.boh-gutenberg-content--resource > :where(h2, h3, h4):first-child {
	margin-top: 0;
}

.boh-gutenberg-content--resource h2 {
	font-size: 50px;
}

.boh-gutenberg-content--resource h3 {
	font-size: 36px;
}

.boh-gutenberg-content--resource :where(.wp-block-image, .wp-block-embed) {
	margin: 40px 0;
}

.boh-gutenberg-content--resource :where(.wp-block-image, .wp-block-embed):last-child {
	margin-bottom: 0;
}

.boh-gutenberg-content--resource :where(.wp-block-image.alignwide, .wp-block-image.alignfull) {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.boh-gutenberg-content--resource .wp-block-image figcaption,
.boh-gutenberg-content--resource .wp-block-embed figcaption {
	margin: 10px 0 0;
	color: var(--boh-content-onyx);
	font-size: 14px;
	line-height: 1.3;
}

.boh-gutenberg-content--resource :where(.wp-block-quote, blockquote),
.boh-gutenberg-content--resource .boh-resource-single__quote {
	margin: 58px 0;
	padding: 30px;
	border: 0;
	background: var(--boh-content-sky);
	color: var(--boh-content-navy);
	font-family: pliego, "Pliego", Georgia, serif;
	font-size: 25px;
	line-height: 1.3;
	letter-spacing: 0;
}

.boh-gutenberg-content--resource :where(.wp-block-quote, blockquote) p,
.boh-gutenberg-content--resource .boh-resource-single__quote p {
	margin: 0;
	font: inherit;
	color: inherit !important;
}

.boh-gutenberg-content--resource :where(.wp-block-quote, blockquote) cite,
.boh-gutenberg-content--resource .boh-resource-single__quote cite {
	display: block;
	margin-top: 18px;
	color: var(--boh-content-brick);
	font-family: "Trade Gothic Next LT Pro Condensed", trade-gothic-next-condensed, trade-gothic-next, "Trade Gothic Next LT Pro", Arial, sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .1em;
	text-align: right;
	text-transform: uppercase;
}

.boh-resource-single:not(.boh-resource-single--text-article) .boh-resource-single__body.boh-gutenberg-content--resource > :where(p, ul, ol) {
	margin-bottom: 23px;
}

.boh-resource-single:not(.boh-resource-single--text-article) .boh-resource-single__body.boh-gutenberg-content--resource > :where(p, ul, ol) + :where(h2, h3, h4) {
	margin-top: 51px;
}

@media (max-width: 768px) {
	:is(.boh-gutenberg-content, .editor-styles-wrapper) h2 {
		font-size: 44px;
	}

	:is(.boh-gutenberg-content, .editor-styles-wrapper) h3 {
		font-size: 34px;
	}

	:is(.boh-gutenberg-content, .editor-styles-wrapper) h4 {
		font-size: 30px;
	}

	:is(.boh-gutenberg-content, .editor-styles-wrapper) p,
	:is(.boh-gutenberg-content, .editor-styles-wrapper) li {
		font-size: 18px;
	}

	:is(.boh-gutenberg-content, .editor-styles-wrapper) .boh-advisory-roster {
		grid-template-columns: 1fr;
	}

	:is(.boh-gutenberg-content, .editor-styles-wrapper) .boh-advisory-roster > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}

	:is(.boh-gutenberg-content, .editor-styles-wrapper) .boh-advisory-roster__name {
		font-size: 19px;
	}

	.boh-gutenberg-content--resource h2 {
		font-size: 40px;
	}

	.boh-gutenberg-content--resource :where(.wp-block-quote, blockquote),
	.boh-gutenberg-content--resource .boh-resource-single__quote {
		padding: 24px 20px;
		font-size: 24px;
	}

	.boh-gutenberg-content--resource :where(.wp-block-quote, blockquote) cite,
	.boh-gutenberg-content--resource .boh-resource-single__quote cite {
		text-align: left;
	}
}
