/* basis layout */
#pk_flex_content .flex_layout.team_switcher {
	padding: unset;
	max-width: 100%;
}

#pk_flex_content .flex_layout.team_switcher .flex_container_inner {
	padding-inline: max(40px, calc((100vw - 1350px) / 2));
	padding-block: 60px 80px;
}

/* wrapper */
#pk_flex_content .flex_layout.team_switcher .team_switcher_wrapper {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* tabs */
#pk_flex_content .flex_layout.team_switcher .team_tab_wrapper {
	width: 100%;
	background-color: #F8ECF0;
	position: relative;
}

#pk_flex_content .flex_layout.team_switcher .team_tab_wrapper::before{
	content: '';
	background-color: #F8ECF0;
	width: 200vw;
	height: 150px;
	position: absolute;
	bottom: 0px;
	left: -100vw;
}

#pk_flex_content .flex_layout.team_switcher .team_tab_container {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--tab-count), minmax(0, 1fr));
	gap: 20px;
	border-radius: 20px 20px 0 0;
	padding: 0 0 0 0;
	overflow: hidden;
}

#pk_flex_content .flex_layout.team_switcher .team_tab_container .indicator {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 100%;
	background: #fff; /* actieve tabkleur */
	border-radius: 20px 20px 0 0;
	transition: left .3s ease-in-out, width .3s ease-in-out;
	z-index: 2;
}

#pk_flex_content .flex_layout.team_switcher .team_tab {
	position: relative;
	text-align: center;
	padding: 20px 20px 26px;
	cursor: pointer;
	font-weight: 700;
	font-size: clamp(17px, 1.5vw, 20px);
	color: #A02316;
	transition: color .3s ease-in-out;
	background-color: #FFBFD5;
	border-radius: 20px 20px 0px 0px;
}

#pk_flex_content .flex_layout.team_switcher .team_tab span{
	z-index: 3;
	position: relative;
}

#pk_flex_content .flex_layout.team_switcher .team_tab.active {
	color: #1A213D;
}

/* panels */
#pk_flex_content .flex_layout.team_switcher .team_panels {
	background: #ffffff;
	/* border-radius: 0 0 28px 28px; */
	/* box-shadow: 0 20px 50px rgba(0,0,0,.04); */
	padding: 40px 0px 0px;
}

#pk_flex_content .flex_layout.team_switcher .team_panel {
	display: none;
}

#pk_flex_content .flex_layout.team_switcher .team_panel.active {
	display: block;
}

/* cards grid */
#pk_flex_content .flex_layout.team_switcher .team_cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 32px;
}

#pk_flex_content .flex_layout.team_switcher .team_card {
	background: #F5F5F5;
	border-radius: 20px;
	padding: 12px 20px;
}

#pk_flex_content .flex_layout.team_switcher .team_card_inner {
	display: flex;
	gap: 16px;
	align-items: center;
}

#pk_flex_content .flex_layout.team_switcher .team_card .avatar {
	width: 82px;
	/* height: 82px; */
	border-radius: 999px;
	overflow: hidden;
	flex: 0 0 82px;
	background: #ddd;
	aspect-ratio: 1;
}

#pk_flex_content .flex_layout.team_switcher .team_card .avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#pk_flex_content .flex_layout.team_switcher .team_card .avatar_placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 26px;
	background: #C5CED4;
	color: #fff;
}

#pk_flex_content .flex_layout.team_switcher .team_content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

#pk_flex_content .flex_layout.team_switcher .team_name {
	font-size: 22px;
	line-height: 1.2;
	margin: 0;
	color: #101010;
}

#pk_flex_content .flex_layout.team_switcher .team_function {
	font-size: 16px;
	margin: 0;
	color: #222;
}

/* responsive */
@media (max-width: 1100px) {
	#pk_flex_content .flex_layout.team_switcher .team_cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	#pk_flex_content .flex_layout.team_switcher .flex_container_inner {
		padding-inline: 20px;
	}

	#pk_flex_content .flex_layout.team_switcher .team_tab_container {
		display: flex;
		overflow-x: auto;
		/* border-radius: 32px 32px 0 0; */
		width: 100vw;
		margin-left: -20px;
		border-radius: 0px;
		padding-left: 20px;
	}

	#pk_flex_content .flex_layout.team_switcher .team_tab {
		flex: 0 0 auto;
		/* min-width: 220px; */
		padding: 10px 20px 10px;
	}

	#pk_flex_content .flex_layout.team_switcher .team_panels {
		padding: 0px;
	}

	#pk_flex_content .flex_layout.team_switcher .team_card {
		padding: 12px 16px;
	}
	
	#pk_flex_content .flex_layout.team_switcher .team_tab_wrapper::before{
		height: 100px;
	}
}

@media (max-width: 600px) {
	#pk_flex_content .flex_layout.team_switcher .team_card_inner {
		gap: 12px;
	}

	#pk_flex_content .flex_layout.team_switcher .team_card .avatar {
		width: 64px;
	}

	#pk_flex_content .flex_layout.team_switcher .team_name {
		font-size: 18px;
