/* Local BWF Code of Conduct page — scoped so Avada chrome stays unchanged. */
.bmc-doc {
	--bmc-red: #e10707;
	--bmc-ink: #1a1a1a;
	--bmc-muted: #5c636a;
	--bmc-line: #e4e7eb;
	--bmc-bg: #f6f7f9;
	box-sizing: border-box;
	max-width: 44rem;
	margin: 0 0 2.75rem;
	font-family: inherit;
	color: var(--bmc-ink);
	line-height: 1.65;
}

.bmc-doc *,
.bmc-doc *::before,
.bmc-doc *::after {
	box-sizing: border-box;
}

.fusion-text .bmc-doc p,
.fusion-text .bmc-doc h2,
.fusion-text .bmc-doc h3,
.fusion-text .bmc-doc ol,
.fusion-text .bmc-doc li,
.post-content .bmc-doc p,
.post-content .bmc-doc h2,
.post-content .bmc-doc h3 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
}

.bmc-doc-source,
.fusion-text .bmc-doc p.bmc-doc-source {
	margin: 0 0 0.2rem;
	color: var(--bmc-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.bmc-doc-meta,
.fusion-text .bmc-doc p.bmc-doc-meta {
	margin: 0 0 0.9rem;
	color: var(--bmc-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.bmc-doc-actions,
.fusion-text .bmc-doc p.bmc-doc-actions {
	margin: 0 0 1.5rem;
}

.bmc-doc-download {
	display: inline-flex;
	align-items: center;
	padding: 0.32rem 0.75rem;
	border: 1px solid var(--bmc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bmc-ink);
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
}

.bmc-doc-download:hover,
.bmc-doc-download:focus {
	border-color: var(--bmc-red);
	color: var(--bmc-red);
	text-decoration: none;
}

.bmc-doc-toc {
	margin: 0 0 1.85rem;
	padding: 0.85rem 1rem 0.95rem;
	background: var(--bmc-bg);
	border: 1px solid var(--bmc-line);
	border-radius: 10px;
}

.bmc-doc-toc-label,
.fusion-text .bmc-doc p.bmc-doc-toc-label {
	margin: 0 0 0.45rem;
	color: var(--bmc-ink);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bmc-doc-toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bmc-doc-toc ol ol {
	margin: 0.2rem 0 0.35rem;
	padding: 0 0 0 1.05rem;
}

.bmc-doc-toc li {
	margin: 0.16rem 0;
	color: var(--bmc-ink);
	font-size: 0.92rem;
	line-height: 1.4;
}

.bmc-doc-toc a {
	color: var(--bmc-ink);
	text-decoration: none;
}

.bmc-doc-toc a:hover,
.bmc-doc-toc a:focus {
	color: var(--bmc-red);
	text-decoration: underline;
}

.bmc-doc-section {
	margin: 0 0 1.75rem;
	scroll-margin-top: 6.5rem;
}

.bmc-doc-h2,
.bmc-doc-h3,
.bmc-doc-clause,
.bmc-doc-lead {
	scroll-margin-top: 6.5rem;
}

.fusion-text .bmc-doc h2.bmc-doc-h2,
.post-content .bmc-doc h2.bmc-doc-h2,
.bmc-doc-h2 {
	display: block;
	margin: 0 0 0.85rem;
	padding: 0 0 0.4rem;
	border-bottom: 2px solid var(--bmc-red);
	color: var(--bmc-ink);
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
}

.fusion-text .bmc-doc h3.bmc-doc-h3,
.post-content .bmc-doc h3.bmc-doc-h3,
.bmc-doc-h3 {
	display: block;
	margin: 1.25rem 0 0.65rem;
	padding: 0;
	border: 0;
	color: var(--bmc-ink);
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.35;
}

.bmc-doc-hnum {
	margin-right: 0.28rem;
	color: var(--bmc-red);
}

.bmc-doc-lead,
.fusion-text .bmc-doc p.bmc-doc-lead {
	margin: 0 0 0.75rem;
	color: var(--bmc-ink);
	font-size: 1.02rem;
	line-height: 1.65;
}

.bmc-doc-clause {
	display: grid;
	grid-template-columns: 3.6rem minmax(0, 1fr);
	gap: 0.35rem 0.7rem;
	margin: 0 0 0.7rem;
	align-items: start;
}

.bmc-doc-num {
	padding-top: 0.12rem;
	color: var(--bmc-muted);
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.45;
	font-variant-numeric: tabular-nums;
}

.bmc-doc-body p,
.fusion-text .bmc-doc .bmc-doc-body p {
	margin: 0 0 0.55rem;
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--bmc-ink);
}

.bmc-doc-body p:last-child,
.fusion-text .bmc-doc .bmc-doc-body p:last-child {
	margin-bottom: 0;
}

@media (max-width: 640px) {
	.bmc-doc-clause {
		grid-template-columns: 3.15rem minmax(0, 1fr);
		gap: 0.25rem 0.5rem;
	}

	.bmc-doc-num {
		font-size: 0.82rem;
	}

	.bmc-doc-lead,
	.bmc-doc-body p,
	.fusion-text .bmc-doc p.bmc-doc-lead,
	.fusion-text .bmc-doc .bmc-doc-body p {
		font-size: 1rem;
	}

	.fusion-text .bmc-doc h2.bmc-doc-h2,
	.bmc-doc-h2 {
		font-size: 1.05rem;
	}
}
