/* Research Roadmap */

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

.research-diagram {
	max-width: 1100px;
	margin: 0 auto;
	font-weight: 600;
}

.research-diagram h3 {
	background-color: #5c2f92;
	color: #fff;
	padding: 0.5em;
	text-align: center;
	margin-top: 0;
	/* text-transform: uppercase; */
}

.rd-section {
	border: solid thin #5c2f92;
	border-radius: 20px;
	margin: 1em 0 2em;
	background: #fff;
	position: relative;
}

.rd-section > *:first-child {
	border-radius: 18px 18px 0 0;
}

.rd-section:not(:last-child)::after {
	content: ' ';
	display: block;
	border: solid 2em transparent;
	border-bottom: solid 1em transparent;
	border-top: solid 1em #5c2f92;
	position: absolute;
	bottom: -2em;
	left: calc(50% - 2em);
	pointer-events: none;
}

.rd-section:nth-of-type(2) {
	border-color: #9e247b;
}

.rd-section:nth-of-type(2) h3 {
	background-color: #9e247b;
}

.rd-section:nth-of-type(2)::after {
	border-top-color: #9e247b;
}

.rd-section:nth-of-type(3) {
	border-color: #577B94;
}

.rd-section:nth-of-type(3) h3 {
	background-color: #577B94;
}

.rd-section:nth-of-type(3)::after {
	border-top-color: #577B94;
}

.rd-section:nth-of-type(4) {
	border-color: #D93740;
}

.rd-section:nth-of-type(4) h3 {
	background-color: #D93740;
}

.rd-section:nth-of-type(4)::after {
	border-top-color: #D93740;
}

.rd-content ul,
.rd-content ol {
	padding-right: 1em;
}

.rd-section:nth-of-type(1) div.rd-content ul {
	list-style: none;
	padding: 0
}

@media(min-width:42em) {
	.research-diagram h3 {
		margin: 0;
	}
	
	.rd-content ul {
		list-style: none;
		display: flex;
		padding: 1em;
		margin: 0;
		gap: 1em;
	}

	.rd-section:nth-of-type(1) div.rd-content ul {
		padding: 1em;
	}

	.rd-content ul>li {
		padding: 0.5em;
		margin: 0;
		flex: 1;
		text-align: center;
		align-content: center;
		background: #ece3f7;
		border-radius: 6px;
	}

	.rd-section:nth-of-type(1) div.rd-content li {
		align-content: flex-start;
	}

	.rd-section:nth-of-type(3) .rd-content ul>li {
		background: #DCE7EA;
	}

	.rd-section:nth-of-type(4) .rd-content ul>li {
		background: #FAE0E1;
	}

	.rd-content ol {
		list-style: none;
		display: flex;
		padding: 0;
		margin: 1em;
		border-radius: 6px;
    background: rgb(96,0,212);
    background: linear-gradient(90deg, #fff 0%, #FAE0F2 100%); 
		position: relative;
	}

	.rd-content ol>li {
		padding: 0.5em;
		margin: 0;
		flex: 1;
		text-align: center;
		align-content: center;
	}

	.rd-content ol::before {
    content: ' ';
		display: block;
		border: solid 0.6em transparent;
		border-right-color: #fff;
		border-top-color: #fff;
		position: absolute;
		top: 0;
		right: 0;
		pointer-events: none;		
	}

	.rd-content ol::after {
    content: ' ';
		display: block;
		border: solid 0.6em transparent;
		border-right-color: #fff;
		border-bottom-color: #fff;
		position: absolute;
		bottom: 0;
		right: 0;
		pointer-events: none;		
	}

}

#rpc-members li {
	margin: 0 0 0.25em;
}

@media(min-width:42em) {
	#rpc-members {
		columns: 2;
		column-gap: 3em;
	}
}

main .btn {
	margin: 0.25em;
}
