/*
 * Sustainability - Quote.
 *
 * Read from cp-all-designer css/sustain.css:575-590 (.susmsgc), 713-750
 * (.sec--photo, .sec__photo, .susmsgc--dark).
 *
 * Colour, type, padding and the measures arrive from the Style tab and are not
 * repeated here.
 */

.custom-sustainability-quote.custom-sustainability-quote[data-custom-partner-band] {
	position: relative;
	overflow: hidden;
}

.custom-sustainability-quote .custom-sustainability-quote__inner {
	position: relative;
	z-index: 1;
}

/* the photograph fills the band; the veil over it is drawn here, not baked in */
.custom-sustainability-quote .custom-sustainability-quote__photo {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.custom-sustainability-quote .custom-sustainability-quote__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
}

.custom-sustainability-quote .custom-sustainability-quote__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,
		var(--custom-sustainability-quote-veil-top, rgba(14, 30, 84, 0.74)) 0%,
		var(--custom-sustainability-quote-veil-foot, rgba(14, 30, 84, 0.88)) 100%);
}

/* a clear card, blurred through: the mark stands on a line of its own, 1.6 of 16px as the design's card sets it */
.custom-sustainability-quote .custom-sustainability-quote__card {
	position: relative;
	margin-right: auto;
	margin-left: auto;
	border: 2px solid rgba(255, 255, 255, 0.16);   /* measures 1px */
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 34px 80px -20px rgba(22, 65, 140, 0.3);   /* --sh-lg */
	font-size: 16px;
	line-height: 1.6;
}

.custom-sustainability-quote .custom-sustainability-quote__mark {
	font-weight: 700;
	line-height: 0.6;
}

.custom-sustainability-quote .custom-sustainability-quote__words {
	margin-top: 8px;
	line-height: 1.9;
}

.custom-sustainability-quote .custom-sustainability-quote__inner .custom-sustainability-quote__words p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.custom-sustainability-quote .custom-sustainability-quote__inner .custom-sustainability-quote__words p + p {
	margin-top: var(--custom-sustainability-quote-p, 16px);
}

.custom-sustainability-quote .custom-sustainability-quote__words b,
.custom-sustainability-quote .custom-sustainability-quote__words strong {
	font-weight: 700;
	color: inherit;
}
