/*
 * Newsletter band. Design: "Community band", a white card (1px #EAE3DA) with 34/26px headline,
 * intro, rounded email field + Subscribe, privacy note; brand + cream arches with panda ears on the right.
 */
.fp-newsletter {
	position: relative;
	overflow: hidden;
	padding: 28px 22px 0;
	border: 1px solid #eae3da;
	background: var(--fp-surface);
}

.fp-newsletter__content {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
	justify-items: start;
}

.fp-newsletter__title {
	font-size: 26px;
	line-height: 1.2;
}

.fp-newsletter__intro {
	max-width: 500px;
	color: var(--fp-body);
	font-size: 15px;
	line-height: 1.6;
}

.fp-newsletter__form {
	display: grid;
	gap: 10px;
	width: 100%;
}

.fp-input {
	width: 100%;
	height: 48px;
	padding: 0 18px;
	border: 1px solid #ddd4c9;
	background: var(--fp-bg);
	color: var(--fp-ink);
	font-size: 14.5px;
}

.fp-input::placeholder {
	color: var(--fp-placeholder);
	opacity: 1;
}

.fp-input--pill {
	border-radius: 24px;
}

.fp-newsletter__form .fp-button {
	min-height: 48px;
}

.fp-newsletter__status:empty {
	display: none;
}

.fp-newsletter__status {
	grid-column: 1 / -1;
	font-size: 14px;
}

.fp-newsletter__privacy {
	color: var(--fp-muted);
	font-size: 12px;
}

.fp-newsletter__privacy a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Newsletter name label ("FaithPanda Weekly", Product Phase 1): same look as the "Top Story" kicker. */
.fp-newsletter__name {
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.fp-newsletter__name:hover {
	filter: none;
}

.fp-nl-card__signup .fp-newsletter__name {
	margin: 0 auto 14px;
	align-self: center;
}

.fp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

/* Brand mark: two panda ears. */
.fp-ears {
	position: relative;
	display: block;
	width: 31px;
	height: 13px;
}

.fp-ears::before,
.fp-ears::after {
	content: "";
	position: absolute;
	top: 3px;
	width: 12px;
	height: 6px;
	border-radius: 12px 12px 0 0;
	background: var(--fp-brand);
}

.fp-ears::before {
	left: 0;
	transform: rotate(-18deg);
}

.fp-ears::after {
	right: 0;
	transform: rotate(18deg);
}

/* Arches. */
.fp-newsletter__art {
	position: relative;
	display: flex;
	justify-content: center;
	height: 150px;
	margin: 24px -22px 0;
}

.fp-arch {
	position: relative;
	display: block;
	width: 190px;
	height: 190px;
	margin-top: 0;
	border-radius: 95px 95px 0 0;
}

.fp-arch--brand {
	margin-right: -40px;
	background: var(--fp-brand);
}

.fp-arch--cream {
	background: var(--fp-cream);
}

.fp-ears--face {
	position: absolute;
	top: 34px;
	left: 50%;
	width: 58px;
	height: 23px;
	transform: translateX(-50%);
}

.fp-ears--face::before,
.fp-ears--face::after {
	width: 22px;
	height: 11px;
	border-radius: 22px 22px 0 0;
}

/* Compact (in-article placement). */
.fp-newsletter--compact {
	margin-top: 32px;
	padding-bottom: 24px;
}

.fp-newsletter--compact .fp-newsletter__title {
	font-size: 22px;
}

@media (min-width: 768px) {
	.fp-newsletter__form {
		grid-template-columns: minmax(0, 300px) auto;
		width: auto;
	}
}

@media (min-width: 1024px) {
	.fp-newsletter:not(.fp-newsletter--compact) {
		min-height: 330px;
		padding: 52px 56px;
	}

	.fp-newsletter__content {
		gap: 16px;
		max-width: 520px;
	}

	.fp-newsletter__title {
		font-size: 34px;
	}

	.fp-newsletter__intro {
		font-size: 15.5px;
	}

	.fp-newsletter__art {
		position: absolute;
		right: 0;
		bottom: 0;
		width: 560px;
		height: 150px;
		margin: 0;
	}

	.fp-arch {
		width: 300px;
		height: 300px;
		border-radius: 150px 150px 0 0;
	}

	.fp-arch--brand {
		margin-right: -40px;
	}

	.fp-ears--face {
		top: 52px;
	}
}

/*
 * Simple signup inside the article (owner request 2026-11-27): quiet, one line of text, brand rule on the
 * left, panda ears; no artwork. Lives in .fp-prose, so it resets the prose link and paragraph styles.
 */
.fp-prose .fp-nl-inline {
	display: grid;
	gap: 10px;
	margin-top: 28px;
	margin-bottom: 10px;
	padding: 16px 18px;
	border-left: 3px solid var(--fp-brand);
	border-radius: 0 10px 10px 0;
	background: var(--fp-bg);
}

.fp-nl-inline .fp-ears {
	display: inline-block;
	margin-right: 6px;
	vertical-align: 1px;
}

.fp-prose .fp-nl-inline__text {
	margin: 0;
	color: var(--fp-ink);
	font-size: 15.5px;
	line-height: 1.5;
}

.fp-nl-inline__text strong {
	font-family: var(--fp-font-head);
}

.fp-prose .fp-nl-inline > * + * {
	margin-top: 0;
}

.fp-nl-inline .fp-input {
	height: 44px;
	background: var(--fp-surface);
}

.fp-nl-inline .fp-newsletter__form .fp-button {
	min-height: 44px;
}

.fp-prose .fp-nl-inline .fp-newsletter__privacy,
.fp-prose .fp-nl-inline .fp-newsletter__status {
	margin: 0;
	line-height: 1.5;
}

.fp-prose .fp-nl-inline .fp-newsletter__privacy {
	font-size: 12px;
}

.fp-prose .fp-nl-inline .fp-newsletter__privacy a {
	color: inherit;
	font-weight: 400;
}

@media (min-width: 768px) {
	.fp-nl-inline .fp-newsletter__form {
		grid-template-columns: minmax(0, 1fr) auto;
		width: 100%;
		max-width: 460px;
	}
}
