.our-team {
	position: relative;
	font-family: "Gilroy", sans-serif;
}

.our-team__wrapper {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 40px;
}

.our-team__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	text-align: center;
	gap: 12px;
}

.our-team__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 20px;
	background: #f3f3f3;
}

.our-team__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.our-team__name {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
}

.our-team__job {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	color: #f28c2e;
}

.our-team__arrow {
	display: none;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 40%;
	z-index: 2;
	width: auto;
	height: auto;
	padding: 0;
	border: none;
	border-radius: 4px;
	background: transparent;
	color: #faa71b;
	cursor: pointer;
}

.our-team__arrow:hover, .our-team__arrow:focus {
	background: transparent;
	color: #faa71b;
}

.our-team__arrow svg {
	width: 36px;
	height: 36px;
}

.our-team__arrow--prev {
	left: -18px;
}

.our-team__arrow--next {
	right: -18px;
}

.our-team__arrow[disabled] {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.our-team__wrapper {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
	}
}

@media (min-width: 768px) {
	.our-team__image {
		aspect-ratio: 2 / 3;
		border-radius: 20px;
	}
}

@media (max-width: 767px) {
	.our-team {
		padding: 0 14px;
	}

	.our-team__arrow {
		display: inline-flex;
	}

	.our-team__arrow svg {
		width: 34px;
		height: 34px;
	}

	.our-team__arrow--prev {
		left: -22px;
	}

	.our-team__arrow--next {
		right: -22px;
	}

	.our-team__wrapper {
		display: flex;
		gap: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 8px;
		margin: 0;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.our-team__wrapper::-webkit-scrollbar {
		display: none;
	}

	.our-team__card {
		flex: 0 0 100%;
		max-width: 100%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
}
