.tce-quote {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 36px;
	border-radius: 18px;
	background: var(--tce-ink);
}

.tce-quote[hidden] {
	display: none;
}

.tce-quote.is-active {
	animation: tce-fade 0.4s ease;
}

@keyframes tce-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.tce-quote__avatar {
	flex: 0 0 112px;
	width: 112px;
	height: 112px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid var(--tce-accent);
	border-radius: 50%;
	background: #0b1a44;
	overflow: hidden;
}

.tce .tce-quote__avatar img,
.tce .tce-tcard__avatar img {
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	display: block;
}

/* Keep theme blockquote styles (borders, quote marks, backgrounds) out of the design. */
.tce .tce-quote .tce-quote__text,
.tce .tce-tcard .tce-tcard__text {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	quotes: none;
}

.tce .tce-quote__text::before,
.tce .tce-quote__text::after,
.tce .tce-tcard__text::before,
.tce .tce-tcard__text::after {
	content: none;
	display: none;
}

.tce .tce-quote,
.tce .tce-tcard {
	margin: 0;
}

.tce-quote__avatar span {
	font-family: var(--tce-head-font);
	font-weight: 800;
	font-size: 36px;
	line-height: 1.16;
	letter-spacing: -1.08px;
	color: var(--tce-accent);
}

.tce-quote__body {
	flex: 1;
	min-width: 0;
}

.tce-quote__text {
	border: 0 !important;
	font-family: var(--tce-head-font);
	font-weight: 700;
	font-size: 28px;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: -0.28px;
	color: #fff;
}

.tce-quote__meta {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tce-hero-muted);
}

.tce-quote__meta strong {
	font-weight: 600;
	color: #fff;
}

.tce-quote__link {
	display: inline-block;
	margin-top: 6px;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tce-accent) !important;
}

.tce-quote__link:hover {
	color: var(--tce-cyan) !important;
}

.tce-carousel__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
}

.tce-dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tce-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--tce-line);
	cursor: pointer;
	transition: width 0.25s ease, background 0.25s ease;
}

.tce-dot.is-active {
	width: 24px;
	background: var(--tce-accent);
}

/* ---------- Grid / carousel quote cards ---------- */

.tce-tcard {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
	padding: 28px;
	border-radius: 18px;
	background: var(--tce-ink);
}

.tce-tcard__text {
	border: 0 !important;
	font-family: var(--tce-head-font);
	font-weight: 700;
	font-size: 20px;
	font-style: normal;
	line-height: 1.4;
	letter-spacing: -0.2px;
	color: #fff;
}

.tce-tcard__person {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tce-tcard__avatar {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--tce-accent);
	border-radius: 50%;
	background: #0b1a44;
	overflow: hidden;
	font-family: var(--tce-head-font);
	font-weight: 800;
	font-size: 20px;
	color: var(--tce-accent);
}

.tce-tcard__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--tce-hero-muted);
}

.tce-tcard__who strong {
	font-weight: 600;
	font-size: 15px;
	color: #fff;
}

.tce-tcard__who a {
	margin-top: 2px;
	font-weight: 600;
	color: var(--tce-accent) !important;
}

@media (max-width: 767px) {
	.tce-tcard {
		padding: 22px;
	}

	.tce-tcard__text {
		font-size: 18px;
	}

	.tce-quote {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 24px;
	}

	.tce-quote__avatar {
		flex-basis: 72px;
		width: 72px;
		height: 72px;
	}

	.tce-quote__avatar span {
		font-size: 24px;
	}

	.tce-quote__text {
		font-size: 21px;
	}
}
