.single-team-intro {
	background-image: url(../img/team-intro.png);
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	border-radius: 1.25rem;
	padding: 4.5rem 5.5rem 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 4rem;
	position: relative;
}

.single-team-intro-title {
	color: #fff;
	font-size: 4rem;
	line-height: 1;
}

.single-team-image {
	position: absolute;
	bottom: 0;
	right: 3rem;
	max-width: 22rem;
	max-height: 22rem;
}
.single-team-image img {
	object-fit: contain;
	height: 100%;
}

.team-aside {
	padding-left: 5rem;
}

.single-team-section:not(:last-child) {
	margin-bottom: 4rem;
}

.team-editor-content :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
	margin-top: 4rem;
}

.single-team-section :is(h1, h2, h3, h4, h5, h6) {
	font-size: 2.75rem;
	color: #052e44;
	margin-bottom: 1.5rem;
}

.single_team_sidebar_section:not(:last-child) {
	margin-bottom: 4rem;
}

.single_team_sidebar_section ul {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding-left: 0.75rem;
}

.single_team_sidebar_section li {
	display: flex;
	font-size: 1.125rem;
	line-height: 1.5;
	color: #4b5563;
	text-wrap-style: balance;
	gap: 1rem;
}

.single_team_sidebar_section li::before {
	content: '';
	display: flex;
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 0.5rem;
	background-color: #4b5563;
	transform: translateY(0.625rem);
	flex-shrink: 0;
}

.single_team_sidebar_section h2 {
	color: #052e44;
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 1.5rem;
}

.team-editor-content p {
	text-align: justify;
}

.team-editor-content {
	font-size: 1rem;
	color: #4b5563;
	line-height: 1.5;
	& p:not(:last-child) {
		margin-bottom: 0.5rem;
	}
}

.team-editor-education p,
.team-editor-content ul,
.team-editor-education ul {
	color: #4b5563;
	font-size: 1rem;
	line-height: 1.5;
}

.team-editor-content ul:not(:last-child),
.team-editor-education ul:not(:last-child) {
	margin-bottom: 0.5rem;
}

.team-editor-content ul li {
	font-weight: 700;
	text-align: left !important;
	text-wrap-style: balance;
}

.team-editor-content ul li,
.team-editor-education ul li {
	gap: 0.5rem;
	text-wrap-style: balance;
	padding-left: 1rem;
	position: relative;
}

.team-editor-content ul li::before,
.team-editor-education ul li::before {
	content: '';
	margin-right: 0.5rem;
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 0.5rem;
	background-color: #4b5563;
	display: block;
	position: absolute;
	top: 0.625rem;
	left: 0;
	flex-shrink: 0;
}

.team-editor-content ul li::before {
	background-color: #ab1527;
}

.team-editor-education :is(h1, h2, h3, h4, h5, h6) {
	font-size: 1.0625rem !important;
	font-weight: 700;
	color: #4b5563;
	margin-bottom: 0.25rem;
}

.team-practice_areas a:hover {
	color: #ab1527;
}
.team-practice_areas i {
	font-size: 0.8rem;
	transform: rotate(270deg) translateY(0.3rem);
}

.team-practice_areas a {
	text-decoration: none;
	color: #4b5563;
	transition: 0.5s;
	font-size: 1rem;
}

.team-practice_areas {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.row-team {
	row-gap: 1.5rem;
}

.team__item {
	padding: 1.5rem;
	background-color: #fff;
	box-shadow: 0px 0.25rem 1rem 0px #22222214;
	border-radius: 1rem;
}

.team__item__img {
	display: block;
	margin-bottom: 1.25rem;
}

.team__item img {
	width: 100%;
	object-fit: cover;
	border-radius: 1rem;
}

.team__item__more:hover {
	background-color: #052e44;
	color: #fff;
}

.team__item__more {
	display: inline-block;
	border: 1px solid #052e44;
	padding: 0.375rem 1rem;
	border-radius: 1.5rem;
	width: 10rem;
	text-align: center;
	margin-top: 1.75rem;
	transition: 0.5s;
}

.team_item_name {
	color: #000;
	font-size: 1.5rem;
	line-height: 1;
	display: inline-block;
}

.team_item_position {
	color: #515151;
	margin-bottom: 0.375rem;
	display: inline-block;
	line-height: 1;
	font-size: 0.9375rem;
}

.team_item_mail {
	display: block;
	font-size: 1.25rem;
	font-weight: 600;
	color: #be202f;
	margin-top: 1.25rem;
}

.item_team_info .d-flex span {
	color: #052e44;
	margin-left: 1.5rem;
}

.item_team_info .d-flex a {
	font-size: 1rem;
	font-weight: 600;
	color: #052e44;
}

.item_team_info .d-flex i {
	color: #be202f;
	font-size: 1.125rem;
}

.item_team_info .d-flex {
	gap: 0.5rem;
}

.item_team_info {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1rem;
}

.single-team-intro {
	background-image: url(../img/team-intro.png);
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
	border-radius: 1.25rem;
	padding: 4.5rem 5.5rem 2.5rem;
}

.single-team-intro-position {
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	margin-top: 0.5rem;
	font-family: var(--font-family-title);
}

.single-team-info {
	display: flex;
	flex-direction: column;
}

.single-team-info a i {
	font-size: 1.3125rem;
	display: flex;
	transform: translateY(0.125rem);
}

.single-team-info a {
	color: #fff !important;
	align-items: baseline;
	display: flex;
	width: fit-content;
	gap: 0.625rem;
}

.single-team-info-title {
	color: #fff;
	font-size: 3.75rem;
	line-height: 1;
	margin-bottom: 1.5rem;
	margin-top: 3rem;
	font-family: var(--font-family-title);
}

.single-team-info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.swiper.sw-single-team {
	padding: 0.5rem !important;
	margin: -0.5rem !important;
}

@media (min-width: 576px) {
	.swiper.sw-single-team {
		padding: 1rem !important;
		margin: -1rem !important;
	}
}

@media (max-width: 1199.98px) {
	.team_item_name {
		font-size: 1.3125rem;
	}
	.team__item {
		padding: 1rem;
	}
}

@media (max-width: 991.98px) {
	.single-team-section :is(h1, h2, h3, h4, h5, h6) {
		font-size: 1.75rem;
		margin-bottom: 0.5rem;
	}

	.team-aside {
		padding-left: unset;
		margin-top: 2.5rem;
	}

	.team-editor-content :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
		margin-top: 2rem;
	}

	.single_team_sidebar_section:not(:last-child) {
		margin-bottom: 2.75rem;
	}

	.single-team-section:not(:last-child) {
		margin-bottom: 2.75rem;
	}

	.single_team_sidebar_section h2 {
		font-size: 1.75rem;
	}

	.single_team_sidebar_section li {
		font-size: 1rem;
	}

	.single_team_sidebar_section li {
		gap: 0.5rem;
	}

	.heading-section__title {
		font-size: 1.75rem;
	}

	.heading-section {
		margin-bottom: 1.75rem !important;
	}

	.single-team-image {
		/* display: none; */
		position: revert;
	}

	.single-team-intro {
		padding: 1.5rem;
		flex-direction: column;
		align-items: stretch;
		gap: 2rem;
	}

	.single-team-intro-title {
		font-size: 2.125rem;
	}

	.single-team-info-title {
		font-size: 1.5rem;
		margin-bottom: 1.5rem;
		margin-top: 2rem;
	}

	.single-team-intro-position {
		color: #fff;
		font-size: 1.375rem;
		margin-top: 0.5rem;
		margin-bottom: 1rem;
	}
}

@media (min-width: 992px) {
	.single-team-intro-content {
		width: 60%;
	}
}
