/* Milo Site Kit lightbox. Colours follow the GeneratePress global colours when set. */
.ms-lightbox img,
a[href$=".jpg"] img, a[href$=".jpeg"] img, a[href$=".png"] img, a[href$=".webp"] img, a[href$=".JPG"] img {
	cursor: zoom-in;
}
.ms-lightbox img:focus-visible {
	outline: 2px solid var(--accent, #fe9a2e);
	outline-offset: 3px;
}
.ms-lb-open {
	overflow: hidden;
}
.ms-lb {
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--contrast, #eae2d6);
}
.ms-lb::backdrop {
	background: rgba(10, 10, 12, 0.96);
}
.ms-lb[open] {
	display: flex;
	align-items: center;
	justify-content: center;
	animation: ms-lb-in 0.35s ease;
}
.ms-lb__figure {
	margin: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4vh 5vw;
	box-sizing: border-box;
}
.ms-lb__img {
	max-width: 100%;
	max-height: 86vh;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.ms-lb__count {
	margin-top: 1rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	color: var(--ash, #808080);
}
.ms-lb button.ms-lb__btn {
	position: absolute;
	font-family: Georgia, serif;
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
	box-shadow: none;
	background: transparent;
	border: 0;
	padding: 0.5rem 1rem;
	color: var(--contrast, #eae2d6);
	font-size: 44px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s, color 0.2s;
}
.ms-lb button.ms-lb__btn:hover,
.ms-lb button.ms-lb__btn:focus-visible {
	opacity: 1;
	color: var(--accent, #fe9a2e);
	background: transparent;
}
.ms-lb__close {
	top: 1rem;
	right: 1rem;
}
.ms-lb__prev {
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
}
.ms-lb__next {
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}
.ms-lb--single .ms-lb__prev,
.ms-lb--single .ms-lb__next {
	display: none;
}
@media (max-width: 767px) {
	.ms-lb__prev,
	.ms-lb__next {
		top: auto;
		bottom: 1rem;
		transform: none;
	}
}
@keyframes ms-lb-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.ms-lb[open] { animation: none; }
}
