/* Studium Site: text popups (assets/popup.js), as Divi Pixel's testimonial popup on the live site:
   dark backdrop, white card with a 4px orange border, black square close button at the top-right corner. */
html.sg-pop-js .sg-pop-target { display: none; }
html.sg-pop-open { overflow: hidden; }

.sg-pop {
	position: fixed;
	inset: 0;
	width: min(620px, calc(100vw - 32px));
	max-width: none;
	max-height: calc(100vh - 64px);
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}
.sg-pop::backdrop { background: rgba(11, 11, 11, 0.8); }
.sg-pop__card {
	max-height: calc(100vh - 64px);
	overflow: auto;
	padding: 30px;
	border: 4px solid #ff8100;
	border-radius: 30px;
	background: #ffffff;
	color: #000000;
}
.sg-pop__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	background: #000000;
	color: #ffffff;
	font: 28px/30px Arial, sans-serif;
	text-align: center;
	cursor: pointer;
}
