body {
	--sri--theme--thin-border--width: 1px;

	--sri--theme--min-col-width: 300px;

	--cmplz_banner_border_radius: 0;
	--cmplz_banner_background_color: var(--wp--preset--color--base);

	--cmplz_text_font_size: var(--wp--preset--font-size--small);
	--cmplz_text_line_height: 1.5;

	--cmplz_button_border_radius: 0;

	--cmplz_button_accept_border_color: var(--wp--preset--color--contrast, #000);
	--cmplz_button_deny_border_color: var(--wp--preset--color--contrast, #000);
	--cmplz_button_settings_border_color: var(
		--wp--preset--color--contrast,
		#000
	);

	--cmplz_button_accept_text_color: var(--wp--preset--color--base, #fff);
	--cmplz_button_deny_text_color: var(--wp--preset--color--contrast, #000);
	--cmplz_button_settings_text_color: var(--wp--preset--color--contrast, #000);

	--cmplz_button_accept_background_color: var(
		--wp--preset--color--contrast,
		#000
	);
	--cmplz_button_deny_background_color: var(--wp--preset--color--base, #fff);
	--cmplz_button_settings_background_color: var(
		--wp--preset--color--base,
		#fff
	);

	--cmplz_hyperlink_color: var(--wp--preset--color--sri-blue-100);
}

html {
	scroll-behavior: smooth;
}

[id] {
	scroll-margin-top: 8rem;
}

p {
	letter-spacing: 0.5px;
}

h2 + h2 {
	font-weight: 400;
	margin-top: -20px;
}

input,
input::placeholder {
	line-height: 1.5;
	font-size: var(--wp--preset--font-size--x-small);
}

input {
	border-radius: 0 !important;
}

input::placeholder {
	overflow: visible;
}

:is(.hs_email, .hs_submit) input {
	box-sizing: border-box;

	padding-top: 1rem;
	padding-bottom: 0.8rem;
	vertical-align: middle;
}

.hs_submit input {
	font-family: var(--wp--preset--font-family--neue-machina-plain);
	font-size: var(--wp--preset--font-size--x-small);
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast, black);
	background-color: var(--wp--preset--color--off-white-100);
	padding-inline: 2rem;
	border: 1px solid var(--wp--preset--color--contrast, black);
	transition: background-color 0.35s ease, color 0.35s ease;
	cursor: pointer;
}

.hs_submit input:is(:hover, :focus) {
	color: var(--wp--preset--color--base, white);
	background-color: var(--wp--preset--color--contrast, black);
}

body:not(.archive) .wp-block-query {
	margin-top: 1.5rem !important;
}

.wp-block-image figcaption {
	margin-top: 1em;

	font-size: var(--wp--preset--font-size--x-small);
	font-family: var(--wp--preset--font-family--neue-machina-plain);
	text-transform: uppercase;
}

.has-animated-link-underlines
	:not(.wp-block-heading, .wp-block-post-title, .wp-block-sri-blocks-post-publishpress-authors, .wp-block-image, .wp-block-post-featured-image, .has-no-animation)
	> :is(a, a:is(:hover, :focus)) {
	text-decoration: none !important;
}

.has-animated-link-underlines
	:not(.wp-block-heading, .wp-block-post-title, .wp-block-sri-blocks-post-publishpress-authors, .wp-block-image, .wp-block-post-featured-image, .has-no-animation)
	> a {
	background-image: linear-gradient(
		90deg,
		var(--wp--preset--color--contrast),
		var(--wp--preset--color--contrast)
	);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 100% 1px;
	transition: background-size 0.3s ease-in-out;
}

.has-animated-link-underlines
	:not(.wp-block-heading, .wp-block-post-title, .wp-block-sri-blocks-post-publishpress-authors, .wp-block-image, .wp-block-post-featured-image, .has-no-animation)
	> a:hover {
	background-size: 0% 1px;
}

.has-reverse-animated-link-underlines
	:not(.wp-block-heading, .wp-block-post-title, .wp-block-sri-blocks-post-publishpress-authors, .wp-block-image, .wp-block-post-featured-image, .has-no-animation)
	> :is(a, a:is(:hover, :focus)) {
	text-decoration: none !important;
}

.has-reverse-animated-link-underlines
	:not(.wp-block-heading, .wp-block-post-title, .wp-block-sri-blocks-post-publishpress-authors, .wp-block-image, .wp-block-post-featured-image, .has-no-animation)
	> a {
	background-image: linear-gradient(
		90deg,
		var(--wp--preset--color--contrast),
		var(--wp--preset--color--contrast)
	);
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 0% 1px;
	transition: background-size 0.3s ease-in-out;
}

.has-reverse-animated-link-underlines
	:not(.wp-block-heading, .wp-block-post-title, .wp-block-sri-blocks-post-publishpress-authors, .wp-block-image, .wp-block-post-featured-image, .sri-post-grid-image-wrap)
	> a:hover {
	background-size: 100% 1px;
}

a.wp-block-social-link-anchor,
.bio-linkedin a,
.wp-block-buttons:not(.is-style-inline-btns) a {
	background-image: none !important;
}

.wp-block-post-content::after {
	display: table;
	clear: both;
	content: ' ';
}

.has-subtle-image-zoom-animations .wp-block-image {
	object-fit: cover;
	overflow: hidden;
}

.has-subtle-image-zoom-animations .wp-block-image img {
	width: 100%;
	transform: scale(1);
	transition: transform 0.3s ease-out;
}

.has-subtle-image-zoom-animations .wp-block-image img:hover {
	transform: scale(1.03);
}

.cmplz-cookiebanner.cmplz-cookiebanner {
	font-family: var(--wp--preset--font-family--neue-montreal);
}

.cmplz-cookiebanner :is(.cmplz-buttons .cmplz-btn, .cmplz-links .cmplz-link) {
	font-family: var(--wp--preset--font-family--neue-machina-plain);
	text-transform: uppercase;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	line-height: 25px;
}

.yoast-breadcrumbs {
	font-family: var(--wp--preset--font-family--neue-machina-plain);
	font-size: var(--wp--preset--font-size--x-small);
	text-transform: uppercase;

	padding-top: 2.5rem;
}

.yoast-breadcrumbs a {
	text-decoration: none;
}

.yoast-breadcrumbs a:is(:hover, :focus) {
	text-decoration: underline;
}

.gb-block-sharing .gb-share-list a {
	background: var(--wp--preset--color--off-white-100);
	font-size: var(--wp--preset--font-size--small);
	border: 1px solid var(--wp--preset--color--contrast);
}

.gb-block-sharing .gb-share-list a path {
	fill: var(--wp--preset--color--contrast);
}

.gb-block-sharing .gb-share-list a:is(:hover, :focus) {
	background: var(--wp--preset--color--contrast);
}

.gb-block-sharing .gb-share-list a:is(:hover, :focus) path {
	fill: var(--wp--preset--color--base);
}

:is(.page-template-bare, .page-template-bare-toplevel, .post-template-bare, .post-template-bare-toplevel)
	main {
	margin-block-start: 0;
}

.wp-block-buttons.is-style-inline-btns {
	display: flex !important;
	flex-flow: column nowrap;
	column-gap: 0;
	row-gap: 0.5rem;
	align-items: flex-start;

	font-family: var(--wp--preset--font-family--neue-montreal);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 510;
	line-height: 1.2;
	background-color: transparent;
	color: var(--wp--preset--color--contrast);
}

.wp-block-buttons.is-style-inline-btns .wp-block-button .wp-block-button__link {
	display: inline;
	border: none;
	padding: 0;
	font: inherit;
	color: inherit;
	background-color: inherit;
	text-align: left;
}

.wp-block-buttons.is-style-inline-btns
	.wp-block-button
	.wp-block-button__link:is(:hover, :focus) {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.wp-block-buttons.is-style-collapsing-btn-grid {
	display: grid !important;
	grid-template-columns: repeat(
		auto-fit,
		minmax(var(--sri--theme--min-col-width), 1fr)
	);
}

.wp-block-buttons.is-style-collapsing-btn-grid .wp-block-button {
	height: 100%;
}

.wp-block-buttons.is-style-collapsing-btn-grid .wp-block-button__link {
	height: 100%;
	width: 100%;
}

.wp-block-button .wp-block-button__link.is-style-mono-invert-1,
.wp-block-button.is-style-mono-invert-1 > .wp-block-button__link {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--wp--preset--color--contrast, black);
	text-transform: uppercase;
	background-color: var(--wp--preset--color--base, white);
	border: var(--sri--theme--thin-border--width) solid
		var(--wp--preset--color--contrast, black);
	padding-block: calc(0.75em + var(--sri--theme--thin-border--width));
	padding-top: calc(var(--wp--preset--font-size--x-small) + 2px);
	padding-left: calc(var(--wp--preset--font-size--x-small) + 15px);
	padding-right: calc(var(--wp--preset--font-size--x-small) + 15px);
	transition: background-color 0.35s ease, color 0.35s ease;
}

.wp-block-button
	.wp-block-button__link.is-style-mono-invert-1:is(:hover, :focus),
.wp-block-button.is-style-mono-invert-1
	> .wp-block-button__link:is(:hover, :focus) {
	color: var(--wp--preset--color--base, white);
	background-color: var(--wp--preset--color--contrast, black);
}

.is-style-row-reverse-cols {
	flex-flow: row-reverse wrap;
}

.is-style-centered-content-col {
	display: flex;
	flex-flow: column nowrap;
	row-gap: 0;
	justify-content: center;
}

.wp-block-quote.is-style-bold-quote-1 {
	margin-block: var(--wp--preset--spacing--30) !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
	border: none !important;
}

.wp-block-quote.is-style-bold-quote-1 p {
	margin-top: 0 !important;
	font-family: var(--wp--preset--font-family--neue-montreal);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
	line-height: 1.3;
}

.wp-block-quote.is-style-bold-quote-1 cite {
	font-family: var(--wp--preset--font-family--neue-machina-plain);
}

.wp-block-genesis-blocks-gb-container .gb-container-content {
	max-width: var(--wp--style--global--content-size);
	margin-left: auto !important;
	margin-right: auto !important;
}

.is-style-thick-sep {
	border-top: 10px solid;
}

/* CSS COPIED FROM PREVIOUS THEME FOR COMPATIBILITY */
:not(.wp-block-post) > .box-shadow-lite {
	background-color: #fff;
	box-shadow: 0 2px 16px rgb(0 0 0 / 12%);
}

/* CSS for specific category single post pages */

body.single:is(.category-story, .post_tag-sri-people) h2 {
	font-size: var(--wp--preset--font-size--large);
}

body.single:is(.category-story, .post_tag-sri-people) :is(h3, h4, h5, h6) {
	font-size: var(--wp--preset--font-size--medium);
}

body.single.category-people .entry-content > .wp-block-group {
	max-width: calc(
		var(--wp--preset--spacing--narrow-content-max-width) +
			var(--wp--style--root--padding-left) +
			var(--wp--style--root--padding-right)
	);
	margin-left: auto;
	margin-right: auto;
}

body.single.category-people .post-template__read-more-stories {
	display: none; /* workaround for unknown query issue on bios */
}

body.single:not(.category-people, .category-business-development, .category-lab-and-center-directors, .category-project)
	.wp-block-post-featured-image.single-post__banner {
	display: none;
}

body.single:is(.category-people, .category-hoi, .category-75-years-of-innovation)
	:not(.wp-block-post, .wp-block-sri-blocks-post-meta)
	> .wp-block-post-date {
	display: none;
}

body.archive:is(.category-people, .category-hoi, .category-75-years-of-innovation)
	.wp-block-post-date {
	display: none;
}

body.single.category-people .wp-block-post-featured-image {
	aspect-ratio: 1 !important;
	max-width: 300px;
	margin-bottom: var(--wp--preset--spacing--30) !important;
}

/* Customization of markup from sri-blocks plugin */

/* MEDIA QUERIES */

@media screen and (min-width: 62.5rem) {
	.wp-block-buttons.is-style-inline-btns {
		flex-flow: row wrap;
		column-gap: 0;
		row-gap: 0.5rem;
	}

	.wp-block-buttons.is-style-inline-btns
		.wp-block-button:not(:last-child)::after {
		content: '/';
		margin-inline: 0.8rem;
		font-weight: 400;
	}
}

@media screen and (min-width: 75rem) and (min-height: 57rem) {
	/* allow for anchored footer on large enough screens */
	main {
		position: relative;
		z-index: 2;
		background: #fff;
		padding-bottom: 0 !important;
		min-height: 90vh;
	}
	footer {
		position: fixed;
		left: 0;
		bottom: 0;
		width: 100%;
	}
}
