/* ============================================================
   Global Popup
   ============================================================ */

.shys-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
}

.shys-popup.is-open {
	opacity: 1;
	visibility: visible;
}

.shys-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.50);
}

.shys-popup__dialog {
	position: relative;
	display: flex;
	width: 900px;
	max-width: 100%;
	max-height: calc(100vh - 40px);
	background: #FFF;
	overflow: hidden;
	transform: translateY(12px);
	transition: transform .3s ease;
}

.shys-popup.is-open .shys-popup__dialog {
	transform: translateY(0);
}

.shys-popup__media {
	flex: 1 0 0;
	align-self: stretch;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	min-width: 0;
	background-color: #060F1A;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	aspect-ratio: 1 / 1;
}

.shys-popup__logo {
	position: relative;
	z-index: 1;
	display: block;
	width: 213px;
	max-width: 60%;
	height: auto;
	aspect-ratio: 212.99 / 32;
}

.shys-popup__logo svg {
	width: 100%;
	height: auto;
	display: block;
}

.shys-popup__content {
	width:50%;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center; 
	justify-content: center;
	gap: 16px;
	padding: 72px 40px 40px;
	text-align: center;
	position: relative;
}

.shys-popup__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: #2D211F;
	cursor: pointer;
	line-height: 0;
	transition: opacity .2s ease;
}

.shys-popup__close:hover {
	opacity: .6;
}

.shys-popup {
	--shys-popup-heading-font: "Big Caslon", "big-caslon-fb", Georgia, serif;
	--shys-popup-body-font: "Brandon Text", "brandon-grotesque", Inter, sans-serif;
}

#shys-popup .shys-popup__heading {
	margin: 0;
	color: #2D211F; /* Coffee */
	text-align: center;
	font-family: var(--shys-popup-heading-font);
	font-size: 32px;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 0;
	max-width:285px;
}

#shys-popup .shys-popup__body {
	margin: 0;
	color: #2D211F;
	text-align: center;
	font-family: var(--shys-popup-body-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 160%;
}

.shys-popup__body p {
	margin: 0 0 1em;
}

.shys-popup__body p:last-child {
	margin-bottom: 0;
}

#shys-popup .shys-popup__cta {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 16px 40px;
	border-radius: 999px;
	border: 1px solid #FFF;
	background: #071323;
	color: #FFF;
	text-decoration: none;
	font-family: var(--shys-popup-body-font);
	font-size: 14px;
	font-weight:700;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: opacity .2s ease;
	margin-top: 24px;

}

#shys-popup .shys-popup__cta:hover {
	opacity: .88;
	color: #FFF;
}

html.shys-popup-open,
html.shys-popup-open body {
	overflow: hidden;
}

.shys-popup .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 768px) {
	.shys-popup {
		padding: 32px;
		width: 100vw;
	}

	.shys-popup__dialog {
		flex-direction: column;
		width: 400px;
		max-width: 100%;
	}

	.shys-popup__media {
		flex: 0 0 auto;
		align-self: auto;
		aspect-ratio: 6 / 4;
	}

	.shys-popup__logo {
		width: 170px;
		max-width: 70%;
	}

	.shys-popup__content {
		flex: 1 1 auto;
		align-self: auto;
		gap: 16px;
		width:100%;
		padding: 32px;
		position:static;
	}
	
	.shys-popup__close{
		color:#fff;
	}
	
	#shys-popup .shys-popup__cta{
		margin-top:8px;
		padding: 16px 60px;
	}

	#shys-popup .shys-popup__heading {
		font-size: 26px;
	}

	#shys-popup .shys-popup__body {
		font-size: 16px;
	}
}

@media (max-width:500px){
	.shys-popup__dialog{
		width:100%;
	}
}