/**
 * BKD Content Lock, gate card.
 *
 * Styled to match the blog's own cards: cream panel, hairline pink border,
 * generous radius, teal serif heading, and the dotted rule with a berry heart.
 *
 * Fonts are inherited rather than declared, so the heading picks up Kadence's
 * actual serif and the body picks up the blog's body face. No webfont request,
 * no layout shift, and it stays matched if she ever changes her theme fonts.
 *
 * The blur itself lives in an inline <style> in the head, because it has to be
 * in place before first paint and has to reference the configured selector.
 */

.bkd-gate {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: min(92%, 34em);
	filter: none !important;
	pointer-events: auto !important;
	user-select: auto !important;
}

.bkd-gate__card {
	padding: 26px 30px 24px;
	border: 1px solid #f0dde3;
	border-radius: 16px;
	background: #faf8f4;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.2);
	text-align: center;
}

.bkd-gate__heading {
	margin: 0;
	color: #1b4048;
	font-size: 1.5em;
	font-weight: 400;
	line-height: 1.25;
}

/* Dotted rule with a heart, matching the blog's section dividers. */
.bkd-gate__rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	margin: 14px 0 16px;
}

.bkd-gate__dots {
	flex: 0 1 130px;
	height: 3px;
	background-image: radial-gradient(circle, #e6c0cb 1.5px, transparent 1.6px);
	background-size: 9px 3px;
}

.bkd-gate__heart {
	flex: 0 0 auto;
	display: block;
	fill: #7a1e3a;
}

.bkd-gate__body {
	margin: 0 0 16px;
	color: #2b2b2b;
	font-size: 0.98em;
	line-height: 1.6;
}

.bkd-gate__row {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0 0 9px;
}

.bkd-gate__input {
	flex: 1 1 12em;
	min-width: 0;
	padding: 0.8em 0.9em;
	border: 1px solid #e0d5d8;
	border-radius: 8px;
	background: #fff;
	color: #2b2b2b;
	font-size: 1em;
	line-height: 1.3;
}

/* Name sits narrower than email, since names are shorter than addresses. */
.bkd-gate__input--name {
	flex: 0 1 38%;
}

.bkd-gate__input:focus {
	outline: 2px solid #7a1e3a;
	outline-offset: 1px;
	border-color: #7a1e3a;
}

.bkd-gate__button {
	display: block;
	width: 100%;
	margin: 0 0 13px;
	padding: 0.82em 1.4em;
	border: 0;
	border-radius: 8px;
	background: #7a1e3a;
	color: #fff;
	font-size: 1em;
	font-weight: 500;
	line-height: 1.3;
	cursor: pointer;
}

.bkd-gate__button:hover,
.bkd-gate__button:focus {
	background: #5f172d;
}

.bkd-gate__button:disabled {
	opacity: 0.7;
	cursor: default;
}

/* Consent. Small, but plain and readable, never styled to disappear. */
.bkd-gate__consent p {
	margin: 0 0 3px;
	color: #6b6b6b;
	font-size: 0.79em;
	line-height: 1.6;
}

.bkd-gate__consent p:last-child {
	margin-bottom: 0;
}

.bkd-gate__consent a {
	color: #1b4048;
	text-decoration: underline;
}

.bkd-gate__note {
	margin: 12px 0 0;
	color: #6b6b6b;
	font-size: 0.82em;
	line-height: 1.5;
}

.bkd-gate__foot {
	margin-top: 13px;
	padding-top: 11px;
	border-top: 1px solid #f0dde3;
}

.bkd-gate__foot p {
	margin: 0;
	color: #8a8385;
	font-size: 0.76em;
	line-height: 1.6;
}

.bkd-gate__error {
	margin: 0 0 12px;
	padding: 0.6em 0.8em;
	border-radius: 6px;
	background: #f4e4e9;
	color: #7a1e3a;
	font-size: 0.85em;
	text-align: left;
}

.bkd-gate__srlabel,
.bkd-gate__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.bkd-gate {
		width: 95%;
	}

	.bkd-gate__card {
		padding: 20px 18px 18px;
		border-radius: 12px;
	}

	/* Stack the fields rather than squeezing two into a phone width. */
	.bkd-gate__input,
	.bkd-gate__input--name {
		flex: 1 1 100%;
	}

	.bkd-gate__dots {
		flex: 0 1 70px;
	}
}
