#profiles-container {
	padding: 1rem;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: center;
	gap: 1rem;
	overflow-x: scroll;
	overflow-y: hidden;
	-ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
}

#profiles-container::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.redacted {
	color: black;
	background-color: black;
}

.profile {
	padding: 0.4rem;
	border: 8px solid white;
	box-shadow: 0 5px 10px #333d;
	width: 192px;
	height: 250px;
	background-color: #039b;
	text-align: center;
	color: #FFd300;
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
	flex: none; /* this item within parent */
	display: flex; /* children of this item */
	flex-direction: column;
	justify-content: space-between;
	background-blend-mode: overlay;
	position: relative;
}

.eu {
	background-color: #039b;
	background-image: url(/images/kestrel/kestrel-logo.svg);
	background-size: 85%;
	background-position: center 5%;
	background-repeat: no-repeat;
}

.profile:after {
	content: "";
	width: 100%;
	height: 140px;
	position: absolute;
	left: 0px;
	top: 20px;
	/*background-image: url(/images/kestrel/kestrel-logo.svg);*/
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.profile:hover, .profile.active {
	background-blend-mode: normal;
}

.profile:hover:after, .profile.active:after {
	display: none;
}

.profile p {
	font-size: 1.1rem;
	letter-spacing: 0.1rem;
	text-transform: lowercase;
	font-variant: small-caps;
	margin: 0;
	font-weight: 500;
}

details.kestrel-team summary {
	font-size: 1.2rem;
	letter-spacing: 0.1rem;
	text-transform: uppercase;
	font-weight: bold;
	outline: none;
}

.title, .forename {
	color: white;
	padding-top: 70px;
	visibility: hidden;
}

.forename {
	padding-top: 0;
	padding-bottom: 50px;
}

.profile:hover .title, .profile:hover .forename, .profile.active .title, .profile.active .forename {
	visibility: visible;
}

.aldridge {
	color: #96f;
}

.greenwood {
	color: #3c3;
}

.dowling {
	color: #f36;
}

.ramos {
	color: #f60;
}

.goose {
	color: #09f;
}

#profiles-details .details > p {
	color: white;
}

#profiles-details .details > p.full-title, #profiles-details .details > p.role {
	color: inherit;
}

.profile.aldridge {
	background-image: url(/images/kestrel/aldridge.png);
}

.profile.greenwood {
	background-image: url(/images/kestrel/greenwood.png);
}

.profile.dowling {
	background-image: url(/images/kestrel/dowling.png);
}

.profile.ramos {
	background-image: url(/images/kestrel/ramos.png);
}

.profile.goose {
	background-image: url(/images/kestrel/goose.png);
}

.profile:hover, .profile.active {
	background-color: currentColor;
}

#profiles-details, details.kestrel-team, details.kestrel-team summary {
	color: #ffd300;
	padding: 0.3rem 0.5rem;
}

details.kestrel-team {
	border-radius: 5px;
	border: 1px solid #ffd300;
	background-color: #039;
	background-image: url(/images/kestrel/kestrel-logo.svg);
	background-size: 190px;
	background-position: center top 95px;
	background-repeat: no-repeat;
	margin: 3rem 0;
}

@media (prefers-color-scheme: light) {

	details.kestrel-team {
		border-width: 1px;
	}

}

#profiles-details {
	overflow-y: scroll;
}

.details {
	padding: 1rem;
	border-top: 1px solid #ffd300;
	font-weight: 500;
	height: 270px;
	display: none;
}

.details.active {
	display: block;
}

#profiles-details p {
	margin: 0.5rem 0;
}

#profiles-details .details > p.full-title {
	font-size: 1.4rem;
	font-weight: bold;
	margin-top: 0;
}

#profiles-details .details > p.full-title, #profiles-details .details > p.role {
	text-shadow: 0 0 5px #000d;
}

.details > p.role {
	font-weight: bold;
}

#profiles-details p.biography {
	max-width: 700px;
	margin-top: 30px;
}

details.kestrel-team a {
	color: #ffd300;
}

#profiles-details p.quote {
	font-style: italic;
	font-weight: bold;
	color: #ffd300;
}

#profiles-details p.quote:before {
	content: "\201c";
}

#profiles-details p.quote:after {
	content: "\201d";
}

#profiles-details .details > p:last-child {
	padding-bottom: 20px;
}
