.kfci-event-team {
	--kfci-event-team-columns: 3;
	--kfci-event-team-gap: 8px;
	--kfci-event-team-scroll-card-width: 252px;
	--kfci-event-team-name-color: #050101;
	--kfci-event-team-title-color: #332e2e;
	--kfci-event-team-image-bg: #f5f3f3;
	--kfci-event-team-font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kfci-event-team__scroll {
	width: 100%;
}

.kfci-event-team__grid {
	display: grid;
	grid-template-columns: repeat(var(--kfci-event-team-columns), minmax(0, 1fr));
	gap: var(--kfci-event-team-gap);
	align-items: stretch;
}

.kfci-event-team__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.kfci-event-team__media {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: var(--kfci-event-team-image-bg);
	overflow: hidden;
}

.kfci-event-team__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.kfci-event-team__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-top: 0;
}

.kfci-event-team__name {
	margin: 0;
	font-family: var(--kfci-event-team-font-family);
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 28px;
	color: var(--kfci-event-team-name-color);
	word-break: break-word;
}

.kfci-event-team__title {
	margin: 0;
	font-family: var(--kfci-event-team-font-family);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	color: var(--kfci-event-team-title-color);
}

.kfci-event-team--title-truncate-yes .kfci-event-team__title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kfci-event-team__empty {
	margin: 0;
	padding: 20px;
	color: #888888;
}

.kfci-event-team--hide-scrollbar-yes .kfci-event-team__scroll {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.kfci-event-team--hide-scrollbar-yes .kfci-event-team__scroll::-webkit-scrollbar {
	display: none;
}

.kfci-event-team--layout-desktop-scroll .kfci-event-team__scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.kfci-event-team--layout-desktop-scroll .kfci-event-team__grid {
	display: flex;
	flex-wrap: nowrap;
	grid-template-columns: unset;
	width: max-content;
	min-width: 100%;
}

.kfci-event-team--layout-desktop-scroll .kfci-event-team__card {
	flex: 0 0 var(--kfci-event-team-scroll-card-width);
	width: var(--kfci-event-team-scroll-card-width);
	min-width: var(--kfci-event-team-scroll-card-width);
	max-width: var(--kfci-event-team-scroll-card-width);
}

@media (max-width: 1024px) {
	.kfci-event-team--layout-tablet-scroll .kfci-event-team__scroll {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.kfci-event-team--layout-tablet-scroll .kfci-event-team__grid {
		display: flex;
		flex-wrap: nowrap;
		grid-template-columns: unset;
		width: max-content;
		min-width: 100%;
	}

	.kfci-event-team--layout-tablet-scroll .kfci-event-team__card {
		flex: 0 0 var(--kfci-event-team-scroll-card-width);
		width: var(--kfci-event-team-scroll-card-width);
		min-width: var(--kfci-event-team-scroll-card-width);
		max-width: var(--kfci-event-team-scroll-card-width);
	}

	.kfci-event-team--layout-tablet-grid .kfci-event-team__scroll {
		overflow: visible;
	}

	.kfci-event-team--layout-tablet-grid .kfci-event-team__grid {
		display: grid;
		grid-template-columns: repeat(var(--kfci-event-team-columns), minmax(0, 1fr));
		width: 100%;
		min-width: 0;
	}

	.kfci-event-team--layout-tablet-grid .kfci-event-team__card {
		flex: unset;
		width: auto;
		min-width: 0;
		max-width: none;
	}
}

@media (max-width: 767px) {
	.kfci-event-team--layout-mobile-scroll .kfci-event-team__scroll {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.kfci-event-team--layout-mobile-scroll .kfci-event-team__grid {
		display: flex;
		flex-wrap: nowrap;
		grid-template-columns: unset;
		width: max-content;
		min-width: 100%;
	}

	.kfci-event-team--layout-mobile-scroll .kfci-event-team__card {
		flex: 0 0 var(--kfci-event-team-scroll-card-width);
		width: var(--kfci-event-team-scroll-card-width);
		min-width: var(--kfci-event-team-scroll-card-width);
		max-width: var(--kfci-event-team-scroll-card-width);
	}

	.kfci-event-team--layout-mobile-grid .kfci-event-team__scroll {
		overflow: visible;
	}

	.kfci-event-team--layout-mobile-grid .kfci-event-team__grid {
		display: grid;
		grid-template-columns: repeat(var(--kfci-event-team-columns), minmax(0, 1fr));
		width: 100%;
		min-width: 0;
	}

	.kfci-event-team--layout-mobile-grid .kfci-event-team__card {
		flex: unset;
		width: auto;
		min-width: 0;
		max-width: none;
	}
}
