.wp-block-heading,
.wp-block-post-title,
:where(.wp-site-blocks, .editor-styles-wrapper) p,
:where(.wp-site-blocks, .editor-styles-wrapper) :is(ul, ol),
.wp-block-quote,
.wp-block-post-excerpt {
	overflow-wrap: anywhere;
}

p.is-style-lead {
	color: var(--wp--preset--color--deep-blue);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body);
	font-weight: 500;
}

:where(.wp-site-blocks, .editor-styles-wrapper) p a,
.wp-block-heading a,
.wp-block-list a,
.wp-block-quote a,
.wp-block-post-title a,
.wp-block-post-excerpt a {
	text-decoration: underline;
}

:where(.wp-site-blocks, .editor-styles-wrapper) p a:hover,
:where(.wp-site-blocks, .editor-styles-wrapper) p a:active,
.wp-block-heading a:hover,
.wp-block-heading a:active,
.wp-block-list a:hover,
.wp-block-list a:active,
.wp-block-quote a:hover,
.wp-block-quote a:active,
.wp-block-post-title a:hover,
.wp-block-post-title a:active,
.wp-block-post-excerpt a:hover,
.wp-block-post-excerpt a:active {
	text-decoration-thickness: 0.12em;
}


.wp-block-button__link {
	max-width: 100%;
	min-height: 44px;
	overflow-wrap: anywhere;
	white-space: normal;
}

.wp-block-button:not(.is-style-secondary) > .wp-block-button__link {
	background-color: var(--wp--preset--color--signal-red);
	border: 1px solid var(--wp--preset--color--signal-red);
	border-radius: var(--wp--custom--radius--control);
	color: var(--wp--preset--color--charcoal);
}

.wp-block-button.is-style-secondary > .wp-block-button__link {
	background-color: var(--wp--preset--color--deep-blue);
	border: 1px solid var(--wp--preset--color--deep-blue);
	border-radius: var(--wp--custom--radius--control);
	color: var(--wp--preset--color--warm-white);
}

.wp-block-button__link:is(:hover, :active),
.wp-block-search__button:is(:hover, :active) {
	text-decoration: underline;
}


.wp-block-group.is-style-card {
	background-color: var(--wp--preset--color--warm-white);
	border: 1px solid var(--wp--preset--color--mist);
	border-radius: var(--wp--custom--radius--card);
	color: var(--wp--preset--color--charcoal);
	overflow-wrap: anywhere;
	padding: var(--wp--preset--spacing--50);
}

.wp-block-search {
	min-width: 0;
	max-width: 100%;
}

.wp-block-search__input {
	min-width: 0;
	flex: 1 1 8rem;
	border: 1px solid var(--wp--preset--color--deep-blue);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--warm-white);
	color: var(--wp--preset--color--charcoal);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--ui);
	padding: var(--wp--preset--spacing--40);
}

.wp-block-search .wp-block-search__button {
	min-width: 0;
	max-width: 100%;
	flex: 0 0 auto;
	margin: 0;
	border: 1px solid var(--wp--preset--color--deep-blue);
	border-radius: var(--wp--custom--radius--control);
	background-color: var(--wp--preset--color--deep-blue);
	color: var(--wp--preset--color--warm-white);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--ui);
	overflow-wrap: anywhere;
	padding: var(--wp--preset--spacing--40);
	white-space: normal;
}

:where(.wp-site-blocks, .editor-styles-wrapper) :is(a, button, input, select, textarea):focus-visible,
.skip-link:focus-visible {
	outline: 2px solid var(--wp--preset--color--deep-blue);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--wp--preset--color--warm-white);
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
}

.wp-site-blocks > main {
	flex: 1;
	margin-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--80);
}

.wp-block-navigation .wp-block-navigation-item__content {
	padding-block: var(--wp--preset--spacing--30);
}

.wp-block-search__inside-wrapper {
	max-width: 100%;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30);
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

/* Comment form fields: core's grey border is 2.78:1 on the page; 3:1 is required (WCAG 1.4.11). */
.wp-block-post-comments-form .comment-form :is(input:not([type="submit"]):not([type="checkbox"]):not([type="hidden"]), textarea) {
	border-color: var(--wp--custom--design--inactive);
}
