/**
 * Easy Team 1.0
 */

.jx-et {
	--jx-et-gap: 24px;
	--jx-et-cols: 3;
	--jx-et-slides: 3;
	--jx-et-photo: 220px;
	--jx-et-accent: #1819ed;
	--jx-et-name: #0f172a;
	--jx-et-role: #1819ed;
	--jx-et-text: #475569;
	--jx-et-card: #ffffff;
	--jx-et-border: rgba(15, 23, 42, 0.08);
	--jx-et-radius: 16px;
	--jx-et-align: center;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	font-family: inherit;
	color: var(--jx-et-text);
	overflow-wrap: anywhere;
}

.jx-et *,
.jx-et *::before,
.jx-et *::after {
	box-sizing: border-box;
}

.jx-et-header {
	text-align: var(--jx-et-align);
	margin-bottom: 1.5rem;
	max-width: 42rem;
	margin-inline: auto;
}

.jx-et--align-left .jx-et-header { margin-inline: 0 auto; }
.jx-et--align-right .jx-et-header { margin-inline: auto 0; }

.jx-et-eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--jx-et-accent);
}

.jx-et-headline {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	line-height: 1.2;
	color: var(--jx-et-name);
}

.jx-et-lead {
	margin: 0;
	color: var(--jx-et-text);
}

.jx-et-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.jx-et--align-left .jx-et-filters { justify-content: flex-start; }
.jx-et--align-right .jx-et-filters { justify-content: flex-end; }

.jx-et-filter {
	appearance: none;
	border: 1px solid var(--jx-et-border);
	background: var(--jx-et-card);
	color: var(--jx-et-text);
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font: inherit;
	font-size: 0.875rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jx-et-filter.is-active,
.jx-et-filter:hover,
.jx-et-filter:focus-visible {
	background: var(--jx-et-accent);
	border-color: var(--jx-et-accent);
	color: #fff;
	outline: none;
}

.jx-et-viewport {
	position: relative;
}

.jx-et-grid {
	display: grid;
	grid-template-columns: repeat(var(--jx-et-cols), minmax(0, 1fr));
	gap: var(--jx-et-gap);
}

.jx-et-card {
	display: flex;
	flex-direction: column;
	background: var(--jx-et-card);
	border: 1px solid var(--jx-et-border);
	border-radius: var(--jx-et-radius);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jx-et--shadow .jx-et-card {
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.jx-et--hover .jx-et-card:hover,
.jx-et--hover .jx-et-card:focus-within {
	transform: translateY(-4px);
}

.jx-et-card[data-et-open] {
	cursor: pointer;
}

.jx-et-card.is-hidden {
	display: none;
}

.jx-et-photo-wrap {
	position: relative;
	overflow: hidden;
	background: rgba(15, 23, 42, 0.04);
}

.jx-et-photo {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.jx-et-photo--placeholder {
	display: grid;
	place-items: center;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--jx-et-accent);
	background: linear-gradient(145deg, color-mix(in srgb, var(--jx-et-accent) 14%, transparent), rgba(15, 23, 42, 0.06));
}

.jx-et--shape-circle .jx-et-photo-wrap {
	width: var(--jx-et-photo);
	max-width: 100%;
	margin: 1.25rem auto 0;
	border-radius: 50%;
}

.jx-et--shape-circle .jx-et-photo {
	border-radius: 50%;
}

.jx-et--shape-rounded .jx-et-photo-wrap {
	border-radius: calc(var(--jx-et-radius) - 2px) calc(var(--jx-et-radius) - 2px) 0 0;
}

.jx-et--shape-rounded.jx-et--cards .jx-et-photo-wrap,
.jx-et--shape-rounded.jx-et--grid .jx-et-photo-wrap,
.jx-et--shape-rounded.jx-et--overlay .jx-et-photo-wrap,
.jx-et--shape-rounded.jx-et--featured .jx-et-photo-wrap,
.jx-et--shape-rounded.jx-et--carousel .jx-et-photo-wrap {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.jx-et--shape-square .jx-et-photo-wrap {
	border-radius: 0;
}

.jx-et-body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.1rem 1.15rem 1.25rem;
	text-align: var(--jx-et-align);
	flex: 1;
}

.jx-et-dept {
	display: inline-flex;
	align-self: var(--jx-et-align);
	width: fit-content;
	margin-inline: auto;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--jx-et-accent);
	background: color-mix(in srgb, var(--jx-et-accent) 12%, transparent);
}

.jx-et--align-left .jx-et-dept { margin-inline: 0 auto; }
.jx-et--align-right .jx-et-dept { margin-inline: auto 0; }

.jx-et-name {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.3;
	color: var(--jx-et-name);
}

.jx-et-role {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--jx-et-role);
}

.jx-et-bio {
	margin: 0.25rem 0 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--jx-et-text);
}

.jx-et-more {
	margin-top: auto;
	padding-top: 0.65rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--jx-et-accent);
}

.jx-et-social,
.jx-et-contact {
	list-style: none;
	margin: 0.55rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: center;
}

.jx-et--align-left .jx-et-social,
.jx-et--align-left .jx-et-contact { justify-content: flex-start; }
.jx-et--align-right .jx-et-social,
.jx-et--align-right .jx-et-contact { justify-content: flex-end; }

.jx-et-social-link {
	display: inline-grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	color: var(--jx-et-accent);
	background: color-mix(in srgb, var(--jx-et-accent) 10%, transparent);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.jx-et-social-link:hover,
.jx-et-social-link:focus-visible {
	background: var(--jx-et-accent);
	color: #fff;
	transform: translateY(-1px);
	outline: none;
}

.jx-et-icon {
	font-size: 0.9rem;
	line-height: 1;
	display: block;
}

.jx-et--social-hover .jx-et-social--overlay,
.jx-et--overlay .jx-et-social--overlay {
	position: absolute;
	inset: auto 0 0;
	margin: 0;
	padding: 0.75rem;
	justify-content: center;
	background: linear-gradient(transparent, rgba(15, 23, 42, 0.72));
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.jx-et--social-hover .jx-et-card:hover .jx-et-social--overlay,
.jx-et--social-hover .jx-et-card:focus-within .jx-et-social--overlay,
.jx-et--overlay .jx-et-card:hover .jx-et-social--overlay,
.jx-et--overlay .jx-et-card:focus-within .jx-et-social--overlay {
	opacity: 1;
	transform: translateY(0);
}

.jx-et--overlay .jx-et-card {
	position: relative;
}

.jx-et--overlay .jx-et-body {
	position: absolute;
	inset: auto 0 0;
	background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
	color: #fff;
	padding-top: 3rem;
}

.jx-et--overlay .jx-et-name,
.jx-et--overlay .jx-et-role,
.jx-et--overlay .jx-et-bio,
.jx-et--overlay .jx-et-more {
	color: #fff;
}

.jx-et--overlay .jx-et-dept {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.jx-et--list .jx-et-grid {
	grid-template-columns: 1fr;
}

.jx-et--list .jx-et-card {
	flex-direction: row;
	align-items: stretch;
}

.jx-et--list .jx-et-photo-wrap {
	width: min(var(--jx-et-photo), 38%);
	margin: 0;
	border-radius: 0;
	flex-shrink: 0;
}

.jx-et--list .jx-et-photo {
	height: 100%;
	min-height: 160px;
}

.jx-et--list .jx-et-body {
	text-align: left;
	justify-content: center;
}

.jx-et--list .jx-et-dept,
.jx-et--list .jx-et-social,
.jx-et--list .jx-et-contact {
	margin-inline: 0;
	justify-content: flex-start;
}

.jx-et--compact .jx-et-photo-wrap {
	width: var(--jx-et-photo);
	max-width: 70%;
	margin: 1rem auto 0;
}

.jx-et--compact .jx-et-body {
	padding-top: 0.75rem;
}

.jx-et--compact .jx-et-bio {
	display: none;
}

.jx-et--featured .jx-et-card--featured {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(180px, 320px) 1fr;
}

.jx-et--featured .jx-et-card--featured .jx-et-photo-wrap {
	margin: 0;
	height: 100%;
	border-radius: 0;
}

.jx-et--featured .jx-et-card--featured .jx-et-photo {
	height: 100%;
	min-height: 240px;
}

.jx-et--featured .jx-et-card--featured .jx-et-body {
	justify-content: center;
	padding: 1.5rem;
	text-align: left;
}

.jx-et--featured .jx-et-card--featured .jx-et-dept,
.jx-et--featured .jx-et-card--featured .jx-et-social,
.jx-et--featured .jx-et-card--featured .jx-et-contact {
	margin-inline: 0;
	justify-content: flex-start;
}

.jx-et--carousel .jx-et-viewport {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.65rem;
	position: relative;
}

.jx-et--carousel .jx-et-grid {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	gap: var(--jx-et-gap);
	padding-bottom: 0.25rem;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	touch-action: pan-x;
}

.jx-et--carousel .jx-et-grid::-webkit-scrollbar {
	display: none;
}

.jx-et--carousel .jx-et-card {
	flex: 0 0 calc((100% - ((var(--jx-et-slides) - 1) * var(--jx-et-gap))) / var(--jx-et-slides));
	scroll-snap-align: start;
	max-width: 100%;
	min-width: 0;
}

.jx-et-nav {
	appearance: none;
	border: 1px solid var(--jx-et-border);
	background: var(--jx-et-card);
	color: var(--jx-et-name);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	cursor: pointer;
	display: inline-grid;
	place-items: center;
	padding: 0;
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.jx-et-nav-icon {
	font-size: 0.95rem;
	line-height: 1;
	display: block;
}

.jx-et-nav:hover,
.jx-et-nav:focus-visible {
	background: var(--jx-et-accent);
	border-color: var(--jx-et-accent);
	color: #fff;
	outline: none;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--jx-et-accent) 28%, transparent);
}

.jx-et--theme-soft .jx-et-card {
	background: color-mix(in srgb, var(--jx-et-accent) 6%, #fff);
	border-color: transparent;
}

.jx-et--theme-bold .jx-et-card {
	border-width: 2px;
	border-color: var(--jx-et-accent);
}

.jx-et--theme-minimal .jx-et-card {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.jx-et--theme-glass .jx-et-card {
	background: color-mix(in srgb, #fff 72%, transparent);
	backdrop-filter: blur(10px);
	border-color: rgba(255, 255, 255, 0.45);
}

.jx-et-dialog {
	border: 0;
	border-radius: calc(var(--jx-et-radius) + 4px);
	padding: 0;
	max-width: min(720px, calc(100vw - 2rem));
	width: 100%;
	box-shadow: 0 25px 60px rgba(15, 23, 42, 0.28);
	color: var(--jx-et-text);
	position: relative;
	overflow: hidden;
}

.jx-et-dialog::backdrop {
	background: rgba(15, 23, 42, 0.55);
}

.jx-et-dialog-close {
	position: absolute;
	top: 0.65rem;
	right: 0.75rem;
	z-index: 2;
	appearance: none;
	border: 0;
	background: rgba(15, 23, 42, 0.7);
	color: #fff;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	font-size: 0.85rem;
	line-height: 1;
	cursor: pointer;
	display: inline-grid;
	place-items: center;
	padding: 0;
}

.jx-et-dialog-body {
	padding: 0;
}

.jx-et-modal-inner {
	display: grid;
	grid-template-columns: minmax(140px, 240px) 1fr;
}

.jx-et-modal-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 240px;
}

.jx-et-modal-copy {
	padding: 1.5rem 1.5rem 1.5rem 1.25rem;
}

.jx-et-modal-bio {
	margin-top: 0.75rem;
	line-height: 1.6;
}

@media (max-width: 1100px) {
	.jx-et--carousel .jx-et-card {
		flex-basis: calc((100% - var(--jx-et-gap)) / 2);
	}
}

@media (max-width: 900px) {
	.jx-et-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jx-et--compact .jx-et-grid {
		grid-template-columns: repeat(min(3, var(--jx-et-cols)), minmax(0, 1fr));
	}

	.jx-et--featured .jx-et-card--featured,
	.jx-et-modal-inner {
		grid-template-columns: 1fr;
	}

	.jx-et--featured .jx-et-card--featured .jx-et-photo {
		min-height: 200px;
		max-height: 280px;
	}

	.jx-et--carousel .jx-et-card {
		flex-basis: min(300px, 78%);
	}

	.jx-et-filters {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 0.15rem;
	}

	.jx-et-filters::-webkit-scrollbar {
		display: none;
	}

	.jx-et-filter {
		flex: 0 0 auto;
	}
}

@media (max-width: 640px) {
	.jx-et {
		--jx-et-gap: 16px;
	}

	.jx-et-header {
		margin-bottom: 1rem;
	}

	.jx-et-grid {
		grid-template-columns: 1fr;
	}

	.jx-et--compact .jx-et-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jx-et--list .jx-et-card {
		flex-direction: column;
	}

	.jx-et--list .jx-et-photo-wrap {
		width: 100%;
		max-width: none;
	}

	.jx-et--list .jx-et-photo {
		min-height: 220px;
	}

	.jx-et--shape-circle .jx-et-photo-wrap,
	.jx-et--compact .jx-et-photo-wrap {
		width: min(var(--jx-et-photo), 68vw);
	}

	.jx-et--carousel .jx-et-viewport {
		grid-template-columns: minmax(0, 1fr);
		padding: 0 0.15rem;
	}

	.jx-et--carousel .jx-et-grid {
		padding-inline: 0.15rem;
	}

	.jx-et--carousel .jx-et-card {
		flex-basis: min(86vw, 320px);
	}

	.jx-et--carousel .jx-et-nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 3;
		width: 2.25rem;
		height: 2.25rem;
		background: color-mix(in srgb, var(--jx-et-card) 92%, transparent);
		backdrop-filter: blur(6px);
	}

	.jx-et--carousel .jx-et-nav--prev {
		left: 0.25rem;
	}

	.jx-et--carousel .jx-et-nav--next {
		right: 0.25rem;
	}

	.jx-et-dialog {
		max-width: calc(100vw - 1rem);
		margin: auto;
	}

	.jx-et-modal-copy {
		padding: 1.15rem;
	}

	.jx-et-modal-photo {
		min-height: 180px;
		max-height: 240px;
	}
}

@media (max-width: 420px) {
	.jx-et--compact .jx-et-grid {
		grid-template-columns: 1fr;
	}

	.jx-et-body {
		padding: 1rem 0.95rem 1.1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jx-et-card,
	.jx-et-filter,
	.jx-et-social-link,
	.jx-et--social-hover .jx-et-social--overlay,
	.jx-et--overlay .jx-et-social--overlay {
		transition: none;
	}

	.jx-et--hover .jx-et-card:hover,
	.jx-et--hover .jx-et-card:focus-within {
		transform: none;
	}
}
