/* ==========================================================================
   Philosophy page — exact selected Figma frame 918:2173
   ========================================================================== */
.mcdp-philosophy-eyebrow,
.mcdp-philosophy-principles__header > *,
.mcdp-philosophy-principle__copy > *,
.mcdp-philosophy-contact__content > * {
	margin: 0;
}
.mcdp-philosophy-eyebrow {
	color: var(--wp--preset--color--eyebrow, #2c6396);
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.mcdp-philosophy-eyebrow--light {
	color: var(--wp--preset--color--primary-alt, #6fb0e0);
}
.mcdp-philosophy-rule {
	display: block;
	width: 64px;
	height: 2px;
	flex: none;
	background: var(--wp--preset--color--deep, #1e4a73);
}
body.mcdp-page-philosophy .mcdp-philosophy-shell {
	box-sizing: border-box;
	width: 1248px !important;
	max-width: calc(100% - 64px);
	margin-right: auto;
	margin-left: auto;
}
/* Current block markup uses the section id and shared Philosophy classes. */
@media (min-width: 1024px) {
	body.mcdp-page-philosophy .wp-block-post-content > #our-mission {
		display: flex;
		box-sizing: border-box;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: var(--mcdp-section-space) 0 128px !important;
		--mcdp-inline-padding-right: 0;
		align-items: center;
		justify-content: center;
		border-top: 0;
		background: #fff;
		box-shadow: inset 0 1px var(--wp--preset--color--border-light, #e4e7ea);
		height: auto;
		min-height: 0;
	}
	body.mcdp-page-philosophy #our-mission .mcdp-philosophy__image,
	body.mcdp-page-philosophy #our-mission .mcdp-philosophy__image img {
		height: 341px;
	}
}
.mcdp-philosophy-mission__row {
	display: grid;
	height: 540px;
	overflow: hidden;
	grid-template-columns: 608px 576px;
	align-items: center;
	gap: 64px;
}
.mcdp-philosophy-principles__header h2,
.mcdp-philosophy-contact__content h2 {
	color: var(--wp--preset--color--main, #13232f);
	font-size: 44px;
	font-weight: 600;
	line-height: 48px;
	letter-spacing: -.44px;
}
body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-principles {
	display: flex !important;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--mcdp-section-space) 0 128px !important;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--tertiary, #f5f7f9);
	height: auto;
	min-height: 0;
}
.mcdp-philosophy-principles__wrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 56px;
	height: auto;
	min-height: 0;
}
.mcdp-philosophy-principles__header {
	display: flex;
	width: 100%;
	height: 222px;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
}
.mcdp-philosophy-principles__header h2 {
	width: 100%;
}
.mcdp-philosophy-principles__header > p:last-child {
	width: 780px;
	max-width: 100%;
	color: var(--wp--preset--color--secondary, #54636e);
	font-size: 17px;
	line-height: 30px;
}
.mcdp-philosophy-principles__cards {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	height: auto;
	min-height: 0;
}
.mcdp-philosophy-principle {
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
	padding: 32px;
	border-radius: 16px;
	background: linear-gradient(149.822deg, #183043 0%, #0f2233 71.429%);
	transform-origin: center;
	transition: transform var(--mcdp-motion-interaction) var(--mcdp-motion-ease-ui),
		box-shadow var(--mcdp-motion-interaction) ease;
	height: auto;
	min-height: 306px;
	overflow: hidden;
}
.mcdp-philosophy-principle__top {
	display: flex;
	width: 100%;
	height: 48px;
	align-items: center;
	justify-content: space-between;
}
.mcdp-philosophy-principle__icon {
	position: relative;
	display: block;
	width: 48px;
	height: 48px;
	transform-origin: center;
	transition: transform var(--mcdp-motion-interaction) var(--mcdp-motion-ease-ui);
}
@media (prefers-reduced-motion: reduce) {
	.mcdp-philosophy-principle__icon {
		transform: none;
		transition: none;
	}
}
.mcdp-philosophy-principle__icon img {
	position: absolute;
	display: block;
	max-width: none;
}
.mcdp-philosophy-principle__icon--one img {
	top: -5px;
	left: -7px;
	width: 62px;
	height: 67px;
}
.mcdp-philosophy-principle__icon--two img {
	top: -1px;
	left: -9px;
	width: 66px;
	height: 59px;
}
.mcdp-philosophy-principle__icon--three img {
	top: -3.03px;
	left: -7.88px;
	width: 61.88px;
	height: 62.03px;
}
@media (prefers-reduced-motion: reduce) {
	.mcdp-philosophy-principle:is(:hover, :focus-within) .mcdp-philosophy-principle__icon {
		transform: none;
		transition: none;
	}
}
.mcdp-philosophy-principle__number {
	color: #a9bdcb;
	font-size: 16px;
	font-weight: 300;
	line-height: 19px;
	letter-spacing: 1px;
}
.mcdp-philosophy-principle__copy {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-height: 0;
	overflow: visible;
}
.mcdp-philosophy-principle__copy h3 {
	width: 100%;
	flex: none;
	min-height: 26px;
	color: #fff;
	font-size: 21px;
	font-weight: 500;
	line-height: 26px;
	letter-spacing: -.105px;
}
.mcdp-philosophy-principle__copy p {
	width: 100%;
	color: var(--wp--preset--color--main-accent, #9fb2c0);
	font-size: 17px;
	line-height: 30px;
	height: auto;
	min-height: 0;
	overflow: visible;
}
body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-contact {
	position: relative;
	display: flex;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: auto;
	min-height: var(--mcdp-photo-cta-min-height);
	margin: 0;
	padding: var(--mcdp-section-space) 0;
	overflow: hidden;
	align-items: center;
	justify-content: center;
	border-top: 0;
	background: #0a1826;
	box-shadow: inset 0 1px var(--wp--preset--color--border-light, #e4e7ea);
}
.mcdp-philosophy-contact__picture,
.mcdp-philosophy-contact__photo, .mcdp-philosophy-contact__overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
}
.mcdp-philosophy-contact__photo {
	object-fit: cover;
	object-position: center 15%;
}
.mcdp-philosophy-contact__overlay {
	background: linear-gradient(180deg, rgba(23, 51, 79, .32) 0%, rgba(15, 38, 54, .45) 45%, rgba(10, 23, 38, .93) 100%);
}
.mcdp-philosophy-contact__vignette {
	position: absolute;
	top: 315px;
	right: 0;
	bottom: 1px;
	left: 0;
	background: linear-gradient(180deg, rgba(10, 24, 38, 0), rgba(10, 24, 38, .7));
}
.mcdp-philosophy-contact__content {
	position: relative;
	z-index: 1;
	display: flex;
	width: 1248px;
	max-width: calc(100% - 64px);
	flex-direction: column;
	align-items: center;
	gap: 32px;
	text-align: center;
	backdrop-filter: none;
}
.mcdp-philosophy-contact__content h2 {
	width: 820px;
	max-width: 100%;
	color: #fff;
}
.mcdp-philosophy-button {
	display: inline-flex;
	box-sizing: border-box;
	height: 53px;
	align-items: center;
	justify-content: center;
	padding: 0 36px;
	border-radius: 30px;
	background: var(--wp--preset--color--eyebrow, #2c6396);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 1.4px;
	text-decoration: none;
	text-transform:none;
}
.mcdp-philosophy-contact__accent {
	display: none;
}
@media (max-width: 1100px) {
	.mcdp-philosophy-mission__row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}
@media (max-width: 900px) {
	body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-mission,
	body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-principles {
		padding: var(--mcdp-section-space) 0 96px;
		height: auto;
		min-height: 0;
	}
	.mcdp-philosophy-mission__row {
		height: auto;
		overflow: visible;
		grid-template-columns: 1fr;
		gap: 64px;
	}
	.mcdp-philosophy-principles__wrap,
	.mcdp-philosophy-principles__header,
	.mcdp-philosophy-principles__cards {
		height: auto;
	}
	.mcdp-philosophy-principles__cards {
		grid-template-columns: 1fr;
	}
	.mcdp-philosophy-principle {
		width: 100%;
	}
}
@media (max-width: 767px) {
	body.mcdp-page-philosophy .mcdp-philosophy-shell {
		max-width: calc(100% - 40px);
	}
	body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-mission,
	body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-principles {
		padding: var(--mcdp-section-space) 0 72px;
	}
	.mcdp-philosophy-principles__header h2,
	.mcdp-philosophy-contact__content h2 {
		font-size: 36px;
		line-height: 1.15;
	}
	.mcdp-philosophy-principles__header > p:last-child {
		width: 100%;
	}
	.mcdp-philosophy-principle {
		height: auto;
		min-height: 306px;
	}
	.mcdp-philosophy-principle__copy,
	.mcdp-philosophy-principle__copy p {
		height: auto;
	}
	body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-contact {
		height: 620px;
		min-height: 620px;
		padding: var(--mcdp-section-space) 0 96px;
	}
	.mcdp-philosophy-contact__content {
		max-width: calc(100% - 40px);
	}
	.mcdp-philosophy-button {
		padding-right: 22px;
		padding-left: 22px;
		font-size: 11px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.mcdp-philosophy-principle {
		transform: none;
		transition: none;
	}
}
@media (max-width: 599px) {
	.mcdp-philosophy-principle {
		min-height: 306px !important;
	}
}

body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-contact {
 align-items: flex-end;
 padding-bottom: 40px;
}
@media (max-width: 1023px) {
 body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-contact {
  min-height: calc((70.24vw + 280px) * 1.1);
  height: auto;
  padding-block: 32px;
 }
 .mcdp-philosophy-contact__photo { object-fit: contain; object-position: center top; }
 .mcdp-philosophy-contact__overlay { background: linear-gradient(180deg, rgba(10,24,38,.2) 0%, rgba(10,24,38,.28) 35%, #0a1826 70%); }
}

@media (max-width: 599px) {
	/* The contained photo is about 70.24vw tall; finish the fade at its edge. */
	.mcdp-philosophy-contact__overlay {
		background: linear-gradient(180deg, rgba(10, 24, 38, .2) 0, rgba(10, 24, 38, .28) 30vw, #0a1826 70.24vw);
	}
}
