/* ============================================================
   T5 Group — custom Elementor widget styles.
   Colors mirror the design tokens; every value that a control
   overrides is set via Elementor selectors, so these are the
   structural defaults only.
   ============================================================ */

.t5-marquee-empty {
	padding: 24px;
	border: 1px dashed #3c3c3c;
	color: #7e7e7e;
	font-family: Inter, sans-serif;
	font-size: 14px;
	text-align: center;
}

/* ---- Partner Logo Marquee ---- */
.t5-marquee-eyebrow {
	margin: 0 0 40px;
	text-align: center;
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #7e7e7e;
}
.t5-marquee-viewport {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.t5-marquee-track {
	display: flex;
	align-items: center;
	gap: 172px;
	width: max-content;
	opacity: 0.7;
	animation: t5-marquee-scroll 65s linear infinite;
}
.t5-marquee:hover .t5-marquee-track {
	animation-play-state: paused;
}
.t5-marquee-track img {
	height: 90px;
	max-width: 170px;
	object-fit: contain;
}
@keyframes t5-marquee-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.t5-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ---- Webinar Presenters ---- */
.t5-presenters--rows .t5-presenter-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-top: 1px solid #3c3c3c;
}
.t5-presenter-name {
	font-family: Inter, sans-serif;
	font-weight: 700;
	color: #fff;
}
.t5-presenter-role {
	font-family: Inter, sans-serif;
	font-weight: 300;
	color: #7e7e7e;
	text-align: right;
}
.t5-presenter-bio {
	margin: 4px 0 12px;
	font-family: Inter, sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.6;
	color: #bbb;
}
.t5-presenters--cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.t5-presenter-card {
	display: flex;
	gap: 16px;
	align-items: center;
}
.t5-presenter-avatar {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	background: #262626;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.t5-presenter-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t5-presenter-initials {
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: #e0a526;
}
.t5-presenter-text { display: flex; flex-direction: column; gap: 2px; }
.t5-presenters--cards .t5-presenter-role { text-align: left; }

/* ---- Team Bio Grid ---- */
.t5-team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.t5-team-card {
	display: flex;
	flex-direction: column;
	background: #1a1a1a;
	border: none;
	padding: 0;
	margin: 0;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
	transition: transform 0.2s ease;
}
.t5-team-card:hover { transform: translateY(-6px); }
.t5-team-portrait {
	position: relative;
	aspect-ratio: 4 / 5;
	background: #262626;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.t5-team-initials {
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 56px;
	color: #e0a526;
}
.t5-team-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.t5-team-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
	flex: 1;
}
.t5-team-name {
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #fff;
}
.t5-team-role {
	font-family: Inter, sans-serif;
	font-weight: 300;
	font-size: 15px;
	color: #bbb;
	flex: 1;
}
.t5-team-viewbio {
	margin-top: 16px;
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fff;
}

/* ---- Team Bio Modal ---- */
.t5-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.82);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}
.t5-modal-backdrop[hidden] { display: none; }
.t5-modal-panel {
	position: relative;
	background: #1a1a1a;
	max-width: 640px;
	width: 100%;
	padding: 64px;
	border-top: 4px solid #bc0000;
}
.t5-modal-close {
	position: absolute;
	top: 24px;
	right: 24px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: #7e7e7e;
	cursor: pointer;
}
.t5-modal-head {
	display: flex;
	gap: 24px;
	align-items: center;
	margin-bottom: 24px;
}
.t5-modal-avatar {
	position: relative;
	width: 88px;
	height: 88px;
	flex-shrink: 0;
	background: #262626;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.t5-modal-initials {
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #e0a526;
}
.t5-modal-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t5-modal-name {
	margin: 0;
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 28px;
	text-transform: uppercase;
	letter-spacing: -0.5px;
	color: #fff;
}
.t5-modal-role {
	margin: 4px 0 0;
	font-family: Inter, sans-serif;
	font-weight: 300;
	font-size: 16px;
	color: #e0a526;
}
.t5-modal-bio {
	margin: 0;
	font-family: Inter, sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	color: #bbb;
}

/* ---- Webinar Access ---- */
.t5-wa { display: flex; flex-direction: column; gap: 16px; }
.t5-wa-poster {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: #262626;
	overflow: hidden;
}
.t5-wa-poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.t5-wa-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	padding-left: 5px;
}
.t5-wa-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: #bc0000;
	color: #fff;
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 4px 10px;
}
.t5-wa-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0653b6;
	color: #fff;
	font-family: Inter, sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	padding: 14px 28px;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.t5-wa-button:hover { background: #fff; color: #000; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.t5-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.t5-team-grid { grid-template-columns: 1fr; }
	.t5-modal-panel { padding: 40px 24px; }
}
