/**
 * Employee single (/employee/{slug}/) — restore the designed profile.
 * Scoped to body.single-employee so Home / WWD / Newsroom do not change.
 */

/* -------------------------------------------------------------------------- */
/* Shell overrides — keep overlap visible, keep content in the designed box   */
/* -------------------------------------------------------------------------- */

html:has(body.single-employee) {
	overflow-x: clip;
}

body.single-employee.sln-site-shell-enabled #page,
body.single-employee.sln-site-shell-enabled #page.site,
body.single-employee.sln-fluid-shell-enabled #page {
	overflow: visible;
	overflow-x: clip;
}

body.single-employee #content,
body.single-employee #primary,
body.single-employee .site-main,
body.single-employee .buildout-employee-block,
body.single-employee .buildout-employee-block .block-content,
body.single-employee .document-header,
body.single-employee .document-content,
body.single-employee .sln-emp-main,
body.single-employee .sln-emp-main-wrap,
body.single-employee .sln-emp-contact-wrap,
body.single-employee .tabbed-block-inner,
body.single-employee .tab-content {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	overflow-x: visible;
}

body.single-employee {
	--sln-emp-nav-h: 106px;
}

@media (max-width: 1024px) {
	body.single-employee {
		--sln-emp-nav-h: 95px;
	}
}

body.single-employee .navbar,
body.single-employee #main-nav.navbar {
	margin-bottom: 0;
	padding-bottom: 0.55rem;
}

body.single-employee .buildout-employee-block .document-header,
body.single-employee .document-header.pt-4 {
	margin: 0;
	padding-bottom: 0 !important;
	padding-top: 0 !important;
}

body.single-employee .buildout-employee-block .container-fluid.employee-top-bg {
	box-sizing: border-box;
	margin-left: 0 !important;
	margin-right: 0;
	margin-top: var(--sln-emp-nav-h, 106px) !important;
	max-width: 100% !important;
	min-height: 380px;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
	background-position: center bottom;
	background-size: cover;
}

body.single-employee.sln-site-shell-enabled .buildout-employee-block .document-content .container.container-1024 {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: min(1100px, 100%) !important;
	padding-left: 1rem;
	padding-right: 1rem;
	width: 100%;
}

body.single-employee.sln-site-shell-enabled .buildout-employee-block .document-content .container-1024 > .row {
	margin-left: -15px;
	margin-right: -15px;
	max-width: none;
}

/* -------------------------------------------------------------------------- */
/* Designed portrait overlap + contact sidebar                                */
/* -------------------------------------------------------------------------- */

body.single-employee .employee-left-side-bar {
	background: linear-gradient(0deg, rgba(242, 242, 242, 0) 0%, rgb(230, 230, 230) 50%);
	box-sizing: border-box;
	margin-left: 0;
	margin-right: auto;
	max-width: 250px;
	overflow: visible;
	padding-bottom: 3.5rem;
	position: relative;
	top: -180px;
	width: 100%;
}

body.single-employee .employee-left-side-bar .sln-emp-photo-wrap {
	background: transparent;
	box-sizing: border-box;
	line-height: 0;
	margin: 0;
	padding: 0 !important;
}

body.single-employee .employee-left-side-bar img,
body.single-employee .sln-emp-photo-wrap img,
body.single-employee.sln-fluid-shell-enabled .employee-left-side-bar img {
	border: 5px solid #e6e6e6 !important;
	box-sizing: border-box;
	display: block;
	height: auto;
	margin: 0;
	max-width: 100%;
	width: 250px;
}

body.single-employee .employee-left-side-bar h3 {
	color: #122346;
	font-family: "Montserrat", sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0;
	margin-top: 0.5rem;
	padding: 1rem;
	text-transform: capitalize;
}

body.single-employee .employee-left-side-bar .sln-emp-contact-wrap > div {
	color: #2f3d52;
	font-size: 0.95rem;
	line-height: 1.45;
	padding: 0.35rem 1rem 0.35rem 1rem;
}

body.single-employee .employee-left-side-bar a {
	color: #2f3d52;
	min-width: 0;
	overflow-wrap: anywhere;
	text-decoration: none;
	white-space: normal;
	word-break: break-word;
}

body.single-employee .employee-left-side-bar a:hover,
body.single-employee .employee-left-side-bar a:focus {
	color: #122346;
	text-decoration: underline;
}

body.single-employee .employee-left-side-bar i {
	color: #4a5568;
	display: inline-block;
	font-size: 1.125em;
	margin-right: 0.5em;
	width: 18px;
}

body.single-employee .employee-left-side-bar hr {
	border-color: #122346;
}

/* Missing / broken photo — navy frame + site logo (newsroom idea). */
body.single-employee .employee-left-side-bar.sln-employee-has-fallback img,
body.single-employee .employee-left-side-bar img.sln-employee-fallback-img {
	background-color: #122346;
	background-image: var(--sln-employee-logo);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 72% auto;
	height: 350px;
	object-fit: contain;
	object-position: center;
	padding: 18% 12%;
	width: 250px;
}

body.single-employee .employee-left-side-bar.sln-employee-has-fallback img.sln-employee-fallback-img[src],
body.single-employee .employee-left-side-bar img.sln-employee-fallback-img[src] {
	background-image: none;
}

/* -------------------------------------------------------------------------- */
/* Name, title, tabs, bio                                                     */
/* -------------------------------------------------------------------------- */

body.single-employee .buildout-employee-block h1 {
	color: #122346;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(2.4rem, 5vw, 3.75rem);
	font-weight: 600;
	line-height: 1;
	text-transform: capitalize;
}

body.single-employee .buildout-employee-block h1 .first-name {
	color: #6b7280;
	font-size: clamp(1.6rem, 3.4vw, 2.5rem);
	font-weight: 500;
}

body.single-employee .buildout-employee-block h4 {
	color: #122346;
	font-family: "Montserrat", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.single-employee .tabs-header {
	gap: 0.35rem;
}

body.single-employee .tabs-header .tab {
	align-items: center;
	background: #f3f4f6;
	box-sizing: border-box;
	color: #122346;
	cursor: pointer;
	display: flex;
	font-family: "Montserrat", sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	justify-content: center;
	letter-spacing: 0.03em;
	min-height: 44px;
	overflow-wrap: anywhere;
	text-align: center;
	text-transform: uppercase;
	white-space: normal;
	word-break: break-word;
}

body.single-employee .tabs-header .tab.active {
	background: #122346;
	color: #fff;
}

body.single-employee .tabbed-block-inner .tab-content {
	display: none;
}

body.single-employee .tabbed-block-inner .tab-content.active {
	display: block;
}

body.single-employee .tab-content,
body.single-employee .tab-content p,
body.single-employee .tab-content li,
body.single-employee .tab-content div,
body.single-employee .tab-content td,
body.single-employee .tab-content a {
	color: #2f3d52;
	font-size: 1.0625rem;
	line-height: 1.7;
	max-width: 100%;
	overflow-wrap: anywhere;
	white-space: normal;
	word-break: break-word;
}

body.single-employee .tab-content .subheading,
body.single-employee .tab-content p.subheading,
body.single-employee .tab-content span.subheading {
	color: #122346;
	display: block;
	font-family: "Montserrat", sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-top: 1.35rem;
	text-transform: uppercase;
}

body.single-employee .tab-content ul {
	padding-left: 1.25rem;
}

body.single-employee .tab-content iframe,
body.single-employee .buildout-list-block iframe,
body.single-employee #buildout {
	display: block;
	max-width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Phone + tablet — photo, then name, then full-width contact card            */
/* -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
	body.single-employee .document-header {
		padding-top: 0 !important;
	}

	body.single-employee .buildout-employee-block .document-content {
		padding-top: 0 !important;
		padding-bottom: 2.5rem !important;
	}

	body.single-employee .buildout-employee-block .container-fluid.employee-top-bg {
		background-color: #122346;
		background-position: 100% 50%;
		background-repeat: no-repeat;
		background-size: cover;
		height: clamp(220px, 42vw, 300px);
		margin-top: var(--sln-emp-nav-h, 95px) !important;
		min-height: 220px;
	}

	body.single-employee #content > .row,
	body.single-employee #content .content-area,
	body.single-employee #primary {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
		min-width: 0;
		padding-left: 0;
		padding-right: 0;
	}

	body.single-employee.sln-site-shell-enabled .buildout-employee-block .document-content .container.container-1024 {
		box-sizing: border-box;
		display: grid;
		grid-template-areas:
			"photo"
			"name"
			"title"
			"contact"
			"tabs"
			"bio";
		max-width: 100% !important;
		min-width: 0;
		overflow-x: visible;
		padding-left: 1.25rem;
		padding-right: 1.25rem;
		width: 100%;
	}

	body.single-employee .buildout-employee-block .document-content .container-1024 > .row,
	body.single-employee .buildout-employee-block .col-md-4,
	body.single-employee .buildout-employee-block .col-md-8,
	body.single-employee .employee-left-side-bar {
		display: contents;
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
		min-width: 0;
	}

	body.single-employee .employee-left-side-bar .sln-emp-photo-wrap {
		grid-area: photo;
		justify-self: center;
		margin-top: 16px;
		max-width: 200px;
		overflow: visible;
		width: 200px;
		z-index: 2;
	}

	body.single-employee .employee-left-side-bar .sln-emp-photo-wrap img,
	body.single-employee.sln-fluid-shell-enabled .employee-left-side-bar .sln-emp-photo-wrap img,
	body.single-employee .employee-left-side-bar.sln-employee-has-fallback .sln-emp-photo-wrap img,
	body.single-employee .employee-left-side-bar .sln-emp-photo-wrap img.sln-employee-fallback-img {
		border: 4px solid #fff !important;
		box-shadow: 0 8px 24px rgba(18, 35, 70, 0.18);
		display: block;
		height: auto;
		margin: 0 auto;
		max-width: 200px;
		width: 200px;
	}

	body.single-employee .sln-emp-main-wrap {
		display: contents;
	}

	body.single-employee .sln-emp-main-wrap h1 {
		grid-area: name;
		margin-bottom: 0.25rem;
		margin-top: 1rem;
	}

	body.single-employee .sln-emp-main-wrap h4 {
		grid-area: title;
		margin-bottom: 0;
	}

	body.single-employee .sln-emp-main-wrap .tabs-header {
		grid-area: tabs;
	}

	body.single-employee .sln-emp-main-wrap .tabbed-block-inner {
		grid-area: bio;
	}

	body.single-employee .sln-emp-contact-wrap {
		background: #f2f3f6;
		border-radius: 8px;
		box-sizing: border-box;
		grid-area: contact;
		margin-bottom: 0.35rem;
		margin-top: 1rem;
		max-width: 100%;
		min-width: 0;
		overflow-x: visible;
		padding: 0.35rem 0.75rem 1rem;
		width: 100%;
	}

	body.single-employee .employee-left-side-bar {
		background: none;
		margin: 0;
		max-width: none;
		padding-bottom: 0;
		top: 0;
		width: auto;
	}

	body.single-employee .sln-emp-contact-wrap h3 {
		padding: 0.85rem 0.35rem 0.25rem;
	}

	body.single-employee .sln-emp-contact-wrap > div {
		align-items: flex-start;
		box-sizing: border-box;
		display: flex;
		flex-wrap: nowrap;
		max-width: 100%;
		min-height: 44px;
		min-width: 0;
		padding: 0.35rem 0.35rem;
	}

	body.single-employee .sln-emp-contact-wrap > div i {
		flex: 0 0 18px;
		margin-top: 0.15em;
	}

	body.single-employee .sln-emp-contact-wrap > div a {
		flex: 1 1 auto;
		min-width: 0;
		overflow-wrap: anywhere;
		white-space: normal;
		word-break: break-word;
	}

	body.single-employee .buildout-employee-block h1,
	body.single-employee .buildout-employee-block h4 {
		overflow-wrap: anywhere;
		padding-left: 0.15rem;
		padding-right: 0.15rem;
		text-align: center;
		word-break: break-word;
	}

	body.single-employee .tabs-header {
		box-sizing: border-box;
		justify-content: center;
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
		min-width: 0;
		overflow-x: visible;
		width: 100%;
	}

	body.single-employee .tabs-header .tab {
		display: block;
		flex: 1 1 calc(50% - 0.4rem);
		line-height: 1.25;
		max-width: 100%;
		min-width: 0;
		overflow-wrap: anywhere;
		padding-left: 0.45rem;
		padding-right: 0.45rem;
		white-space: normal;
		word-break: break-word;
	}

	body.single-employee .sln-emp-main-wrap h1,
	body.single-employee .sln-emp-main-wrap h4,
	body.single-employee .sln-emp-main-wrap .tabs-header,
	body.single-employee .sln-emp-main-wrap .tabbed-block-inner,
	body.single-employee .tab-content,
	body.single-employee .tab-content ul,
	body.single-employee .tab-content li {
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
	}
}

@media (max-width: 767.98px) {
	body.single-employee .buildout-employee-block .container-fluid.employee-top-bg {
		height: clamp(210px, 54vw, 250px);
		margin-top: var(--sln-emp-nav-h, 95px) !important;
		min-height: 210px;
	}

	body.single-employee .employee-left-side-bar .sln-emp-photo-wrap {
		margin-top: 12px;
		max-width: 180px;
		width: 180px;
	}

	body.single-employee .employee-left-side-bar .sln-emp-photo-wrap img,
	body.single-employee.sln-fluid-shell-enabled .employee-left-side-bar .sln-emp-photo-wrap img,
	body.single-employee .employee-left-side-bar .sln-emp-photo-wrap img.sln-employee-fallback-img {
		max-width: 180px;
		width: 180px;
	}

	body.single-employee .sln-emp-main,
	body.single-employee .sln-emp-main-wrap,
	body.single-employee .tabbed-block-inner,
	body.single-employee .tab-content {
		overflow-x: visible;
	}

	body.single-employee .tab-content,
	body.single-employee .tab-content p,
	body.single-employee .tab-content li,
	body.single-employee .tab-content div,
	body.single-employee .tab-content td {
		font-size: 1.05rem;
		line-height: 1.65;
		overflow-wrap: anywhere;
		white-space: normal;
		word-break: break-word;
	}

	body.single-employee .tab-content table {
		display: block;
		max-width: 100%;
		overflow-x: visible;
		table-layout: fixed;
		width: 100%;
	}

	body.single-employee .tab-content ul {
		padding-left: 1.1rem;
		padding-right: 0;
	}
}

@media (max-width: 575.98px) {
	body.single-employee .buildout-employee-block h1 {
		font-size: 2.1rem;
	}

	body.single-employee .buildout-employee-block h1 .first-name {
		font-size: 1.35rem;
	}
}

@media (max-width: 430px) {
	body.single-employee.sln-site-shell-enabled .buildout-employee-block .document-content .container.container-1024 {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	body.single-employee .tabs-header .tab {
		flex: 1 1 calc(50% - 0.3rem);
		font-size: 0.78rem;
		letter-spacing: 0.02em;
		line-height: 1.2;
		padding-bottom: 0.7rem;
		padding-top: 0.7rem;
	}

	body.single-employee .sln-emp-contact-wrap > div {
		align-items: flex-start;
		font-size: 0.92rem;
	}

	body.single-employee .tab-content li {
		padding-right: 0.15rem;
	}
}

/* -------------------------------------------------------------------------- */
/* Desktop — two-column, designed overlap                                     */
/* -------------------------------------------------------------------------- */

@media (min-width: 992px) {
	body.single-employee .employee-left-side-bar {
		margin-bottom: 0;
		top: -180px;
	}

	body.single-employee .buildout-employee-block .col-md-4.position-relative {
		overflow: visible;
	}

	body.single-employee .employee-left-side-bar .sln-emp-photo-wrap {
		overflow: hidden;
		padding: 0 !important;
		width: 100%;
	}

	body.single-employee .employee-left-side-bar .sln-emp-photo-wrap img,
	body.single-employee.sln-fluid-shell-enabled .employee-left-side-bar .sln-emp-photo-wrap img {
		width: 100%;
		max-width: 100%;
	}

	/*
	 * Doug / Capital Markets title-bar banner: the navy strip is baked into
	 * the hero image. Desktop .document-content.py-5 (3rem) then reads as a
	 * white gap under that bar. Drop only that top padding; keep photo overlap
	 * by offsetting the sidebar the same 3rem. Larry / Martin are unchanged.
	 */
	body.single-employee.postid-5307 .buildout-employee-block .document-content,
	body.single-employee.sln-employee-doug-aronson .buildout-employee-block .document-content,
	body.single-employee.sln-emp-has-titlebar-banner .buildout-employee-block .document-content {
		padding-top: 0 !important;
	}

	body.single-employee.postid-5307 .employee-left-side-bar,
	body.single-employee.sln-employee-doug-aronson .employee-left-side-bar,
	body.single-employee.sln-emp-has-titlebar-banner .employee-left-side-bar {
		top: calc(-180px + 3rem);
	}
}

/* -------------------------------------------------------------------------- */
/* Ultrawide — sit in the 2560 canvas, not a stamp and not 4K full-bleed      */
/* -------------------------------------------------------------------------- */

@media (min-width: 1921px) {
	body.single-employee.sln-site-shell-enabled #page,
	body.single-employee.sln-site-shell-enabled #page.site {
		overflow: visible;
	}

	body.single-employee.sln-site-shell-enabled .buildout-employee-block .document-content .container.container-1024 {
		max-width: min(1200px, 100%) !important;
	}

	body.single-employee .buildout-employee-block .container-fluid.employee-top-bg {
		max-width: 100% !important;
		width: 100%;
	}
}
