/**
 * Block: Letter or quote. Navy band, portrait beside a large pull quote.
 */

.ci-letter {
	background-color: var(--wp--preset--color--navy);
}

.ci-letter__inner {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 960px) {
	.ci-letter--has-image .ci-letter__inner {
		grid-template-columns: 20rem minmax(0, 1fr);
		gap: 5rem;
	}
}

.ci-letter__photo {
	display: block;
	width: 100%;
	max-width: 20rem;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: top;
}

.ci-letter__body {
	max-width: 50rem;
	margin: 0;
}

.ci-letter__quote {
	margin: 0;
}

.ci-letter__quote p {
	margin: 0;
	color: var(--wp--preset--color--white);
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.5rem, 2.6vw, 2.125rem);
	line-height: 1.3;
}

.ci-letter__quote p::before {
	content: "\201C";
	display: block;
	height: 3.25rem;
	color: var(--wp--preset--color--sky);
	font-size: 5.5rem;
	line-height: 1;
}

.ci-letter__by {
	margin-top: 1.75rem;
	color: rgb(255 255 255 / .75);
}

.ci-letter__by strong {
	display: block;
	color: var(--wp--preset--color--white);
	font-weight: 600;
}

.ci-letter__link {
	margin-top: 2rem;
}
