/* ==========================================================================
   Responsive Figma parity — selected 768px and 375px site-page frames
   ========================================================================== */
@media (min-width: 600px) and (max-width: 1023px) {
	body:not(.home) .wp-block-cover.mcdp-finality,
	body.home .wp-block-cover.mcdp-label-Inquiry,
	body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-contact,
	.mcdp-bio-cta {
		box-sizing: border-box;
		height: 616px;
		min-height: 616px;
	}
	.site-footer > .wp-block-group {
		box-sizing: border-box;
		height: 380px;
		min-height: 380px;
		padding: 56px 56px 48px !important;
		--mcdp-inline-padding-top: 56px;
	}
	body.mcdp-page-careers:not(.home) .wp-block-post-content > .mcdp-careers-culture.mcdp-section:not(.wp-block-cover) {
		box-sizing: border-box;
		height: auto;
		min-height: 0;
		padding: 96px 56px !important;
	}
	body.mcdp-page-careers:not(.home) .wp-block-post-content > .mcdp-careers-benefits.mcdp-section:not(.wp-block-cover) {
		box-sizing: border-box;
		height: auto;
		min-height: 0;
		padding: 96px 56px !important;
	}
	body.mcdp-page-careers .mcdp-careers-benefits > .wp-block-columns {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 56px;
		margin-top: 32px;
	}
	body.mcdp-page-careers .mcdp-careers-benefits > .wp-block-columns > .wp-block-column {
		min-width: 0;
	}
	body.mcdp-page-careers:not(.home) .wp-block-post-content > .mcdp-careers-roles.mcdp-section:not(.wp-block-cover) {
		box-sizing: border-box;
		height: auto;
		min-height: 0;
		padding: 96px 56px !important;
	}
	body.mcdp-page-careers .mcdp-careers-roles > .wp-block-columns {
		box-sizing: border-box;
		height: auto;
		min-height: 95px;
		margin: 0;
		padding: 20px 0;
	}
	body.mcdp-page-careers .mcdp-careers-roles > p + .wp-block-columns {
		margin-top: 32px;
	}
	body.mcdp-page-careers .mcdp-careers-roles > hr:not(.mcdp-rule) {
		height: 1px;
		margin: 0;
		border: 0;
		background: #dfe5e9 !important;
	}
	.mcdp-vision-contact,
	.mcdp-partnership-contact {
		box-sizing: border-box;
		height: 616px;
		min-height: 616px;
	}
	body.single-post .mcdp-hero--article {
		box-sizing: border-box;
		height: 530px;
		min-height: 530px;
	}
}
@media (max-width: 599px) {
	.mcdp-hero--interior .mcdp-hero__content h1 {
		font-size: 46px;
		line-height: 1.08;
		letter-spacing: -.46px;
	}
	.mcdp-hero--interior .mcdp-hero__lede {
		font-size: 15px;
		line-height: 26px;
	}
	body:not(.home) .wp-block-cover.mcdp-finality,
	body.home .wp-block-cover.mcdp-label-Inquiry,
	body.mcdp-page-philosophy .wp-block-post-content > .mcdp-philosophy-contact,
	.mcdp-bio-cta {
		box-sizing: border-box;
		height: 506px;
		min-height: 506px;
		padding: 64px 20px;
	}
	.site-footer > .wp-block-group {
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		gap: 0;
		height: auto;
		min-height: 470px;
		padding-bottom: 24px !important;
		padding: 48px 20px 40px !important;
		--mcdp-inline-padding-bottom: 40px;
	}
	.site-footer > .wp-block-group > * {
		margin-block: 0;
	}
	.site-footer > .wp-block-group > .wp-block-group:first-child img {
		width: 84px;
		--mcdp-inline-width: 84px;
		height: 84px;
	}
	.site-footer > .wp-block-group > .wp-block-group:nth-of-type(2) {
		display: flex;
		width: 327px;
		max-width: 100%;
		flex-wrap: wrap;
		justify-content: center;
		gap: 14px 20px;
		margin-top: 24px;
	}
	.mcdp-footer-menu {
		gap: 14px 20px;
	}
	.site-footer > .wp-block-group > hr {
		width: 100%;
		margin-top: 24px;
	}
	.site-footer > .wp-block-group > .wp-block-group:last-child {
		display: flex;
		flex-direction: column;
		gap: 20px;
		margin-top: 24px;
	}
}
.site-footer > .wp-block-group {
	height: auto;
	min-height: 344px;
}
.site-footer > .wp-block-group > hr {
	box-sizing: border-box;
	height: 1px;
	min-height: 1px;
	border: 0 !important;
	background: #24384a;
}
@media (min-width: 600px) and (max-width: 1023px) {
	.site-footer > .wp-block-group > .mcdp-footer-bottom:last-child {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		gap: 18px;
	}
}
@media (max-width: 599px) {
	.site-footer > .wp-block-group > .mcdp-footer-bottom:last-child {
		display: flex !important;
		flex-direction: column;
		gap: 12px;
		align-items: center;
		margin-top: 12px;
	}
}

@media (max-width: 1023px) {
 body:is(.mcdp-page-vision, .mcdp-page-partnership) .wp-block-post-content > .mcdp-section:is(.mcdp-vision-contact, .mcdp-partnership-contact) {
  height: auto;
  min-height: calc((66.667vw + 280px) * 1.1);
  padding: 32px 20px;
  background-color: #0a1826;
  background-position: center top;
  background-size: 100% auto;
 }
 .mcdp-partnership-contact__photo { object-fit: contain; object-position: center top; }
 .mcdp-vision-contact::before,
 .mcdp-partnership-contact__overlay {
  /* Finish the fade at the 3:2 photo edge, not a percentage of the taller section. */
  background: linear-gradient(180deg, rgba(10,24,38,.18) 0, rgba(10,24,38,.2) 30vw, #0a1826 66.667vw);
 }
 :is(.mcdp-bio-cta, .mcdp-finality).wp-block-cover {
  height: auto;
  min-height: calc((66.667vw + 240px) * 1.1);
  padding-block: 32px;
  background: #0a1826;
 }
 :is(.mcdp-bio-cta, .mcdp-finality) > .wp-block-cover__image-background { object-fit: contain; object-position: center top; }
 :is(.mcdp-bio-cta, .mcdp-finality) > .wp-block-cover__background {
  background: linear-gradient(180deg, rgba(10,24,38,.18) 0, rgba(10,24,38,.2) 30vw, #0a1826 66.667vw) !important;
 }
}
