/*
Theme Name: MCRC — Mobile Crisis Relief Center
Theme URI: https://mcrcusa.com/
Author: VISIONEFX
Author URI: https://www.visionefx.net/
Description: Custom theme for the Mobile Crisis Relief Center (mcrcusa.com) 2026 redesign.
Version: 1.38
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: mcrc
*/

/* ==========================================================================
   1. Design tokens (from design-tokens.css — values match approved design)
   ========================================================================== */
:root {
	--mcrc-red: #C40202;
	--mcrc-red-deep: #9C0101;
	--mcrc-red-on-dark: #E03535;
	--mcrc-navy-1000: #0A1A30;
	--mcrc-navy-900: #122740;
	--mcrc-navy-800: #16314D;
	--mcrc-navy-700: #1D3C5D;
	--mcrc-blue-struct: #16335A;
	--mcrc-steel-500: #6B7B8E;
	--mcrc-steel-300: #A9B4C0;
	--mcrc-paper-white: #FBF9F5;
	--mcrc-page-bg: #F4F6F8;
	--mcrc-section-alt: #E9EDF2;
	--mcrc-card: #FFFFFF;
	--mcrc-card-border: #D8DEE6;
	--mcrc-divider: #EDF0F4;
	--mcrc-dot-idle: #CBD4DE;
	--mcrc-ink: #1A1A1A;
	--mcrc-ink-2: #5C5852;
	--mcrc-hero-panel: rgba(18, 39, 64, 0.88);
	--mcrc-hero-panel-sm: rgba(18, 39, 64, 0.68);

	--mcrc-font-display: 'Archivo Black', system-ui, sans-serif;
	--mcrc-font-ui: 'Archivo', system-ui, sans-serif;
	--mcrc-font-body: 'Inter', system-ui, sans-serif;

	--mcrc-container: 1360px;
	--mcrc-container-narrow: 1100px;
	--mcrc-gutter: 24px;

	--mcrc-shadow-card: 0 1px 2px rgba(26, 26, 26, 0.05);
	--mcrc-shadow-image: 0 2px 10px rgba(26, 26, 26, 0.12);
	--mcrc-shadow-image-dark: 0 12px 32px rgba(0, 0, 0, 0.35);
	--mcrc-shadow-video: 0 12px 40px rgba(0, 0, 0, 0.30);
	--mcrc-shadow-drawer: 0 14px 24px rgba(10, 26, 48, 0.12);
	--mcrc-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--mcrc-page-bg);
	color: var(--mcrc-ink);
	font-family: var(--mcrc-font-body);
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
img { height: auto; }
a { color: var(--mcrc-red); text-decoration: none; }
a:hover { color: var(--mcrc-red-deep); }
button { font: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--mcrc-blue-struct); outline-offset: 2px; }

.mc-skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 10001;
	background: var(--mcrc-navy-1000); color: var(--mcrc-paper-white);
	padding: 10px 16px; font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 13px;
	letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px;
}
.mc-skip-link:focus { top: 12px; color: var(--mcrc-paper-white); }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* ==========================================================================
   3. Layout utilities
   ========================================================================== */
.mc-container { max-width: var(--mcrc-container); margin: 0 auto; padding-left: var(--mcrc-gutter); padding-right: var(--mcrc-gutter); }
.mc-container--narrow { max-width: var(--mcrc-container-narrow); }

.mc-pad-64  { padding-top: clamp(40px, 5vw, 64px);  padding-bottom: clamp(40px, 5vw, 64px); }
.mc-pad-72  { padding-top: clamp(48px, 6vw, 72px);  padding-bottom: clamp(48px, 6vw, 72px); }
.mc-pad-80  { padding-top: clamp(48px, 6vw, 80px);  padding-bottom: clamp(48px, 6vw, 80px); }
.mc-pad-88  { padding-top: clamp(56px, 7vw, 88px);  padding-bottom: clamp(56px, 7vw, 88px); }
.mc-pad-96  { padding-top: clamp(56px, 7vw, 96px);  padding-bottom: clamp(56px, 7vw, 96px); }
.mc-pad-110 { padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }

.mc-bg-page      { background: var(--mcrc-page-bg); }
.mc-bg-alt       { background: var(--mcrc-section-alt); }
.mc-bg-navy-900  { background: var(--mcrc-navy-900); }
.mc-bg-navy-1000 { background: var(--mcrc-navy-1000); }
.mc-top-red      { border-top: 3px solid var(--mcrc-red); }
.mc-center       { text-align: center; }
.mc-self-start   { align-self: start; }

.mc-cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.mc-cols-2--wide { gap: 44px; }
.mc-cols-2--gap40 { gap: 40px; }
.mc-cols-2--top { align-items: start; }
.mc-stack { display: grid; gap: 16px; align-content: start; }

.mc-grid-250 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.mc-grid-280 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.mc-grid-300 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.mc-grid-3   { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .mc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .mc-grid-3 { grid-template-columns: 1fr; } }

.mb-0  { margin-bottom: 0 !important; }
.mb-8  { margin-bottom: 8px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-18 { margin-bottom: 18px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-28 { margin-bottom: 28px !important; }
.mb-36 { margin-bottom: 36px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-44 { margin-bottom: 44px !important; }

/* ==========================================================================
   4. Typography
   ========================================================================== */
.mc-eyebrow {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 12px;
	letter-spacing: 0.24em; text-transform: uppercase; color: var(--mcrc-red);
	margin: 0 0 14px;
}
.mc-eyebrow--dark { color: var(--mcrc-red-on-dark); }
.mc-eyebrow--sm { font-size: 11.5px; }

.mc-h2 {
	font-family: var(--mcrc-font-display); font-weight: 400;
	font-size: clamp(28px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.01em;
	color: var(--mcrc-ink); margin: 0; text-wrap: pretty;
}
.mc-h2--xl  { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; margin-bottom: 18px; }
.mc-h2--lg  { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.mc-h2--eo  { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; margin-bottom: 18px; }
.mc-h2--md  { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; }
.mc-h2--sm  { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.mc-h2--ai  { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.mc-h2--xs  { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; }
.mc-h2--max680 { max-width: 680px; }
.mc-h2--max720 { max-width: 720px; }
.is-light { color: var(--mcrc-paper-white) !important; }

.mc-text { font-size: 15.5px; line-height: 1.65; color: var(--mcrc-ink-2); margin: 0 0 14px; }
.mc-text--lg { font-size: 15.5px; line-height: 1.7; }
.mc-text--15 { font-size: 15px; line-height: 1.7; }
.mc-text--dark { color: var(--mcrc-steel-300); }
.mc-note { font-size: 14.5px; line-height: 1.6; color: var(--mcrc-ink-2); margin: 24px 0 0; max-width: 760px; }
.mc-disclaimer { font-size: 12.5px; color: var(--mcrc-ink-2); margin: 22px 0 0; }
.mc-disclaimer a { font-weight: 600; }
.mc-inline-link--dark { color: var(--mcrc-red-on-dark); font-weight: 600; }
.mc-inline-link--dark:hover { color: var(--mcrc-paper-white); }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.mc-btn {
	display: inline-block; background: var(--mcrc-red); color: #FFFFFF;
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 13px;
	letter-spacing: 0.1em; text-transform: uppercase; line-height: normal;
	padding: 15px 26px; border-radius: 2px; border: 0; cursor: pointer;
}
.mc-btn:hover { background: var(--mcrc-red-on-dark); color: #FFFFFF; }
.mc-btn:active { background: var(--mcrc-red-deep); }
.mc-btn--ghost {
	background: transparent; color: var(--mcrc-paper-white);
	border: 1px solid var(--mcrc-steel-500); padding: 14px 26px;
}
.mc-btn--ghost:hover { background: transparent; border-color: var(--mcrc-paper-white); color: #FFFFFF; }
.mc-btn--outline { background: transparent; color: var(--mcrc-red); border: 1px solid var(--mcrc-red); padding: 14px 26px; }
.mc-btn--outline:hover { background: var(--mcrc-red); color: #FFFFFF; }
.mc-btn--wide { padding-left: 28px; padding-right: 28px; }
.mc-btn--eo { padding: 14px 24px; }
.mc-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.mc-btn-row--center { justify-content: center; }

.mc-link-cta {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 12.5px;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--mcrc-red);
	border-bottom: 2px solid var(--mcrc-red); padding-bottom: 2px;
}
.mc-link-cta:hover { color: var(--mcrc-red-deep); }
.mc-link-cta--dark { color: var(--mcrc-red-on-dark); }
.mc-link-cta--dark:hover { color: var(--mcrc-paper-white); }

/* ==========================================================================
   6. Masthead — alert bar, header, drawer
   ========================================================================== */
.mc-masthead { position: sticky; top: 0; z-index: 1000; }
.admin-bar .mc-masthead { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .mc-masthead { top: 0; } }

.mc-alert {
	display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
	background: var(--mc-bar-bg, var(--mcrc-red)); color: var(--mc-bar-text, #FFFFFF); padding: 9px 20px; text-align: center;
}
a.mc-alert:hover { background: var(--mc-bar-hover, var(--mcrc-red-deep)); color: var(--mc-bar-text, #FFFFFF); }
a.mc-alert--custom:hover { background: var(--mc-bar-bg); filter: brightness(0.88); }
.mc-alert__badge {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11.5px; letter-spacing: 0.22em;
	text-transform: uppercase; background: var(--mc-bar-badge, var(--mcrc-red-deep)); color: var(--mc-bar-text, #FFFFFF);
	padding: 4px 9px 3px; border-radius: 2px; white-space: nowrap;
}
.mc-alert__text { font-size: 14.5px; font-weight: 600; color: var(--mc-bar-text, #FFFFFF); line-height: 1.4; }

/* Top bar close button (Theme Options → Top Bar → Close button) */
.mc-topbar { position: relative; background: var(--mc-bar-bg, var(--mcrc-red)); }
.mc-topbar[hidden] { display: none; }
.mc-topbar--closable .mc-alert { padding-left: 48px; padding-right: 48px; }
.mc-topbar__close {
	position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
	width: 32px; height: 32px; padding: 0; border: 0; border-radius: 2px; cursor: pointer;
	background: transparent; color: var(--mc-bar-text, #FFFFFF); font-size: 24px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
}
.mc-topbar__close:hover { background: rgba(0, 0, 0, 0.18); }
.mc-topbar__close:focus-visible { outline: 2px solid var(--mc-bar-text, #FFFFFF); outline-offset: -2px; }

.mc-header { background: #FFFFFF; border-bottom: 1px solid var(--mcrc-card-border); }
.mc-header__inner {
	max-width: var(--mcrc-container); margin: 0 auto; padding: 14px 24px;
	display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.mc-header__logo { flex-shrink: 0; display: block; }
.mc-header__logo img { height: 72px; width: auto; display: block; }

.mc-nav { margin-left: auto; }
.mc-nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 22px; row-gap: 8px; flex-wrap: wrap;
}
.mc-nav__list a {
	font-weight: 700; font-size: 15.5px; letter-spacing: 0.06em; text-transform: uppercase;
	padding: 5px 1px 4px; border-bottom: 2px solid transparent; color: var(--mcrc-blue-struct);
	white-space: nowrap; display: inline-flex; align-items: baseline; gap: 5px;
}
.mc-nav__list a:hover { color: var(--mcrc-red); }
.mc-nav__list .current-menu-item > a,
.mc-nav__list .current_page_item > a { color: var(--mcrc-red); border-bottom-color: var(--mcrc-red); }
.mc-nav-badge { font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 8.5px; letter-spacing: 0.14em; color: var(--mcrc-red); }

.mc-burger {
	display: none; flex-direction: column; gap: 5px; cursor: pointer;
	padding: 11px 8px; margin-left: auto; flex-shrink: 0; background: none; border: 0;
}
.mc-burger span { display: block; width: 26px; height: 3px; background: var(--mcrc-blue-struct); border-radius: 2px; }

.mc-drawer { background: #FFFFFF; border-bottom: 2px solid var(--mcrc-red); box-shadow: var(--mcrc-shadow-drawer); }
.mc-drawer[hidden] { display: none; }
.mc-drawer__list { list-style: none; margin: 0; padding: 0; }
.mc-drawer__list a {
	display: block; padding: 15px 24px; font-weight: 700; font-size: 16px; letter-spacing: 0.06em;
	text-transform: uppercase; color: var(--mcrc-blue-struct); border-top: 1px solid var(--mcrc-divider);
}
.mc-drawer__list a:hover,
.mc-drawer__list .current-menu-item > a,
.mc-drawer__list .current_page_item > a { color: var(--mcrc-red); }
.mc-drawer__list .mc-nav-badge { font-size: 9px; }

@media (max-width: 980px) {
	.mc-nav { display: none; }
	.mc-burger { display: flex; }
}
@media (min-width: 981px) {
	.mc-drawer { display: none !important; }
}

/* ==========================================================================
   7. Hero banner
   ========================================================================== */
.mc-hero { background: var(--mcrc-navy-900); position: relative; overflow: hidden; }
.mc-hero__video {
	position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%;
	object-fit: cover; filter: contrast(1.18) saturate(1.08);
}
.mc-hero__wrap { position: relative; }
.mc-hero__panel {
	box-sizing: border-box; max-width: 693px; width: min(100%, 693px);
	background: var(--mcrc-hero-panel);
	clip-path: polygon(0 0, 100% 0, calc(100% - 72px) 100%, 0 100%);
	/* One panel padding for every banner (Home, page.php, all heights) */
	padding: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px) 95px clamp(24px, 5vw, 72px);
	margin-bottom: -1.5px;
}
.mc-hero__eyebrow {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.24em;
	text-transform: uppercase; color: var(--mcrc-red-on-dark); margin: 0 0 16px;
}
.mc-hero__title {
	font-family: var(--mcrc-font-display); font-weight: 400;
	font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.01em;
	color: var(--mcrc-paper-white); margin: 0 0 18px; text-wrap: pretty;
}
.mc-hero__body {
	font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.65; color: var(--mcrc-steel-300);
	margin: 0; max-width: 680px;
}
.mc-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Home variant — natural height, video cropped 40px at the bottom */
.mc-hero--home .mc-hero__video { height: calc(100% + 40px); object-position: top center; }
.mc-hero--home .mc-hero__eyebrow { margin-bottom: 20px; }
.mc-hero--home .mc-hero__title { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.06; margin-bottom: 22px; }
.mc-hero--home .mc-hero__body { font-size: clamp(16px, 1.3vw, 18px); max-width: 560px; }
.mc-hero--home .mc-hero__actions { margin-top: 32px; }

/* Interior variant — min-height, panel full-height, content centred */
.mc-hero--page { min-height: 620px; display: flex; flex-direction: column; }
.mc-hero--tall { min-height: 730px; }
.mc-hero--short { min-height: 540px; }
.mc-hero--page .mc-hero__wrap { display: flex; flex: 1; width: 100%; }
.mc-hero--page .mc-hero__panel { display: flex; flex-direction: column; justify-content: center; }

/* Grid Security hero spacing */
.mc-hero--grid .mc-hero__eyebrow { margin-bottom: 18px; }
.mc-hero--grid .mc-hero__title { margin-bottom: 20px; }
.mc-hero--grid .mc-hero__body { max-width: 560px; }
.mc-hero--grid .mc-hero__actions { margin-top: 30px; }

/* Contact hero */
.mc-hero--contact .mc-hero__title { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 16px; }
.mc-hero--contact .mc-hero__body { font-size: clamp(15.5px, 1.2vw, 17px); max-width: 640px; }

@media (max-width: 700px) {
	.mc-hero__panel,
	.mc-hero--home .mc-hero__panel,
	.mc-hero--page .mc-hero__panel {
		clip-path: none; padding-left: 24px; padding-right: 24px;
		max-width: 100%; width: 100%; background: var(--mcrc-hero-panel-sm);
	}
}

/* Simple page header (default templates) */
.mc-page-head__title {
	font-family: var(--mcrc-font-display); font-weight: 400;
	font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -0.01em;
	color: var(--mcrc-paper-white); text-wrap: pretty;
}

/* ==========================================================================
   8. Shared components
   ========================================================================== */
.mc-card {
	background: var(--mcrc-card); border: 1px solid var(--mcrc-card-border);
	border-radius: 6px; box-shadow: var(--mcrc-shadow-card);
}
.mc-photo { border-radius: 6px; overflow: hidden; box-shadow: var(--mcrc-shadow-image); }
.mc-photo img, .mc-photo video { width: 100%; display: block; }
.mc-photo--dark { box-shadow: var(--mcrc-shadow-image-dark); }

.mc-chip {
	width: 44px; height: 44px; border-radius: 50%; background: var(--mcrc-blue-struct);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--mcrc-paper-white);
}
.mc-chip svg { width: 21px; height: 21px; display: block; }
.mc-chip--sm { width: 36px; height: 36px; }
.mc-chip--sm svg { width: 18px; height: 18px; }
.mc-chip--navy { background: var(--mcrc-navy-800); }

.mc-split-head {
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}
.mc-split-head__title { max-width: 640px; }
.mc-split-head__intro { font-size: 15px; line-height: 1.6; color: var(--mcrc-ink-2); margin: 0; max-width: 420px; }
.mc-split-head__intro--sm { font-size: 14px; max-width: 360px; }

.mc-rule { width: 44px; height: 3px; background: var(--mcrc-red); margin-bottom: 24px; }
.mc-rule--22 { margin-bottom: 22px; }

.mc-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.mc-pill {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--mcrc-blue-struct);
	border: 1px solid var(--mcrc-blue-struct); border-radius: 999px; padding: 7px 14px;
}
.mc-tags { display: flex; gap: 10px; flex-wrap: wrap; max-width: 1000px; }
.mc-tags--sm { gap: 8px; max-width: 560px; }
.mc-tag {
	font-size: 13.5px; font-weight: 500; color: var(--mcrc-paper-white);
	background: var(--mcrc-navy-700); border-radius: 999px; padding: 9px 16px;
}
.mc-tag--sm { font-size: 12.5px; font-weight: 600; padding: 7px 14px; }

/* Icon card (Goods & Services, Grid Security) */
.mc-icon-card { padding: 26px 24px; }
.mc-icon-card--grid { padding: 24px 22px; }
.mc-icon-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.mc-icon-card__head--top { align-items: flex-start; }
.mc-icon-card__title {
	font-family: var(--mcrc-font-display); font-size: 18px; color: var(--mcrc-ink);
	margin: 0; letter-spacing: -0.005em;
}
.mc-icon-card__title--tight { line-height: 1.25; }
.mc-icon-card__text { font-size: 14px; line-height: 1.65; color: var(--mcrc-ink-2); }
.mc-icon-card__text--160 { line-height: 1.6; }

/* CTA band */
.mc-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mc-band__text { font-size: 14.5px; color: var(--mcrc-steel-300); }
.mc-cta__text { font-size: 16px; line-height: 1.65; color: var(--mcrc-steel-300); margin: 0 auto 36px; max-width: 560px; }
.mc-cta__text--grid { font-size: 15.5px; max-width: 540px; margin-bottom: 32px; }

/* ==========================================================================
   9. Home
   ========================================================================== */
.mc-loader {
	position: fixed; inset: 0; z-index: 9999; background: var(--mcrc-navy-1000);
	display: flex; align-items: center; justify-content: center; transition: opacity 0.45s ease-out;
}
.mc-loader.is-hidden { opacity: 0; pointer-events: none; }
.mc-loader__spin {
	width: 38px; height: 38px; border-radius: 50%;
	border: 3px solid rgba(251, 249, 245, 0.18); border-top-color: var(--mcrc-paper-white);
	animation: mcSpin 0.8s linear infinite;
}
@keyframes mcSpin { to { transform: rotate(360deg); } }

/* AI-Directed Relief */
.mc-ai { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.mc-ai__intro { flex: 1 1 280px; min-width: 260px; }
.mc-ai__head { display: flex; align-items: center; gap: 16px; }
.mc-ai__logo { height: 56px; width: auto; flex-shrink: 0; display: block; animation: mcAiGlow 3s ease-in-out infinite; }
@keyframes mcAiGlow {
	0%, 100% { filter: drop-shadow(0 0 6px rgba(80, 170, 255, 0.5)) brightness(1); transform: scale(1); }
	50%      { filter: drop-shadow(0 0 26px rgba(90, 180, 255, 1)) brightness(1.25); transform: scale(1.12); }
}
.mc-ai__points { flex: 2 1 480px; min-width: 280px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.mc-ai__point { border-top: 2px solid var(--mcrc-blue-struct); padding-top: 16px; }
.mc-ai__title { font-weight: 600; font-size: 15.5px; color: var(--mcrc-paper-white); margin: 0 0 8px; }
.mc-ai__text { font-size: 14px; line-height: 1.6; color: var(--mcrc-steel-300); }

/* What's On Board */
.mc-board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.mc-board__card {
	background: var(--mcrc-card); border: 1px solid var(--mcrc-card-border); border-radius: 6px;
	padding: 18px 16px; box-shadow: var(--mcrc-shadow-card);
}
.mc-board__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mc-board__name { min-width: 0; overflow-wrap: anywhere; font-weight: 600; font-size: 16px; line-height: 1.25; color: var(--mcrc-ink); }
.mc-board__desc { font-size: 13px; line-height: 1.55; color: var(--mcrc-ink-2); }
.mc-board__more { font-size: 14px; color: var(--mcrc-ink-2); margin: 26px 0 0; }
.mc-board__more a { font-weight: 600; }
@media (max-width: 1100px) { .mc-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .mc-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Deployment Scenarios */
.mc-scenarios { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.mc-scenario { display: block; background: var(--mcrc-navy-800); border-radius: 6px; overflow: hidden; color: var(--mcrc-paper-white); }
.mc-scenario:hover { filter: brightness(1.08); color: var(--mcrc-paper-white); }
.mc-scenario__img { aspect-ratio: 16 / 10; overflow: hidden; }
.mc-scenario__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-scenario__body { padding: 18px 20px 22px; }
.mc-scenario__title { font-weight: 600; font-size: 16px; margin: 0 0 6px; color: var(--mcrc-paper-white); }
.mc-scenario__desc { font-size: 13.5px; line-height: 1.55; color: var(--mcrc-steel-300); }

/* Numbered phases (Home Strategic Plan, Grid Security implications) */
.mc-phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 2px solid var(--mcrc-blue-struct); }
.mc-phases--270 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.mc-phase { padding: 28px 28px 8px 0; }
.mc-phase__head { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; }
.mc-phase__num { font-family: var(--mcrc-font-display); font-size: 44px; color: var(--mcrc-red); letter-spacing: -0.01em; }
.mc-phase__title {
	font-family: var(--mcrc-font-display); font-weight: 400; font-size: 18px;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--mcrc-blue-struct);
}
.mc-phase__body { font-size: 15px; line-height: 1.65; color: var(--mcrc-ink-2); max-width: 380px; }

.mc-phase--impl { padding: 26px 28px 8px 0; }
.mc-impl__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.mc-impl__num { font-family: var(--mcrc-font-display); font-size: 40px; line-height: 1; color: var(--mcrc-red); letter-spacing: -0.01em; }
.mc-impl__title { font-family: var(--mcrc-font-display); font-size: 18px; line-height: 1.25; color: var(--mcrc-ink); padding-top: 2px; letter-spacing: -0.005em; }
.mc-impl__body { font-size: 14.5px; line-height: 1.65; color: var(--mcrc-ink-2); max-width: 380px; }

/* See It In Action */
.mc-clips__label {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--mcrc-steel-500); margin: 0 0 14px;
}
.mc-clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 28px; }
.mc-clip {
	display: block; width: 100%; padding: 0; text-align: left; cursor: pointer;
	border-radius: 4px; overflow: hidden; background: var(--mcrc-navy-800); border: 2px solid transparent;
}
.mc-clip:hover { filter: brightness(1.12); }
.mc-clip.is-active { border-color: var(--mcrc-red); }
.mc-clip__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.mc-clip__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-clip__play {
	position: absolute; left: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 50%;
	background: rgba(10, 26, 48, 0.85); color: var(--mcrc-paper-white);
	display: flex; align-items: center; justify-content: center; font-size: 9px; padding-left: 2px;
}
.mc-clip__label { display: block; font-size: 11.5px; font-weight: 600; color: var(--mcrc-steel-300); padding: 8px 10px; line-height: 1.35; }
.mc-clip.is-active .mc-clip__label { color: var(--mcrc-paper-white); }
.mc-player { background: var(--mcrc-navy-1000); border-radius: 6px; overflow: hidden; box-shadow: var(--mcrc-shadow-video); }
.mc-player__ratio { aspect-ratio: 16 / 9; position: relative; }
.mc-player__ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Garrett quote + slideshow */
.mc-quote {
	font-family: var(--mcrc-font-display); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.35;
	letter-spacing: -0.005em; color: var(--mcrc-ink); margin: 0 0 22px; text-wrap: pretty;
}
.mc-quote__name { font-weight: 600; font-size: 15px; color: var(--mcrc-ink); }
.mc-quote__role { font-size: 13.5px; color: var(--mcrc-ink-2); margin: 2px 0 18px; }
.mc-slideshow__frame {
	border-radius: 6px; overflow: hidden; box-shadow: var(--mcrc-shadow-image);
	aspect-ratio: 16 / 10; background: var(--mcrc-navy-1000);
}
.mc-slideshow__track { display: flex; height: 100%; transition: transform 600ms ease; }
.mc-slideshow__track img {
	flex: 0 0 100%; min-width: 100%; height: 100%; object-fit: cover; display: block;
	filter: contrast(1.18) saturate(1.08);
}
.mc-slideshow__dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.mc-slideshow__dot {
	width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--mcrc-dot-idle);
}
.mc-slideshow__dot:hover, .mc-slideshow__dot.is-active { background: var(--mcrc-red); }

/* EO 14420 band */
.mc-eo__text { font-size: 15.5px; margin: 0 0 28px; max-width: 560px; }
.mc-facts { display: grid; gap: 14px; }
.mc-fact { background: var(--mcrc-navy-800); border-radius: 6px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.mc-fact__k { font-family: var(--mcrc-font-display); font-size: 15px; color: var(--mcrc-red-on-dark); line-height: 1.5; white-space: nowrap; }
.mc-fact__v { font-size: 14px; line-height: 1.6; color: var(--mcrc-paper-white); }

/* ==========================================================================
   10. Interior pages
   ========================================================================== */
/* What is MCRC — base models, story */
.mc-model { background: var(--mcrc-card); border: 1px solid var(--mcrc-card-border); border-radius: 6px; overflow: hidden; box-shadow: var(--mcrc-shadow-card); }
.mc-model__img { aspect-ratio: 16 / 9; overflow: hidden; }
.mc-model__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-model__body { padding: 24px 24px 26px; }
.mc-model__tag {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11.5px; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--mcrc-red); margin: 0 0 8px;
}
.mc-model__title { font-family: var(--mcrc-font-display); font-size: 21px; color: var(--mcrc-ink); margin: 0 0 10px; letter-spacing: -0.01em; }
.mc-model__text { font-size: 14.5px; line-height: 1.65; color: var(--mcrc-ink-2); }

.mc-story p { font-size: 15.5px; line-height: 1.75; color: var(--mcrc-ink-2); margin: 0 0 16px; }
.mc-story > p:last-child { margin-bottom: 0; }
.mc-story__quote { border-left: 3px solid var(--mcrc-red); padding: 4px 0 4px 20px; margin: 0 0 16px; }
.mc-story .mc-story__quote p { font-family: var(--mcrc-font-display); font-size: 17.5px; line-height: 1.5; color: var(--mcrc-ink); margin: 0; }

/* Crisis Response */
.mc-sop { display: grid; gap: 18px; width: 80%; margin: 0 auto; }
.mc-sop__card { padding: 28px; }
.mc-sop__head { margin-bottom: 16px; }
.mc-sop__num { font-size: 46px; }
.mc-sop__body { font-size: 15px; line-height: 1.7; color: var(--mcrc-ink-2); margin: 0 0 10px; }
.mc-sop__detail { font-size: 14px; line-height: 1.65; color: var(--mcrc-ink-2); }
@media (max-width: 640px) { .mc-sop { width: 100%; } }

.mc-playbook__item { padding: 18px 0; border-bottom: 1px solid var(--mcrc-navy-700); }
.mc-playbook__when {
	font-family: var(--mcrc-font-display); font-weight: 400; font-size: 18px; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--mcrc-red-on-dark); margin: 0 0 8px;
}
.mc-playbook__what { font-size: 14.5px; line-height: 1.65; color: var(--mcrc-paper-white); }
.mc-playbook__note { font-size: 14px; line-height: 1.6; color: var(--mcrc-steel-500); margin: 18px 0 0; }

.mc-statement {
	font-family: var(--mcrc-font-display); font-size: clamp(19px, 2vw, 25px); line-height: 1.4;
	color: var(--mcrc-ink); margin: 0 0 16px; text-wrap: pretty;
}

/* Emergencies */
.mc-brief { padding: 26px 24px; }
.mc-brief__tag {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--mcrc-red); margin: 0 0 10px;
}
.mc-brief__q { font-family: var(--mcrc-font-display); font-size: 18px; line-height: 1.3; color: var(--mcrc-ink); margin: 0 0 12px; letter-spacing: -0.005em; }
.mc-brief__a { font-size: 14px; line-height: 1.65; color: var(--mcrc-ink-2); }
.mc-inline-video { width: 100%; display: block; }

/* Business Benefits */
.mc-benefits { display: grid; gap: 0; border-top: 2px solid var(--mcrc-blue-struct); }
.mc-benefit { display: flex; gap: 22px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--mcrc-dot-idle); }
.mc-benefit__num { font-family: var(--mcrc-font-display); font-size: 34px; color: var(--mcrc-red); line-height: 1; letter-spacing: -0.01em; }
.mc-benefit__title { font-weight: 600; font-size: 16.5px; color: var(--mcrc-ink); margin: 0 0 8px; }
.mc-benefit__text { font-size: 14.5px; line-height: 1.65; color: var(--mcrc-ink-2); }

/* Grid Security */
.mc-fit__intro { font-size: 15.5px; margin: 0 0 40px; max-width: 680px; }
.mc-fit { background: var(--mcrc-navy-700); border-radius: 6px; padding: 24px 22px; }
.mc-fit__text { font-size: 14px; line-height: 1.6; color: var(--mcrc-steel-300); }
.mc-callout {
	margin-top: 36px; background: var(--mcrc-navy-800); border-left: 3px solid var(--mcrc-red);
	border-radius: 0 6px 6px 0; padding: 22px 26px; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap;
}
.mc-callout__tag {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--mcrc-red-on-dark); white-space: nowrap;
}
.mc-callout__text { font-size: 14.5px; line-height: 1.6; color: var(--mcrc-paper-white); flex: 1; min-width: 260px; }

/* Contact */
.mc-direct { background: var(--mcrc-navy-1000); border-radius: 6px; padding: 28px 26px; }
.mc-direct__tag {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--mcrc-red-on-dark); margin: 0 0 6px;
}
.mc-direct__name { font-family: var(--mcrc-font-display); font-size: 20px; color: var(--mcrc-paper-white); margin: 0 0 2px; letter-spacing: -0.005em; }
.mc-direct__role { font-size: 13.5px; color: var(--mcrc-steel-300); margin: 0 0 18px; }
.mc-direct__phone { display: block; color: var(--mcrc-paper-white); font-weight: 700; font-size: 22px; margin: 0 0 6px; }
.mc-direct__phone:last-child { margin-bottom: 0; }
.mc-direct__phone:hover { color: var(--mcrc-red-on-dark); }

.mc-info-card { padding: 24px 26px; }
.mc-info-card__tag {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--mcrc-red); margin: 0 0 10px;
}
.mc-info-card__email { display: block; font-weight: 600; font-size: 16px; color: var(--mcrc-ink); margin: 0 0 8px; }
.mc-info-card__email:hover { color: var(--mcrc-red); }
.mc-info-card__text { font-size: 14.5px; line-height: 1.6; color: var(--mcrc-ink-2); }

.mc-form-card { padding: clamp(24px, 3vw, 36px); }
.mc-form-card__title { font-family: var(--mcrc-font-display); font-size: 20px; color: var(--mcrc-ink); margin: 0 0 22px; letter-spacing: -0.005em; }
.mc-form-card__empty { font-size: 14px; line-height: 1.6; color: var(--mcrc-ink-2); padding: 16px; border: 1px dashed var(--mcrc-card-border); border-radius: 2px; }

/* Form-plugin field styling (CF7 / WPForms / Gravity) inside the form card */
.mc-form-card input[type="text"],
.mc-form-card input[type="email"],
.mc-form-card input[type="tel"],
.mc-form-card input[type="url"],
.mc-form-card input[type="number"],
.mc-form-card select,
.mc-form-card textarea {
	width: 100%; box-sizing: border-box; border: 1px solid var(--mcrc-dot-idle); border-radius: 2px;
	background: #FFFFFF; padding: 12px 14px; font-family: var(--mcrc-font-body); font-size: 14.5px;
	color: var(--mcrc-ink); margin: 0;
}
.mc-form-card textarea { resize: vertical; }
.mc-form-card input::placeholder, .mc-form-card textarea::placeholder { color: #9A948A; }
.mc-form-card input:focus, .mc-form-card select:focus, .mc-form-card textarea:focus { outline: 2px solid var(--mcrc-blue-struct); outline-offset: 0; }
.mc-form-card label {
	display: block; font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 10.5px; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--mcrc-ink-2);
}
.mc-form-card input[type="submit"],
.mc-form-card button[type="submit"] {
	background: var(--mcrc-red); color: #FFFFFF; font-family: var(--mcrc-font-ui); font-weight: 700;
	font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 15px 30px;
	border: 0; border-radius: 2px; cursor: pointer; width: auto;
}
.mc-form-card input[type="submit"]:hover,
.mc-form-card button[type="submit"]:hover { background: var(--mcrc-red-on-dark); }
.mc-form-card input[type="submit"]:active,
.mc-form-card button[type="submit"]:active { background: var(--mcrc-red-deep); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.mc-footer { background: var(--mcrc-navy-1000); color: var(--mcrc-steel-300); }
.mc-footer__grid {
	max-width: var(--mcrc-container); margin: 0 auto; padding: 64px 24px 48px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 48px; justify-items: start;
}
.mc-footer__logo { height: 56px; width: auto; display: block; }
.mc-footer__about { font-size: 14px; line-height: 1.65; margin: 18px 0 0; max-width: 300px; }
.mc-footer__tag {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--mcrc-red-on-dark); margin: 18px 0 0;
}
.mc-footer__title {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--mcrc-paper-white); margin: 0 0 16px;
}
.mc-footer__links { list-style: none; margin: 0; padding: 0; }
.mc-footer__links a { display: block; color: var(--mcrc-steel-300); font-size: 14px; padding: 5px 0; }
.mc-footer__links a:hover { color: var(--mcrc-paper-white); }
.mc-footer__links .mc-nav-badge { display: none; }
.mc-footer__phone { display: block; color: var(--mcrc-paper-white); font-weight: 600; font-size: 16px; padding: 4px 0; }
.mc-footer__phone:hover { color: var(--mcrc-red-on-dark); }
.mc-footer__email { display: block; color: var(--mcrc-steel-300); font-size: 14px; padding: 6px 0; }
.mc-footer__email:hover { color: var(--mcrc-paper-white); }
.mc-footer__addr { font-size: 14px; line-height: 1.6; margin: 6px 0 0; }
.mc-footer__badges { display: grid; gap: 32px; align-content: start; }
.mc-footer__badge { display: flex; align-items: center; gap: 16px; }
.mc-footer__badge img { height: 72px; width: auto; flex-shrink: 0; display: block; border-radius: 10px; }
.mc-footer__badge p { font-size: 13px; line-height: 1.6; max-width: 220px; }
.mc-footer__bottom { border-top: 1px solid var(--mcrc-navy-700); }
.mc-footer__bottom-inner {
	max-width: var(--mcrc-container); margin: 0 auto; padding: 20px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.mc-footer__bottom p { font-size: 12.5px; color: var(--mcrc-steel-500); }
.mc-footer__bottom a { color: var(--mcrc-steel-300); }
.mc-footer__bottom a:hover { color: var(--mcrc-paper-white); }

/* ==========================================================================
   12. Default content / posts
   ========================================================================== */
:where(.entry-content) { font-size: 16px; line-height: 1.7; color: var(--mcrc-ink-2); }
:where(.entry-content) p { margin: 0 0 1.2em; }
:where(.entry-content) h2, :where(.entry-content) h3 { font-family: var(--mcrc-font-display); font-weight: 400; color: var(--mcrc-ink); margin: 1.4em 0 0.6em; line-height: 1.2; }
:where(.entry-content) h2 { font-size: clamp(24px, 2.6vw, 34px); }
:where(.entry-content) h3 { font-size: 20px; }
:where(.entry-content) ul, :where(.entry-content) ol { margin: 0 0 1.2em; padding-left: 1.4em; }
:where(.entry-content) a { font-weight: 600; }
.mc-post-list { display: grid; gap: 16px; }
.mc-post-item { padding: 26px 24px; }
.mc-post-item__title { font-family: var(--mcrc-font-display); font-weight: 400; font-size: 22px; line-height: 1.25; margin: 0 0 10px; }
.mc-post-item__title a { color: var(--mcrc-ink); }
.mc-post-item__title a:hover { color: var(--mcrc-red); }
.mc-post-item__excerpt p { font-size: 14.5px; line-height: 1.65; color: var(--mcrc-ink-2); margin: 0; }
.mc-pagination { margin-top: 28px; }
.mc-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.mc-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--mcrc-card-border); background: #FFFFFF; color: var(--mcrc-blue-struct); font-weight: 600; border-radius: 2px; }
.mc-pagination .page-numbers.current { background: var(--mcrc-red); border-color: var(--mcrc-red); color: #FFFFFF; }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; box-sizing: border-box; border: 1px solid var(--mcrc-dot-idle); border-radius: 2px; padding: 12px 14px; font: 14.5px var(--mcrc-font-body); }
.search-form .search-submit { background: var(--mcrc-red); color: #FFFFFF; border: 0; border-radius: 2px; padding: 0 22px; font: 700 13px var(--mcrc-font-ui); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }

/* ==========================================================================
   13. Motion (initial states set by JS; reduced motion shows final state)
   ========================================================================== */
.mc-hero__title .mc-line { display: block; overflow: hidden; }
.mc-hero__title .mc-line > span { display: block; transform: translateX(-105%); transition: transform 0.8s var(--mcrc-ease); }
.mc-hero__title.is-in .mc-line > span { transform: translateX(0); }

.mc-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--mcrc-ease), transform 0.9s var(--mcrc-ease); }
.mc-reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.mc-reveal { opacity: 1; transform: none; }
	.mc-ai__logo { animation: none; }
}

/* ==========================================================================
   14. Footer widget areas
   ========================================================================== */
.mc-footer__col { min-width: 0; }
.mc-footer-widget + .mc-footer-widget { margin-top: 28px; }
.mc-footer__badges .mc-footer-widget + .mc-footer-widget { margin-top: 0; }
/* Generic WP widgets dropped into the footer (Text, Custom HTML, Navigation Menu, Image).
   Zero-specificity :where() so the MCRC widget classes above always win. */
:where(.mc-footer-widget) p { font-size: 14px; line-height: 1.65; }
:where(.mc-footer-widget .textwidget) p + p { margin-top: 10px; }
:where(.mc-footer-widget) ul { list-style: none; margin: 0; padding: 0; }
:where(.mc-footer-widget ul) a { display: block; color: var(--mcrc-steel-300); font-size: 14px; padding: 5px 0; }
:where(.mc-footer-widget ul) a:hover { color: var(--mcrc-paper-white); }
:where(.mc-footer-widget .textwidget) a { color: var(--mcrc-steel-300); }
:where(.mc-footer-widget .textwidget) a:hover { color: var(--mcrc-paper-white); }
:where(.mc-footer-widget) img { max-width: 100%; height: auto; }
.mc-footer-widget .mc-footer__logo { height: 56px; width: auto; }
.mc-footer-widget .mc-footer__badge img { height: 72px; width: auto; }

/* Banner: image background (Page Banner meta box) */
.mc-hero__image { object-fit: cover; filter: none; }
.mc-hero--home .mc-hero__image { height: 100%; }

/* ==========================================================================
   15. WPBakery elements (inc/vc-elements/)
   ========================================================================== */
/* Elements reuse the design classes above; these rules make them stand alone
   inside page content. Zero-specificity reset so element classes always win. */
:where(.mc-el) p { margin: 0; }
:where(.mc-el) img { max-width: 100%; }
.mc-el { margin-bottom: 18px; }
.wpb_wrapper > .mc-el:last-child { margin-bottom: 0; }

.mc-scenario.mc-el, .mc-scenario.mc-el:hover { color: var(--mcrc-paper-white); font-weight: 400; }
.mc-scenario__desc { font-weight: 400; }
.mc-board__card.mc-el { height: auto; }
.mc-phase--el { padding: 0 0 8px; }
.mc-phase--el.mc-phase--rule { border-top: 2px solid var(--mcrc-blue-struct); padding-top: 28px; }
.mc-el-btn--left { text-align: left; }
.mc-el-btn--center { text-align: center; }
.mc-el-btn--right { text-align: right; }
.mc-el-btn .mc-link-cta { display: inline-block; }

/* Page built with WPBakery (default template): full container width */
.mc-vc-page .entry-content { max-width: none; }
.mc-phase__body p { margin: 0; }
.mc-phase__body p + p { margin-top: 10px; }

/* Section Heading / AI Heading elements */
.mc-sechead--dark .mc-sechead__eyebrow { color: var(--mcrc-red-on-dark); }
.mc-sechead--light .mc-sechead__eyebrow { color: var(--mcrc-red); }
.mc-sechead--dark .mc-sechead__title { color: var(--mcrc-paper-white); }
.mc-sechead--light .mc-sechead__title { color: var(--mcrc-ink); }
.mc-sechead .mc-sechead__title { margin: 0 0 18px; }
.mc-sechead .mc-sechead__title:last-child { margin-bottom: 0; }
.mc-sechead__text { font-size: 15.5px; line-height: 1.65; margin: 0 0 28px; }
.mc-sechead__text:last-child { margin-bottom: 0; }
.mc-sechead__text p + p { margin-top: 12px; }
.mc-sechead--dark .mc-sechead__text { color: var(--mcrc-steel-300); }
.mc-sechead--light .mc-sechead__text { color: var(--mcrc-ink-2); }
.mc-sechead--dark .mc-sechead__text a { color: var(--mcrc-red-on-dark); }
.mc-sechead--w560 .mc-sechead__text { max-width: 560px; }
.mc-sechead--w680 .mc-sechead__text { max-width: 680px; }
.mc-sechead--center { text-align: center; }
.mc-sechead--center .mc-sechead__text { margin-left: auto; margin-right: auto; }
.mc-aihead .mc-ai__head .mc-sechead__title { margin: 0; }
.mc-ai__logo--static { animation: none; filter: none; }
.mc-board__card--noicon .mc-board__head { min-height: 0; }

/* Default template banner — Compact height (slim header, like the old page header) */
.mc-hero--compact { min-height: 0; }
.mc-hero--compact .mc-hero__title { margin-bottom: 0; }
.mc-hero--compact .mc-hero__eyebrow + .mc-hero__title:last-child,
.mc-hero--compact .mc-hero__title:last-child { margin-bottom: 0; }
.mc-hero--compact .mc-hero__body { margin-top: 18px; }
/* Navy only: no angled panel; content lines up with the site container (logo / page content), like the original page header */
.mc-hero--plain .mc-hero__wrap,
.mc-hero--page.mc-hero--plain .mc-hero__wrap {
	box-sizing: border-box; width: 100%; max-width: calc(var(--mcrc-container) + 2 * var(--mcrc-gutter));
	margin-left: auto; margin-right: auto; padding-left: var(--mcrc-gutter); padding-right: var(--mcrc-gutter);
}
.mc-hero--plain .mc-hero__panel,
.mc-hero--plain.mc-hero--home .mc-hero__panel,
.mc-hero--plain.mc-hero--page .mc-hero__panel {
	background: transparent; clip-path: none; max-width: 820px; width: 100%;
	padding-left: 0; padding-right: 0;
}
@media (max-width: 700px) {
	.mc-hero--plain .mc-hero__panel,
	.mc-hero--plain.mc-hero--home .mc-hero__panel,
	.mc-hero--plain.mc-hero--page .mc-hero__panel { background: transparent; padding-left: 0; padding-right: 0; }
}
.mc-hero__body p { margin: 0; }
.mc-hero__body p + p { margin-top: 12px; }

/* Feature Point element */
.mc-fpoint--light .mc-ai__title { color: var(--mcrc-ink); }
.mc-fpoint--light .mc-ai__text { color: var(--mcrc-ink-2); }
.mc-ai__text p { margin: 0; }
.mc-ai__text p + p { margin-top: 10px; }
.mc-fpoint--noline { border-top: 0; padding-top: 0; }

/* Call to Action element */
.mc-cta .mc-cta__text { font-size: 16px; line-height: 1.65; max-width: 560px; margin-bottom: 36px; }
.mc-cta .mc-cta__text:last-child { margin-bottom: 0; }
.mc-cta.mc-sechead--left .mc-cta__text { margin-left: 0; margin-right: 0; }

/* Pills element */
.mc-el-pills--center { justify-content: center; }
.mc-el-pills--right { justify-content: flex-end; }
.mc-tags.mc-el-pills { max-width: none; }

/* Scenario Card element: eyebrow + white style */
.mc-scenario__eyebrow {
	font-family: var(--mcrc-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.18em;
	text-transform: uppercase; color: var(--mcrc-red-on-dark); margin: 0 0 8px;
}
.mc-model.mc-el { display: block; color: var(--mcrc-ink); font-weight: 400; }
a.mc-model.mc-el:hover { color: var(--mcrc-ink); box-shadow: var(--mcrc-shadow-image); }

/* CTA Band element */
.mc-ctaband .mc-sechead__title { margin: 0; }
.mc-ctaband .mc-sechead__title + .mc-ctaband__text { margin-top: 8px; }
.mc-ctaband .mc-ctaband__text { font-size: 14.5px; margin-bottom: 0; }
.mc-ctaband .mc-btn { flex-shrink: 0; }

/* Phase element: Card style + detail text */
.mc-sop__body p, .mc-sop__detail p { margin: 0; }
.mc-sop__body p + p, .mc-sop__detail p + p { margin-top: 10px; }
.mc-phase--card .mc-sop__body:last-child { margin-bottom: 0; }
.mc-phase__detail { margin-top: 10px; }

/* Playbook Step element */
.mc-pbstep--light .mc-playbook__when { color: var(--mcrc-red); }
.mc-pbstep--light .mc-playbook__what { color: var(--mcrc-ink); }
.mc-pbstep--light { border-bottom-color: var(--mcrc-dot-idle); }
.mc-pbstep--noline { border-bottom: 0; }
.mc-playbook__what p { margin: 0; }
.mc-playbook__what p + p { margin-top: 10px; }
.mc-pbstep.mc-el { margin-bottom: 0; }
.mc-svc--large.mc-el { height: auto; }

/* Info Card element */
.mc-brief__a p { margin: 0; }
.mc-brief__a p + p { margin-top: 10px; }

/* Video element */
.mc-video-el { position: relative; }
.mc-video-el--16-9 { aspect-ratio: 16 / 9; }
.mc-video-el--16-10 { aspect-ratio: 16 / 10; }
.mc-video-el--4-3 { aspect-ratio: 4 / 3; }
.mc-video-el--1-1 { aspect-ratio: 1 / 1; }
.mc-video-el:not(.mc-video-el--auto) .mc-inline-video { width: 100%; height: 100%; object-fit: cover; }
.mc-video-el--noshadow { box-shadow: none; }

/* Numbered Item element */
.mc-numitem.mc-el { margin-bottom: 0; }
.mc-numitem--top { border-top: 2px solid var(--mcrc-blue-struct); }
.mc-numitem--noline { border-bottom: 0; }
.mc-numitem--dark .mc-benefit__num { color: var(--mcrc-red-on-dark); }
.mc-numitem--dark .mc-benefit__title { color: var(--mcrc-paper-white); }
.mc-numitem--dark .mc-benefit__text { color: var(--mcrc-steel-300); }
.mc-numitem--dark { border-bottom-color: var(--mcrc-navy-700); }
.mc-benefit__text p { margin: 0; }
.mc-benefit__text p + p { margin-top: 10px; }
.mc-impl__body p { margin: 0; }
.mc-impl__body p + p { margin-top: 10px; }

/* Callout element */
.mc-callout--el { margin-top: 0; }
.mc-callout__text p { margin: 0; }
.mc-callout__text p + p { margin-top: 10px; }
.mc-svc--navy.mc-el { height: auto; }

/* Direct Line / Contact Info elements */
.mc-info-card__text p { margin: 0; }
.mc-info-card__text p + p { margin-top: 10px; }
