.ppg-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 80%) minmax(0, 1fr);
	grid-template-rows: auto auto;
	align-items: center;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	gap: 0;
	box-sizing: border-box;
}

.ppg-gallery__stage {
	grid-column: 2;
	grid-row: 1;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.ppg-gallery__image {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0;
	object-fit: contain;
}

.ppg-gallery__control {
	display: flex !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	height: 80px !important;
	min-height: 80px !important;
	padding: 0 !important;
	margin: 0 !important;
	align-items: center;
	justify-content: center;
	align-self: center;
	box-sizing: border-box;

	background: #000 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0;
	text-decoration: none !important;
	line-height: 1;
	font-size: 0;
	cursor: pointer;
}

.ppg-gallery__control:first-child {
	grid-column: 1;
	grid-row: 1;
}

.ppg-gallery__control:last-of-type {
	grid-column: 3;
	grid-row: 1;
}

.ppg-gallery__control > span[aria-hidden="true"] {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	visibility: visible !important;
	opacity: 1 !important;
}

.ppg-gallery__control-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ppg-gallery__caption {
	width: 100%;
	margin-top: var(--ppg-space-xs);
	text-align: center;
	box-sizing: border-box;
}

.ppg-gallery__status {
	grid-column: 1 / -1;
	grid-row: 2;
	width: 100%;
	margin: var(--ppg-space-sm) 0 0;
	text-align: center;
}

.ppg-gallery__control:hover,
.ppg-gallery__control:focus {
	background: #000 !important;
	color: #fff !important;
	text-decoration: none !important;
}

.ppg-gallery__control:hover > span[aria-hidden="true"] {
	color: #fff !important;
}

.ppg-gallery__control:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -2px;
}


@media (max-width: 767px) {
	.ppg-gallery {
		grid-template-columns: minmax(0, 1fr) minmax(0, 70%) minmax(0, 1fr);
	}

	.ppg-gallery__control {
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: 80px !important;
		min-height: 80px !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	.ppg-gallery__control > span[aria-hidden="true"] {
		font-size: 30px;
	}
}

@media (max-width: 400px) {
	.ppg-gallery__control > span[aria-hidden="true"] {
		font-size: 28px;
	}
}
