.ppv-viewer {
	margin: 1.5em 0;
}

.ppv-pages {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.ppv-page {
	margin: 0;
}

.ppv-page img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
}

.ppv-lightbox-trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	line-height: 0;
}

.ppv-lightbox-trigger:focus-visible {
	outline: 2px solid #4caf50;
	outline-offset: 2px;
}

.ppv-download {
	margin: 1rem 0 0;
	text-align: center;
}

.ppv-download__link {
	display: inline-block;
	padding: 0.65em 1.6em;
	border: 0;
	border-radius: 8px;
	background-color: #333a40;
	color: #4caf50;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ppv-download__link:hover,
.ppv-download__link:focus-visible {
	background-color: #3d454c;
	color: #5fd068;
	text-decoration: none;
}

.ppv-external-link {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	text-align: center;
}

.ppv-external-link a {
	color: inherit;
	text-decoration: underline;
}

.ppv-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(0, 0, 0, 0.85);
}

.ppv-lightbox.is-open {
	display: flex;
}

.ppv-lightbox__dialog {
	position: relative;
	max-width: min(96vw, 1200px);
	max-height: 92vh;
}

.ppv-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 92vh;
	width: auto;
	height: auto;
	margin: 0 auto;
	border-radius: 4px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.ppv-lightbox__close {
	position: absolute;
	top: -0.5rem;
	right: -0.5rem;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 999px;
	background: #333a40;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.ppv-lightbox__close:hover,
.ppv-lightbox__close:focus-visible {
	background: #4caf50;
	color: #fff;
}

.ppv-lightbox__caption {
	margin: 0.75rem 0 0;
	color: #fff;
	font-size: 0.875rem;
	text-align: center;
}

body.ppv-lightbox-open {
	overflow: hidden;
}
