/**
 * Newsletter in the footer (KTKCC-11429).
 *
 * The Brevo iframe has a fixed height and scrolling="no", and the form gets taller as it gets narrower:
 * with the 700px height of the embed code the submit button is cut on smartphones.
 * Heights measured on the Brevo form (Nov 2026) + ~70px margin for the error/confirmation message.
 * In the footer the iframe is about 90% of the screen width minus 30px.
 * The Newsletter block (.ktk-newsletter-block) has its own rules in gutenberg/blocks/css/block-newsletter.css.
 */
section.newsletter-form:not(.ktk-newsletter-block) iframe {
	height: 660px;
}

@media (max-width: 767px) {
	section.newsletter-form:not(.ktk-newsletter-block) iframe {
		height: 700px;
	}
}

@media (max-width: 599px) {
	section.newsletter-form:not(.ktk-newsletter-block) iframe {
		height: 760px;
	}
}

@media (max-width: 519px) {
	section.newsletter-form:not(.ktk-newsletter-block) iframe {
		height: 850px;
	}
}

@media (max-width: 439px) {
	section.newsletter-form:not(.ktk-newsletter-block) iframe {
		height: 900px;
	}
}

@media (max-width: 399px) {
	section.newsletter-form:not(.ktk-newsletter-block) iframe {
		height: 930px;
	}
}

@media (max-width: 379px) {
	section.newsletter-form:not(.ktk-newsletter-block) iframe {
		height: 990px;
	}
}

@media (max-width: 359px) {
	section.newsletter-form:not(.ktk-newsletter-block) iframe {
		height: 1110px;
	}
}

@media (max-width: 319px) {
	section.newsletter-form:not(.ktk-newsletter-block) iframe {
		height: 1250px;
	}
}
