/**
 * Lightbox gallery (assets/js/lightbox.js): CSS class "hc-lightbox" on a group
 * makes the Image modules inside it open in a full-screen viewer.
 */
.hc-lightbox__item {
	cursor: zoom-in;
}
.hc-lightbox__item img {
	transition: transform 0.4s ease;
}
.hc-lightbox__item:hover img {
	transform: scale(1.03);
}
.hc-lightbox__item:focus-visible {
	outline: 3px solid var(--gcid-secondary-color);
	outline-offset: 3px;
}

.hc-lb {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(8, 26, 12, 0.94);
	color: var(--gcid-hc-cream);
	font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
.hc-lb[open] {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 72px;
	align-items: center;
}
.hc-lb::backdrop {
	background: rgba(8, 26, 12, 0.94);
}
.hc-lb__figure {
	grid-column: 2;
	height: 100%;
	margin: 0;
	padding: 72px 0 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 0;
}
.hc-lb__img {
	max-width: 100%;
	max-height: calc(100% - 44px);
	min-height: 0;
	object-fit: contain;
	border-radius: 4px;
	box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}
.hc-lb__bar {
	width: 100%;
	max-width: 900px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--gcid-hc-on-dark);
}
.hc-lb__count {
	flex: none;
	font-size: 12px;
	font-weight: 800;
	font-stretch: 125%;
	font-variation-settings: "wdth" 125;
	letter-spacing: 0.12em;
	color: var(--gcid-hc-gold-light);
}
.hc-lb__btn {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	padding: 0;
	border: 1px solid rgba(244, 240, 228, 0.32);
	border-radius: 50%;
	background: rgba(244, 240, 228, 0.06);
	color: var(--gcid-hc-cream);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hc-lb__btn:hover {
	background: var(--gcid-secondary-color);
	border-color: var(--gcid-secondary-color);
	color: var(--gcid-hc-forest);
}
.hc-lb__btn:focus-visible {
	outline: 3px solid var(--gcid-hc-gold-light);
	outline-offset: 2px;
}
.hc-lb__prev {
	grid-column: 1;
	grid-row: 1;
}
.hc-lb__next {
	grid-column: 3;
	grid-row: 1;
}
.hc-lb__close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: var(--gcid-hc-cream);
	border-color: var(--gcid-hc-cream);
	color: var(--gcid-hc-forest);
}
.hc-lb.is-single .hc-lb__prev,
.hc-lb.is-single .hc-lb__next,
.hc-lb.is-single .hc-lb__count {
	display: none;
}
html.hc-lb-open,
html.hc-lb-open body {
	overflow: hidden;
}

@media (max-width: 767px) {
	.hc-lb[open] {
		grid-template-columns: minmax(0, 1fr);
	}
	.hc-lb__figure {
		grid-column: 1;
		padding: 76px 16px 92px;
	}
	.hc-lb__bar {
		font-size: 14px;
	}
	/* Arrows sit under the photo on phones (swiping works too). */
	.hc-lb__prev,
	.hc-lb__next {
		position: absolute;
		bottom: 22px;
	}
	.hc-lb__prev {
		left: calc(50% - 58px);
	}
	.hc-lb__next {
		left: calc(50% + 10px);
	}
}
