/* Basic styles for THSF Entrance Popup */
.thsf-popup {
	position: fixed;
	inset: 0;
	display: none;
	z-index: 9999;
}

.thsf-popup.is-open {
	display: block;
}

.thsf-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 0;
}

.thsf-popup__dialog {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #ffffff;
	max-width: 640px;
	width: calc(100% - 32px);
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.thsf-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	background: transparent;
	border: 0;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #333;
}

.thsf-popup-title {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 22px;
}

.thsf-popup-content :where(p, ul, ol) {
	margin: 0 0 12px 0;
}

.thsf-popup__dontshow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 14px;
	color: #333;
}


