/**handles:westfort-popup-frontend**/
/* Westfort Popup — Frontend */
:root{
	--westfort-overlay: rgba(0,0,0,.45);
	--westfort-white: #fff;
	--westfort-text: #333;
	--westfort-accent: #26c7cc;
	--westfort-radius: 18px;
	--westfort-shadow: 0 18px 60px rgba(0,0,0,.16);
	--westfort-maxw: 720px;
}

@font-face{
	font-family: 'SaintGermaine-Bold';
	src: url('https://thewestfortbroadway.com/wp-content/plugins/westfort-popup/assets/fonts/SaintGermaine-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face{
	font-family: 'SaintGermaine-Regular';
	src: url('https://thewestfortbroadway.com/wp-content/plugins/westfort-popup/assets/fonts/SaintGermain-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

body.westfort-popup-open{
	overflow: hidden;
}

.westfort-popup-overlay{
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: var(--westfort-overlay);
	z-index: 999999;
	padding: 20px;
}

.westfort-popup-overlay.is-visible{
	display: flex;
	animation: westfortFadeIn .18s ease-out;
}

@keyframes westfortFadeIn{
	from{ opacity: 0; }
	to{ opacity: 1; }
}

.westfort-popup-modal{
	position: relative;
	border: 1px solid rgba(0,0,0,.06);
	width: 100%;
	max-width: var(--westfort-maxw);
	background: var(--westfort-white);
	border-radius: var(--westfort-radius);
	box-shadow: var(--westfort-shadow);
	overflow: hidden;
	transform: translateY(0);
	animation: westfortPopIn .18s ease-out;
}

@keyframes westfortPopIn{
	from{ opacity: 0; transform: translateY(16px) scale(.98); }
	to{ opacity: 1; transform: translateY(0) scale(1); }
}

.westfort-popup-close{
	position: absolute;
	color: var(--westfort-accent);
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: transparent;
	border: 1px solid rgba(38,199,204,.35);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.westfort-popup-close span{
	font-size: 26px;
	line-height: 1;
	transform: translateY(-1px);
}

.westfort-popup-close:hover{
	transform: scale(1.04);
	color: var(--westfort-accent);
	background: rgba(38,199,204,.08);
	border-color: rgba(38,199,204,.35);
}

.westfort-popup-close:focus{
	outline: 3px solid rgba(38,199,204,.35);
	outline-offset: 2px;
}

.westfort-popup-content{
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px 24px 24px 24px;
}

.westfort-popup-logo-wrap{
	display: flex;
	justify-content: center;
	padding-top: 10px;
}

.westfort-popup-logo{
	max-width: 260px;
	width: 62%;
	height: auto;
	display: block;
}

.westfort-popup-text{
	text-align: center;
}

.westfort-popup-header{
	margin: 12px 0 10px;
	color: var(--westfort-text) !important;
	font-family: 'SaintGermaine-Bold', Georgia, serif !important;
	font-weight: 700;
	letter-spacing: 0;
	font-size: 34px;
	line-height: 1.08;
	text-transform: none !important;
	font-variant: normal;
}

.westfort-popup-body{
	color: var(--westfort-text) !important;
	font-family: 'SaintGermaine-Regular', Georgia, serif !important;
	font-weight: 400;
	font-size: 17px;
	line-height: 1.4;
	text-transform: none !important;
	font-variant: normal;
}

/* Guard against aggressive theme typography rules overriding popup text */
.westfort-popup-modal .westfort-popup-header,
.westfort-popup-modal .westfort-popup-header *,
.westfort-popup-modal .westfort-popup-body,
.westfort-popup-modal .westfort-popup-body p,
.westfort-popup-modal .westfort-popup-body span,
.westfort-popup-modal .westfort-popup-body li{
	color: var(--westfort-text) !important;
	text-transform: none !important;
}

.westfort-popup-body p{
	margin: 0;
}

.westfort-popup-body p:last-child{ margin-bottom: 0; }

.westfort-popup-body a{
	color: var(--westfort-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (min-width: 768px){
	.westfort-popup-content{
		flex-direction: row;
		align-items: center;
		gap: 18px;
		padding: 38px 34px 34px 34px;
	}

	.westfort-popup-logo-wrap{
		flex: 0 0 38%;
		justify-content: center;
		padding-top: 0;
	}

	.westfort-popup-logo{
		max-width: 280px;
		width: 100%;
	}

	.westfort-popup-text{
		flex: 1 1 auto;
		text-align: left;
		padding-right: 10px;
	}

	.westfort-popup-header{
		font-size: 46px;
	}

	.westfort-popup-body{
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce){
	.westfort-popup-overlay.is-visible,
	.westfort-popup-modal{
		animation: none !important;
	}
}