/* ============================================================
   /insider-paypal/ — PayPal recurring subscription page.
   Branded chrome around the PayPal SDK button (which lives in
   the page's post_content). Same design language as
   /membership-login/, /membership-registration/, and
   /subscribe-thank-you/.
   ============================================================ */

.uj-pp-page {
	font: 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #1f2937;
	padding: 3rem 1.25rem 4rem;
	min-height: 60vh;
	background: linear-gradient(180deg, #FFF5F0 0%, #ffffff 60%);
}
.uj-pp-page__inner {
	max-width: 640px;
	margin: 0 auto;
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.uj-pp-page__header {
	text-align: center;
	margin: 0 0 1.5rem;
}
.uj-pp-page__eyebrow {
	margin: 0 0 0.5rem;
	font: 700 0.75rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #B3421D;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.uj-pp-page__heading {
	margin: 0 0 0.75rem !important;
	font: 600 clamp(2rem, 4vw, 2.625rem)/1.1 "Oswald", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif !important;
	color: #B3421D !important;
	letter-spacing: 0.01em;
}
.uj-pp-page__sub {
	margin: 0;
	color: #4b5563;
	font-size: 1rem;
	line-height: 1.55;
}

/* ------------------------------------------------------------
   Notice — prominent 24-hour-delay callout. Sits above the
   PayPal button so visitors can't miss it before committing.
   ------------------------------------------------------------ */
.uj-pp-page__notice {
	margin: 0 0 1.5rem;
	padding: 1.25rem 1.5rem 1rem;
	background: linear-gradient(135deg, #FFF5F0 0%, #FCE9DF 100%);
	border: 1px solid #F0C7B3;
	border-left: 4px solid #B3421D;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(179, 66, 29, 0.06);
}
.uj-pp-page__notice-eyebrow {
	margin: 0 0 0.5rem;
	font: 700 0.75rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #B3421D;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.uj-pp-page__notice-body {
	margin: 0 0 0.625rem;
	color: #1f2937;
	font-size: 0.9375rem;
	line-height: 1.55;
}
.uj-pp-page__notice-body:last-child {
	margin-bottom: 0;
}
.uj-pp-page__notice-body a {
	color: #B3421D;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.uj-pp-page__notice-body a:hover,
.uj-pp-page__notice-body a:focus-visible {
	color: #8E331A;
	border-bottom-color: #8E331A;
}

/* ------------------------------------------------------------
   Form card — wraps the_content() output: a short intro
   paragraph + the PayPal SDK button container. PayPal renders
   its own branded button into the container; we just provide
   surrounding chrome and breathing room.
   ------------------------------------------------------------ */
.uj-pp-page__form-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 1.75rem 1.75rem 1.5rem;
	box-shadow: 0 4px 16px rgba(179, 66, 29, 0.08);
}
.uj-pp-page__form-card p {
	margin: 0 0 1.25rem;
	color: #1f2937;
	font-size: 1rem;
	line-height: 1.6;
}
.uj-pp-page__form-card p:last-of-type {
	margin-bottom: 0;
}
/* PayPal injects its button into [id^="paypal-button-container"].
   Center it; cap width so the button doesn't stretch absurdly wide
   on desktop. */
.uj-pp-page__form-card [id^="paypal-button-container"] {
	max-width: 360px;
	margin: 1rem auto 0;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.uj-pp-page__footer {
	margin: 1.5rem 0 0;
	text-align: center;
	color: #4b5563;
}
.uj-pp-page__small {
	margin: 0;
	font-size: 0.875rem;
	color: #6b7280;
}
.uj-pp-page__small a {
	color: #B3421D;
	font-weight: 600;
	text-decoration: none;
}
.uj-pp-page__small a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 600px) {
	.uj-pp-page { padding: 2rem 1rem 3rem; }
	.uj-pp-page__form-card { padding: 1.5rem 1.25rem 1.25rem; }
	.uj-pp-page__notice { padding: 1rem 1.125rem 0.75rem; }
}
