.an-block-quotes ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.an-block-quotes li {
	display: flex;
	margin: 30px 20px;
}

.an-block-quotes li.text-on-left {
	flex-direction: row-reverse;
}

.an-block-quotes li.text-on-right {
	flex-direction: row;
}

html[dir=rtl] .an-block-quotes li.text-on-left {
	flex-direction: row;
}

html[dir=rtl] .an-block-quotes li.text-on-right {
	flex-direction: row-reverse;
}

.an-block-quotes li > * {
	width: 50%;
}

.an-block-quotes blockquote {
	margin: 0;
}

.an-block-quotes img {
	border-radius: 999px;
	width: 200px;
	height: 200px;
	object-fit: cover;
}

.an-block-quotes .text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: start;
}

.an-block-quotes .text blockquote::before {
	content: '\201D';
}

.an-block-quotes .text blockquote::after {
	content: '\201C';
}

.an-block-quotes .text figcaption {
	font-weight: bold;
	margin-top: 0.5em;
	text-align: end;
}








.an-block-quotes .quote .image img {
	width: 250px;
	height: 250px;
	max-width: 250px;
	max-height: 250px;
}

.an-block-quotes .quote .image::after {
	content: '';
	display: block;
	width: 316px;
	height: 316px;

	position: absolute;
	top: -33px;
	left: -33px;

	-webkit-mask-image: var(--etgar-squiggle-circle-url);
	mask-image: var(--etgar-squiggle-circle-url);

	background-color: var(--etgar-red);
}

.an-block-quotes .quote.text-on-right .image::after {
	transform: scaleX(-1);
	background-color: var(--etgar-purple);
}

.an-block-quotes,
.an-block-quotes li
{
	position: relative;
}

.an-block-quotes ul li::before {
	display: none !important;
}


@media screen and (min-width: 1000px) {

	.an-block-quotes ul {
		max-width: calc(100% - 200px);
		margin: 0 auto;
	}

	.an-block-quotes li {
		align-items: center;
		margin: 100px auto !important;
		background: white;
		border-radius: 15px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
		width: calc(100% - 164px);
		max-width: calc(80vw - 160px);
		left: -48px;
	}

	.an-slider-slide-content .an-block-quotes li {
		margin: 20px auto 40px !important;
	}

	.an-block-quotes .quote.text-on-right {
		left: 48px;
	}

	.an-block-quotes li > * {
		width: unset;
	}


	.an-block-quotes .quote .image {
		position: relative;
		z-index: 1;
		right: -125px;
	}

	.an-block-quotes .quote.text-on-right .image {
		right: unset;
		left: -125px;
	}

	.an-block-quotes .quote .text {
		width: 100%;
		min-height: 300px;
		padding-left: 100px;
		right: -50px;
		margin: 20px 0 20px -50px;
		flex-grow: 1;
		position: relative;
	}

	.an-block-quotes .quote.text-on-right .text {
		padding-left: 0;
		padding-right: 100px;
		right: unset;
		left: -50px;
		margin: 20px -50px 20px 0;
	}

	.an-block-quotes .quote .text::after {
		content: '';
		display: block;
		position: absolute;
		left: -45px;

		width: 91px;
		height: 260px;

		-webkit-mask-image: var(--etgar-squiggle-clef-url);
		mask-image: var(--etgar-squiggle-clef-url);

		background-color: var(--etgar-red);

	}

	.an-block-quotes .quote.text-on-right .text::after {
		left: unset;
		right: -45px;
		background-color: var(--etgar-purple);
		transform: scaleX(-1);
	}

	.an-slider-slide-content > .an-block-quotes {
		max-width: unset;
		margin-left: 0;
		margin-right: 0;
	}

}


@media screen and (max-width: 999.9999px) {

	.an-block-quotes {
		padding: 0 !important;
	}

	.an-block-quotes > ul {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: unset;
	}

	.an-block-quotes > ul[data-items="1"] {
		justify-content: center;
	}


	.an-block-quotes ul {
		padding-bottom: 40px;
	}

	.an-block-quotes li {
		flex-direction: column !important;
		margin-left: 10px !important;
		margin-right: 10px !important;
		width: 75vw;
		max-width: 650px;
	}

	.an-slider-slide-content .an-block-quotes li {
		margin: 0 auto !important;
	}

	.an-block-quotes li > * {
		width: auto;
	}

	.an-block-quotes .quote .image {
		width: calc(100vw - 33px);
		height: calc(100vw - 33px);
		max-width: 100%;
		max-height: 316px;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0 auto;
		z-index: 0;
	}

	.an-block-quotes .quote .image img {
		width: 80%;
		height: auto;
		min-width: 140px;
		min-height: 140px;
	}

	.an-block-quotes .quote .image::after {
		top: unset;
		left: unset;
		width: 100%;
	}

	.an-block-quotes .quote .text {
		margin: -160px 0 0 0;
		padding: 160px 20px 20px;
		background: white;
		border-radius: 15px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
		font-size: 0.9em;
	}

}
