/* Homepage redesign — scoped. Header/nav chrome stays in bm-local-header. */
.bm-home-redesign {
	--bmc-red: #e10707;
	--bmc-ink: #1a1a1a;
	--bmc-muted: #5c636a;
	--bmc-line: #e6e8eb;
	--bmc-canvas: #f4f5f6;
	--bm-home-pad: 30px;
}

.home.bm-home-redesign .fusion-page-title-bar,
.bm-home-redesign .fusion-page-title-bar {
	display: none !important;
}

.home.bm-home-redesign #main {
	padding: 0 !important;
	background: #fff;
}

.home.bm-home-redesign #content,
.home.bm-home-redesign .post-content {
	margin: 0;
	width: 100%;
	float: none;
}

.bm-home {
	font-family: inherit;
	color: var(--bmc-ink);
}

.bm-home-inner {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--bm-home-pad);
	box-sizing: border-box;
}

.bm-home-heading,
.post-content .bm-home-heading,
.fusion-text .bm-home-heading {
	margin: 0 0 0.4rem;
	padding: 0;
	color: var(--bmc-ink);
	background: none;
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.bm-home-lead,
.post-content .bm-home-lead {
	margin: 0 0 1.6rem;
	max-width: 36rem;
	color: var(--bmc-muted);
	font-size: 1.02rem;
	line-height: 1.5;
}

/* —— Hero —— */
.bm-hero {
	position: relative;
	isolation: isolate;
	min-height: 34rem;
	height: min(36rem, 72vh);
	overflow: hidden;
	background: #111;
	color: #fff;
}

.bm-hero-media,
.bm-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.bm-hero-img {
	object-fit: cover;
	object-position: center 42%;
}

.bm-hero-img--1 { object-position: center 56%; }
.bm-hero-img--2 { object-position: center 34%; }
.bm-hero-img--3 { object-position: center 48%; }
.bm-hero-img--4 { object-position: center 46%; }
.bm-hero-img--5 { object-position: 48% 40%; }
.bm-hero-img--6 { object-position: 50% 42%; }

.bm-hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(8, 8, 8, 0.78) 0%,
		rgba(8, 8, 8, 0.42) 24%,
		rgba(8, 8, 8, 0.12) 48%,
		rgba(8, 8, 8, 0) 70%
	);
}

.bm-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	height: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 2.5rem var(--bm-home-pad) 2.85rem;
	box-sizing: border-box;
}

.bm-hero-title,
.post-content .bm-hero-title {
	margin: 0;
	padding: 0;
	max-width: none;
	color: #fff;
	background: none;
	border: 0;
	font-size: clamp(1.7rem, 1.15vw + 1.9rem, 3rem);
	font-weight: 800;
	letter-spacing: -0.018em;
	line-height: 1.05;
	text-transform: uppercase;
	white-space: nowrap;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
	animation: bm-hero-rise 0.55s ease both;
}

@keyframes bm-hero-rise {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.bm-hero-title,
	.post-content .bm-hero-title {
		animation: none;
	}
}

/* —— News / Facebook —— */
.bm-home-news {
	padding: 3.25rem 0 3.5rem;
	background: #fff;
}

.bm-home-news .bm-fb {
	padding-left: var(--bm-home-pad);
	padding-right: var(--bm-home-pad);
}

.bm-home-news .bm-fb-title,
.post-content .bm-home-news .bm-fb h2.bm-fb-title {
	display: block;
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--bmc-ink);
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* —— Join —— */
.bm-join {
	padding: 3.6rem 0 3.8rem;
	background: #fff;
}

.bm-join-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 1.25rem;
}

.bm-join-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.9rem;
	min-height: 5.75rem;
	padding: 1.15rem 1.05rem 1.15rem 1.25rem;
	background: #fffafa;
	border: 1px solid #f4e8e8;
	border-radius: 12px;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(17, 17, 17, 0.03);
	transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.bm-join-card:hover,
.bm-join-card:focus {
	background: #fff5f5;
	border-color: #f0cfcf;
	color: inherit;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(181, 10, 10, 0.08);
}

.bm-join-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.18rem;
	min-width: 0;
}

.bm-join-title {
	display: block;
	color: var(--bmc-ink);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.bm-join-text {
	display: block;
	color: #6b7178;
	font-size: 0.875rem;
	line-height: 1.35;
}

.bm-join-arrow {
	position: relative;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fdeeee;
	transition: background-color 0.18s ease;
}

.bm-join-arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 46%;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--bmc-red);
	border-top: 2px solid var(--bmc-red);
	transform: translate(-50%, -50%) rotate(45deg);
	transition: border-color 0.18s ease;
}

.bm-join-card:hover .bm-join-arrow,
.bm-join-card:focus .bm-join-arrow {
	background: var(--bmc-red);
}

.bm-join-card:hover .bm-join-arrow::after,
.bm-join-card:focus .bm-join-arrow::after {
	border-color: #fff;
}

.bm-join-card:focus-visible {
	outline: 2px solid var(--bmc-red);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.bm-join-card,
	.bm-join-arrow,
	.bm-join-arrow::after {
		transition: none;
	}

	.bm-join-card:hover,
	.bm-join-card:focus {
		transform: none;
	}
}

/* —— Partners —— */
.bm-partners {
	padding: 3.6rem 0 4.1rem;
	background: #f7f4f4;
	width: 100%;
}

.bm-partners .bm-home-heading {
	font-size: 1.75rem;
}

.bm-partners-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: center;
	justify-items: center;
	gap: 1.8rem 1.4rem;
	margin: 1.15rem 0 0;
	padding: 0.2rem 0 0.4rem;
	list-style: none;
}

.bm-partners-item {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	width: 100%;
}

@media (min-width: 640px) {
	.bm-partners-item:nth-child(6) {
		grid-column: 2;
	}
}

.bm-partners-item a,
.bm-partners-item img {
	display: block;
}

.bm-partners-item img {
	height: 80px;
	width: auto;
	max-width: 210px;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.bm-partners-item a:hover img,
.bm-partners-item a:focus img {
	opacity: 0.85;
	transform: scale(1.04);
}

.bm-partners-item a:focus-visible {
	outline: 2px solid var(--bmc-red);
	outline-offset: 6px;
}

/* —— Footer —— */
.fusion-body .fusion-footer-widget-area {
	display: none !important;
}

.fusion-body .fusion-footer {
	background: #b50a0a;
}

.fusion-body .fusion-footer-copyright-area {
	background: #b50a0a !important;
	border-top: 0;
	padding: 1.25rem 0 1rem !important;
}

.fusion-body .fusion-footer-copyright-area .fusion-row {
	max-width: 1240px;
	width: 100%;
	padding-left: 30px;
	padding-right: 30px;
	box-sizing: border-box;
}

.fusion-body .fusion-copyright-notice,
.fusion-body .fusion-social-links-footer {
	display: none !important;
}

.bm-foot {
	width: 100%;
	color: #fff;
}

.bm-foot-inner {
	max-width: 1080px;
	margin: 0 auto;
}

.bm-foot-top {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: 1.75rem;
	row-gap: 0.7rem;
	margin-bottom: 0.65rem;
}

.bm-foot-brand {
	display: inline-flex;
	align-items: center;
	color: #fff;
	text-decoration: none;
	line-height: 0;
}

.bm-foot-brand img {
	display: block;
	width: 108px;
	height: auto;
	background: #fff;
	padding: 0.28rem 0.45rem;
	border-radius: 4px;
}

.bm-foot-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	justify-self: center;
	gap: 0.2rem 1.2rem;
}

.bm-foot-nav a {
	color: #fff;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	text-underline-offset: 0.22em;
}

.bm-foot-nav a:hover,
.bm-foot-nav a:focus {
	color: #fff;
	text-decoration: underline;
	opacity: 0.88;
}

.bm-foot-social {
	display: flex;
	align-items: center;
	gap: 0.2rem;
}

.bm-foot-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
}

.bm-foot-social-link svg {
	display: block;
	width: 20px;
	height: 20px;
}

.bm-foot-social-link:hover,
.bm-foot-social-link:focus {
	color: #ffe1e1;
	background: rgba(255, 255, 255, 0.1);
}

.bm-foot-copy {
	margin: 0;
	padding-top: 0.6rem;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.84rem;
}

.bm-foot-copy a {
	color: rgba(255, 255, 255, 0.86);
	text-decoration: none;
}

.bm-foot-copy a:hover,
.bm-foot-copy a:focus {
	color: #fff;
}

.bm-foot-nav a:focus-visible,
.bm-foot-brand:focus-visible,
.bm-foot-social-link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	.bm-join-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 800px) {
	.bm-hero {
		min-height: 26rem;
		height: min(30rem, 78vh);
	}

	.bm-hero-inner {
		padding: 2rem 1rem 2.5rem;
	}

	.bm-hero-title,
	.post-content .bm-hero-title {
		white-space: normal;
		max-width: 14em;
		font-size: clamp(1.85rem, 4.4vw, 2.25rem);
		line-height: 1.08;
		letter-spacing: -0.015em;
	}

	.bm-hero-img--1 { object-position: center 50%; }
	.bm-hero-img--2 { object-position: center 38%; }
	.bm-hero-img--5 { object-position: 46% 42%; }
	.bm-hero-img--6 { object-position: 48% 44%; }

	.bm-home-news,
	.bm-join,
	.bm-partners {
		padding: 2.3rem 0 2.5rem;
	}

	.bm-home-inner,
	.bm-home-news .bm-fb {
		padding-left: 16px;
		padding-right: 16px;
	}

	.fusion-body .fusion-footer-copyright-area .fusion-row {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (max-width: 800px) {
	.bm-partners-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.15rem 0.9rem;
		margin-top: 1rem;
	}

	.bm-partners-item {
		min-height: 84px;
	}

	.bm-partners-item img {
		height: 64px;
		max-width: 160px;
		mix-blend-mode: normal;
	}

	.fusion-body .fusion-footer-copyright-area {
		padding: 1.55rem 0 1.35rem !important;
	}

	.bm-foot-top {
		grid-template-columns: 1fr;
		grid-template-areas: none;
		justify-items: center;
		row-gap: 1rem;
		margin-bottom: 0.85rem;
	}

	.bm-foot-brand {
		grid-area: auto;
	}

	.bm-foot-brand img {
		width: 100px;
		padding: 0.3rem 0.5rem;
	}

	.bm-foot-nav {
		grid-area: auto;
		justify-self: center;
		justify-content: center;
		gap: 0.15rem 1.05rem;
		max-width: 22rem;
	}

	.bm-foot-nav a {
		display: inline-flex;
		align-items: center;
		min-height: 40px;
		font-size: 0.94rem;
	}

	.bm-foot-social {
		grid-area: auto;
		justify-self: center;
		gap: 0.35rem;
	}

	.bm-foot-social-link {
		width: 40px;
		height: 40px;
	}

	.bm-foot-copy {
		text-align: center;
		padding-top: 0.85rem;
		padding-right: 3.25rem;
		line-height: 1.5;
	}
}

@media (min-width: 640px) and (max-width: 800px) {
	.bm-partners-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 1.1rem 0.75rem;
	}

	.bm-partners-item {
		min-height: 64px;
	}

	.bm-partners-item img {
		height: 52px;
		max-width: 118px;
	}
}

@media (max-width: 600px) {
	.bm-join-grid {
		grid-template-columns: 1fr;
	}

	.bm-foot-copy {
		padding-right: 3.25rem;
	}
}
