.eew-quote {
	--eew-quote-accent: #2563eb;
	--eew-quote-text: #334155;
	--eew-quote-name: #0f172a;
	--eew-quote-role: #64748b;
	--eew-quote-mark: #93c5fd;
	--eew-quote-star: #f59e0b;
	--eew-quote-star-empty: #cbd5e1;
	position: relative;
}

.eew-quote__list,
.eew-quote__swiper {
	position: relative;
	overflow: hidden;
}

.eew-quote__items {
	display: grid;
	gap: 1.25rem;
}

.eew-quote__swiper .swiper-wrapper {
	display: flex;
	box-sizing: content-box;
	align-items: stretch;
}

.eew-quote__swiper .swiper-slide,
.eew-quote__item {
	flex-shrink: 0;
	height: auto;
}

.eew-quote__card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 1.75rem 1.75rem 1.5rem;
	border-radius: 1.5rem;
	overflow: hidden;
	text-align: start;
}

.eew-quote--card .eew-quote__card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 18px 40px -24px rgb(37 99 235 / 0.45);
}

.eew-quote--card .eew-quote__card::before {
	content: "";
	position: absolute;
	inset-inline-end: -2.5rem;
	top: -2.5rem;
	width: 8rem;
	height: 8rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(37 99 235 / 0.12), transparent 70%);
	pointer-events: none;
}

.eew-quote--soft .eew-quote__card {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	box-shadow: none;
}

.eew-quote--spotlight .eew-quote__card {
	background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
	border: 1px solid #334155;
	color: #e2e8f0;
	box-shadow: 0 22px 48px -20px rgb(15 23 42 / 0.7);
}

.eew-quote--spotlight {
	--eew-quote-text: #e2e8f0;
	--eew-quote-name: #ffffff;
	--eew-quote-role: #94a3b8;
	--eew-quote-mark: #60a5fa;
}

.eew-quote__mark {
	position: absolute;
	top: 1.15rem;
	inset-inline-end: 1.15rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--eew-quote-mark-size, 2.75rem);
	height: var(--eew-quote-mark-size, 2.75rem);
	font-size: var(--eew-quote-mark-size, 2.75rem);
	line-height: 1;
	color: var(--eew-quote-mark);
	opacity: 0.85;
	pointer-events: none;
}

.eew-quote__mark i,
.eew-quote__mark svg {
	display: block;
	position: relative;
	width: 1em;
	height: 1em;
	font-size: 1em;
	line-height: 1;
	fill: currentColor;
}

.eew-quote__mark i:before {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	line-height: 1;
}

.eew-quote__stars {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	margin-bottom: 0.85rem;
}

.eew-quote__star {
	display: inline-flex;
	width: 1rem;
	height: 1rem;
}

.eew-quote__star svg {
	width: 100%;
	height: 100%;
}

.eew-quote__star--full {
	color: var(--eew-quote-star);
}

.eew-quote__star--empty {
	color: var(--eew-quote-star-empty);
}

.eew-quote__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.9;
	font-weight: 500;
	font-style: italic;
	color: var(--eew-quote-text);
}

.eew-quote__author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 1.25rem;
}

.eew-quote__avatar,
.eew-quote__initials {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	flex-shrink: 0;
}

.eew-quote__avatar {
	object-fit: cover;
	display: block;
	border: 2px solid rgb(37 99 235 / 0.18);
}

.eew-quote--spotlight .eew-quote__avatar {
	border-color: rgb(96 165 250 / 0.35);
}

.eew-quote__initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #2563eb, #4f46e5);
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.eew-quote__meta {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.eew-quote__name {
	font-style: normal;
	font-weight: 800;
	font-size: 0.875rem;
	color: var(--eew-quote-name);
}

.eew-quote__role {
	font-size: 0.75rem;
	color: var(--eew-quote-role);
}

.eew-quote__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.eew-quote__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #ffffff;
	color: #1e293b;
	cursor: pointer;
	box-shadow: 0 6px 16px -8px rgb(15 23 42 / 0.25);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.eew-quote__nav:hover {
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff;
}

.eew-quote__nav svg {
	width: 1.1rem;
	height: 1.1rem;
}

.eew-quote[dir="rtl"] .eew-quote__nav svg,
.rtl .eew-quote__nav svg {
	transform: scaleX(-1);
}

.eew-quote__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 0.6rem;
}

.eew-quote__dots .swiper-pagination-bullet {
	display: block;
	width: 0.45rem;
	height: 0.45rem;
	margin: 0;
	border-radius: 999px;
	background: #cbd5e1;
	opacity: 1;
	cursor: pointer;
	transition: width 0.2s ease, background-color 0.2s ease;
}

.eew-quote__dots .swiper-pagination-bullet-active {
	width: 1.15rem;
	background: #2563eb;
}

.eew-quote--spotlight .eew-quote__nav {
	background: #1e293b;
	border-color: #334155;
	color: #e2e8f0;
}

.eew-quote--spotlight .eew-quote__nav:hover {
	background: #2563eb;
	border-color: #2563eb;
	color: #ffffff;
}

.eew-quote--static .eew-quote__items {
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.eew-quote--static .eew-quote__items {
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}
}
