/**
 * Newsletter
 */
.ntm-section-newsletter {
	padding-top: 24px;
	padding-bottom: 56px;
}

.ntm-newsletter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 28px;
	background: #fff;
	border: 1px solid #e8ecec;
	border-radius: var(--ntm-home-radius);
	box-shadow: var(--ntm-home-shadow);
}

.ntm-newsletter__info {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ntm-newsletter__icon {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--ntm-home-primary-light);
	color: var(--ntm-home-primary);
	flex-shrink: 0;
}

.ntm-newsletter__icon svg {
	width: 22px;
	height: 22px;
}

.ntm-newsletter__title {
	margin: 0 0 4px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ntm-home-primary) !important;
	text-transform: uppercase;
}

.ntm-newsletter__desc {
	margin: 0;
	color: var(--ntm-color-muted);
	font-size: 0.9rem;
}

/* Form — grid giữ input + button cùng hàng, cùng chiều cao */
.ntm-section-newsletter .ntm-newsletter__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	flex: 1;
	max-width: 520px;
	--ntm-newsletter-control-h: 46px;
}

.ntm-section-newsletter .ntm-newsletter__form input[type='email'],
.ntm-section-newsletter .ntm-newsletter__form button.ntm-btn {
	height: var(--ntm-newsletter-control-h) !important;
	min-height: var(--ntm-newsletter-control-h) !important;
	max-height: var(--ntm-newsletter-control-h) !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	border-radius: 999px !important;
	vertical-align: middle;
}

.ntm-section-newsletter .ntm-newsletter__form input[type='email'] {
	width: 100%;
	min-width: 0;
	padding: 0 18px !important;
	border: 1px solid #dde4e4 !important;
	background: #fff !important;
	box-shadow: none !important;
	line-height: normal !important;
	font-size: 0.9rem !important;
	-webkit-appearance: none;
	appearance: none;
}

.ntm-section-newsletter .ntm-newsletter__form button.ntm-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 24px !important;
	white-space: nowrap;
	flex-shrink: 0;
	line-height: 1 !important;
	font-size: 0.85rem !important;
	font-weight: 600 !important;
	border: 1px solid transparent !important;
}

@media (max-width: 860px) {
	.ntm-newsletter {
		flex-direction: column;
		align-items: stretch;
	}

	.ntm-section-newsletter .ntm-newsletter__form {
		max-width: none;
		grid-template-columns: 1fr;
	}

	.ntm-section-newsletter .ntm-newsletter__form button.ntm-btn {
		width: 100%;
	}
}
