.mmracing-company-profile-page .content {
	overflow: hidden;
	padding-bottom: 30px;
}

.company-profile-layout {
	color: #171717;
	font-size: 16px;
	line-height: 1.7;
}

.company-profile-layout h2,
.company-profile-layout h3,
.company-profile-layout p,
.company-profile-layout span,
.company-profile-layout strong {
	opacity: 1;
}

.company-profile-hero {
	position: relative;
	overflow: hidden;
	margin: 4px 0 38px;
	padding: 34px;
	background:
		linear-gradient(115deg, rgba(13, 14, 17, .98), rgba(35, 38, 43, .96)),
		radial-gradient(circle at 88% 15%, rgba(207, 39, 53, .42), transparent 38%);
	border-left: 5px solid #cf2735;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.company-profile-hero::after {
	position: absolute;
	right: -80px;
	top: -110px;
	width: 310px;
	height: 310px;
	border: 46px solid rgba(207, 39, 53, .1);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.company-profile-hero h2,
.company-profile-hero p,
.company-profile-hero strong,
.company-profile-hero span {
	position: relative;
	z-index: 1;
	color: #fff !important;
}

.company-profile-hero h2 {
	max-width: 610px;
	margin: 3px 0 13px;
	font-size: 33px;
	line-height: 1.1;
}

.company-profile-hero > p:not(.company-profile-eyebrow) {
	max-width: 650px;
	margin: 0;
	color: #e4e4e4 !important;
}

.company-profile-eyebrow {
	margin: 0 0 6px;
	color: #ef4050 !important;
	font-family: NimbusSanConD-Bol, Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.company-profile-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 25px;
}

.company-profile-facts > div {
	position: relative;
	z-index: 1;
	min-width: 150px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
}

.company-profile-facts strong,
.company-profile-facts span {
	display: block;
}

.company-profile-facts strong {
	color: #ef4050 !important;
	font-family: NimbusSanConD-Bol, Arial, sans-serif;
	font-size: 28px;
	line-height: 1;
}

.company-profile-facts span {
	margin-top: 5px;
	color: #ddd !important;
	font-size: 13px;
}

.company-profile-history > h2 {
	margin: 0 0 24px;
	color: #cf2735 !important;
	font-size: 28px;
}

.company-profile-history-content {
	position: relative;
	padding-left: 30px;
}

.company-profile-history-content::before {
	position: absolute;
	left: 5px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: linear-gradient(#cf2735, #ececec);
	content: "";
}

.company-profile-history-content > p {
	position: relative;
	margin: 0 0 20px;
	padding: 18px 20px;
	background: #f5f5f5;
	border: 1px solid #e4e4e4;
	color: #171717 !important;
}

.company-profile-history-content > p::before {
	position: absolute;
	left: -31px;
	top: 23px;
	width: 12px;
	height: 12px;
	background: #cf2735;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #cf2735;
	content: "";
}

.company-profile-history-content > p:has(img) {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 130px;
	padding: 18px;
	background: #fff;
}

.company-profile-history-content > a:has(img) {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 130px;
	margin: 0 0 20px;
	padding: 18px;
	background: #fff;
	border: 1px solid #e4e4e4;
}

.company-profile-history-content > a:has(img)::before {
	position: absolute;
	left: -31px;
	top: 23px;
	width: 12px;
	height: 12px;
	background: #cf2735;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #cf2735;
	content: "";
}

.company-profile-history-content p a:has(img) {
	display: block;
	width: 100%;
	text-align: center;
}

.company-profile-history-content img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 170px;
	margin: 0 auto;
	object-fit: contain;
}

.company-profile-history-content .company-profile-logo-caption {
	margin: -21px 0 24px;
	padding: 7px 12px;
	background: #202328;
	border: 0;
	color: #fff !important;
	font-size: 12px;
	letter-spacing: .04em;
	text-align: center;
	text-transform: uppercase;
}

.company-profile-history-content .company-profile-logo-caption::before {
	display: none;
}

.company-profile-history-content a:not(.btn) {
	color: #9f1f2b;
}

.company-profile-technology {
	margin-top: 44px;
}

.company-profile-technology > h2 {
	margin: 4px 0 24px;
	color: #171717 !important;
	font-size: 30px;
	line-height: 1.15;
}

.company-profile-milestones {
	display: grid;
	gap: 18px;
}

.company-profile-milestone {
	display: grid;
	grid-template-columns: 105px minmax(0, 1fr);
	gap: 24px;
	padding: 25px 27px;
	background: #f5f5f5;
	border: 1px solid #e2e2e2;
	border-left: 5px solid #cf2735;
}

.company-profile-milestone-featured {
	background: linear-gradient(120deg, #15171a, #25282d);
	border-color: #25282d;
}

.company-profile-year {
	align-self: start;
	color: #cf2735 !important;
	font-family: NimbusSanConD-Bol, Arial, sans-serif;
	font-size: 39px;
	font-weight: 700;
	line-height: 1;
}

.company-profile-milestone h3 {
	margin: -3px 0 10px;
	color: #171717 !important;
	font-size: 23px;
	line-height: 1.2;
}

.company-profile-milestone p {
	margin: 0 0 12px;
	color: #242424 !important;
}

.company-profile-milestone p:last-child {
	margin-bottom: 0;
}

.company-profile-milestone-featured h3,
.company-profile-milestone-featured p {
	color: #fff !important;
}

.company-profile-text-link {
	display: inline-block;
	margin-top: 4px;
	color: #ef4050 !important;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.company-profile-text-link:hover,
.company-profile-text-link:focus {
	color: #fff !important;
}

.company-profile-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 34px;
	padding: 24px 26px;
	background: #f2f2f2;
	border-left: 5px solid #cf2735;
}

.company-profile-cta h2 {
	margin: 0;
	color: #171717 !important;
	font-size: 25px;
}

.company-profile-cta .btn {
	flex: 0 0 auto;
	padding: 11px 17px;
	color: #fff !important;
	font-weight: 700;
	white-space: normal;
}

@media (max-width: 767px) {
	.mmracing-company-profile-page .content {
		padding-left: 18px;
		padding-right: 18px;
	}

	.company-profile-hero {
		padding: 25px 20px;
	}

	.company-profile-hero h2 {
		font-size: 27px;
	}

	.company-profile-facts > div {
		flex: 1 1 125px;
		min-width: 0;
	}

	.company-profile-history-content {
		padding-left: 23px;
	}

	.company-profile-history-content > p {
		padding: 15px;
	}

	.company-profile-history-content > p::before {
		left: -24px;
	}

	.company-profile-history-content > a:has(img)::before {
		left: -24px;
	}

	.company-profile-history-content .company-profile-logo-caption {
		margin-top: -21px;
	}

	.company-profile-technology {
		margin-top: 34px;
	}

	.company-profile-technology > h2 {
		font-size: 26px;
	}

	.company-profile-milestone {
		display: block;
		padding: 21px 18px;
	}

	.company-profile-year {
		margin-bottom: 12px;
		font-size: 35px;
	}

	.company-profile-milestone h3 {
		font-size: 21px;
	}

	.company-profile-cta {
		display: block;
		padding: 21px;
	}

	.company-profile-cta .btn {
		display: block;
		width: 100%;
		margin-top: 18px;
	}
}

@media (max-width: 420px) {
	.company-profile-facts {
		display: block;
	}

	.company-profile-facts > div + div {
		margin-top: 9px;
	}
}
