/* LIANOVA customer registration form */
.jetpack-contact-form__form.has-no-jetpack-form-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 32px;
	align-items: start;
}

.jetpack-contact-form__form.has-no-jetpack-form-layout > br,
.jetpack-contact-form__form.has-no-jetpack-form-layout > .contact-submit {
	display: none;
}

.jetpack-contact-form__form.has-no-jetpack-form-layout .grunion-field-wrap {
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-sizing: border-box;
}

.jetpack-contact-form__form.has-no-jetpack-form-layout .contact-form__input-error:not(.has-errors) {
	display: none;
}

.jetpack-contact-form__form.has-no-jetpack-form-layout .grunion-field-textarea-wrap {
	grid-column: 2;
	grid-row: 1 / span 4;
	align-self: start;
	height: 362px;
	max-height: 362px;
	display: flex;
	flex-direction: column;
}

.jetpack-contact-form__form.has-no-jetpack-form-layout .grunion-field-textarea-wrap textarea {
	flex: 1;
	height: 420px;
	min-height: 0;
	resize: vertical;
}

.jetpack-contact-form__form.has-no-jetpack-form-layout input.grunion-field,
.jetpack-contact-form__form.has-no-jetpack-form-layout select.grunion-field,
.jetpack-contact-form__form.has-no-jetpack-form-layout textarea.grunion-field {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.jetpack-contact-form__form.has-no-jetpack-form-layout > .contact-form__error {
	grid-column: 1 / -1;
}

.jetpack-contact-form__form.has-no-jetpack-form-layout > button[type="submit"] {
	grid-column: 2;
	grid-row: 5;
	align-self: end;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 166px;
	height: 50px;
	margin: 4px 0 0;
	padding: 0 28px;
	border: 0;
	border-radius: 0;
	background: #B97A4F;
	color: #fff;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1.65px;
	text-transform: uppercase;
	cursor: pointer;
}

.jetpack-contact-form__form.has-no-jetpack-form-layout > button[type="submit"]:hover,
.jetpack-contact-form__form.has-no-jetpack-form-layout > button[type="submit"]:focus {
	background: #0F3B59;
	color: #fff;
}

@media (max-width: 720px) {
	.jetpack-contact-form__form.has-no-jetpack-form-layout {
		display: block;
	}
	
	.jetpack-contact-form__form.has-no-jetpack-form-layout .grunion-field-wrap {
		margin-bottom: 16px;
	}
	
	.jetpack-contact-form__form.has-no-jetpack-form-layout .grunion-field-textarea-wrap {
		height: auto;
		max-height: none;
	}
	
	.jetpack-contact-form__form.has-no-jetpack-form-layout .grunion-field-textarea-wrap textarea {
		height: auto;
		max-height: none;
		min-height: 180px;
	}
	
	.jetpack-contact-form__form.has-no-jetpack-form-layout > button[type="submit"] {
		width: 100%;
		margin-top: 2px;
	}
}

/* LIANOVA service pages use the Home header and footer */
body.page-id-69 .wp-site-blocks>header.wp-block-template-part,body.page-id-69 .wp-site-blocks>footer.wp-block-template-part,body.page-id-71 .wp-site-blocks>header.wp-block-template-part,body.page-id-71 .wp-site-blocks>footer.wp-block-template-part,body.page-id-72 .wp-site-blocks>header.wp-block-template-part,body.page-id-72 .wp-site-blocks>footer.wp-block-template-part {
	display: none !important;
}

body.page-id-69 .wp-block-post-content,body.page-id-71 .wp-block-post-content,body.page-id-72 .wp-block-post-content {
	padding: 0 !important;
}

/* Full-width LIANOVA landing pages and overflow correction */
html,body {
	overflow-x: hidden !important;
}

footer:not(.wp-block-template-part) {
	box-sizing: border-box !important;
}

body.page-id-69 .wp-block-post-content,body.page-id-71 .wp-block-post-content,body.page-id-72 .wp-block-post-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.page-id-69 .wp-block-post-content>*,body.page-id-71 .wp-block-post-content>*,body.page-id-72 .wp-block-post-content>* {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

/* Match service-page navigation spacing to Home */
body.page-id-69 .wp-block-post-content>header>p,body.page-id-71 .wp-block-post-content>header>p,body.page-id-72 .wp-block-post-content>header>p {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: clamp(24px,3.3vw,58px) !important;
	flex: 0 1 850px !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
}

body.page-id-69 .wp-block-post-content>header>p>a,body.page-id-71 .wp-block-post-content>header>p>a,body.page-id-72 .wp-block-post-content>header>p>a {
	display: inline-block !important;
	margin: 0 !important;
}

/* Compact hero banners across LIANOVA pages */
body.page-id-12 .wp-block-post-content>section:first-of-type {
	min-height: clamp(520px,64vh,590px) !important;
}

body.page-id-62 .wp-block-post-content>section:first-of-type {
	min-height: clamp(380px,45vh,440px) !important;
}

body.page-id-69 .wp-block-post-content>main>section:first-child,body.page-id-71 .wp-block-post-content>main>section:first-child,body.page-id-72 .wp-block-post-content>main>section:first-child {
	min-height: 520px !important;
}

body.page-id-69 .wp-block-post-content>main>section:first-child>div:last-child,body.page-id-71 .wp-block-post-content>main>section:first-child>div:last-child,body.page-id-72 .wp-block-post-content>main>section:first-child>div:last-child {
	padding-top: 52px !important;
	padding-bottom: 52px !important;
}

/* Corrected compact hero selectors */
body.page-id-12 .wp-block-post-content section:first-of-type {
	min-height: clamp(520px,64vh,590px) !important;
}

body.page-id-62 .wp-block-post-content section:first-of-type {
	min-height: clamp(380px,45vh,440px) !important;
}

body.page-id-69 .wp-block-post-content section:first-of-type,body.page-id-71 .wp-block-post-content section:first-of-type,body.page-id-72 .wp-block-post-content section:first-of-type {
	min-height: 520px !important;
}

body.page-id-69 .wp-block-post-content section:first-of-type>div:last-child,body.page-id-71 .wp-block-post-content section:first-of-type>div:last-child,body.page-id-72 .wp-block-post-content section:first-of-type>div:last-child {
	padding-top: 48px !important;
	padding-bottom: 48px !important;
}

/* Compact hero internal spacing */
body.page-id-12 .wp-block-post-content section:first-of-type>div:last-child {
	padding-top: 38px !important;
	padding-bottom: 38px !important;
}

body.page-id-62 .wp-block-post-content section:first-of-type>div:last-child {
	padding-top: 38px !important;
	padding-bottom: 38px !important;
}

body.page-id-69 .wp-block-post-content section:first-of-type>div:last-child,body.page-id-71 .wp-block-post-content section:first-of-type>div:last-child,body.page-id-72 .wp-block-post-content section:first-of-type>div:last-child {
	padding-top: 32px !important;
	padding-bottom: 32px !important;
}

body.page-id-69 .wp-block-post-content section:first-of-type h1,body.page-id-71 .wp-block-post-content section:first-of-type h1,body.page-id-72 .wp-block-post-content section:first-of-type h1 {
	font-size: clamp(38px,4.2vw,62px) !important;
}

body.page-id-69 .wp-block-post-content section:first-of-type>div:last-child>img,body.page-id-71 .wp-block-post-content section:first-of-type>div:last-child>img,body.page-id-72 .wp-block-post-content section:first-of-type>div:last-child>img {
	height: 54px !important;
	margin-bottom: 24px !important;
}

/* Compact customer registration introduction */
body.page-id-12 #contact {
	min-height: 0 !important;
	height: auto !important;
	padding-top: 48px !important;
	padding-bottom: 20px !important;
	box-sizing: border-box !important;
}

/* White PEYK24 hero logo */
body.page-id-69 .wp-block-post-content section:first-of-type>div:last-child>img:first-child {
	filter: brightness(0) invert(1) !important;
	opacity: 1 !important;
}

/* NERAIVEX moving brand platform strip */
body.page-id-71 .neravex-brand-window {
	width: 100%;
	overflow: hidden;
	border-top: 1px solid #D8D1C8;
	border-bottom: 1px solid #D8D1C8;
	background: #fff;
}

body.page-id-71 .neravex-brand-track {
	display: flex;
	width: max-content;
	animation: neravexMarquee 22s linear infinite;
}

body.page-id-71 .neravex-brand-window:hover .neravex-brand-track {
	animation-play-state: paused;
}

body.page-id-71 .neravex-brand-item {
	width: 320px;
	min-width: 320px;
	padding: 28px 36px;
	box-sizing: border-box;
	border-right: 1px solid #D8D1C8;
	text-align: center;
	color: #0F3B59;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
	white-space: nowrap;
}

@keyframes neravexMarquee {
	from {
		transform: translateX(0);
	}
	
	to {
		transform: translateX(-960px);
	}
}

@media(max-width:700px) {
	body.page-id-71 .neravex-brand-item {
		width: 250px;
		min-width: 250px;
		padding: 24px 25px;
		font-size: 12px;
	}
	
	@keyframes neravexMarquee {
	from {
		transform: translateX(0);
	}
	
	to {
		transform: translateX(-750px);
	}
}

	
}

@media(prefers-reduced-motion:reduce) {
	body.page-id-71 .neravex-brand-track {
		animation: none;
		flex-wrap: wrap;
		width: 100%;
		justify-content: center;
	}
	
	body.page-id-71 .neravex-brand-item {
		flex: 1 1 250px;
	}
}

/* White LIANOVA logo on industrial hero */
body.page-id-72 img[alt="LIANOVA INDUSTRIAL SUPPLY"] {
	filter: brightness(0) invert(1) !important;
	opacity: .96 !important;
}

/* Keep custom full-width sections inside the viewport */
body.page-id-12 #contact,body.page-id-12 footer,body.page-id-62 footer,body.page-id-69 footer,body.page-id-71 footer,body.page-id-72 footer {
	box-sizing: border-box !important;
	max-width: 100% !important;
}

/* Unified footer logo */
.lianova-global-footer .lianova-footer-logo {
	filter: brightness(0) invert(1) !important;
	opacity: .96 !important;
}

/* LIANOVA application sector interactions */
.lianova-sector-card {
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.lianova-sector-card .lianova-sector-icon,.lianova-sector-card .lianova-sector-icon img {
	transition: transform .28s ease, background-color .28s ease;
}

.lianova-sector-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 38px rgba(5,31,50,.12);
	border-top-color: #0F3B59;
	position: relative;
	z-index: 2;
}

.lianova-sector-card:hover .lianova-sector-icon {
	background: #0F3B59 !important;
}

.lianova-sector-card:hover .lianova-sector-icon img {
	transform: scale(1.12) rotate(-4deg);
	filter: brightness(0) invert(1);
}

@media(prefers-reduced-motion:reduce) {
	.lianova-sector-card,.lianova-sector-card .lianova-sector-icon,.lianova-sector-card .lianova-sector-icon img {
		transition: none !important;
	}
	
	.lianova-sector-card:hover {
		transform: none !important;
	}
}

/* LIANOVA spare-parts card interactions */
.lianova-supply-card {
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.lianova-supply-card .lianova-supply-icon,.lianova-supply-card .lianova-supply-icon img {
	transition: transform .28s ease, background-color .28s ease;
}

.lianova-supply-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 38px rgba(0,0,0,.18);
	border-top-color: #E29561;
	position: relative;
	z-index: 2;
}

.lianova-supply-card:hover .lianova-supply-icon {
	background: #0F3B59 !important;
}

.lianova-supply-card:hover .lianova-supply-icon img {
	transform: scale(1.12) rotate(-4deg);
	filter: brightness(0) invert(1);
}

@media(prefers-reduced-motion:reduce) {
	.lianova-supply-card,.lianova-supply-card .lianova-supply-icon,.lianova-supply-card .lianova-supply-icon img {
		transition: none !important;
	}
	
	.lianova-supply-card:hover {
		transform: none !important;
	}
}

/* NERAVEX industries card interactions */
.neravex-sector-card {
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.neravex-sector-card .neravex-sector-icon,.neravex-sector-card .neravex-sector-icon img {
	transition: transform .28s ease, background-color .28s ease;
}

.neravex-sector-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 38px rgba(5,31,50,.12);
	border-top-color: #0F3B59;
	position: relative;
	z-index: 2;
}

.neravex-sector-card:hover .neravex-sector-icon {
	background: #72A900 !important;
}

.neravex-sector-card:hover .neravex-sector-icon img {
	transform: scale(1.12) rotate(-4deg);
	filter: brightness(0) invert(1);
}

@media(prefers-reduced-motion:reduce) {
	.neravex-sector-card,.neravex-sector-card .neravex-sector-icon,.neravex-sector-card .neravex-sector-icon img {
		transition: none !important;
	}
	
	.neravex-sector-card:hover {
		transform: none !important;
	}
}

/* Align NERAVEX industry cards with LIANOVA site palette */
.neravex-sector-card:hover .neravex-sector-icon {
	background: #C97845 !important;
}

/* Terms & Conditions — match all LIANOVA landing pages */
body.page-id-160 .wp-site-blocks>header.wp-block-template-part,
body.page-id-160 .wp-site-blocks>footer.wp-block-template-part {
	display: none !important;
}

body.page-id-160 .wp-block-post-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.page-id-160 .wp-block-post-content>* {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box !important;
}

body.page-id-160 .lianova-global-footer {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

@media (max-width:760px) {
	body.page-id-160 .lianova-terms-layout {
		grid-template-columns: 1fr !important;
		gap: 34px !important;
	}
	
	body.page-id-160 .lianova-terms-layout aside {
		max-width: 100% !important;
	}
}