/* Manufacturers page (/hosing-manufacturers/) — style only, content untouched.
   Each manufacturer is a row: logo on the left, name and description on the
   right, a thin line underneath. Two manufacturers per row on desktop, one on
   smaller screens. Targets the Elementor grid that holds the manufacturer
   cards (image + heading + text), so it works whatever the page / element IDs
   are on each site. Loaded only on this page (functions.php). */

.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 28px 32px !important;
	align-items: stretch;
}

.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto;
	row-gap: 10px;
	align-items: start;
	align-content: start;
	padding: 32px !important;
	border: 1px solid #e6e9ee !important;
	border-radius: 20px !important;
	background: #fff !important;
	box-shadow: 0 1px 2px rgba(20, 32, 58, 0.04) !important;
	transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease, border-color .25s ease;
}
.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con:hover {
	transform: translateY(-4px);
	border-color: #ffb89a !important;
	box-shadow: 0 16px 36px rgba(20, 32, 58, 0.12) !important;
}
@media (prefers-reduced-motion: reduce) {
	.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con { transition: none; }
	.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con:hover { transform: none; }
}

.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con > .elementor-widget-image {
	grid-column: 1;
	grid-row: auto;
	align-self: start;
	margin: 0 0 12px !important;
	width: 100% !important;
	min-height: 72px;
	display: flex;
	align-items: center;
}
.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con > .elementor-widget-image img {
	display: block;
	width: auto;
	max-width: 180px;
	max-height: 72px;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con > .elementor-widget-heading,
.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con > .elementor-widget-text-editor {
	grid-column: 1;
	margin: 0 !important;
	width: 100% !important;
	text-align: left !important;
}
.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con .elementor-heading-title {
	margin: 0;
	font-size: 20px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: #14203a !important;
	text-align: left !important;
}
.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con .elementor-widget-text-editor,
.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con .elementor-widget-text-editor p {
	font-size: 15px !important;
	line-height: 1.7 !important;
	color: #4f5a69 !important;
	text-align: left !important;
}
.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con .elementor-widget-text-editor p { margin: 0 0 6px; }
.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

@media (max-width: 960px) {
	.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con { padding: 26px 22px !important; }
}
@media (max-width: 560px) {
	.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
	}
	.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con > .elementor-widget-image {
		grid-row: auto;
		margin-bottom: 8px !important;
	}
	.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con > .elementor-widget-heading,
	.elementor .e-grid.e-con:has(> .e-con > .elementor-widget-image) > .e-con > .elementor-widget-text-editor {
		grid-column: 1;
	}
}

/* The top block (title, intro text, breadcrumb) is kept, but shown plainly: white
   background, dark text, centred title and text, breadcrumb on top. */
.elementor-element-c623ffd {
	background: none !important;
	background-image: none !important;
	min-height: 0 !important;
	/* Elementor gave this banner 120px of margin above and 80px / 40px of padding; none of it is needed now. */
	margin: 0 0 20px !important;
	padding: 0 !important;
}
.elementor-element-c623ffd .e-con { margin-top: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.elementor-element-c623ffd::before,
.elementor-element-c623ffd > .elementor-background-overlay { display: none !important; }
.elementor-element-c623ffd > .e-con-inner {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	padding: 0 var(--ws-gutter, 6.25vw) !important;
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
}
/* Title + intro stay centred in a narrower column. */
.elementor-element-068a4a9 { width: 100% !important; max-width: 1100px; margin-left: auto !important; margin-right: auto !important; }
/* Breadcrumb first, left-aligned. */
/* The page's own custom CSS pins this to the top corner (position: absolute), which put it
   beside the title; it is a normal block above the title here, with a clear gap below. */
.elementor-element-c623ffd .breadcrumb-customized {
	position: static !important;
	order: -1;
	width: 100% !important;
	margin: 0 0 32px !important; /* same left edge as the navbar menu */
}
.elementor-element-c623ffd .westate-bc { padding: 0; font-size: 14px; }
.elementor-element-c623ffd .westate-bc__link { color: #6b7686 !important; padding-right: 8px; }
.elementor-element-c623ffd .westate-bc__link:hover { color: #14203a !important; opacity: 1; }
.elementor-element-c623ffd .westate-bc__current { color: #14203a !important; font-weight: 600; }
.elementor-element-c623ffd .westate-bc__sep { color: #ff5821; }
/* Title + intro, centred. */
.elementor-element-c623ffd .elementor-widget-heading,
.elementor-element-c623ffd .elementor-widget-text-editor { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
.elementor-element-c623ffd .elementor-heading-title {
	margin: 0 0 14px !important;
	font-size: clamp(28px, 3.4vw, 40px) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	color: #14203a !important;
	text-align: center !important;
}
.elementor-element-c623ffd .elementor-widget-text-editor,
.elementor-element-c623ffd .elementor-widget-text-editor p {
	max-width: 760px;
	font-size: 15px !important;
	line-height: 1.65 !important;
	color: #4f5a69 !important;
	text-align: center !important;
}

/* Clear the fixed header, then a short gap. */
.elementor[data-elementor-type="wp-page"] {
	padding-top: calc(var(--wsh-brand-h, 104px) + var(--wsh-nav-h, 64px) + var(--wp-admin--admin-bar--height, 0px) + 16px);
}
/* The manufacturers list starts straight after the intro (it had 80px of its own padding on top). */
.elementor-element-200eb41,
.elementor-element-200eb41 > .e-con-inner,
.elementor-element-41277fd { margin-top: 0 !important; padding-top: 0 !important; }
.elementor-element-200eb41 { padding-bottom: 64px !important; }
/* No space under the intro paragraph itself: the gap to the cards is the 20px margin above. */
.elementor-element-c623ffd .elementor-widget-text-editor { margin-bottom: 0 !important; }
.elementor-element-c623ffd .elementor-widget-text-editor p { margin-bottom: 0 !important; }
