/* Header "Join Newsletter" popup — matches the article sidebar "Weekly Tea" card. */

html:has(.om-nl-popup[open]) {
	overflow: hidden;
}

.om-nl-popup {
	width: min(440px, calc(100vw - 32px));
	max-width: none;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #111;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
	font-family: Inter, sans-serif;
}

.om-nl-popup::backdrop {
	background: rgba(0, 0, 0, .6);
}

.om-nl-popup-inner {
	position: relative;
	padding: 36px 28px 24px;
	text-align: center;
}

.om-nl-popup .om-nl-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #555;
	cursor: pointer;
}

.om-nl-popup .om-nl-popup-close:hover,
.om-nl-popup .om-nl-popup-close:focus-visible {
	background: #F3F3F3;
	color: #111;
}

.om-nl-popup .om-nl-popup-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #FDECEC;
	color: #B90302;
}

.om-nl-popup .om-nl-popup-title {
	margin: 14px 0 8px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #111;
}

.om-nl-popup .om-nl-popup-desc {
	max-width: 320px;
	margin: 0 auto 20px;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}

.om-nl-popup .om-nl-popup-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
}

.om-nl-popup .om-nl-popup-email {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #D8D8D8;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: #111;
}

.om-nl-popup .om-nl-popup-email::placeholder {
	color: #8A8A8A;
}

.om-nl-popup .om-nl-popup-email:focus {
	border-color: #B90302;
	outline: none;
}

.om-nl-popup .om-nl-hp {
	display: none;
}

.om-nl-popup .om-nl-popup-btn {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: #B90302;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	transition: background-color .15s ease;
}

.om-nl-popup .om-nl-popup-btn:hover {
	background: #9A0202;
}

.om-nl-popup .om-nl-popup-btn:disabled {
	opacity: .7;
	cursor: not-allowed;
}

.om-nl-popup .om-nl-status {
	margin: 12px 0 0;
	font-size: 14px;
}

.om-nl-popup .om-nl-status:empty {
	display: none;
}

.om-nl-popup .om-nl-popup-legal {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: #767676;
}

.om-nl-popup .om-nl-popup-legal a {
	color: inherit;
	text-decoration: underline;
}

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