.dmp-quote {
	--dmp-quote-text: inherit;
	--dmp-quote-cite: inherit;
	--dmp-quote-dot: #C1CCD8;
	--dmp-quote-dot-active: var(--wp--preset--color--primary, #a6192e);
	--dmp-quote-dot-size: 8px;
	--dmp-quote-arrow-color: #ffffff;
	--dmp-quote-arrow-bg: rgba(0, 0, 0, 0.4);
	--dmp-quote-arrow-size: 44px;
	--dmp-quote-transition: 450ms;
	--dmp-quote-per-view-desktop: 1;
	--dmp-quote-per-view-tablet: 1;
	--dmp-quote-per-view-mobile: 1;
	--dmp-quote-item-gap-desktop: 0px;
	--dmp-quote-item-gap-tablet: 0px;
	--dmp-quote-item-gap-mobile: 0px;
	position: relative;
	padding-left: var(--wp--preset--spacing--20, 5rem);
	font-family: "Lora", Georgia, serif;
	font-style: italic;
	font-size: 26px;
	line-height: 1.4;
	color: var(--dmp-quote-text);
	box-sizing: border-box;
}

.dmp-hero .dmp-quote{
	padding-left: var(--wp--preset--spacing--12, 3rem);
}

.dmp-quote__icon {
	position: absolute;
	left: 0;
	top: 0;
	width: 60px;
	height: 45px;
	object-fit: contain;
	display: block;
	pointer-events: none;
}

.dmp-hero .dmp-quote__icon{
	width: 40px;
	height: 40px;
}

.dmp-hero .dmp-hero__content .wp-block-paragraph{
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.dmp-quote--invert .dmp-quote__icon {
	filter: brightness(0) invert(1);
}

.dmp-quote__item {
	margin: 0;
	padding: 0;
	border: 0;
	quotes: none;
	font: inherit;
	color: inherit;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.dmp-quote__item-card {
	flex: 1 1 auto;
	width: 100%;
	box-sizing: border-box;
	min-height: 0;
}

.dmp-quote__item p,
.dmp-quote__item .wp-block-paragraph {
	margin: 0 0 0.5rem;
	font-family: inherit;
	font-style: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.dmp-quote__item p:last-child,
.dmp-quote__item .wp-block-paragraph:last-child {
	margin-bottom: 0;
}

.dmp-quote__item-card > p:not(:first-child):not(.has-text-color),
.dmp-quote__item .wp-block:not(:first-child) p:not(.has-text-color) {
	color: var(--dmp-quote-cite);
}

.dmp-quote__item-card > p:not(:first-child):not([class*="-font-size"]),
.dmp-quote__item .wp-block:not(:first-child) p:not([class*="-font-size"]) {
	font-size: 0.7em;
}

.dmp-quote__viewport {
	overflow: hidden;
	width: 100%;
}

.dmp-quote__track {
	display: flex;
	transition: transform var(--dmp-quote-transition, 450ms) ease;
	will-change: transform;
}

.dmp-quote--effect-fade .dmp-quote__track,
.dmp-quote--effect-slide-up .dmp-quote__track {
	transform: none !important;
	will-change: auto;
	position: relative;
}

.dmp-quote--effect-fade .dmp-quote__item,
.dmp-quote--effect-slide-up .dmp-quote__item {
	transition: opacity var(--dmp-quote-transition, 450ms) ease, transform var(--dmp-quote-transition, 450ms) ease, visibility var(--dmp-quote-transition, 450ms) ease;
}

.dmp-quote--effect-fade:has(.dmp-quote__item.is-active) .dmp-quote__item:not(.is-active),
.dmp-quote--effect-slide-up:has(.dmp-quote__item.is-active) .dmp-quote__item:not(.is-active) {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.dmp-quote--effect-fade .dmp-quote__item.is-active,
.dmp-quote--effect-slide-up .dmp-quote__item.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.dmp-quote--effect-slide-up .dmp-quote__item:not(.is-active) {
	transform: translateY(28px);
}

.dmp-quote--effect-slide-up .dmp-quote__item.is-active {
	transform: none;
}

.dmp-quote--slider .dmp-quote__item {
	flex: 0 0 calc(100% / var(--dmp-quote-per-view-desktop, 1));
	width: calc(100% / var(--dmp-quote-per-view-desktop, 1));
	max-width: calc(100% / var(--dmp-quote-per-view-desktop, 1));
	box-sizing: border-box;
	padding-inline: calc(var(--dmp-quote-item-gap-desktop, 0px) / 2);
}

.dmp-quote__controls {
	display: block;
}

.dmp-quote__arrow {
	pointer-events: auto;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--dmp-quote-arrow-size, 44px);
	height: var(--dmp-quote-arrow-size, 44px);
	padding: 0;
	border: 0;
	cursor: pointer;
	color: var(--dmp-quote-arrow-color, #ffffff);
	background: var(--dmp-quote-arrow-bg, rgba(0, 0, 0, 0.4));
	font-size: calc(var(--dmp-quote-arrow-size, 44px) * 0.45);
	line-height: 1;
}

.dmp-quote__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.dmp-quote__arrow svg {
	display: block;
}

.dmp-quote--arrow-circle .dmp-quote__arrow {
	border-radius: 50%;
}

.dmp-quote--arrow-rounded .dmp-quote__arrow {
	border-radius: 8px;
}

.dmp-quote--arrow-square .dmp-quote__arrow {
	border-radius: 0;
}

.dmp-quote--arrow-chevron .dmp-quote__arrow {
	background: transparent;
	border-radius: 0;
}

/* Default: arrows sit left and right of the dots */
.dmp-quote--arrows-sides .dmp-quote__controls,
.dmp-quote--arrows-bottom .dmp-quote__controls {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 1.25rem;
}

.dmp-quote--dots-left.dmp-quote--arrows-sides .dmp-quote__controls,
.dmp-quote--dots-left.dmp-quote--arrows-bottom .dmp-quote__controls {
	justify-content: flex-start;
}

.dmp-quote--dots-right.dmp-quote--arrows-sides .dmp-quote__controls,
.dmp-quote--dots-right.dmp-quote--arrows-bottom .dmp-quote__controls {
	justify-content: flex-end;
}

.dmp-quote--arrows-sides .dmp-quote__arrow,
.dmp-quote--arrows-bottom .dmp-quote__arrow,
.dmp-quote--arrows-top .dmp-quote__arrow,
.dmp-quote--arrows-sides .dmp-quote__dots,
.dmp-quote--arrows-bottom .dmp-quote__dots,
.dmp-quote--arrows-top .dmp-quote__dots {
	position: relative;
	inset: auto;
	left: auto;
	right: auto;
	top: auto;
	bottom: auto;
	transform: none;
	flex: 0 0 auto;
	pointer-events: auto;
}

.dmp-quote--arrows-top .dmp-quote__controls {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 0;
}

.dmp-quote--arrows-middle .dmp-quote__controls,
.dmp-quote--arrows-sides-top .dmp-quote__controls,
.dmp-quote--arrows-sides-bottom .dmp-quote__controls {
	display: contents;
}

.dmp-quote--arrows-middle .dmp-quote__arrow,
.dmp-quote--arrows-sides-top .dmp-quote__arrow,
.dmp-quote--arrows-sides-bottom .dmp-quote__arrow {
	position: absolute;
	z-index: 4;
}

.dmp-quote--arrows-middle .dmp-quote__arrow--prev,
.dmp-quote--arrows-sides-top .dmp-quote__arrow--prev,
.dmp-quote--arrows-sides-bottom .dmp-quote__arrow--prev {
	left: 16px;
}

.dmp-quote--arrows-middle .dmp-quote__arrow--next,
.dmp-quote--arrows-sides-top .dmp-quote__arrow--next,
.dmp-quote--arrows-sides-bottom .dmp-quote__arrow--next {
	right: 16px;
}

.dmp-quote--arrows-middle .dmp-quote__arrow--prev,
.dmp-quote--arrows-middle .dmp-quote__arrow--next {
	top: 50%;
	transform: translateY(-50%);
}

.dmp-quote--arrows-sides-top .dmp-quote__arrow--prev,
.dmp-quote--arrows-sides-top .dmp-quote__arrow--next {
	top: 16px;
}

.dmp-quote--arrows-sides-bottom .dmp-quote__arrow--prev,
.dmp-quote--arrows-sides-bottom .dmp-quote__arrow--next {
	bottom: 16px;
}

.dmp-quote__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: calc(var(--dmp-quote-dot-size, 8px) * 0.75);
	margin-top: 1.25rem;
}

.dmp-quote--arrows-sides .dmp-quote__dots,
.dmp-quote--arrows-bottom .dmp-quote__dots,
.dmp-quote--arrows-top .dmp-quote__dots {
	margin-top: 0;
	justify-content: center;
}

.dmp-quote--dots-center .dmp-quote__dots {
	justify-content: center;
}

.dmp-quote--dots-right .dmp-quote__dots {
	justify-content: flex-end;
}

.dmp-quote__dot {
	width: var(--dmp-quote-dot-size, 8px);
	height: var(--dmp-quote-dot-size, 8px);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--dmp-quote-dot);
	opacity: 0.45;
	cursor: pointer;
	appearance: none;
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.dmp-quote__dot.is-active {
	opacity: 1;
	background: var(--dmp-quote-dot-active);
	transform: scale(1.15);
}

@media (max-width: 1024px) {
	.dmp-quote--slider .dmp-quote__item {
		flex-basis: calc(100% / var(--dmp-quote-per-view-tablet, 1));
		width: calc(100% / var(--dmp-quote-per-view-tablet, 1));
		max-width: calc(100% / var(--dmp-quote-per-view-tablet, 1));
		padding-inline: calc(var(--dmp-quote-item-gap-tablet, 0px) / 2);
	}
}

@media (max-width: 768px) {
	.dmp-quote {
		padding-left: var(--wp--preset--spacing--12, 3rem);
		font-size: 20px;
		--dmp-quote-arrow-size: 36px;
	}

	.dmp-quote__icon {
		width: 40px;
		height: 35px;
	}

	.dmp-quote--arrows-middle .dmp-quote__arrow--prev,
	.dmp-quote--arrows-sides-top .dmp-quote__arrow--prev,
	.dmp-quote--arrows-sides-bottom .dmp-quote__arrow--prev {
		left: 10px;
	}

	.dmp-quote--arrows-middle .dmp-quote__arrow--next,
	.dmp-quote--arrows-sides-top .dmp-quote__arrow--next,
	.dmp-quote--arrows-sides-bottom .dmp-quote__arrow--next {
		right: 10px;
	}

	.dmp-quote--slider .dmp-quote__item {
		flex-basis: calc(100% / var(--dmp-quote-per-view-mobile, 1));
		width: calc(100% / var(--dmp-quote-per-view-mobile, 1));
		max-width: calc(100% / var(--dmp-quote-per-view-mobile, 1));
		padding-inline: calc(var(--dmp-quote-item-gap-mobile, 0px) / 2);
	}

	.dmp-hero .dmp-hero__content .wp-block-paragraph{
		font-size: 16px !important;
	}

}
