.bireme-section--newsletter {
	--bb-nl-blue: #014EA3;
	--bb-nl-orange: #FE5604;
	--bb-nl-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.bireme-section--newsletter .bb-nl-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 20px;
	box-sizing: border-box;
	container-type: inline-size;
}

.bireme-section--newsletter .bb-nl {
	padding: 24px;
	color: #fff;
	font-family: var(--bb-nl-font);
	background: var(--bb-nl-blue);
	border-radius: 16px;
	box-sizing: border-box;
}

.bireme-section--newsletter .bb-nl *,
.bireme-section--newsletter .bb-nl *::before,
.bireme-section--newsletter .bb-nl *::after {
	box-sizing: border-box;
}

.bireme-section--newsletter .bb-nl__top {
	display: flex;
	align-items: center;
	gap: 20px;
}

.bireme-section--newsletter .bb-nl__text {
	flex: 1 1 auto;
	min-width: 0;
}

.bireme-section--newsletter .bb-nl__title {
	margin: 0 0 6px;
	padding: 0;
	color: #fff;
	font-family: var(--bb-nl-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.bireme-section--newsletter .bb-nl__desc {
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.35;
	opacity: .95;
}

.bireme-section--newsletter .bb-nl__media {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 156px;
	width: 156px;
	height: 156px;
	padding: 12px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}

.bireme-section--newsletter .bb-nl__media img,
.bireme-section--newsletter .bb-nl__icon {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: contain;
}

/* Formulário (os !important isolam dos estilos de formulário do tema) */

.bireme-section--newsletter .bb-nl__form {
	margin: 18px 0 0 !important;
	padding: 0 !important;
}

.bireme-section--newsletter .bb-nl__field {
	display: flex;
	align-items: stretch;
}

.bireme-section--newsletter .bb-nl .bb-nl__field input[type="email"] {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	height: 52px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 18px !important;
	color: #1E1E1E !important;
	background: #fff !important;
	border: 0 !important;
	border-radius: 10px 0 0 10px !important;
	box-shadow: none !important;
	font-family: var(--bb-nl-font) !important;
	font-size: 18px !important;
	line-height: 52px !important;
}

.bireme-section--newsletter .bb-nl .bb-nl__field input[type="email"]::placeholder {
	color: #7A7A7A;
	opacity: 1;
}

.bireme-section--newsletter .bb-nl .bb-nl__field button,
.bireme-section--newsletter .bb-nl .bb-nl__field button:hover,
.bireme-section--newsletter .bb-nl .bb-nl__field button:focus {
	flex: 0 0 auto;
	height: 52px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 24px !important;
	color: #fff !important;
	background: var(--bb-nl-orange) !important;
	border: 0 !important;
	border-radius: 0 10px 10px 0 !important;
	box-shadow: none !important;
	font-family: var(--bb-nl-font) !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: filter .2s;
}

.bireme-section--newsletter .bb-nl .bb-nl__field button:hover {
	filter: brightness(.93);
}

.bireme-section--newsletter .bb-nl .bb-nl__field input:focus-visible,
.bireme-section--newsletter .bb-nl .bb-nl__field button:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 2px;
}

.bireme-section--newsletter .bb-nl__form.is-loading button {
	opacity: .7;
	cursor: progress;
}

.bireme-section--newsletter .bb-nl__message {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.3;
}

.bireme-section--newsletter .bb-nl__message:empty {
	display: none;
}

.bireme-section--newsletter .bb-nl__message.is-success {
	color: #fff;
}

.bireme-section--newsletter .bb-nl__message.is-error {
	color: #FFD3BF;
}

.bireme-section--newsletter .bb-nl__sr-only,
.bireme-section--newsletter .bb-nl__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Caixa estreita (ex.: barra lateral de um container de colunas) */
@container (max-width: 440px) {
	.bireme-section--newsletter .bb-nl {
		padding: 16px;
	}

	.bireme-section--newsletter .bb-nl__top {
		align-items: flex-start;
		gap: 12px;
	}

	.bireme-section--newsletter .bb-nl__title {
		margin-bottom: 4px;
		font-size: 15px;
	}

	.bireme-section--newsletter .bb-nl__media {
		flex: 0 0 76px;
		width: 76px;
		height: 76px;
		padding: 6px;
		border-radius: 10px;
	}

	.bireme-section--newsletter .bb-nl__desc {
		font-size: 13px;
	}

	.bireme-section--newsletter .bb-nl__form {
		margin-top: 16px !important;
	}

	.bireme-section--newsletter .bb-nl .bb-nl__field input[type="email"],
	.bireme-section--newsletter .bb-nl .bb-nl__field button {
		height: 46px !important;
		font-size: 15px !important;
	}

	.bireme-section--newsletter .bb-nl .bb-nl__field input[type="email"] {
		line-height: 46px !important;
		padding: 0 12px !important;
	}

	.bireme-section--newsletter .bb-nl .bb-nl__field button {
		padding: 0 14px !important;
	}
}
