/*
 * Chenaraa Driver Profile UI
 * Public styles are completely scoped to .cdp-shell to avoid theme and
 * Ultimate Member selector collisions.
 */

@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 400;
	src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 500;
	src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 600;
	src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 700;
	src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}

body.cdp-profile-active {
	background: #0b0c0d;
}

body.cdp-profile-active .entry-title {
	display: none;
}

.cdp-shell,
.cdp-shell *,
.cdp-shell *::before,
.cdp-shell *::after {
	box-sizing: border-box;
}

.cdp-shell {
	--cdp-bg: #0b0c0d;
	--cdp-card: #171819;
	--cdp-card-deep: #141516;
	--cdp-border: #2c2e30;
	--cdp-border-hover: #44474a;
	--cdp-red: #e02832;
	--cdp-red-dark: #b91f28;
	--cdp-white: #f7f7f5;
	--cdp-body: #d4d4d1;
	--cdp-muted: #aaa9a5;
	--cdp-dim: #747572;
	--cdp-radius: 7px;
	--cdp-gap: clamp(18px, 2.25vw, 28px);
	--cdp-heading: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
	--cdp-copy: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	overflow: clip;
	color: var(--cdp-white);
	background:
		radial-gradient(circle at 84% -12%, rgba(224, 40, 50, 0.075), transparent 31rem),
		var(--cdp-bg);
	color-scheme: dark;
	font-family: var(--cdp-copy);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.cdp-shell a {
	color: inherit;
	text-decoration: none;
}

.cdp-shell img,
.cdp-shell svg {
	display: block;
}

.cdp-shell .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cdp-profile {
	width: min(100%, 1440px);
	margin: 0 auto;
	padding: clamp(22px, 2.25vw, 34px) clamp(20px, 2.5vw, 36px) clamp(52px, 5vw, 78px);
}

.cdp-header {
	display: grid;
	grid-template-columns: clamp(120px, 15vw, 162px) minmax(0, 1fr);
	gap: clamp(24px, 2.8vw, 38px);
	align-items: center;
	min-height: 154px;
	margin: 0 0 clamp(18px, 2vw, 26px);
	padding: 0 clamp(4px, 0.5vw, 8px);
}

.cdp-avatar {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.17);
	border-radius: 50%;
	background: #262728;
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.cdp-avatar img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
}

.cdp-header-content {
	min-width: 0;
}

.cdp-title-row {
	display: flex;
	gap: 22px;
	align-items: center;
	justify-content: space-between;
}

.cdp-driver-name {
	display: flex;
	gap: 12px;
	align-items: center;
	min-width: 0;
	margin: 0;
	color: var(--cdp-white);
	font-family: var(--cdp-heading);
	font-size: clamp(2.75rem, 5.1vw, 4.5rem);
	font-weight: 700;
	line-height: 0.94;
	letter-spacing: 0.018em;
	text-transform: uppercase;
	text-wrap: balance;
}

.cdp-verified {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: #fff;
	background: var(--cdp-red);
	box-shadow: 0 0 0 4px rgba(224, 40, 50, 0.13);
}

.cdp-verified .cdp-icon {
	width: 14px;
	height: 14px;
	stroke-width: 2.5;
}

.cdp-edit-button {
	display: inline-flex;
	flex: 0 0 auto;
	gap: 8px;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid var(--cdp-border);
	border-radius: 5px;
	color: var(--cdp-body);
	background: rgba(255, 255, 255, 0.035);
	font-size: 0.8125rem;
	font-weight: 650;
	line-height: 1;
	transition:
		border-color 160ms ease,
		background-color 160ms ease,
		color 160ms ease;
}

.cdp-edit-button:hover,
.cdp-edit-button:focus-visible {
	border-color: var(--cdp-red);
	color: #fff;
	background: rgba(224, 40, 50, 0.12);
}

.cdp-edit-button .cdp-icon {
	width: 16px;
	height: 16px;
}

.cdp-header-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	align-items: center;
	margin: clamp(16px, 2vw, 24px) 0 0;
	padding: 0;
	list-style: none;
	color: var(--cdp-body);
	font-size: clamp(0.94rem, 1.45vw, 1.125rem);
	font-weight: 500;
	line-height: 1.35;
}

.cdp-header-meta > li {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	min-height: 26px;
	margin: 4px 0;
	padding: 0 clamp(16px, 2.2vw, 27px);
}

.cdp-header-meta > li:first-child {
	padding-left: 0;
}

.cdp-header-meta > li + li {
	border-left: 2px solid var(--cdp-red);
}

.cdp-header-meta .cdp-icon {
	width: 21px;
	height: 21px;
	color: #d6d6d3;
	stroke-width: 1.7;
}

.cdp-country-flag {
	font-size: 1.15em;
	line-height: 1;
}

.cdp-header-disciplines {
	min-width: 0;
}

.cdp-discipline-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cdp-discipline-list li {
	margin: 0;
	border: 1px solid rgba(224, 40, 50, 0.32);
	border-radius: 999px;
	color: #f3d8d9;
	background: rgba(224, 40, 50, 0.09);
	font-family: var(--cdp-copy);
	font-weight: 600;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.cdp-discipline-list--header {
	min-width: 0;
}

.cdp-discipline-list--header li {
	padding: 4px 9px;
	font-size: 0.74rem;
	line-height: 1.2;
}

.cdp-card {
	position: relative;
	margin: 0 0 var(--cdp-gap);
	padding: clamp(20px, 2.1vw, 27px);
	border: 1px solid var(--cdp-border);
	border-radius: var(--cdp-radius);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.017), transparent 45%),
		var(--cdp-card);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.09);
}

.cdp-section-title {
	margin: 0;
	color: var(--cdp-white);
	font-family: var(--cdp-heading);
	font-size: clamp(1.25rem, 1.75vw, 1.5rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.cdp-section-rule {
	width: 49px;
	height: 2px;
	margin: 13px 0 clamp(12px, 1.4vw, 18px);
	background: var(--cdp-red);
	box-shadow: 0 0 12px rgba(224, 40, 50, 0.14);
}

.cdp-biography {
	min-height: 118px;
}

.cdp-biography-copy {
	max-width: 1050px;
	color: var(--cdp-body);
	font-size: clamp(0.93rem, 1.35vw, 1.0625rem);
	line-height: 1.72;
}

.cdp-biography-copy > :first-child {
	margin-top: 0;
}

.cdp-biography-copy > :last-child {
	margin-bottom: 0;
}

.cdp-biography-copy a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--cdp-red);
	text-underline-offset: 3px;
}

.cdp-facts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--cdp-gap);
	margin: 0 0 var(--cdp-gap);
}

.cdp-facts-grid .cdp-card {
	height: 100%;
	min-height: 222px;
	margin: 0;
}

.cdp-fact-list {
	display: grid;
	gap: 18px;
	margin: 0;
}

.cdp-fact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	min-height: 29px;
	margin: 0;
}

.cdp-fact dt {
	display: flex;
	gap: 12px;
	align-items: center;
	min-width: 0;
	margin: 0;
	color: var(--cdp-muted);
	font-size: clamp(0.86rem, 1.2vw, 1rem);
	font-weight: 400;
	line-height: 1.3;
}

.cdp-fact dt .cdp-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: #d7d7d4;
}

.cdp-fact dd {
	min-width: 0;
	max-width: 12rem;
	margin: 0;
	overflow-wrap: anywhere;
	color: var(--cdp-white);
	font-family: var(--cdp-heading);
	font-size: clamp(0.95rem, 1.25vw, 1.08rem);
	font-weight: 700;
	line-height: 1.2;
	text-align: right;
}

.cdp-fact dd.cdp-discipline-value {
	max-width: 15rem;
}

.cdp-discipline-list--facts {
	justify-content: flex-end;
}

.cdp-discipline-list--facts li {
	padding: 4px 8px;
	font-size: 0.72rem;
	line-height: 1.2;
}

.cdp-partnership-status {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	justify-content: flex-end;
	max-width: 12.5rem;
	padding: 5px 8px;
	border: 1px solid var(--cdp-border);
	border-radius: 999px;
	color: var(--cdp-body);
	background: rgba(255, 255, 255, 0.035);
	font-family: var(--cdp-copy);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
	text-transform: uppercase;
}

.cdp-partnership-status > span {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cdp-dim);
	box-shadow: 0 0 0 3px rgba(116, 117, 114, 0.13);
}

.cdp-partnership-status.is-available {
	border-color: rgba(62, 193, 117, 0.36);
	color: #b8e8ca;
	background: rgba(62, 193, 117, 0.09);
}

.cdp-partnership-status.is-available > span {
	background: #3ec175;
	box-shadow: 0 0 0 3px rgba(62, 193, 117, 0.14);
}

.cdp-partnership-status.is-unavailable {
	border-color: rgba(224, 40, 50, 0.33);
	color: #efc4c7;
	background: rgba(224, 40, 50, 0.08);
}

.cdp-partnership-status.is-unavailable > span {
	background: var(--cdp-red);
	box-shadow: 0 0 0 3px rgba(224, 40, 50, 0.13);
}

.cdp-media-card {
	overflow: hidden;
	padding: clamp(21px, 2.3vw, 29px) clamp(16px, 1.6vw, 23px);
}

.cdp-media-card > .cdp-section-title,
.cdp-media-card > .cdp-section-rule {
	margin-left: 5px;
}

.cdp-media-card > .cdp-section-rule {
	margin-bottom: clamp(17px, 2vw, 23px);
}

.cdp-photo-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(10px, 1.15vw, 15px);
}

.cdp-photo-grid a {
	position: relative;
	display: block;
	min-width: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 5px;
	background: #242526;
	isolation: isolate;
	transition:
		border-color 180ms ease,
		transform 180ms ease;
}

.cdp-photo-grid a::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, 0.16));
	pointer-events: none;
}

.cdp-shell .cdp-photo-grid > a > img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
	transition: transform 260ms ease;
}

.cdp-photo-grid a:hover,
.cdp-photo-grid a:focus-visible {
	z-index: 1;
	border-color: rgba(255, 255, 255, 0.34);
	outline: 0;
	transform: translateY(-2px);
}

.cdp-photo-grid a:hover img,
.cdp-photo-grid a:focus-visible img {
	transform: scale(1.02);
}

.cdp-video-list {
	display: grid;
	gap: 24px;
}

.cdp-video-row {
	display: grid;
	grid-template-columns: minmax(0, 61%) minmax(180px, 1fr);
	gap: clamp(24px, 3vw, 40px);
	align-items: start;
	margin: 0;
}

.cdp-video-row + .cdp-video-row {
	padding-top: 25px;
	border-top: 1px solid var(--cdp-border);
}

.cdp-video-player {
	position: relative;
	width: 100%;
	aspect-ratio: 18 / 7;
	overflow: hidden;
	border: 1px solid #303234;
	border-radius: 5px;
	background: #050505;
}

.cdp-video-player iframe,
.cdp-video-player video,
.cdp-video-player .wp-video,
.cdp-video-player .mejs-container,
.cdp-video-player > div {
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	border: 0;
}

.cdp-video-player iframe,
.cdp-video-player video {
	position: absolute;
	inset: 0;
}

.cdp-video-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	background: linear-gradient(135deg, #1f2021, #0a0a0b);
	font-weight: 700;
}

.cdp-video-details {
	padding-top: clamp(4px, 1vw, 12px);
}

.cdp-video-details h3 {
	margin: 0 0 2px;
	color: var(--cdp-white);
	font-family: var(--cdp-copy);
	font-size: clamp(1.05rem, 1.7vw, 1.3rem);
	font-weight: 700;
	line-height: 1.35;
}

.cdp-video-details p {
	margin: 0;
	color: var(--cdp-muted);
	font-size: 0.92rem;
}

.cdp-related-card {
	margin-bottom: 0;
}

.cdp-related-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 1.75vw, 22px);
}

.cdp-related-driver {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--cdp-border);
	border-radius: 5px;
	background: #101112;
	transition:
		border-color 170ms ease,
		transform 170ms ease;
}

.cdp-related-driver:hover,
.cdp-related-driver:focus-visible {
	border-color: var(--cdp-border-hover);
	outline: 0;
	transform: translateY(-3px);
}

.cdp-related-photo {
	position: relative;
	flex: 0 0 auto;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-bottom: 1px solid var(--cdp-border);
	background:
		radial-gradient(circle at 50% 42%, rgba(224, 40, 50, 0.11), transparent 52%),
		#18191a;
}

.cdp-shell .cdp-related-photo > img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
}

.cdp-related-driver:hover .cdp-related-photo img,
.cdp-related-driver:focus-visible .cdp-related-photo img {
	transform: none;
}

.cdp-related-info {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-height: 96px;
	padding: 13px 15px 14px;
	background: #101112;
}

.cdp-related-info h3 {
	margin: 0;
	color: var(--cdp-white);
	font-family: var(--cdp-heading);
	font-size: clamp(1.02rem, 1.35vw, 1.18rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.cdp-related-disciplines {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.cdp-related-disciplines li {
	margin: 0;
	padding: 3px 6px;
	border: 1px solid #303234;
	border-radius: 999px;
	color: var(--cdp-muted);
	background: rgba(255, 255, 255, 0.025);
	font-size: 0.67rem;
	font-weight: 600;
	line-height: 1.2;
}

.cdp-related-disciplines .cdp-related-disciplines__more {
	border-color: rgba(224, 40, 50, 0.28);
	color: #efc4c7;
	background: rgba(224, 40, 50, 0.07);
}

.cdp-private-notice {
	max-width: 780px;
	margin: 8vh auto;
	padding: 24px;
	border: 1px solid var(--cdp-border);
	border-radius: var(--cdp-radius);
	color: var(--cdp-body);
	background: var(--cdp-card);
	text-align: center;
}

.cdp-icon {
	flex: 0 0 auto;
}

@media (max-width: 920px) {
	.cdp-facts-grid {
		grid-template-columns: 1fr;
	}

	.cdp-facts-grid .cdp-card {
		min-height: 0;
	}

	.cdp-fact-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px;
	}

	.cdp-fact {
		display: flex;
		flex-direction: column;
		gap: 9px;
		align-items: flex-start;
	}

	.cdp-fact dd {
		max-width: none;
		padding-left: 32px;
		text-align: left;
	}

	.cdp-discipline-list--facts {
		justify-content: flex-start;
	}

	.cdp-partnership-status {
		justify-content: flex-start;
		max-width: none;
	}
}

@media (max-width: 860px) {
	.cdp-header {
		grid-template-columns: 116px minmax(0, 1fr);
		min-height: 116px;
	}

	.cdp-driver-name {
		font-size: clamp(2.35rem, 7vw, 3.5rem);
	}

	.cdp-photo-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cdp-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cdp-video-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.cdp-video-details {
		padding: 0;
	}
}

@media (max-width: 680px) {
	.cdp-profile {
		padding-right: 18px;
		padding-left: 18px;
	}

	.cdp-header {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 18px;
		align-items: start;
		padding: 0;
	}

	.cdp-title-row {
		align-items: flex-start;
	}

	.cdp-driver-name {
		font-size: clamp(2rem, 9.5vw, 2.7rem);
		line-height: 0.98;
	}

	.cdp-verified {
		width: 20px;
		height: 20px;
	}

	.cdp-edit-button {
		width: 40px;
		min-height: 40px;
		padding: 0;
		font-size: 0;
	}

	.cdp-edit-button .cdp-icon {
		width: 17px;
		height: 17px;
	}

	.cdp-header-meta {
		display: grid;
		gap: 7px;
		margin-top: 13px;
		font-size: 0.87rem;
	}

	.cdp-header-meta > li,
	.cdp-header-meta > li:first-child {
		min-height: 0;
		margin: 0;
		padding: 0;
		border: 0;
	}

	.cdp-header-meta .cdp-icon {
		width: 17px;
		height: 17px;
	}

	.cdp-card {
		padding: 20px 18px;
	}

	.cdp-media-card > .cdp-section-title,
	.cdp-media-card > .cdp-section-rule {
		margin-left: 0;
	}

	.cdp-fact-list {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.cdp-fact {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 14px;
		align-items: center;
	}

	.cdp-fact dd {
		max-width: 11rem;
		padding-left: 0;
		text-align: right;
	}

	.cdp-fact dd.cdp-discipline-value {
		max-width: 12rem;
	}

	.cdp-discipline-list--facts {
		justify-content: flex-end;
	}

	.cdp-photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 440px) {
	.cdp-header {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 14px;
	}
}

@media (max-width: 340px) {
	.cdp-related-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cdp-shell *,
	.cdp-shell *::before,
	.cdp-shell *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
