/**
 * COMTOP OEM / ODM Elementor page.
 * Every visible content block remains independently editable in Elementor.
 */

body.comtop-oem-redesign {
	--comtop-oem-bg: #f7f9fc;
	--comtop-oem-surface: #fff;
	--comtop-oem-navy: #001b43;
	--comtop-oem-text: #26344a;
	--comtop-oem-muted: #6b778b;
	--comtop-oem-border: #dce3ec;
	--comtop-oem-orange: #ff7a1a;
	--comtop-oem-container: 1270px;
	background: var(--comtop-oem-bg);
}

body.comtop-oem-redesign .main-page-wrapper {
	padding-top: 0;
	background: var(--comtop-oem-bg);
}

body.comtop-oem-redesign .wd-page-title {
	display: none;
}

body.comtop-oem-redesign #main-content.content-layout-wrapper,
body.comtop-oem-redesign #main-content > .site-content,
body.comtop-oem-redesign .site-content > article {
	width: 100%;
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

body.comtop-oem-redesign #main-content > .site-content {
	--wd-col-lg: 12 !important;
}

body.comtop-oem-redesign #main-content > .wd-sidebar {
	display: none;
}

body.comtop-oem-redesign .site-content > article > .entry-content {
	margin: 0;
}

.comtop-oem-page,
.comtop-oem-page * {
	box-sizing: border-box;
}

.comtop-oem-page {
	color: var(--comtop-oem-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.comtop-oem-page .elementor-widget {
	margin: 0;
}

.comtop-oem-page h1,
.comtop-oem-page h2,
.comtop-oem-page h3,
.comtop-oem-page p {
	margin: 0;
}

.comtop-oem-page h1,
.comtop-oem-page h2,
.comtop-oem-page h3 {
	font-family: "Avenir Next", "Söhne", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.16;
}

.comtop-oem-container {
	width: min(100%, var(--comtop-oem-container));
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 42px);
}

.comtop-oem-hero {
	position: relative;
	min-height: clamp(440px, 56vw, 680px);
	overflow: hidden;
	background-color: var(--comtop-oem-navy);
	background-position: center;
	background-size: cover;
	color: #fff;
}

.comtop-oem-hero::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(90deg, rgba(0, 27, 67, .96) 0%, rgba(0, 27, 67, .72) 34%, transparent 70%);
	content: "";
}

.comtop-oem-hero-inner {
	--flex-direction: row !important;
	--justify-content: flex-start;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: row !important;
	min-height: inherit;
	align-items: center;
	justify-content: flex-start;
}

.comtop-oem-hero-copy {
	--gap: 0;
	width: min(620px, 100%);
	gap: 0 !important;
}

.comtop-oem-eyebrow,
.comtop-oem-page .comtop-oem-eyebrow p {
	color: var(--comtop-oem-orange);
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.comtop-oem-hero .comtop-oem-eyebrow,
.comtop-oem-page .comtop-oem-hero .comtop-oem-eyebrow p {
	color: rgba(255, 255, 255, .8);
	font-size: 20px;
}

.comtop-oem-page .comtop-oem-hero .comtop-oem-eyebrow p {
	margin-top: 20px;
}

.comtop-oem-hero-title h1 {
	color: #fff;
	font-size: clamp(48px, 7vw, 82px);
	letter-spacing: -.05em;
}

.comtop-oem-hero-text p {
	max-width: 52ch;
	margin-top: 20px;
	color: rgba(255, 255, 255, .8);
	font-size: clamp(17px, 2vw, 20px);
}

.comtop-oem-section {
	padding-block: clamp(66px, 9vw, 112px);
}

.comtop-oem-factories {
	border-block: 1px solid var(--comtop-oem-border);
	background: var(--comtop-oem-surface);
}

.comtop-oem-grid {
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	gap: clamp(44px, 8vw, 108px);
	align-items: center;
}

.comtop-oem-grid-reverse {
	grid-template-columns: .92fr 1.08fr;
}

.comtop-oem-copy h2 {
	color: var(--comtop-oem-text);
	font-size: clamp(34px, 4.6vw, 54px);
	letter-spacing: -.04em;
}

.comtop-oem-copy .comtop-oem-heading {
	margin-top: 18px;
}

.comtop-oem-copy .comtop-oem-body {
	margin-top: 20px;
}

.comtop-oem-body p,
.comtop-oem-heading-copy p {
	color: var(--comtop-oem-muted);
	font-size: 17px;
	line-height: 1.78;
}

.comtop-oem-body a {
	color: var(--comtop-oem-orange);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.comtop-oem-visual {
	position: relative;
}

.comtop-oem-visual::before {
	position: absolute;
	top: -16px;
	left: -16px;
	z-index: 1;
	width: 82px;
	height: 82px;
	border-top: 3px solid var(--comtop-oem-orange);
	border-left: 3px solid var(--comtop-oem-orange);
	content: "";
	pointer-events: none;
}

.comtop-oem-visual img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--comtop-oem-border);
	box-shadow: 0 24px 55px rgba(0, 19, 48, .14);
}

.comtop-oem-factory-stat {
	margin-top: 26px;
	padding-top: 26px;
	border-top: 1px solid var(--comtop-oem-text);
}

.comtop-oem-factory-stat h3 {
	color: var(--comtop-oem-navy);
	font-size: clamp(32px, 4vw, 48px);
	letter-spacing: -.04em;
}

.comtop-oem-factory-stat p {
	margin-top: 7px;
	color: var(--comtop-oem-muted);
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.comtop-oem-catalogs {
	padding-block: clamp(66px, 9vw, 104px);
	background: var(--comtop-oem-navy);
	color: #fff;
}

.comtop-oem-catalog-heading {
	max-width: 680px;
	margin-bottom: 38px;
}

.comtop-oem-catalog-heading h2,
.comtop-oem-video-heading h2 {
	margin-top: 18px;
	font-size: clamp(34px, 4.6vw, 54px);
	letter-spacing: -.04em;
}

.comtop-oem-catalog-heading h2 {
	color: #fff;
}

.comtop-oem-catalog-heading .comtop-oem-heading-copy {
	margin-top: 15px;
}

.comtop-oem-catalog-heading .comtop-oem-heading-copy p {
	color: rgba(255, 255, 255, .74);
}

.comtop-oem-catalog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.comtop-oem-catalog-card {
	display: flex;
	min-height: 172px;
	padding: 28px;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid rgba(255, 255, 255, .24);
	background: rgba(255, 255, 255, .05);
	transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.comtop-oem-catalog-card:hover {
	transform: translateY(-3px);
	border-color: var(--comtop-oem-orange);
	background: rgba(255, 255, 255, .08);
}

.comtop-oem-catalog-card .comtop-oem-card-label p {
	color: var(--comtop-oem-orange);
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.comtop-oem-catalog-card h3 {
	margin-top: 12px;
	color: #fff;
	font-size: 25px;
	text-transform: uppercase;
}

.comtop-oem-catalog-card .elementor-button-wrapper {
	margin-top: 32px;
	text-align: left;
}

.comtop-oem-catalog-card .elementor-button {
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.comtop-oem-video {
	padding-block: clamp(66px, 9vw, 104px);
}

.comtop-oem-video-heading {
	max-width: 760px;
	margin-bottom: 38px;
}

.comtop-oem-video-heading h2 {
	color: var(--comtop-oem-text);
}

.comtop-oem-video-heading .comtop-oem-heading-copy {
	margin-top: 15px;
}

.comtop-oem-video-poster {
	position: relative;
	display: grid;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	place-items: center;
	background-color: var(--comtop-oem-navy);
	background-position: center;
	background-size: cover;
	color: #fff;
	text-decoration: none;
}

.comtop-oem-video-poster::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0, 27, 67, .64);
	content: "";
	transition: background-color .25s ease;
}

.comtop-oem-video-poster:hover::after {
	background: rgba(0, 27, 67, .54);
}

.comtop-oem-video-content {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
	justify-items: center;
	text-align: center;
}

.comtop-oem-video-play .elementor-icon {
	display: grid;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	place-items: center;
	background: var(--comtop-oem-orange);
	box-shadow: 0 14px 34px rgba(0, 19, 48, .35);
	color: #fff;
	font-size: 22px;
}

.comtop-oem-video-content h3 {
	color: #fff;
	font-size: clamp(22px, 3vw, 32px);
}

.comtop-oem-video-label p {
	color: #fff;
	font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

@media (max-width: 820px) {
	.comtop-oem-grid,
	.comtop-oem-grid-reverse,
	.comtop-oem-catalog-grid {
		grid-template-columns: 1fr;
	}

	.comtop-oem-factories .comtop-oem-copy {
		order: 1;
	}

	.comtop-oem-factories .comtop-oem-factory-media {
		order: 2;
	}

	.comtop-oem-hero::after {
		background: rgba(0, 27, 67, .78);
	}

	.comtop-oem-hero-copy {
		max-width: 34rem;
	}
}

@media (max-width: 620px) {
	.comtop-oem-hero {
		background-position: 62% center;
	}

	.comtop-oem-hero-title h1 {
		font-size: 48px;
	}

	.comtop-oem-visual::before {
		top: -10px;
		left: -10px;
		width: 54px;
		height: 54px;
	}

	.comtop-oem-catalog-card {
		min-height: 160px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.comtop-oem-page *,
	.comtop-oem-page *::before,
	.comtop-oem-page *::after {
		transition: none !important;
	}
}
