.quote-block .eyebrow {
	margin-bottom: 1.5rem;
}

.quote-block__wrapper {
	padding: 2rem 0;
}

.quote-block__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
}

.quote-block__main {
	display: grid;
	grid-template-columns: 1fr;
	text-align: left;
	height: 100%;
	align-content: center;
	padding: 0 2.5rem;
}

.quote-block__customer {
	padding: 0 0.75rem 0 2.5rem;
}

.quote-block__customer-image {
	display: block;
	border-radius: 0.25rem;
	width: 100%;
	height: auto;
}

.quote-block__customer-image img {
	width: 100%;
}

.quote-block__logo {
	margin: 1.5rem 0 2rem;
}

.quote-block__logo img {
	max-height: 2.5rem;
	width: auto;
}

.quote-block__author {
	margin-top: 1.5rem;
	font-size: 0; /** Removes any whitespace between author name and delegation. **/
	display: flex;
	flex-direction: column;
}

.quote-block__author-name,
.quote-block__author-designation {
	font-size: 1rem;
	line-height: 1.1;
}

.quote-block__ctas {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 1.5rem;
	margin: 4rem 0 2rem;
}

.quote-block__stats {
	display: flex;
	flex-direction: row;
	text-align: left;
	justify-content: space-between;
	align-items: center;
	margin-top: 4rem;
	gap: 2.5rem;
}

.quote-block__stat {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.quote-block__stat-number {
	font-size: 2.75rem;
	font-weight: 700;
}

.quote-block__stat-summary {
	font-size: 1rem;
	line-height: 1.5;
}

.quote-block__items {
	margin-top: 2.5rem;
}

.quote-block__items-container {
	padding: 0;
}

.quote-block__rating {
	--star-size: 1.25rem;
	--star-count: 5;
	margin-bottom: 1.75rem;
	position: relative;
	display: inline-block;
	width: calc(var(--star-size) * var(--star-count));
	height: var(--star-size);
}

.quote-block__rating::before {
	content: "";
	position: absolute;
	inset: 0;

	background-image: url(../../../images/decorative-items/empty-star.svg);
	background-repeat: repeat-x;
	background-size: var(--star-size) var(--star-size);
}

.quote-block__rating::after {
	content: "";
	position: absolute;
	inset: 0;

	width: calc(var(--rating-value) * var(--star-size));
	overflow: hidden;

	background-image: url(../../../images/decorative-items/filled-star.svg);
	background-repeat: repeat-x;
	background-size: var(--star-size) var(--star-size);
}

.quote-block__tagline {
	line-height: 1.2;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 0.75rem;
}

/* Common decorative elements */
.customer_testimonials {
	padding: 14.75rem 0 5.5rem;
}

.customer_testimonials.has-decorative-elm::before {
	background: url(../../../images/decorative-items/top-curve-mobile.jpg)
		no-repeat center top / contain;
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	left: -100%;
	right: -100%;
	top: -0.25rem;
	margin: auto;
	z-index: -1;
}

.customer_testimonials.has-decorative-elm::after {
	background: url(../../../images/decorative-items/left-curve-mobile.png)
		no-repeat center bottom / contain;
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	left: -100%;
	right: -100%;
	bottom: 0;
	margin: auto;
	z-index: -1;
}

.customer_testimonials
	.quote-block__items-container--has-decorative-elm::after {
	bottom: -8rem;
	right: 0.75rem;
}

.usecase_testimonials.has-decorative-elm::before {
	background: url(../../../images/decorative-items/full-black-star.png)
		no-repeat center top / contain;
	position: absolute;
	content: "";
	width: 4.25rem;
	height: 4.25rem;
	right: 0;
	top: 0;
}

.usecase_testimonials .quote-block__items-container--has-decorative-elm::after {
	bottom: 8rem;
	left: 0.75rem;
}

.usecase_testimonials .quote-block__items-container--has-decorative-elm::after,
.customer_testimonials
	.quote-block__items-container--has-decorative-elm::after {
	background: url(../../../images/decorative-items/slash-plus-icon.png)
		no-repeat center top / 100%;
	position: absolute;
	content: "";
	width: 4.5rem;
	height: 10.25rem;
	z-index: -1;
}

/* Common Swiper Pagination Styles */
.swiper-horizontal > .swiper-pagination-bullets.quote-banner__dots,
.swiper-pagination-bullets.swiper-pagination-horizontal.tabs-pagination {
	display: flex;
	justify-content: center;
}

.swiper-horizontal > .swiper-pagination-bullets.quote-banner__dots {
	margin: 1.75rem 0;
}

.swiper-pagination-bullets.swiper-pagination-horizontal.quote-block__tabs-pagination
	.swiper-pagination-bullet,
.swiper-horizontal
	> .swiper-pagination-bullets.quote-banner__dots
	.swiper-pagination-bullet {
	position: relative;
	font-size: 0;
	width: 1.75rem;
	margin: 1rem 0.25rem;
	background-color: transparent;
	border-bottom: solid 0.5rem rgba(0, 0, 0, 0.4);
	border-radius: 0;
	cursor: pointer;
}

.swiper-pagination-bullets.swiper-pagination-horizontal.quote-block__tabs-pagination
	.swiper-pagination-bullet {
	height: 0.5rem;
}

.swiper-pagination-bullets.swiper-pagination-horizontal.quote-block__tabs-pagination
	.swiper-pagination-bullet::after,
.swiper-horizontal
	> .swiper-pagination-bullets.quote-banner__dots
	.swiper-pagination-bullet::after {
	position: absolute;
	content: "";
	width: 1.75rem;
	height: 2rem;
	top: -1.5rem; /** Half the height, minus the border width */
	left: 0;
}

.swiper-horizontal
	> .swiper-pagination-bullets.quote-banner__dots
	.swiper-pagination-bullet-active {
	border-color: var(--white);
}

.swiper-pagination-bullets.swiper-pagination-horizontal.quote-block__tabs-pagination
	.swiper-pagination-bullet-active {
	background: var(--orange);
	border: none;
}

.quote-block__tabs-pagination {
	text-align: center;
}

@media all and (min-width: 640px) {
	.customer_testimonials.has-decorative-elm::before {
		background: url(../../../images/decorative-items/top-curve-ipad.jpg)
			no-repeat center top / contain;
	}

	.customer_testimonials.has-decorative-elm::after {
		background: url(../../../images/decorative-items/left-curve-ipad.png)
			no-repeat center bottom / contain;
	}

	.quote-block__title {
		font-size: 1.75rem;
		line-height: 1.1;
	}

	.quote-block__customer-image img {
		width: auto;
	}
}

@media all and (min-width: 768px) {
	.quote-block__wrapper {
		padding: 0;
	}

	.quote-block__customer {
		padding: 0;
	}

	.quote-block__customer-image img {
		width: 100%;
	}

	.quote-block__author {
		margin-top: 1.5rem;
		display: block;
	}

	.quote-block__author-name,
	.quote-block__author-designation {
		font-size: 1rem;
		line-height: 1.25;
	}

	.quote-block__content {
		grid-row: 1;
	}

	.quote-block__stats {
		grid-row-start: 1;
		grid-row-end: 3;
		flex-direction: column;
		justify-content: center;
		gap: 0;
		height: 100%;
		margin-top: 0;
	}

	.quote-block__stat {
		text-align: center;
		gap: 0.25rem;
		margin-right: 1rem;
	}

	.quote-block__stat-number {
		font-size: 2.5rem;
		line-height: 1.1;
	}

	.quote-block__stat-summary {
		font-size: 0.75rem;
	}

	.quote-block__ctas {
		margin-top: 1rem;
		gap: 1rem;
		align-items: self-start;
	}

	.quote-banner__dots {
		position: absolute;
		bottom: 0;
		z-index: 10;
	}

	.quote-block__main:not(.full-quote .quote-block__main) {
		grid-template-columns: 5fr 1fr;
		gap: 2.5rem 3.25rem;
		padding: 0;
	}

	.customer_testimonials {
		padding: 13.5rem 0 15.25rem;
		margin-bottom: -5rem;
	}

	.quote-block__curve-wrapper {
		margin-right: 7rem;
	}

	.quote-block__curve-wrapper--has-decorative-elm::before {
		background-image: url(../../../images/decorative-items/curve-quote.jpg);
		background-repeat: no-repeat;
		background-position: center right;
		background-size: contain;
		background-color: var(--orange);
		position: absolute;
		content: "";
		right: -8.75rem;
		top: 0;
		bottom: 0;
		width: 100%;
		z-index: -1;
	}

	.customer_testimonials
		.quote-block__items-container--has-decorative-elm::after {
		width: 6.5rem;
		height: 14.75rem;
		bottom: -11.25rem;
		right: 0;
	}
}

@media (min-width: 992px) {
	.quote-block__items-container {
		padding: 0 2rem;
	}

	.quote-block__grid {
		gap: 5rem;
	}

	.quote-block__overflow {
		padding-top: 2.5rem;
	}

	.quote-block__title {
		font-size: 2.5rem;
		line-height: 1.1;
	}

	.quote-block__author {
		margin-top: 2rem;
	}

	.quote-block__main {
		padding: 4.5rem 0 3.25rem;
	}

	.quote-block__main:not(.full-quote .quote-block__main) {
		gap: 2.5rem;
		padding: 3rem 0;
	}

	.quote-block__stats {
		justify-content: space-evenly;
	}

	.quote-block__stat {
		margin: 0;
	}

	.quote-block__stat-number {
		font-size: 3.25rem;
		line-height: 1.1;
	}

	.quote-block__stat-summary {
		font-size: 1rem;
	}

	.quote-block__curve-wrapper {
		margin-right: 8.75rem;
	}

	.quote-block__curve-wrapper--has-decorative-elm::before {
		top: 2.5rem;
	}

	.customer_testimonials {
		padding: 15.25rem 0 30.75rem;
		margin-bottom: -15.25rem;
	}

	.customer_testimonials.has-decorative-elm::before {
		background: url(../../../images/decorative-items/top-curve.jpg)
			no-repeat center top/contain;
		max-width: 120rem;
	}

	.customer_testimonials.has-decorative-elm::after {
		background: url(../../../images/decorative-items/left-curve.png)
			no-repeat center bottom / contain;
		max-width: 120rem;
	}

	.customer_testimonials
		.quote-block__items-container--has-decorative-elm::after {
		bottom: -23.5rem;
		right: -4.75rem;
	}

	.usecase_testimonials {
		padding: 6rem 0 5.5rem;
	}

	.usecase_testimonials.has-decorative-elm::before {
		width: 9.75rem;
		height: 9.5rem;
		right: calc(50% - 42.5rem);
		top: 2rem;
	}

	.usecase_testimonials
		.quote-block__items-container--has-decorative-elm::after {
		bottom: -3.5rem;
		left: -9.25rem;
	}
}

@media all and (min-width: 1280px) {
	.quote-block__ctas {
		flex-direction: row;
		align-items: center;
		gap: 2rem;
	}

	.full-quote .quote-block__ctas {
		margin-top: 2.5rem;
	}
}
