/* Islamic Holding Capital logo: square stacked mark, scale by viewport */

img.logo,
img.brand-logo,
.header-logo-img img,
.elementor-location-header img[src*="logo.png"],
#footer img[src*="logo.png"] {
	height: auto;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
}

/* Homepage desktop nav: keep the bar compact but readable */
header .menu {
	max-height: none;
	min-height: 78px;
	padding: 8px 0;
}

header .menu .container .navbar-brand {
	width: auto;
	max-width: 110px;
	height: auto;
	flex-shrink: 0;
}

header .menu .container img.logo {
	width: auto;
	height: clamp(64px, 8.5vw, 92px);
	max-width: 110px;
}

/* Homepage mobile topbar */
header #topbar img.logo {
	width: auto;
	height: clamp(44px, 13vw, 58px);
	max-width: 72px;
}

header #topbar .brand-sm {
	max-width: 80px;
}

/* Homepage footer */
#footer img.img-responsive[src*="logo.png"],
#footer img.brand-logo {
	width: clamp(128px, 32vw, 196px);
	height: auto;
	margin: 0 auto;
}

/* Inner Elementor pages */
.elementor-location-header img[src*="logo.png"],
.header-logo-img img,
.elementor-image-box-wrapper img[src*="logo.png"] {
	width: auto !important;
	height: clamp(56px, 12vw, 88px) !important;
	max-width: min(160px, 46vw) !important;
}

.elementor-location-header .elementor-image-box-img,
.header-logo-img .elementor-image-box-img {
	width: auto !important;
	max-width: min(160px, 46vw);
}

/* Stop sticky header from swapping in the old Highstrike mark */
#header.elementor-sticky--effects .logo img,
#header-main.elementor-sticky--effects .logo img {
	content: url("../logo.png") !important;
}

/* Footer logos on inner pages */
.elementor-location-footer img[src*="logo.png"],
footer img[src*="logo.png"] {
	width: clamp(120px, 30vw, 180px) !important;
	height: auto !important;
	max-width: 100% !important;
}

@media (max-width: 767px) {
	header .menu .container img.logo {
		height: 64px;
		max-width: 80px;
	}

	.elementor-location-header img[src*="logo.png"],
	.header-logo-img img {
		height: 56px !important;
		max-width: 72px !important;
	}
}
