/*
 * The popup is one of the theme's pop-ups (.modal-overlay / .modal / .modal-close from modal.css)
 * holding a single picture. Only the sizing is set here.
 */
.javan-popup .javan-popup-box {
	width: auto;
	max-width: min(92vw, 900px);
	max-height: 90vh;
	padding: 0;
	overflow: hidden;
	border-radius: var(--radius-photo, 14px);
	background: var(--surface, #fff);
}
.javan-popup img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 90vh;
	height: auto;
}
.javan-popup .javan-popup-link { display: block; }
.javan-popup .modal-close {
	top: 10px;
	right: 10px;
	background: var(--surface, #fff);
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
