/* PBM Insider registration wall — loaded only when the gate (or the post-unlock note) is shown. */

.trx-gate {
	max-width: 760px;
	margin: 48px auto 72px;
	font-family: "Nunito Sans", system-ui, sans-serif;
	color: #333F4D;
}

.trx-gate__eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #12833C;
}

.trx-gate__post-title {
	margin: 0 0 10px;
	font-family: Montserrat, system-ui, sans-serif;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.2;
	color: #1D3A8C;
}

.trx-gate__meta {
	margin: 0 0 20px;
	font-size: 15px;
	color: #677082;
}

/* Teaser fades out into the form. */
.trx-gate__teaser {
	position: relative;
	max-height: 11em;
	overflow: hidden;
	font-size: 17px;
	line-height: 1.65;
}

.trx-gate__teaser::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 5em;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #FFFFFF);
}

.trx-gate__card {
	margin-top: 24px;
	padding: 36px 40px;
	background: #F4F7FA;
	border: 1px solid #D8DDE5;
	border-top: 4px solid #12833C;
	border-radius: 8px;
}

.trx-gate__title {
	margin: 0 0 10px;
	font-family: Montserrat, system-ui, sans-serif;
	font-size: 27px;
	font-weight: 800;
	line-height: 1.2;
	color: #1D3A8C;
}

.trx-gate__intro {
	margin: 0 0 20px;
	font-size: 17px;
	line-height: 1.55;
	color: #5B6673;
}

/* Let the ActiveCampaign form fill the card instead of its fixed default width. */
.trx-gate__form ._form {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.trx-gate__fine-print {
	margin: 16px 0 0;
	font-size: 13px;
	color: #677082;
}

/* "You're in" note after unlocking (printed at wp_body_open). */
.trx-gate-welcome {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 99999;
	transform: translateX(-50%);
	max-width: calc(100% - 32px);
	padding: 14px 22px;
	background: #12833C;
	color: #FFFFFF;
	font-family: "Nunito Sans", system-ui, sans-serif;
	font-size: 15px;
	font-weight: 700;
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
	animation: trx-gate-welcome 6s ease forwards;
	pointer-events: none;
}

@keyframes trx-gate-welcome {
	0%, 80% { opacity: 1; }
	100% { opacity: 0; visibility: hidden; }
}

@media (max-width: 767px) {
	.trx-gate { margin: 28px auto 48px; }
	.trx-gate__post-title { font-size: 26px; }
	.trx-gate__card { padding: 24px 20px; }
	.trx-gate__title { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.trx-gate-welcome { animation: none; }
}