/* Custom Styles for People Custom Post Type */

/* Typography */
.team_member h1 {
	margin-bottom: 0;
}
.team_member h2, 
.team_member h3,
.team_member h4 {
    margin: 0 0 .5em;
	font-size: 20px;
}

.team_member .site-content h1 { 
	font-size: 42px;
}
.team_member .member-position,
.team_member .member-department { 
	color: var(--ast-global-color-1);
} 
.team_member .member-department {
	font-weight: normal;
}
.team_member .contact-item a {
	font-weight: normal; 
	color: var(--ast-global-color-8);
}
.team-member-info ul,
.highlights ul,
.projects ol {
	margin-left: 1em;
}
.projects ol li {
	margin-left: 1em;
	padding-left: .5em;
}
.breadcrumbs li {
	display: inline-block;
	list-style: none;
}
.team-member-info ul li,
.highlights ul li {
	list-style: none;
}
.team-member-info ul li:before,
.highlights ul li:before {
    content: "•";
	margin-right: 1em;
	color: var(--ast-global-color-1);
}

/* Layout */
.team-intro {
	padding-bottom: 2em;
}
.team-member-info {
    padding: 2em 0;
}
.team-intro .row,
.team-member-info .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 40px;
}
.team-intro .row > div,
.team-member-info .row > div {
    max-width: 50%;
    width: 50%;
}
.team-intro .image-column {
	position: relative;
	height: 680px;
	max-height: 680px;
	flex-basis: calc(6 / 12 * 100%);
	max-width: calc(6 / 12 * 100%);
	overflow: hidden;
	border-radius: 14px;
}
.team-intro .image-column img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;

}
.team-intro .visit-website a {
	position: absolute;
	display: flex;
	width: 100%;
	height: auto;
	bottom: 0;
    padding: 20px;
	line-height: 1;
	background: var(--ast-global-color-1);
    color: var(--ast-global-color-5);
    font-size: 12px;
    text-transform: uppercase;
	letter-spacing: 2px;
}
.team-intro .visit-website a:after {
	content: "";
	position: absolute;
	display: inline-block;
	width: 14px;
	height: 14px;
	right: 20px;
	top: 18px;
	background: url(/wp-content/themes/astra-child-tm/assets/images/icon-open-in-new.svg) center / contain no-repeat;
	filter: invert(1);
}
.contact-info {
    margin: 2em 0;
}
.contact-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: flex-start;
        -ms-flex-align: flex-start;
            align-items: flex-start;
	
    margin-bottom: 1em;
}
.contact-item .location {
	display: block;
	width: 40%;
}
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: var(--ast-global-color-1);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 16px;
}
.icon-location {
    -webkit-mask-image: url('/wp-content/themes/astra-child-tm/assets/images/location.svg');
    mask-image: url('/wp-content/themes/astra-child-tm/assets/images/location.svg');
}
.icon-send {
    -webkit-mask-image: url('/wp-content/themes/astra-child-tm/assets/images/send.svg');
    mask-image: url('/wp-content/themes/astra-child-tm/assets/images/send.svg');
}
.icon-phone {
    -webkit-mask-image: url('/wp-content/themes/astra-child-tm/assets/images/phone.svg');
    mask-image: url('/wp-content/themes/astra-child-tm/assets/images/phone.svg');
}

.highlights {
	border-radius: 6px;
    padding: 40px;
}

.highlights {
    background-color: var(--ast-global-color-5); 
}
.highlights h2 {
    margin-top: 0;
}

/* Nav Prev / Next Section */
nav.section-bottom .row {
	display: flex;
	justify-content: space-between;
}
nav.section-bottom span {
	display: block;
}
nav.section-bottom .prev-column {
	position: relative;
	margin-left: 2em;
}
nav.section-bottom .next-column {
	position: relative;
	margin-right: 2em;
}
nav.section-bottom .prev-link:after,
nav.section-bottom .next-link:after {
	position: absolute;
	top: 2px;
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
}
nav.section-bottom .prev-link:after {
	background: url(/wp-content/themes/astra-child-tm/assets/images/icon-chevron-left-red.svg) center / contain no-repeat;
	left: -2em;
}

nav.section-bottom .next-link:after {
	background: url(/wp-content/themes/astra-child-tm/assets/images/icon-chevron-right-red.svg) center / contain no-repeat;
	right: -2em;
}

nav.section-bottom .next-link span {
	text-align: right;
}
nav.section-bottom span.member-name {
	color: var(--ast-global-color-8);
	font-weight: normal;
	text-transform: uppercase;
}

@media screen and (max-width:979px) {

	.team_member.ast-separate-container #content .ast-container,
	.team_member.ast-separate-container .ast-article-single{
		padding: 0;
	}

    .team-intro .row,
    .team-member-info .row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .team-intro .row > div,
    .team-member-info .row > div  {
        max-width: 100%;
	    width: 100%;
    }
    .team-member-info {
        padding: 0 0 32px;
    }
	.team-intro .row, .team-member-info .row {
		gap: 20px;
	}
	.highlights {
		padding: 20px;
	}
}
@media screen and (max-width:544px) {
	.team_member.ast-separate-container #content .ast-container,
	.team_member.ast-separate-container .ast-article-single{
		padding: 0;
	}
}