/*
 * VMC Site Fixes, package "leadership" (About Us 1361 and the executive pages 5031, 5034, 5045, 5038, 5041).
 * Every rule is scoped by a body class. Mobile breakpoint: max-width 767px.
 */

/* Biography text: normal weight, comfortable line height (L014). */
body.page-id-5031 .wpb_text_column p,
body.page-id-5034 .wpb_text_column p,
body.page-id-5045 .wpb_text_column p,
body.page-id-5038 .wpb_text_column p,
body.page-id-5041 .wpb_text_column p,
body.page-id-5041 .wpb_text_column li {
	font-weight: 400;
}

/* Back link above the photo: "← Executive Leadership" (small, no extra space). */
body.page-id-5031 .vc-back-link,
body.page-id-5034 .vc-back-link,
body.page-id-5045 .vc-back-link,
body.page-id-5038 .vc-back-link,
body.page-id-5041 .vc-back-link {
	font-size: 15px;
	margin: 0 0 14px;
}
body.page-id-5031 .vc-back-link p,
body.page-id-5034 .vc-back-link p,
body.page-id-5045 .vc-back-link p,
body.page-id-5038 .vc-back-link p,
body.page-id-5041 .vc-back-link p {
	margin: 0;
}

/* Grant Buchanan: experience list with bullets and normal weight (not a wall of bold text). */
body.page-id-5041 .wpb_text_column ul {
	list-style: disc;
	padding-left: 1.4em;
	margin: 0 0 1em;
}
body.page-id-5041 .wpb_text_column li {
	margin: 0 0 6px;
}

/* About Us advisor row: names at the top, buttons on one line at the bottom of each card. */
body.page-id-1361 .vc-advisors > .vc_column_container > .vc_column-inner {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
body.page-id-1361 .vc-advisors > .vc_column_container > .vc_column-inner > .wpb_wrapper {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}
body.page-id-1361 .vc-advisors .gt-button {
	margin-top: auto;
}
/* Same photo box for all four advisors, so names line up even while photos load. */
body.page-id-1361 .vc-advisors .vc_single_image-wrapper {
	width: 200px;
	max-width: 100%;
	height: 200px;
	margin: 0 auto;
}
body.page-id-1361 .vc-advisors .vc_single_image-img {
	width: 200px;
	max-width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}

/* About Us spacing on mobile: less empty space above "Uniting Veterans Globally" and "Executive Leadership". */
@media (max-width: 767px) {
	body.page-id-1361 .gt-page-wrapper {
		padding-top: 0 !important;
	}
	body.page-id-1361 .gt-item > .vc_row:first-child > .vc_column_container > .vc_column-inner {
		padding-top: 10px !important;
	}
	body.page-id-1361 .gt-item > .vc_row:first-child {
		margin-bottom: 30px !important;
	}
}

/* About Us logo wall (noxe grid): rows centered on desktop, logos in two centered columns on mobile (M020, M021). */
body.page-id-1361 .vc_row.logos-grid {
	margin-bottom: 0 !important;
}
body.page-id-1361 .logos-grid .gt-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
body.page-id-1361 .logos-grid .gt-grid > .gt-grid-col {
	text-align: center;
}
/* "THEY TRUST US" heading box spans the column, so its text is centred on the page. */
body.page-id-1361 .vc_row.logos-grid .gt-heading {
	width: 100%;
}
@media (max-width: 767px) {
	body.page-id-1361 .logos-grid .gt-grid > .gt-grid-col {
		flex: 0 0 50% !important;
		width: 50% !important;
		max-width: 50% !important;
		padding: 12px 8px !important;
	}
	body.page-id-1361 .logos-grid .gt-grid .gt-item img {
		width: auto !important;
		height: auto !important;
		max-width: 140px !important;
		max-height: 80px !important;
		margin: 0 auto;
	}
}
