/* Meet the Team leader profile modal. Loaded only on page 2917. */

.pid-2917 .leader-modal,
.pid-2917 #meet-team-icon-content .icon-row > .leader-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	flex: none;
	width: auto;
	max-width: none;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.pid-2917 .leader-modal.active {
	display: flex;
}

.pid-2917 .leader-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(19, 32, 28, 0.55);
}

.pid-2917 .leader-modal__content {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: min(920px, 100%);
	max-width: 920px;
	height: 670px;
	max-height: 670px;
	margin: 0;
	padding: 42px 34px 42px 46px;
	overflow: hidden;
	background: #143427;
	border: 5px solid #9dbfbf;
	border-radius: 72px 0 72px 0;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.pid-2917 .leader-modal__close {
	position: absolute;
	top: 18px;
	right: 39px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #9dbfbf;
	color: #143427;
	line-height: 0;
	cursor: pointer;
}

.pid-2917 .leader-modal__close svg {
	display: block;
	width: 10px;
	height: 10px;
}

.pid-2917 .leader-modal__grid {
	display: flex;
	align-items: stretch;
	gap: 34px;
	width: 100%;
	height: 100%;
	min-width: 0;
	padding: 8px 8px 8px 0;
}

.pid-2917 .leader-modal__left {
	flex: 0 0 188px;
	width: 188px;
	display: flex;
	flex-direction: column;
	align-items: center;
	align-self: center;
	text-align: center;
}

.pid-2917 .leader-frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1;
	line-height: 0;
	overflow: hidden;
}

.pid-2917 .icon-item__top .leader-frame {
	width: 100%;
}

.pid-2917 .leader-frame > img:not(.leader-frame__border),
.pid-2917 .leader-frame > a img,
.pid-2917 .leader-frame > .leader-photo--empty {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: center 18%;
	box-sizing: border-box;
	-webkit-mask-image: url("images/leader-frame-mask.png");
	mask-image: url("images/leader-frame-mask.png");
	-webkit-mask-mode: alpha;
	mask-mode: alpha;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center;
	mask-position: center;
}

.pid-2917 .leader-frame__border {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: fill;
	pointer-events: none;
	-webkit-mask-image: none;
	mask-image: none;
}

.pid-2917 .leader-modal__photo {
	width: 168px;
	height: 168px;
	margin: 0 auto 16px;
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.pid-2917 .leader-modal__photo img:not(.leader-frame__border),
.pid-2917 .leader-modal__left > img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	object-fit: cover;
	object-position: center 18%;
	border: 0;
	border-radius: 0;
	box-sizing: border-box;
	-webkit-mask-image: url("images/leader-frame-mask.png");
	mask-image: url("images/leader-frame-mask.png");
	-webkit-mask-mode: alpha;
	mask-mode: alpha;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center;
	mask-position: center;
}

.pid-2917 .leader-modal__left h3 {
	margin: 0 0 6px;
	color: #fff;
	font-family: "Work Sans Extra Bold", Helvetica, Arial, sans-serif;
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1.15;
}

.pid-2917 .leader-modal__role,
.pid-2917 .leader-modal__left > p {
	margin: 0;
	color: #fff;
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 1.35;
}

.pid-2917 .leader-modal__role p {
	margin: 0;
	color: #fff;
}

.pid-2917 .leader-modal__right {
	flex: 1 1 auto;
	min-width: 0;
	max-height: none;
	margin-top: 12px;
	margin: 0;
	padding: 4px 18px 4px 4px;
	overflow-y: auto;
	color: #fff;
	font-size: 1.02rem;
	line-height: 1.55;
	text-align: left;
	scrollbar-color: #62b84a #fff;
	scrollbar-width: auto;
}

.pid-2917 .leader-modal__right p {
	margin: 0 0 1.15rem;
	color: #fff;
}

.pid-2917 .leader-modal__right p:last-child {
	margin-bottom: 0;
}

.pid-2917 .leader-modal__right::-webkit-scrollbar {
	width: 10px;
}

.pid-2917 .leader-modal__right::-webkit-scrollbar-track {
	background: #fff;
}

.pid-2917 .leader-modal__right::-webkit-scrollbar-thumb {
	background: #62b84a;
	border: 2px solid #fff;
}

@media (max-width: 768px) {
	.pid-2917 .leader-modal {
		padding: 0.75rem;
	}

	.pid-2917 .leader-modal__content {
		height: auto;
		max-height: calc(100vh - 2rem);
		padding: 28px 16px 22px;
		border-radius: 48px 0 48px 0;
	}

	.pid-2917 .leader-modal__grid {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		padding-right: 0;
	}

	.pid-2917 .leader-modal__left,
	.pid-2917 .leader-modal__left > img {
		width: auto;
		flex-basis: auto;
	}

	.pid-2917 .leader-modal__photo {
		width: 140px;
		height: 140px;
	}

	.pid-2917 .leader-modal__right {
		width: 100%;
		max-height: 240px;
		margin-top: 0;
	}

	.pid-2917 .leader-modal__close {
		top: 12px;
		right: 14px;
	}
}
