.team-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
    container-type: inline-size;
	gap:1rem;
}
.team-grid.is-layout-scroller {
    display: flex;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    position: relative;
    flex-wrap: nowrap !important;
    transition: transform 1s ease;
}
.team-grid.is-layout-scroller>div {
    flex: 0 0 400px;
}
.team-scroll-wrapper {
    position: relative;
    overflow: hidden;
}
.team-grid > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    border-radius: 16px;
    padding: 2rem 0;
    background-color: var(--wp--preset--color--white);
	transition:all .3s ease;
}
.team-grid > div > div{
	width:100%;
}
.team-grid p.next {
	margin-right:1.5rem!important;
}
.team-grid img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 218px;
    border-radius: 50%;
}
h3.team-name {
    text-align: center;
}
p.team-title {
    font-weight: 600;
    margin-top: .5rem;
	text-align: center;
}
div#prevBtn,
div#nextBtn {
	position: absolute;
	width: 34px;
	height: 34px;
	left: -60px;
	top: calc(50% - 20px);
}
div#prevBtn a,
div#nextBtn a{
	text-indent:-9999px;
	background: transparent url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2234%22%20height%3D%2234%22%20viewBox%3D%220%200%2034%2034%22%3E%0D%0A%20%20%3Cg%20id%3D%22button%22%20transform%3D%22translate(-1460%20-2006)%22%3E%0D%0A%20%20%20%20%3Cg%20id%3D%22Group_27911%22%20data-name%3D%22Group%2027911%22%20transform%3D%22translate(54%20300)%22%3E%0D%0A%20%20%20%20%20%20%3Ccircle%20id%3D%22Ellipse_1395%22%20data-name%3D%22Ellipse%201395%22%20cx%3D%2217%22%20cy%3D%2217%22%20r%3D%2217%22%20transform%3D%22translate(1406%201706)%22%20fill%3D%22%23fff%22%2F%3E%0D%0A%20%20%20%20%20%20%3Cpath%20id%3D%22Path_131869%22%20data-name%3D%22Path%20131869%22%20d%3D%22M35%2C25.456%2C30.23%2C30.23l-4.774-4.774%22%20transform%3D%22translate(1396.545%201753.229)%20rotate(-90)%22%20fill%3D%22none%22%20stroke%3D%22%23162944%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222%22%2F%3E%0D%0A%20%20%20%20%3C%2Fg%3E%0D%0A%20%20%3C%2Fg%3E%0D%0A%3C%2Fsvg%3E%0D%0A') no-repeat 0 0;
	width: 100%;
	height: 100%;
	display: block;
}
div#nextBtn {
	left: auto;
	right: -60px;
}
div#prevBtn {
	transform: rotate(180deg);
}