/* About page: Meet Our Team */
.about-lead-photo {
	aspect-ratio: 3 / 2;
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(22, 49, 72, 0.18);
	display: block;
	object-fit: cover;
	width: 100%;
}

.team-section {
	background: #f5f7fa;
}

.team-section .heading {
	margin-bottom: 45px;
}

.team-card {
	align-items: center;
	background: #fff;
	border: 1px solid #e2e7ec;
	box-shadow: 0 8px 24px rgba(7, 94, 164, 0.08);
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	margin-bottom: 30px;
	min-height: 390px;
	padding: 30px 22px;
	text-align: center;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	width: 100%;
}

.team-card:hover,
.team-card:focus-within {
	box-shadow: 0 12px 30px rgba(7, 94, 164, 0.16);
	transform: translateY(-4px);
}

.team-photo-placeholder {
	align-items: center;
	background: #075ea4;
	border: 6px solid #e8f1f8;
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: 54px;
	height: 150px;
	justify-content: center;
	margin: 0 auto 24px;
	width: 150px;
}

.team-photo {
	border: 6px solid #e8f1f8;
	border-radius: 50%;
	display: block;
	height: 150px;
	margin: 0 auto 24px;
	object-fit: cover;
	object-position: center 24%;
	width: 150px;
}

.team-photo-frame {
	border: 6px solid #e8f1f8;
	border-radius: 50%;
	height: 150px;
	margin: 0 auto 24px;
	overflow: hidden;
	width: 150px;
}

.team-photo-frame img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.team-photo-frame.valeria-photo img {
	transform: scale(1.55);
	transform-origin: 50% 34%;
}

.team-card h3 {
	margin-bottom: 6px;
}

.team-role {
	color: #075ea4;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.team-card .team-preview {
	margin-bottom: 22px;
	min-height: 48px;
	width: 100%;
}

.team-card .btn {
	background: #fff;
	color: #121212;
	line-height: 20px;
	margin-top: auto;
}

.team-card .btn::before {
	content: none;
	display: none;
}

.team-card .btn:hover,
.team-card .btn:focus,
.team-card .btn:active {
	background: #075ea4;
	border-color: #075ea4;
	color: #fff;
	line-height: 20px;
}

/* Design rule: cards in the same team row must always be equal height. */
@media (min-width: 768px) {
	.team-section > .container > .row {
		align-items: stretch;
		display: flex;
		flex-wrap: wrap;
	}

	.team-section > .container > .row > [class*="col-"] {
		display: flex;
	}
}

.team-bio-modal .modal-header {
	background: #075ea4;
	border-bottom: 0;
	color: #fff;
	padding: 22px 25px;
}

.team-bio-modal .modal-title,
.team-bio-modal .modal-header .close {
	color: #fff;
}

.team-bio-modal .modal-header .close {
	font-size: 30px;
	opacity: 0.9;
	text-shadow: none;
}

.team-bio-modal .modal-body {
	font-size: 16px;
	line-height: 1.7;
	max-height: 72vh;
	overscroll-behavior: contain;
	overflow-y: auto;
	padding: 30px 25px;
	-webkit-overflow-scrolling: touch;
}

body.modal-open {
	overflow: hidden !important;
}

body.team-modal-scroll-locked {
	left: 0;
	overflow: hidden !important;
	position: fixed !important;
	right: 0;
	width: 100%;
}

.team-bio-modal {
	overscroll-behavior: contain;
}

.team-bio-modal .team-modal-role {
	color: #075ea4;
	font-weight: 700;
	margin-bottom: 16px;
}

.team-bio-modal .modal-body h4 {
	color: #1f3447;
	font-size: 18px;
	margin: 26px 0 10px;
}

.team-bio-modal .team-bio-list {
	margin: 0 0 18px 20px;
}

.team-bio-modal .team-bio-list li {
	list-style: disc;
	margin-bottom: 8px;
}

.team-card .btn:focus,
.team-bio-modal .close:focus {
	outline: 3px solid #f5a623;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.team-card {
		min-height: 0;
	}
}
