
/** photoswipe */
picture:has(.mu_img) {
	display: block;
	position: relative;
	cursor: pointer;
}

picture:has(.mu_img)::after {
	content: '';
	width: 32px;
	height: 32px;
	background-color: var(--theme);
	position: absolute;
	top: 0;
	right: 0;
	pointer-events: none;
	background-image: url('/site/assets/images/icons/zoom-in.svg');
	background-size: 24px;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.4;
}

picture:has(.mu_img):hover::after {
	opacity: 0.8;
}

.pswp__custom-caption {
	width: calc(100% - 32px);
	max-width: 400px;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	border-radius: 4px;
	position: absolute;
}

.pswp__custom-caption a {
	color: #fff;
	text-decoration: underline;
}

a.pswp__button--download {
	color: inherit;
	text-decoration: none;
}

a.pswp__button--download:hover,
a.pswp__button--download:focus {
	color: inherit;
	text-decoration: none;
}


.cap_innner {
	background: rgba(0, 0, 0, 0.80);
	font-size: 0.875rem;
	color: #fff;
	padding: 2px 8px;
	border-radius: 0.25rem;
	box-shadow: 8px 0px 16px 0px rgba(0, 0, 0, 0.32);
	text-align: center;
	text-wrap: balance;
}
