/**
 * Homepage horizontal brand logo strip (MA-31 / MA-32 / MA-34).
 * Marker class: .mega888-home-logos
 *
 * Sits directly above the hero H1 inside the Elementor hero.
 * Specificity beats Elementor / ElementsKit heading alignment and
 * `.elementor img { height:auto; max-width:100% }`.
 * Always one horizontal row (nowrap). No underline separator.
 */
.elementor .mega888-home-logos,
.mega888-home-logos {
	--hl-img-h: 68px;
	display: flex !important;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 14px !important;
	padding: 8px 16px 2px;
	box-sizing: border-box;
	background: transparent;
	border: 0 !important;
	border-bottom: 0 !important;
	text-align: center !important;
	float: none !important;
}

.elementor .mega888-home-logos .mega888-home-logos__list,
.mega888-home-logos__list {
	display: inline-flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: center !important;
	gap: clamp(20px, 4.5vw, 52px);
	margin: 0 auto !important;
	padding: 0 !important;
	max-width: 100%;
	width: auto !important;
	list-style: none;
	float: none !important;
	text-align: center !important;
}

.mega888-home-logos__item {
	margin: 0 !important;
	padding: 0;
	line-height: 0;
	flex: 0 0 auto;
	min-width: 0;
	float: none !important;
}

.elementor .mega888-home-logos .mega888-home-logos__img,
.mega888-home-logos .mega888-home-logos__img {
	display: block;
	width: auto !important;
	max-width: min(190px, 30vw) !important;
	height: var(--hl-img-h) !important;
	max-height: var(--hl-img-h) !important;
	object-fit: contain !important;
	margin-left: auto !important;
	margin-right: auto !important;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

@media (max-width: 767px) {
	.elementor .mega888-home-logos,
	.mega888-home-logos {
		--hl-img-h: 44px;
		padding: 6px 12px 2px;
		margin-bottom: 10px !important;
	}

	.elementor .mega888-home-logos .mega888-home-logos__list,
	.mega888-home-logos__list {
		gap: 12px 18px;
	}

	.elementor .mega888-home-logos .mega888-home-logos__img,
	.mega888-home-logos .mega888-home-logos__img {
		max-width: min(120px, 29vw) !important;
	}
}

@media (max-width: 380px) {
	.elementor .mega888-home-logos,
	.mega888-home-logos {
		--hl-img-h: 36px;
	}

	.elementor .mega888-home-logos .mega888-home-logos__img,
	.mega888-home-logos .mega888-home-logos__img {
		max-width: min(100px, 28vw) !important;
	}
}
