:root {
	--zgr-primary-color: #0b2a4a;
	--zgr-text-color: #222;
	--zgr-accent-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--zgr-story-serif-font: "Imperial", Georgia, "Times New Roman", serif;
}

p.zgr-paragraph {
	font-family: var(--zgr-story-serif-font);
}

.zenger-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgb(9 43 95 / 50%);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.zenger-modal-box {
	background: #fff;
	max-width: 520px;
	padding: 2em;
	width: 100%;
	border-radius: 2em;
	border: 1px solid #122b50;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	max-height: 80vh;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(18, 43, 80, 0.55) rgba(18, 43, 80, 0.12);
	scrollbar-gutter: stable;
	position: relative;
	font-family: var(--zgr-accent-font);
}

.zenger-modal-box::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.zenger-modal-box::-webkit-scrollbar-thumb {
	background: rgba(18, 43, 80, 0.55);
	border-radius: 999px;
	border: 2px solid transparent;
	background-clip: content-box;
}

.zenger-modal-box::-webkit-scrollbar-track {
	background: rgba(18, 43, 80, 0.12);
	border-radius: 999px;
}

.zenger-modal-box::-webkit-scrollbar-button {
	display: none;
	width: 0;
	height: 0;
}

.zenger-modal-box--large { max-width: 800px; }
.zenger-modal-box--xlarge { max-width: 56em; }

.zenger-modal-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #122b50;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.zenger-modal-content { margin-top: 8px; }

.zgr-modal-link {
	color: var(--zgr-primary-color);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.zgr-modal-logo {
	text-align: center;
	margin-bottom: 1rem;
}

.zgr-modal-logo-img {
	max-width: 132px;
	height: auto;
	display: inline-block;
}

.zgr-modal-ad-placeholder {
	background: #e9ecef;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed #adb5bd;
	border-radius: 4px;
	margin-bottom: 1rem;
	color: #6c757d;
	font-size: 0.9rem;
	font-weight: 600;
}

.zgr-modal-ad-placeholder--bottom {
	margin-bottom: 0;
	margin-top: 1rem;
}

.zgr-modal-body {
	margin-bottom: 1rem;
}

