/* Elated talent profile showcase: genre tags, photos, band, Watch & Follow. */
.elx-tp-page {
	--tp-bg: #0b0e14;
	--tp-card: #141720;
	--tp-card2: #1a1e29;
	--tp-line: #262c3a;
	--tp-text: #e2e8f0;
	--tp-muted: #94a3b8;
	--tp-red: #dc291e;
	--tp-red2: #b71f16;
	--tp-cyan: #00c2e5;
}

/* Order the main column: bio, facts, photos, band, media, then the rest. */
.elx-tp-page article.candidate > .row > .col-sm-9 {
	display: flex;
	flex-direction: column;
}
.elx-tp-page article.candidate > .row > .col-sm-9 > * { order: 6; }
.elx-tp-page article.candidate > .row > .col-sm-9 > .job-detail-description { order: 1; }
.elx-tp-page article.candidate > .row > .col-sm-9 > .elx-tp-facts { order: 2; }
.elx-tp-page article.candidate > .row > .col-sm-9 > .elx-tp-photos { order: 3; }
.elx-tp-page article.candidate > .row > .col-sm-9 > .elx-tp-band { order: 4; }
.elx-tp-page article.candidate > .row > .col-sm-9 > .elx-tp-media { order: 5; }
.elx-tp-page article.candidate > .row > .col-sm-9 > #reviews,
.elx-tp-page article.candidate > .row > .col-sm-9 > #comments { order: 9; }
/* The plugin's own small portfolio list is replaced by the gallery below. */
.elx-tp-page .candidate-detail-portfolio { display: none !important; }

.elx-tp { color: var(--tp-text); margin: 0 0 40px; }
.elx-tp h3 {
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	margin: 0 0 18px;
}

/* Facts */
.elx-tp-facts {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px 28px;
	padding: 22px 24px;
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: 14px;
}
.elx-tp-dl { margin: 0; display: grid; gap: 14px; flex: 1 1 360px; }
.elx-tp-dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }
.elx-tp-dl dt {
	color: var(--tp-cyan);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding-top: 7px;
}
.elx-tp-dl dd { margin: 0; line-height: 1.6; color: var(--tp-text); }
.elx-tp-areas { padding-top: 3px; }
.elx-tp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.elx-tp-tags li {
	padding: 5px 13px;
	border-radius: 999px;
	border: 1px solid rgba(220, 41, 30, .55);
	background: rgba(220, 41, 30, .12);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
.elx-tp-book,
.elx-tp-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 26px;
	border-radius: 999px;
	background: var(--tp-red);
	border: 1px solid var(--tp-red);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .2s, transform .2s;
}
.elx-tp-book:hover, .elx-tp-book:focus-visible { background: var(--tp-red2); transform: translateY(-1px); }
.elx-tp-more {
	margin-top: 16px;
	background: transparent;
	border-color: #334155;
	padding: 10px 20px;
}
.elx-tp-more:hover, .elx-tp-more:focus-visible { border-color: var(--tp-red); background: rgba(220, 41, 30, .12); }

/* Photos */
.elx-tp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.elx-tp-grid > .elx-tp-ph { grid-column: span 2; }
/* Fill every row: 1 extra photo -> wide lead photo; 2 extra -> last two share a row. */
.elx-tp-grid > .elx-tp-ph:first-child:nth-last-child(3n+1) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.elx-tp-grid:has(> .elx-tp-ph:first-child:nth-last-child(3n+2)) > .elx-tp-ph:nth-last-child(-n+2) { grid-column: span 3; aspect-ratio: 3 / 2; }
.elx-tp-ph {
	all: unset;
	box-sizing: border-box;
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--tp-line);
	background: #000;
	cursor: zoom-in;
	transition: border-color .2s, transform .2s;
}
.elx-tp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.elx-tp-ph:hover, .elx-tp-ph:focus-visible { border-color: rgba(220, 41, 30, .7); transform: translateY(-2px); }
.elx-tp-ph:focus-visible { outline: 2px solid var(--tp-red); outline-offset: 3px; }
.elx-tp-ph:hover img { transform: scale(1.04); }

/* Band */
.elx-tp-members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.elx-tp-member {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: 14px;
	padding: 14px 14px 16px;
	text-align: center;
}
.elx-tp-mph { aspect-ratio: 1; border-radius: 10px; overflow: hidden; margin-bottom: 12px; background: var(--tp-card2); display: flex; align-items: center; justify-content: center; }
.elx-tp-mph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.elx-tp-ini { font-size: 44px; font-weight: 800; color: var(--tp-muted); }
.elx-tp-member strong { display: block; color: #fff; font-size: 16px; line-height: 1.3; }
.elx-tp-member span:not(.elx-tp-ini) { display: block; color: var(--tp-muted); font-size: 13px; margin-top: 4px; line-height: 1.4; }

/* Watch & Follow */
.elx-tp-tabs { display: inline-flex; border: 1px solid var(--tp-red); border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.elx-tp-tabs button {
	all: unset;
	cursor: pointer;
	padding: 10px 22px;
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	background: transparent;
}
.elx-tp-tabs button[aria-selected="true"] { background: var(--tp-red); }
.elx-tp-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.elx-tp-pane[hidden] { display: none; }
.elx-tp-player { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--tp-line); }
.elx-tp-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.elx-tp-play { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.elx-tp-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.elx-tp-pi {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 76px;
	height: 76px;
	margin: -38px 0 0 -38px;
	border-radius: 50%;
	background: var(--tp-red);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
	transition: transform .2s;
}
.elx-tp-pi::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.elx-tp-play:hover .elx-tp-pi, .elx-tp-play:focus-visible .elx-tp-pi { transform: scale(1.08); }
.elx-tp-now { margin: 12px 0 14px; color: #fff; font-weight: 600; }
.elx-tp-vids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.elx-tp-v { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; border-radius: 10px; overflow: hidden; background: var(--tp-card); border: 1px solid var(--tp-line); transition: border-color .2s; }
.elx-tp-v img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.elx-tp-v span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 8px 10px; padding: 0; font-size: 12.5px; line-height: 1.35; color: var(--tp-text); }
.elx-tp-v:hover, .elx-tp-v:focus-visible, .elx-tp-v.is-on { border-color: var(--tp-red); }
.elx-tp-fb { max-width: 500px; border-radius: 14px; overflow: hidden; background: #fff; }
.elx-tp-fb iframe { display: block; width: 100%; max-width: 500px; }

/* Lightbox */
.elx-tp-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(6, 6, 9, .96); display: flex; align-items: center; justify-content: center; padding: 60px 72px; }
.elx-tp-lb[hidden] { display: none; }
.elx-tp-lb img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 10px; display: block; }
.elx-tp-lb button { all: unset; cursor: pointer; position: absolute; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; line-height: 1; border: 1px solid rgba(255, 255, 255, .25); background: rgba(20, 20, 20, .6); }
.elx-tp-lb button:hover, .elx-tp-lb button:focus-visible { background: var(--tp-red); border-color: var(--tp-red); }
.elx-tp-lbx { top: 16px; right: 16px; }
.elx-tp-lbp { left: 16px; top: 50%; margin-top: -24px; }
.elx-tp-lbn { right: 16px; top: 50%; margin-top: -24px; }
html.elx-tp-lock, html.elx-tp-lock body { overflow: hidden; }
.elx-tp-anchor { display: block; position: relative; top: -100px; }

@media (max-width: 767px) {
	.elx-tp-facts { padding: 18px; }
	.elx-tp-dl > div { grid-template-columns: 1fr; gap: 6px; }
	.elx-tp-dl dt { padding-top: 0; }
	.elx-tp-book { width: 100%; }
	.elx-tp-grid { gap: 8px; }
	.elx-tp-grid > .elx-tp-ph,
	.elx-tp-grid:has(> .elx-tp-ph:first-child:nth-last-child(3n+2)) > .elx-tp-ph:nth-last-child(-n+2) { grid-column: span 3; aspect-ratio: 4 / 3; }
	.elx-tp-grid > .elx-tp-ph:first-child:nth-last-child(3n+1) { grid-column: span 3; aspect-ratio: 4 / 3; }
	.elx-tp-grid > .elx-tp-ph:first-child:nth-last-child(2n+1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
	.elx-tp-members { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.elx-tp-vids { grid-template-columns: repeat(2, 1fr); }
	.elx-tp-lb { padding: 56px 8px 72px; }
	.elx-tp-lbp, .elx-tp-lbn { top: auto; bottom: 14px; margin: 0; }
	.elx-tp-lbp { left: calc(50% - 60px); }
	.elx-tp-lbn { right: calc(50% - 60px); }
}

/* Profile form: helper text for the new fields. */
.cmb2-id--candidate-genres .select2-container { width: 100% !important; }
.elx-tp-lb button[hidden] { display: none; }

/* ---------- Talent profile layout ----------
   marketplace.css hides the side column on single pages unless it has detail rows
   or a map. On talent profiles that also hid the Contact form, so buyers had no
   way to send a message. Always show it here, and hide only the empty boxes. */
body.elx-tp-page article.candidate > .row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}
body.elx-tp-page article.candidate > .row > .col-sm-3 {
	display: block !important;
}
body.elx-tp-page .candidate-detail-detail:not(:has(li)),
body.elx-tp-page .candidate-detail-map-location:has(.single-job-map:empty) {
	display: none;
}
@media (min-width: 992px) {
	body.elx-tp-page article.candidate > .row > .col-sm-9 {
		flex: 0 0 68% !important;
		width: 68% !important;
		max-width: 68% !important;
		padding-right: 28px;
	}
	body.elx-tp-page article.candidate > .row > .col-sm-3 {
		flex: 0 0 32% !important;
		width: 32% !important;
		max-width: 32% !important;
		position: sticky;
		top: 110px;
	}
}
@media (max-width: 991px) {
	body.elx-tp-page article.candidate > .row > .col-sm-9,
	body.elx-tp-page article.candidate > .row > .col-sm-3 {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}
body.elx-tp-page .contact-form.widget {
	background: var(--tp-card);
	border: 1px solid var(--tp-line);
	border-radius: 14px;
	padding: 22px;
	margin-bottom: 24px;
}
body.elx-tp-page .contact-form.widget .widget-title {
	color: #fff;
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 14px;
}
/* Header buttons were nearly invisible on the dark theme. */
body.elx-tp-page .candidate-detail-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 6px 0 22px;
}
body.elx-tp-page .candidate-detail-buttons .btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	padding: 10px 20px !important;
	border-radius: 999px !important;
	border: 1px solid #475569 !important;
	background: transparent !important;
	color: #e2e8f0 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none !important;
	opacity: 1 !important;
}
body.elx-tp-page .candidate-detail-buttons .btn:hover,
body.elx-tp-page .candidate-detail-buttons .btn:focus-visible {
	border-color: var(--tp-red) !important;
	background: rgba(220, 41, 30, .12) !important;
}

/* Gana adds bullet dots to list items; the showcase lists are not bulleted. */
.elx-tp ul,
.elx-tp ul li {
	list-style: none !important;
}
.elx-tp ul li {
	padding-left: 0 !important;
	margin: 0 !important;
	position: static !important;
}
.elx-tp ul.elx-tp-tags li { padding-left: 13px !important; }
.elx-tp ul li::before,
.elx-tp ul li::after,
.elx-tp ul li::marker {
	content: none !important;
	display: none !important;
}

/* ------------------------------------------------------------------ */
/* Hero image: photo sits directly under the site header; the name and */
/* breadcrumbs sit on a dark strip below it so the photo stays clear.  */
/* ------------------------------------------------------------------ */
body.elx-tp-hero { --elx-hero-h: min(42vw, 760px); }
body.elx-tp-hero .breadcrumb-wrap {
	background: #0b0e14 !important;
	overflow: hidden;
}
body.elx-tp-hero .breadcrumb-wrap::before {
	content: "" !important;
	position: absolute !important;
	left: 0;
	right: 0;
	top: 120px;
	bottom: auto !important;
	height: var(--elx-hero-h);
	background: #0b0e14 var(--elx-hero) var(--elx-hero-pos, center 50%) / cover no-repeat !important;
	opacity: 1 !important;
	z-index: -1;
}
body.elx-tp-hero .breadcrumb-wrap::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: calc(120px + var(--elx-hero-h) - 1px);
	height: 3px;
	background: linear-gradient(90deg, var(--emk-red, #dc291e), var(--emk-cyan, #00c2e5));
	z-index: -1;
}
body.elx-tp-hero .breadcrumb-wrap .breadcrumb-content {
	padding: calc(120px + var(--elx-hero-h) + 30px) 0 30px !important;
}
body.elx-tp-hero .breadcrumb-wrap .page-title { margin-bottom: 8px; }
@media (max-width: 767px) {
	/* Phones show the whole landscape photo, uncropped. */
	body.elx-tp-hero { --elx-hero-h: 56.25vw; }
	body.elx-tp-hero .breadcrumb-wrap .breadcrumb-content { padding: calc(120px + var(--elx-hero-h) + 22px) 0 22px !important; }
}

/* Follow links in the facts card. */
.elx-tp ul.elx-tp-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.elx-tp ul.elx-tp-social li a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 13px;
	border: 1px solid var(--emk-line, #262c3a);
	border-radius: 999px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color .2s, color .2s;
}
.elx-tp ul.elx-tp-social li a:hover,
.elx-tp ul.elx-tp-social li a:focus-visible { border-color: var(--emk-cyan, #00c2e5); color: var(--emk-cyan, #00c2e5); }
.elx-tp ul.elx-tp-social svg { flex: none; }

/* ---------- Review stars: one row of 5 (0.4.18) ---------- */
body.elx-tp-page .comment-form-rating,
body.elx-tp-page .review-stars-rated {
	position: relative;
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}
body.elx-tp-page ul.review-stars {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 6px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	white-space: nowrap;
}
body.elx-tp-page ul.review-stars > li {
	display: block;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	line-height: 1;
}
body.elx-tp-page ul.review-stars > li::before,
body.elx-tp-page ul.review-stars > li::marker { content: none !important; display: none !important; }
body.elx-tp-page ul.review-stars .fa-star { font-size: 24px; color: #3a4252; }
body.elx-tp-page .review-stars-rated ul.review-stars .fa-star { font-size: 16px; }
body.elx-tp-page ul.review-stars.filled {
	position: absolute !important;
	top: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
}
body.elx-tp-page .comment-form-rating ul.review-stars.filled { width: 100%; }
body.elx-tp-page ul.review-stars.filled .fa-star { color: #f5b301; }
body.elx-tp-page .comment-form-rating ul.review-stars:not(.filled) > li { cursor: pointer; }
body.elx-tp-page .wrapper-rating-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
body.elx-tp-page .wrapper-rating-form > label { margin: 0; }
