/* HW Egypt Brand Manager – inherits theme fonts and colours. Override any value in the theme's Custom CSS. */
.hwe-bm-logo {
	margin: 0 0 1.25rem;
}
.hwe-bm-logo-img {
	max-width: 160px;
	height: auto;
}
.hwe-bm-grid {
	margin: 0 0 2rem;
}
.hwe-bm-grid ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
	.hwe-bm-grid ul {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.hwe-bm-grid ul {
		grid-template-columns: repeat(var(--hwe-bm-cols, 6), minmax(0, 1fr));
	}
}
.hwe-bm-grid li {
	margin: 0;
	padding: 0;
}
.hwe-bm-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	height: 100%;
	padding: 1rem 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-align: center;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hwe-bm-card:hover,
.hwe-bm-card:focus-visible {
	border-color: currentColor;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.hwe-bm-card:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.hwe-bm-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 140px;
}
.hwe-bm-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.hwe-bm-initial {
	font-size: 2.5rem;
	font-weight: 700;
	opacity: 0.35;
}
.hwe-bm-name {
	font-weight: 600;
	line-height: 1.3;
}
.hwe-bm-count {
	font-size: 0.85em;
	opacity: 0.7;
}
