.minicaption-home-popup {
	position: fixed;
	inset: 0;
	max-width: none;
	max-height: none;
	margin: auto;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
}

.minicaption-home-popup::backdrop {
	background: rgb(0 0 0 / 75%);
}

.minicaption-home-popup__content {
	position: relative;
	width: min(90vw, 640px, 88vh);
	width: min(90vw, 640px, 88dvh);
	aspect-ratio: 1;
}

.minicaption-home-popup__content img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
}

.minicaption-home-popup__close {
	position: absolute;
	top: clamp(6px, 1%, 10px);
	right: clamp(12px, 2.5%, 20px);
	z-index: 1;
	display: flex;
	width: clamp(32px, 6vw, 40px);
	height: clamp(32px, 6vw, 40px);
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 2px solid #111;
	border-radius: 50%;
	background: #fff;
	color: #111;
	cursor: pointer;
}

.minicaption-home-popup__close svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2.5;
}
