/**
 * H2R project archive and detail presentation.
 */

.h2r-projects-page,
.h2r-project-single,
.h2r-project-showcase {
	--h2r-ink: #252b2d;
	--h2r-muted: #667074;
	--h2r-border: #dce1e2;
	--h2r-surface: #f4f6f5;
	--h2r-blue: #2d5685;
	--h2r-teal: #278f91;
	color: var(--h2r-ink);
	font-family: Calibri, "Segoe UI", Arial, sans-serif;
}

.h2r-projects-page h1,
.h2r-projects-page h2,
.h2r-projects-page h3,
.h2r-project-single h1,
.h2r-project-single h2,
.h2r-project-single h3,
.h2r-project-showcase h2,
.h2r-project-showcase__title {
	font-family: "Helvetica Neue", Arial, sans-serif;
}

.h2r-projects-hero {
	padding: 34px 0 32px;
	background: #fff;
	border-top: 4px solid var(--h2r-teal);
	border-bottom: 1px solid var(--h2r-border);
}

.h2r-projects-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
	gap: 56px;
	align-items: center;
}

.h2r-projects-hero__heading {
	padding-right: 48px;
	border-right: 1px solid var(--h2r-border);
}

.h2r-projects-eyebrow {
	margin: 0 0 12px;
	color: var(--h2r-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: uppercase;
}

.h2r-projects-title {
	max-width: 900px;
	margin: 0;
	color: var(--h2r-ink);
	font-size: 40px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.15;
}

.h2r-projects-intro {
	max-width: 620px;
	margin: 0;
	color: var(--h2r-muted);
	font-size: 17px;
	line-height: 1.6;
}

.h2r-projects-intro > :last-child {
	margin-bottom: 0;
}

.h2r-projects-content {
	padding: 72px 0 88px;
}

.h2r-project-filters {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto auto;
	gap: 16px;
	align-items: end;
	margin-bottom: 36px;
	padding: 24px;
	background: var(--h2r-surface);
	border: 1px solid var(--h2r-border);
}

.h2r-project-filters__field {
	display: grid;
	gap: 7px;
}

.h2r-project-filters label {
	color: var(--h2r-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.h2r-project-filters select {
	width: 100%;
	min-height: 44px;
	padding: 8px 36px 8px 12px;
	color: var(--h2r-ink);
	background: #fff;
	border: 1px solid #aeb7ba;
	border-radius: 2px;
	font-family: Calibri, "Segoe UI", Arial, sans-serif;
}

.h2r-project-filters button {
	min-height: 44px;
	padding: 10px 18px;
	color: #fff;
	background: var(--h2r-blue);
	border: 1px solid var(--h2r-blue);
	border-radius: 2px;
	font-weight: 700;
}

.h2r-project-filters > a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--h2r-blue);
	font-weight: 700;
}

.h2r-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 28px;
}

.h2r-project-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	margin: 0;
	background: #fff;
	border: 1px solid var(--h2r-border);
	border-radius: 4px;
	overflow: hidden;
}

.h2r-project-card__image {
	display: block;
	aspect-ratio: 4 / 3;
	background: #e8ecea;
	overflow: hidden;
}

.h2r-project-card__thumbnail,
.h2r-project-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.h2r-project-card__image:hover .h2r-project-card__thumbnail {
	transform: scale(1.025);
}

.h2r-project-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 25px 25px 27px;
}

.h2r-project-card__taxonomies {
	margin: 18px 0 0;
	color: var(--h2r-blue);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: uppercase;
}

.h2r-project-card__taxonomies p {
	margin: 0 0 3px;
}

.h2r-project-card__taxonomies p:last-child {
	margin-bottom: 0;
}

.h2r-project-card__taxonomies span {
	color: var(--h2r-muted);
}

.h2r-project-card__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
}

.h2r-project-card__title a {
	color: var(--h2r-ink);
}

.h2r-project-card__title a:hover,
.h2r-project-card__title a:focus {
	color: var(--h2r-blue);
}

.h2r-project-card__meta {
	margin: 10px 0 0;
	color: var(--h2r-muted);
	font-size: 14px;
	line-height: 1.5;
}

.h2r-project-card__summary {
	margin: 16px 0 20px;
	color: var(--h2r-muted);
	font-size: 15px;
	line-height: 1.65;
}

.h2r-project-card__summary > :last-child {
	margin-bottom: 0;
}

.h2r-project-card__link,
.h2r-project-back-link {
	margin-top: auto;
	color: var(--h2r-blue);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
}

.h2r-project-card__link:hover,
.h2r-project-card__link:focus,
.h2r-project-back-link:hover,
.h2r-project-back-link:focus {
	color: var(--h2r-blue);
	text-decoration-color: currentColor;
}

.h2r-project-back-link--standalone {
	display: inline-flex;
	margin-top: 36px;
}

.h2r-projects-page .navigation.pagination {
	margin-top: 52px;
}

.h2r-projects-page .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.h2r-projects-page .page-numbers {
	display: inline-flex;
	min-width: 42px;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	color: var(--h2r-ink);
	background: #fff;
	border: 1px solid var(--h2r-border);
}

.h2r-projects-page .page-numbers.current,
.h2r-projects-page a.page-numbers:hover,
.h2r-projects-page a.page-numbers:focus {
	color: #fff;
	background: var(--h2r-blue);
	border-color: var(--h2r-blue);
}

.h2r-projects-empty {
	max-width: 680px;
	padding: 36px;
	background: var(--h2r-surface);
	border-left: 4px solid var(--h2r-teal);
}

.h2r-projects-empty h2 {
	margin-bottom: 8px;
	font-size: 26px;
}

.h2r-projects-empty p {
	margin-bottom: 0;
	color: var(--h2r-muted);
}

.h2r-project-showcase {
	max-width: 1380px;
	margin: 0 auto;
	padding: 12px 24px 72px;
}

.h2r-project-showcase__header {
	max-width: 760px;
	margin: 0 auto 28px;
	text-align: center;
}

.h2r-project-showcase__header h2 {
	margin: 0 0 12px;
	color: var(--h2r-blue);
	font-size: 34px;
	letter-spacing: 0;
	line-height: 1.2;
}

.h2r-project-showcase__header p {
	margin: 0;
	color: var(--h2r-ink);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	text-wrap: pretty;
}

/* Keep the two introductory statements on the 50 Projects page in one visual system. */
.page-id-2408 .vc_row.vc_custom_1562585864746 {
	padding-bottom: 24px !important;
}

.page-id-2408 .vc_row.vc_custom_1562585864746 .wpb_text_column {
	margin-bottom: 0 !important;
}

.page-id-2408 .vc_row.vc_custom_1562585864746 .wpb_text_column p,
.page-id-2408 .h2r-project-showcase__header p {
	max-width: 1100px;
	margin: 0 auto !important;
	color: #252b2d;
	font-family: Amiko, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.6;
	text-align: center;
	text-wrap: pretty;
}

.page-id-2408 .h2r-project-showcase {
	padding-top: 0;
}

.page-id-2408 .h2r-project-showcase__header {
	max-width: 1100px;
}

.h2r-project-showcase__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 22px;
}

.h2r-project-showcase__item {
	min-width: 0;
	margin: 0;
}

.h2r-project-showcase__item > a {
	display: block;
	height: 100%;
	color: var(--h2r-ink);
	background: #fff;
	border: 1px solid var(--h2r-border);
	overflow: hidden;
}

.h2r-project-showcase__image,
.h2r-project-showcase__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--h2r-surface);
	overflow: hidden;
}

.h2r-project-showcase__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.h2r-project-showcase__item > a:hover img,
.h2r-project-showcase__item > a:focus img {
	transform: scale(1.025);
}

.h2r-project-showcase__content {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 18px;
}

.h2r-project-showcase__number {
	color: var(--h2r-teal);
	font-weight: 700;
}

.h2r-project-showcase__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.h2r-project-showcase__all {
	margin: 42px 0 0;
	text-align: center;
}

.h2r-project-showcase__all a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	color: #fff;
	background: var(--h2r-blue);
	font-weight: 700;
}

.h2r-project-single__hero {
	position: relative;
	background: var(--h2r-ink);
}

.h2r-project-single__hero-image {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.h2r-project-single__hero-image::after {
	position: absolute;
	inset: 0;
	background: rgba(18, 25, 26, 0.66);
	content: "";
}

.h2r-project-single__featured-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.h2r-project-single__hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: 470px;
	align-items: flex-end;
	padding: 80px 0 68px;
}

.h2r-project-single__hero-content .h2r-projects-eyebrow {
	color: #7ed2d0;
}

.h2r-project-single__hero-content .h2r-projects-title {
	color: #fff;
}

.h2r-project-single__summary {
	max-width: 760px;
	margin: 22px 0 0;
	color: #eef1f0;
	font-size: 19px;
	line-height: 1.65;
}

.h2r-project-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	grid-template-areas: "main facts";
	gap: 72px;
	align-items: start;
}

.h2r-project-single__layout--content-only {
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "main";
}

.h2r-project-single__main {
	grid-area: main;
}

.h2r-project-single__content {
	max-width: 72ch;
	color: var(--h2r-ink);
	font-size: 17px;
	line-height: 1.75;
}

.h2r-project-single__content p {
	hyphens: auto;
	overflow-wrap: break-word;
	text-align: justify;
	text-wrap: pretty;
}

.h2r-project-single__inline-image {
	max-width: 760px;
	margin: 0 0 34px;
}

.h2r-project-single__inline-image-file {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.h2r-project-single__content > :last-child {
	margin-bottom: 0;
}

.h2r-project-single__content img {
	max-width: 100%;
	height: auto;
}

.h2r-project-single__content .vc_row {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.h2r-project-single__content .vc_column_container > .vc_column-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.h2r-project-single__content
	.wpb-content-wrapper
	> .vc_row:first-child
	.wpb_wrapper
	> .section-title-wrapper:first-child {
	display: none;
}

.h2r-project-facts {
	grid-area: facts;
	padding: 30px;
	background: var(--h2r-surface);
	border-top: 4px solid var(--h2r-teal);
}

.h2r-project-facts h2,
.h2r-project-gallery h2 {
	margin: 0 0 24px;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
}

.h2r-project-facts dl {
	margin: 0 0 28px;
}

.h2r-project-facts dl > div {
	padding: 15px 0;
	border-bottom: 1px solid var(--h2r-border);
}

.h2r-project-facts dl > div:first-child {
	padding-top: 0;
}

.h2r-project-facts dt {
	margin-bottom: 5px;
	color: var(--h2r-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: uppercase;
}

.h2r-project-facts dd {
	margin: 0;
	color: var(--h2r-ink);
	font-size: 15px;
	line-height: 1.55;
}

.h2r-project-facts dd a {
	color: var(--h2r-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.h2r-project-gallery {
	margin-top: 56px;
	padding-top: 48px;
	border-top: 1px solid var(--h2r-border);
}

.h2r-project-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.h2r-project-gallery__item {
	min-width: 0;
	margin: 0;
}

.h2r-project-gallery__item a {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--h2r-surface);
	overflow: hidden;
}

.h2r-project-gallery__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.h2r-project-gallery__item figcaption {
	padding-top: 9px;
	color: var(--h2r-muted);
	font-size: 13px;
	line-height: 1.5;
}

.h2r-projects-page a:focus-visible,
.h2r-project-single a:focus-visible {
	outline: 3px solid var(--h2r-teal);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.h2r-project-card__thumbnail,
	.h2r-project-showcase__image img {
		transition: none;
	}
}

@media (max-width: 991px) {
	.h2r-projects-hero {
		padding: 30px 0 28px;
	}

	.h2r-projects-hero__layout {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
		gap: 32px;
	}

	.h2r-projects-hero__heading {
		padding-right: 32px;
	}

	.h2r-project-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.h2r-projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.h2r-project-showcase__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.h2r-project-single__layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"facts"
			"main";
		gap: 48px;
	}

	.h2r-project-single__layout--content-only {
		grid-template-areas: "main";
	}

	.h2r-project-facts {
		max-width: 620px;
	}
}

@media (max-width: 767px) {
	.h2r-projects-hero {
		padding: 26px 0 24px;
	}

	.h2r-projects-hero__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.h2r-projects-hero__heading {
		padding: 0 0 18px;
		border-right: 0;
		border-bottom: 1px solid var(--h2r-border);
	}

	.h2r-projects-title {
		font-size: 34px;
	}

	.h2r-projects-intro,
	.h2r-project-single__summary {
		font-size: 17px;
	}

	.h2r-projects-content {
		padding: 48px 0 64px;
	}

	.h2r-project-filters {
		grid-template-columns: minmax(0, 1fr);
	}

	.h2r-projects-grid,
	.h2r-project-gallery__grid,
	.h2r-project-showcase__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.h2r-project-showcase {
		padding: 10px 15px 56px;
	}

	.h2r-project-single__content p {
		text-align: left;
	}

	.h2r-project-single__hero-content {
		min-height: 390px;
		padding: 64px 0 48px;
	}

	.h2r-project-single__hero-image::after {
		background: rgba(18, 25, 26, 0.68);
	}

	.h2r-project-single__layout {
		gap: 40px;
	}

	.h2r-project-facts {
		padding: 25px;
	}

	body.single-h2r_project #back-to-top {
		display: none !important;
	}
}
