/* Newsletter — "On the Trigger" signup over a photo (design.md §newsletter). */

.tt-newsletter {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 567px;
	padding-inline: 50px;
	overflow: hidden;
}

.tt-newsletter__photo {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tt-newsletter__card {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
	width: 100%;
	min-height: 377px;
	padding: 48px 62px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.65);
}

/* Left content */
.tt-newsletter__content {
	flex: 0 1 auto;
	max-width: 592px;
}

.tt-newsletter__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif) !important;
	font-size: 16px;
	line-height: 1.45;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: var(--wp--preset--color--red-bright, #ff4349) !important;
}

.tt-newsletter__eyebrow::before {
	content: "";
	flex: none;
	width: 40px;
	height: 1px;
	background: var(--wp--preset--color--red, #cf2026);
}

.tt-newsletter__title {
	margin: 0 0 16px;
	font-family: var(--wp--preset--font-family--oswald, "Oswald", sans-serif) !important;
	font-weight: 600 !important;
	font-size: 62px;
	line-height: 1.05;
	text-transform: uppercase;
	color: #fff !important;
}

.tt-newsletter__body {
	margin: 0;
	max-width: 554px;
	font-family: var(--wp--preset--font-family--barlow, "Barlow", sans-serif) !important;
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
}

/* Form */
.tt-newsletter__form {
	flex: 0 0 708px;
	max-width: 708px;
}

.tt-newsletter__row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.tt-newsletter__input {
	width: 100%;
	height: 45px;
	box-sizing: border-box;
	padding: 0 16px;
	border: 0;
	border-radius: 0;
	background: #fff;
	font-family: var(--wp--preset--font-family--barlow, "Barlow", sans-serif);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.6;
	color: #434342;
}

.tt-newsletter__input::placeholder {
	color: #434342;
	opacity: 1;
}

.tt-newsletter__row .tt-newsletter__input {
	flex: 1 1 0;
	min-width: 0;
}

.tt-newsletter__submit {
	margin-top: 20px;
	font-size: 18px;
	letter-spacing: 0.9px;
	padding: 12px 16px;
}

/* ---- Mobile (≤767px) ----------------------------------------------------- */
@media (max-width: 767px) {
	.tt-newsletter {
		padding-inline: 20px;
	}

	.tt-newsletter__card {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		padding: 32px 24px;
	}

	.tt-newsletter__title {
		font-size: 42px;
	}

	.tt-newsletter__form {
		flex: none;
		max-width: none;
	}

	.tt-newsletter__row {
		flex-direction: column;
		gap: 20px;
	}

	/* Stacking the row turns its main axis vertical, so the desktop
	   `flex: 1 1 0` starts governing HEIGHT and collapses the two name fields —
	   the email input, which sits outside the row, kept its 45px and the three
	   stopped matching. `flex: none` hands height back to the 45px rule (all
	   three fields are 344 × 45 in the design, node 25:634/:635/:636). */
	.tt-newsletter__row .tt-newsletter__input {
		flex: none;
	}
}
