.c-quote--with-image {
	--epic-quote-mark-width: clamp(1.25rem, 4vw, 2rem);
	--epic-quote-inset: calc(var(--epic-quote-mark-width) + 0.75rem);
	margin: 0 0 1.5rem;
	overflow-wrap: anywhere;
}

.c-quote--with-image .c-quote__text {
	position: relative;
	padding-inline-start: var(--epic-quote-inset);
	border: 0;
	font-size: 23px;
	color: inherit;
}

.c-quote--with-image .c-quote__text::before {
	display: block;
	position: absolute;
	inset-block-start: 0.4em;
	inset-inline-start: 0;
	width: var(--epic-quote-mark-width);
	height: 1.25rem;
	background: url(../images/quote-marks.svg) center / contain no-repeat;
	mask-image: none;
	opacity: 1;
	content: "";
}

.c-quote--with-image .c-quote__text > :last-child {
	margin-bottom: 0;
}

.c-quote--with-image .c-quote__attribution {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-block-start: 1rem;
	margin-inline-start: var(--epic-quote-inset);
}

.c-quote--with-image .c-quote__image {
	flex: 0 0 auto;
}

.c-quote--with-image .c-quote__image img {
	display: block;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	object-fit: cover;
}

.c-quote--with-image .c-quote__byline {
	min-width: 0;
}
