/**
 * Meet our Experts strip (event detail page).
 */

.event-experts {
	background-color: #F3F9FF;
	border-radius: 12px;
	margin-bottom: 24px;
	padding: 32px 28px 28px;
	position: relative;
}

.event-experts__heading {
	color: #2D2F3B;
	font-size: 28px;
	font-weight: 600;
	line-height: 32px;
	margin: 0 0 24px;
}

/* Track ---------------------------------------------------------------- */

.event-experts__track {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	overflow-x: auto;
	padding: 8px 4px;
	/* No scroll-behavior:smooth here: Chromium cancels smooth
	   programmatic scrolls on snap containers, freezing the strip at
	   its current card. Buttons step instantly; snap keeps positions
	   exact. Touch/wheel scrolling is native and unaffected. */
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.event-experts__track::-webkit-scrollbar {
	display: none;
}

.event-experts__card {
	display: flex;
	flex: 0 0 calc((100% - 48px) / 3);
	flex-direction: column;
	scroll-snap-align: start;
	text-align: center;
}

@media (max-width: 991.98px) {
	.event-experts__card {
		flex-basis: calc((100% - 24px) / 2);
	}
}

@media (max-width: 575.98px) {
	.event-experts__card {
		flex-basis: 100%;
	}
}

/* Card ------------------------------------------------------------------ */

.event-experts__photo,
.event-experts__initials {
	aspect-ratio: 1 / 1;
	border: 4px solid #FFFFFF;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(45, 47, 59, 0.12);
	display: block;
	margin: 0 auto;
	max-width: 160px;
	overflow: hidden;
	width: 100%;
}

.event-experts__img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* No-photo fallback: first/last initials in a pale-cyan circle. */
.event-experts__initials {
	align-items: center;
	background-color: #EDFBFF;
	color: #253FD6;
	display: flex;
	font-size: 40px;
	font-weight: 600;
	justify-content: center;
}

.event-experts__name {
	color: #253FD6;
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
	margin: 24px 0 4px;
}

.event-experts__title {
	color: #6C6D72;
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	margin: 0;
}

.event-experts__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin: 14px 0 0;
	padding: 0;
}

.event-experts__tags .team-type-tag {
	align-items: center;
	background-color: #bcf2ff;
	border-radius: 50%;
	color: #255547;
	display: inline-flex;
	font-size: 14px;
	height: 32px;
	justify-content: center;
	width: 32px;
}

/* Palette mirrors the team-listing tag colors; that stylesheet is not
   attached on event pages, so the variants are scoped here. */
.event-experts__tags .Business { background-color: #ffecbc; }

.event-experts__tags .Subject,
.event-experts__tags .Guest { background-color: #bcf2ff; }

.event-experts__tags .Executive { background-color: #bcd3ff; }

.event-experts__tags .Board,
.event-experts__tags .Facilities { background-color: #cbffbc; }

.event-experts__actions {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-top: auto;
	padding-top: 20px;
}

.event-experts__more {
	background-color: #FFFFFF;
	border: 1px solid #03CFFF;
	border-radius: 1000px;
	color: #2D2F3B;
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 12px 24px;
	text-decoration: none;
	transition: transform 160ms ease, filter 160ms ease;
}

.event-experts__more:hover,
.event-experts__more:focus-visible {
	color: #2D2F3B;
	filter: brightness(0.97);
	transform: translateY(-2px);
}

.event-experts__linkedin {
	align-items: center;
	background-color: #FFFFFF;
	border: 1px solid #03CFFF;
	border-radius: 50%;
	display: inline-flex;
	flex: 0 0 auto;
	height: 40px;
	justify-content: center;
	transition: transform 160ms ease, filter 160ms ease;
	width: 40px;
}

.event-experts__linkedin:hover,
.event-experts__linkedin:focus-visible {
	filter: brightness(0.97);
	transform: translateY(-2px);
}

.event-experts__linkedin svg {
	fill: #2D2F3B;
	height: 16px;
	width: 16px;
}

/* Prev/next ------------------------------------------------------------- */

.event-experts__nav {
	align-items: center;
	background-color: #03CFFF;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	height: 40px;
	justify-content: center;
	position: absolute;
	top: 130px; /* vertically centered on the photo row */
	transition: transform 160ms ease, filter 160ms ease;
	width: 40px;
	z-index: 1;
}

.event-experts__nav--prev {
	left: 8px;
}

.event-experts__nav--next {
	right: 8px;
}

.event-experts__nav svg {
	fill: #2D2F3B;
	height: 16px;
	width: 16px;
}

.event-experts__nav:hover:not(:disabled),
.event-experts__nav:focus-visible:not(:disabled) {
	filter: brightness(1.1);
	transform: translateY(-2px);
}

.event-experts__nav:disabled {
	background-color: #EDFBFF;
	cursor: default;
}

.event-experts__nav:disabled svg {
	fill: #253FD6;
	opacity: 0.65;
}

.event-experts--fits .event-experts__track {
	justify-content: center;
}
