/* =====================================================================
   BFT NEWSLETTER CTA — Canonical Section (CAR-425 restoration)
   Covers both the .bft-newsletter-cta alias AND the .bft-newsletter
   variant used in all current HTML templates.
   ===================================================================== */

.bft-newsletter-cta,
.bft-newsletter {
	background: #3b8d99;
	padding: 80px 24px;
	text-align: center;
}

/* Inner container — centered, max-width constrained */
.bft-newsletter-inner,
.bft-newsletter__inner {
	max-width: 600px;
	margin: 0 auto;
}

/* Utility container (used by bft-newsletter__inner wrapper) */
.bft-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Eyebrow */
.bft-eyebrow {
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin: 0 0 12px;
}
.bft-eyebrow--sage {
	color: rgba(255, 255, 255, 0.85);
}

/* Headline */
.bft-newsletter-headline,
.bft-newsletter__h2 {
	font-family: 'DM Serif Display', Georgia, serif;
	font-size: 36px;
	color: #ffffff;
	line-height: 1.15;
	margin: 0 0 12px;
}

/* Subtitle */
.bft-newsletter-subtitle,
.bft-newsletter__sub {
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin: 0 auto 28px;
	max-width: 520px;
}

/* Pill form wrapper — the wrapper does the border-radius via overflow:hidden */
.bft-pill-form,
.bft-newsletter__input-row {
	display: flex;
	align-items: stretch;
	border-radius: 50px;
	overflow: hidden;
	max-width: 480px;
	margin: 0 auto;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Input — border-radius: 0 because wrapper clips it into the pill.
   .bft-newsletter__input-row input[type="email"] added for specificity (0,2,1) to
   beat Kadence's input[type="email"] rule (0,1,1) on article template pages. */
.bft-pill-form input[type="email"],
.bft-newsletter__input-row input[type="email"],
.bft-newsletter__input {
	flex: 1;
	min-width: 0;
	padding: 16px 20px;
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
	font-size: 15px;
	color: #2a2a2a;
	background: #ffffff;
	border: 0;
	outline: none;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	height: 56px;
}

.bft-pill-form input[type="email"]::placeholder,
.bft-newsletter__input-row input[type="email"]::placeholder,
.bft-newsletter__input::placeholder {
	color: #9ca3af;
}

.bft-pill-form input[type="email"]:focus,
.bft-newsletter__input-row input[type="email"]:focus,
.bft-newsletter__input:focus {
	background: #ffffff;
	box-shadow: none;
	outline: none;
}

/* Submit button — pill form only; NOT .bft-btn--coral (standalone CTAs keep 50px radius from design system) */
.bft-pill-form button[type="submit"],
.bft-newsletter__submit {
	flex-shrink: 0;
	padding: 16px 28px;
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	background: #e07a5f;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s ease;
	box-sizing: border-box;
	height: 56px;
}

.bft-pill-form button[type="submit"]:hover,
.bft-newsletter__submit:hover {
	background: #c96b50;
}

/* Form message line */
.bft-pill-form__msg,
.bft-newsletter__msg {
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
	margin: 10px 0 0;
	min-height: 20px;
	text-align: center;
}

/* Disclaimer */
.bft-newsletter-disclaimer,
.bft-newsletter__disclaimer {
	font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	margin: 14px 0 0;
}

/* Desktop line-break utility */
.bft-br-desktop {
	display: block;
}

/* ── Mobile: stacked pill ── */
@media (max-width: 539px) {
	.bft-newsletter-cta,
	.bft-newsletter {
		padding: 60px 20px;
	}
	.bft-newsletter-headline,
	.bft-newsletter__h2 {
		font-size: 28px;
	}
	.bft-newsletter-subtitle,
	.bft-newsletter__sub {
		font-size: 16px;
	}
	.bft-pill-form,
	.bft-newsletter__input-row {
		flex-direction: column;
		border-radius: 16px;
		max-width: 100%;
	}
	.bft-pill-form input[type="email"],
	.bft-newsletter__input-row input[type="email"],
	.bft-newsletter__input {
		height: auto;
		min-height: 48px;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}
	.bft-pill-form button[type="submit"],
	.bft-newsletter__submit {
		height: auto;
		min-height: 48px;
		text-align: center;
	}
	/* Allow standalone coral CTA buttons (e.g. About page) to wrap long text on mobile */
	.bft-btn {
		white-space: normal;
		text-align: center;
		height: auto;
	}
	.bft-br-desktop {
		display: none;
	}
}

/* Footer background — explicit override to match wave color #18242d (CAR-425) */
.betended-footer {
	background-color: #18242d;
}

/* CAR-753 + CAR-776: Footer "Get in Touch" column — contact link and social icons */
.betended-footer__contact-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--bt-font-body);
	font-size: 0.95rem;
	color: #FBF8F2;
	text-decoration: none;
	margin-bottom: 1.25rem;
}

.betended-footer__contact-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

.betended-footer__social {
	display: flex;
	flex-direction: row;
	gap: 28px;
	align-items: center;
}

/* Icons: 20×20, beige brand color (#FBF8F2), more spacing */
.betended-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #FBF8F2;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.betended-footer__social-link:hover {
	color: #ffffff;
	opacity: 1;
	text-decoration: none;
}
