/* Our Impact */

.alt-bg {
	background-color: #ece3f7;
	color: #49494B;
	padding: 1.5em;
	margin: 2em 0;
}

.video-thumb {
	display: block;
	position: relative;
}

.video-thumb::after {
	content: ' ';
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	position: absolute;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 147 147'%3E%3Ccircle cx='73.5' cy='73.5' r='73' style='fill:%235c2f92;fill-opacity:.6;stroke:%235c2f92;stroke-miterlimit:10'/%3E%3Cpath d='m54.166 102.699 51.257-29.239-51.257-29.239v58.478z' style='stroke:%235c2f92;stroke-miterlimit:10;fill:%23fff'/%3E%3C/svg%3E");
	background-size: 20% auto;
	background-position: center center;
	background-repeat: no-repeat;	
}

header.head h2 {
	display: block;
}

@media(min-width:42em) {
	blockquote {
		position: relative;
	}

	blockquote::before {
		position: absolute;
		content: ' ';
		top: 0;
		left: -3.5em;
		width: 3em;
		height: 3em;
		z-index: 0;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 71.4 54'%3E%3Cpath d='M71.4 39.8c0-8.1-5.1-14-14.3-14-1.8 0-3.7.7-4 .9.6-8.5 9.2-13.4 15.6-14.2V0c-12.1.9-30 9.9-30 35.4 0 9.4 5.9 18.6 16.9 18.6 9.1-.1 15.8-6.5 15.8-14.2m-38.6 0c0-8.1-5.1-14-14.3-14-1.8 0-3.7.7-4 .9.6-8.5 9.2-13.4 15.6-14.2V0C18 .9 0 9.9 0 35.4 0 44.8 6.1 54 17.1 54c9.1-.1 15.7-6.5 15.7-14.2' style='fill:%23D93740'/%3E%3C/svg%3E");
		background-size: 3em auto;
		background-position: left top;
		background-repeat: no-repeat;	
	}
}

.image-col {
	/* max-width: 20em; */
	margin: 2em auto;
}

@media (min-width: 42em) {
	blockquote {
		text-align: left;
	}

	.split-cols {
		display: flex;
		gap: 2em;
	}

	.split-cols.image-right {
		flex-direction: row-reverse;
	}

	.image-col {
		margin: 0;
		flex: 0 0 40%;
	}

	.text-col {
		flex: 1 1 0;
	}
}

#impacts {
	list-style: none;
	padding: 0;
	margin: 1em 0;
}

#impacts li {
	background-color: #ece3f7;
	padding: 1em;
	margin: 1em 0;
}

#impacts h3 {
	margin-top: 0;
	text-align: center;
}

#impacts blockquote {
	font-size: inherit;
	padding: 0;
	margin: 1em 0;
}

#impacts>li>:last-child {
	margin-bottom: 0;
}

#impacts blockquote p {
	margin-bottom: 1em;
}

@media(min-width:42em) {
	#impacts {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1em;
	}

	#impacts blockquote {
		margin: 1em 0 0 3em;
	}
	
	#impacts .split-cols blockquote {
		margin: 0;
  	}
	
	#impacts>li {
		margin: 0;
		display: flex;
		flex-direction: column;
	}

	#impacts>li>:last-child {
		padding-top: 1rem;
		margin-top: auto;
	}
}

@media(max-width:41.9999em) {
	#impacts .image-col {
		max-width: 10em;
	}
}

#impact-details div {
	box-sizing: border-box;
}

#impact-details .card {
	color: #fff;
	padding: 1em;
	border-radius: 0;
}

#impact-details .big-number {
	font-size: 2em;
	font-weight: bold;
	display: block;
	line-height: 1.1;
}

#impact-details #details-main {
	background: #643385;
}

#impact-details #details-main > :nth-child(2) {
	background: #D93740;
}

#impact-details #details-recent {
	background-color: #ece3f7;
	padding: 0 1em 1em;
}

#impact-details #details-recent > p {
	margin: 0.5em 0;
	color: #643385;
	font-weight: bold;
	text-transform: uppercase;
}

#impact-details #details-recent > div {
	color: #fff;
	background: #9E247B;
}

#impact-details #details-recent > :nth-child(3) {
	background: #D93740;
	flex-basis: 50%;
}

#impact-details #details-recent > :nth-child(4) {
	background: #577B94; /* #7B9CB1 */
	flex-basis: 50%;
}

#impact-details #details-method {
	color: #fff;
	background: #643385;
	padding: 1em;
}

#impact-details #details-method .image {
	width: 16em;
	max-width: 100%;
	margin: 1em auto 0;
}

@media(min-width:42em) {
	#impact-details #details-method {
		display: flex;
		gap: 1em;
		align-items: center;
	}

	#impact-details #details-method .image {
  	flex: 0 0 16em;
		margin: 0;
  }
}

#impact-details .source {
	font-size: 0.75em;
	margin-top: 0.5em;
}

@media(min-width:42em) {
	#impact-details .big-number {
		font-size: 3.5em;
	}

	#impact-details #details-main {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

	#impact-details #details-recent {
		display: flex;
		flex-wrap: wrap;
	}
	#impact-details #details-recent > * {
		flex-basis: 100%;
	}
}

#impact-details #grants-awards,
#impact-details #treatments,
#impact-details #collaborations {
	padding-right: 6em;
	position: relative;
}

#impact-details #grants-awards::after,
#impact-details #treatments::after,
#impact-details #collaborations::after {
	content: ' ';
	position: absolute;
	right: 1em;
	top: 20%;
	bottom: 0;
	width: 4em;
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;
}

#impact-details #grants-awards::after {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68.134 61.4"><path d="M60.069.75h-52.1c0 40.2 23 28.8 23 43-.2 9.1-4.9 11.7-12.9 11.7v5.2h31.8v-5.2c-8 0-13.1-2.6-13.1-11.7.1-14.2 23.3-3 23.3-43Zm-6.2 26c14.5 0 13.5-17.2 13.5-20.8h-7.4m-45.8 20.8c-14.5 0-13.4-17.2-13.4-20.8h7.3" style="fill:none;stroke:%23fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px"/></svg>');
}

#impact-details #treatments::after {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 42.1 42.129"><path d="M17.55 5.254c-4.9-6.1-12.5 2.3-16.8 2.5 1.5 3.4 9.4 6.7 17.1 5m6.7-7.6c4.9-6.1 12.5 2.3 16.8 2.5-1.5 3.4-9.4 6.7-17.1 5m.3-8.4c0 1.3-1.6 22.6-2.7 36.3-.1 1.1-1.7 1.1-1.8 0-1-13.7-2.7-35-2.7-36.3 0-1.9 1.6-3.5 3.5-3.5 2.2-.1 3.7 1.5 3.7 3.5Zm-9.2 12.2c-3.4.8-5.8 2.3-5.8 4.1 0 4.8 6.5 4.7 11.5 4.7s9.4.7 9.4 4.3-4.2 4.3-9.4 4.3c0 0-6.5 0-4.3 5.8m10.1-23.2c3.4.8 5.8 2.3 5.8 4.1 0 4.8-6.5 4.7-11.5 4.7s-9.4.7-9.4 4.3 4.2 4.3 9.4 4.3c0 0 6.5 0 4.3 5.8" style="fill:none;stroke:%23fff;stroke-linejoin:round;stroke-width:1.5px"/></svg>');
}

#impact-details #collaborations::after {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 46.372 43.674"><path d="m15.286 27.787 15.5 5.6m-16.3-12.9 14.1-8.8m8.7 16.6-1.3-12.8m-28.4 2c4.2-.4 7.9 2.5 8.3 6.5.4 4-2.6 7.7-6.8 8.1-4.2.4-7.9-2.5-8.3-6.5-.4-4 2.6-7.6 6.8-8.1Zm26.8-16.7c4.2-.4 7.9 2.5 8.3 6.5s-2.6 7.7-6.8 8.1-7.9-2.5-8.3-6.5c-.4-4 2.7-7.6 6.8-8.1Zm2.9 27.5c4.2-.4 7.9 2.5 8.3 6.5s-2.6 7.7-6.8 8.1c-4.2.4-7.9-2.5-8.3-6.5s2.6-7.7 6.8-8.1Z" style="fill:none;stroke:%23fff;stroke-linejoin:round;stroke-width:1.5px"/></svg>');	
}

#affiliates {
	list-style: none;
	padding: 0;
}

#affiliates li {
	background-color: #ece3f7;
	padding: 0.5em 0.5em 1em;
	margin: 1em 0;
	text-align: center;
	font-size: 0.75em;
}

@media(min-width:42em) {
	#affiliates {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 1em;
	}

	#affiliates>li {
		margin: 0;
	}
}

.btn.btn-alt {
	background-color: #5c2f92;
	color: #fff;
}

.btn.btn-alt:hover {
	color: #5c2f92;
}

.btn.btn-alt::after {
	background: #fff;
}

main .btn {
	margin: 0.25em;
}
