/*
 * Equastar — small safety fixes, loaded after the original stylesheets.
 * They only change things when content does not fit; with the original
 * content the design renders exactly as before.
 */

/* Very long words typed in the admin (URLs, emails, joined words) wrap inside
   their box instead of sticking out. Normal words are not affected. */
h1, h2, h3, h4, h5, h6, p, li, td, label, blockquote {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Home banner sensing labels ("Temperature"…) are slightly wider than their
   icon column at some screen sizes: keep them on one line and centred under
   the icon instead of overflowing to one side. */
.icon-info p {
	white-space: nowrap;
	margin-left: -20px;
	margin-right: -20px;
}

/* Contact page: the email address overflowed its box at 960–1199px. The original
   stylesheet already wraps it this way at 768–959px; apply the same up to 1199px. */
@media (min-width: 960px) and (max-width: 1199px) {
	.contact-textdtl p {
		word-wrap: anywhere;
		overflow-wrap: anywhere;
	}
}

/* Contact page: boxes in a row always have the same height (e.g. when a long
   email address wraps onto two lines in one box). */
.contact-section .row > [class*="col-"] {
	display: flex;
}
.contact-section .contact-boxes {
	flex: 1 1 auto;
}

/* Home "Innovative Product" video: a portrait (vertical) video at full column
   width became ~1050px tall. Limit its height and centre it in the column;
   landscape videos are not affected (they never reach the limit). */
.productimg video {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 560px;
	margin: 0 auto;
	object-fit: contain;
}
@media (max-width: 599px) {
	.productimg video {
		max-height: 70vh;
	}
}

/* Header phone number: one line at 992–1199px (it wrapped after "402-"). */
@media (min-width: 992px) and (max-width: 1199px) {
	.whatsappno .phone-no {
		white-space: nowrap;
	}
	.whatsappno img {
		width: 21px;
		margin-right: 5px;
	}
}
