/* PM Lead Gate — hard email gate popup (People & Media brand) */

.pm-lg-overlay {
	--pm-lg-accent: #122b46;
	--pm-lg-navy: #122b46;
	--pm-lg-body: #4d5c6d;
}

.pm-lg-locked {
	position: relative;
}
.pm-lg-locked-note {
	font-style: italic;
	opacity: 0.7;
}

/* Lock page scroll while the gate is up. */
body.pm-lg-open {
	overflow: hidden;
}

.pm-lg-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(18, 43, 70, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.pm-lg-card {
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	color: var(--pm-lg-body);
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 24px 70px rgba(18, 43, 70, 0.45);
	font-family: inherit;
	text-align: center;
}

.pm-lg-logo {
	display: block;
	max-height: 40px;
	width: auto;
	margin: 0 auto 18px;
}

/* Video thumbnail with play badge */
.pm-lg-thumb {
	position: relative;
	margin: 0 0 20px;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #122b46;
}
.pm-lg-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pm-lg-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 62px;
	height: 62px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: rgba(18, 43, 70, 0.82);
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
.pm-lg-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 18px;
	border-color: transparent transparent transparent #fff;
}

.pm-lg-heading {
	margin: 0 0 8px;
	font-size: 1.55rem;
	line-height: 1.2;
	color: var(--pm-lg-navy);
}
.pm-lg-sub {
	margin: 0 0 22px;
	color: var(--pm-lg-body);
}

.pm-lg-field {
	display: block;
	margin-bottom: 14px;
	text-align: left;
}
.pm-lg-field span {
	display: block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--pm-lg-navy);
	margin-bottom: 6px;
}
.pm-lg-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 14px;
	font-size: 1rem;
	color: var(--pm-lg-navy);
	border: 1px solid #d3d9e0;
	border-radius: 9px;
	background: #f7f9fb;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.pm-lg-field input:focus {
	outline: none;
	background: #fff;
	border-color: var(--pm-lg-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pm-lg-accent) 22%, transparent);
}

/* Honeypot — keep it out of sight and out of the tab order. */
.pm-lg-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.pm-lg-button {
	width: 100%;
	margin-top: 4px;
	padding: 14px 18px;
	font-size: 1.02rem;
	font-weight: 700;
	color: #fff;
	background: var(--pm-lg-accent);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.05s ease;
}
.pm-lg-button:hover {
	filter: brightness(1.12);
}
.pm-lg-button:active {
	transform: translateY(1px);
}
.pm-lg-button[disabled] {
	opacity: 0.6;
	cursor: default;
}

.pm-lg-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 12px 0 0;
	font-size: 0.8rem;
	color: var(--pm-lg-body);
	opacity: 0.85;
}
.pm-lg-lock {
	width: 11px;
	height: 9px;
	border: 1.6px solid currentColor;
	border-radius: 2px;
	position: relative;
	flex: 0 0 auto;
	margin-top: 3px;
}
.pm-lg-lock::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -6px;
	width: 7px;
	height: 7px;
	transform: translateX(-50%);
	border: 1.6px solid currentColor;
	border-bottom: 0;
	border-radius: 7px 7px 0 0;
}

.pm-lg-msg {
	margin: 12px 0 0;
	min-height: 1.2em;
	font-size: 0.9rem;
}
.pm-lg-msg.is-error {
	color: #ef3e46;
}
.pm-lg-msg.is-success {
	color: #1cd991;
}

.pm-lg-consent {
	margin: 14px 0 0;
	font-size: 0.72rem;
	color: var(--pm-lg-body);
	opacity: 0.6;
	line-height: 1.45;
}

@media (max-width: 480px) {
	.pm-lg-card {
		padding: 22px 18px;
	}
	.pm-lg-heading {
		font-size: 1.35rem;
	}
}
