/* ============================================================
   Expert Multi-Services Inc. — San Jose Theme
   Main Stylesheet — v1.0.0
   ============================================================
   Lightweight, performance-first.
   System fonts only · No @import · No external CSS
   ============================================================
   Brand palette (matches the EMS seal — dark blue + white, NO gold):
     --n1  #1E2A8A  brand royal blue (seal blue)
     --n2  #0F1A56  deepest navy (chrome/hero)
     --n3  #2C3AA3  mid blue
     --gl  #3A4DB0  accent (lighter navy — replaces gold's role)
     --gl2 #6E86E8  light accent blue
     --wh  #FFFFFF  white (header + footer background)
   ============================================================ */

/* ─── 1. ROOT TOKENS ────────────────────────────────────────── */
:root {
	--n1:  #1E2A8A;        /* primary brand blue (seal) */
	--n2:  #0F1A56;        /* deepest navy — chrome / hero */
	--n3:  #2C3AA3;        /* mid blue */
	--b1:  #3A4DB0;        /* mid accent blue */
	--b2:  #7FA3D1;        /* light accent blue */
	--bs:  #1E2A8A;        /* link blue */
	--wh:  #FFFFFF;
	--dk:  #1E2A8A;
	--bd:  #16203A;        /* body text */
	--mt:  #586079;        /* muted text */
	--br:  #DCE0EE;        /* border light */
	--cr:  #F6F7FB;        /* cool page wrap */
	--gr:  #0F8B5C;        /* success green */
	--gl:  #3A4DB0;        /* ACCENT (lighter navy) — replaces gold */
	--gl2: #6E86E8;        /* lighter accent blue for tints */
	--rd:  10px;
	--fd:  Georgia, 'Times New Roman', Times, serif;
	--fb:  -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	--fm:  ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
	--ez:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--sh:  0 4px 24px rgba(15, 26, 86, 0.08);
	--sh2: 0 12px 40px rgba(15, 26, 86, 0.14);
	--header-h: 92px;
}

/* ─── 2. RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	font-family: var(--fb);
	font-size: 16px;
	line-height: 1.65;
	color: var(--bd);
	background: var(--wh);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--bs); text-decoration: none; }
a:hover { text-decoration: underline; }

.ems-skip {
	position: absolute; left: -9999px; top: 0;
	padding: 12px 20px; background: var(--n1); color: #fff; z-index: 99999;
}
.ems-skip:focus { left: 8px; top: 8px; }

/* ─── 3. HEADER (WHITE BACKGROUND) ───────────────────────────── */
.ems-header {
	background: #fff;
	border-bottom: 1px solid var(--br);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 12px rgba(15, 42, 85, 0.05);
}
.ems-header-inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 24px;
	height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 12px;
}
.ems-logo {
	flex-shrink: 0;
	max-width: 340px;
}
.ems-logo a, .ems-logo .custom-logo-link {
	display: block;
	line-height: 0;
}
.ems-logo img, .ems-logo .custom-logo {
	display: block;
	height: 68px;          /* height-driven sizing renders SVG + raster reliably */
	width: auto;
	max-width: 340px;
	object-fit: contain;
}
.ems-logo-text {
	font-family: var(--fd);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--n1);
	letter-spacing: 0.01em;
}
.ems-logo-text .ems-logo-accent { color: var(--gl); }
.ems-logo-text:hover { text-decoration: none; }

/* ─── 4. NAVIGATION ─────────────────────────────────────────── */
.ems-nav {
	flex: 0 1 auto;
	display: flex;
	justify-content: flex-end;
	min-width: 0;        /* allows flex shrinking when nav is wide */
	margin-left: auto;   /* push nav (and the CTAs that follow) to the right, next to each other */
	margin-right: 16px;  /* gap between nav and CTAs */
}
.ems-nav-list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 0;
	flex-wrap: nowrap;
}
.ems-nav-item { position: relative; }
.ems-nav-item > a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 10px 9px;
	color: var(--n1);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border-radius: 6px;
	transition: background var(--ez), color var(--ez);
	white-space: nowrap;
}
.ems-nav-item > a:hover {
	background: var(--cr);
	color: var(--gl);
	text-decoration: none;
}
.ems-nav-item.ems-current > a {
	color: var(--gl);
	background: var(--cr);
}
.ems-nav-item.ems-current > a::after {
	content: '';
	position: absolute;
	left: 9px; right: 9px;
	bottom: 4px;
	height: 2px;
	background: var(--gl);
	border-radius: 2px;
}

/* Submenu (level 2 and beyond) */
.ems-sub-menu {
	list-style: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 244px;
	background: #fff;
	border: 1px solid var(--br);
	border-top: 3px solid var(--gl);
	border-radius: 10px;
	box-shadow: var(--sh2);
	padding: 8px;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
	z-index: 200;
}
.ems-nav-item.ems-has-children:hover > .ems-sub-menu,
.ems-nav-item.ems-has-children:focus-within > .ems-sub-menu,
.ems-nav-item.ems-submenu-open > .ems-sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity .18s ease, transform .18s ease;
}
.ems-sub-menu li { position: relative; }
.ems-sub-menu li > a {
	display: block;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--bd);
	border-radius: 6px;
	transition: background var(--ez), color var(--ez);
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
}
.ems-sub-menu li > a:hover {
	background: var(--cr);
	color: var(--n1);
	text-decoration: none;
}

/* Nested submenu */
.ems-sub-menu .ems-sub-menu {
	top: 0;
	left: calc(100% + 4px);
	transform: translateX(-6px);
	border-top: 1px solid var(--br);
	border-left: 3px solid var(--gl);
}
.ems-sub-menu .ems-has-children:hover > .ems-sub-menu,
.ems-sub-menu .ems-has-children:focus-within > .ems-sub-menu,
.ems-sub-menu .ems-has-children.ems-submenu-open > .ems-sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	transition: opacity .18s ease, transform .18s ease;
}

/* Submenu toggle (mobile + a11y) */
.ems-submenu-toggle {
	display: none;
	width: 32px;
	height: 32px;
	align-items: center;
	justify-content: center;
	color: var(--n1);
}
.ems-submenu-toggle svg { width: 14px; height: 14px; transition: transform var(--ez); }
.ems-submenu-open > .ems-submenu-toggle svg { transform: rotate(180deg); }

/* ─── 5. HEADER CTAs ─────────────────────────────────────────── */
.ems-header-ctas {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.ems-header-call {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 12px;
	color: var(--n1);
	font-size: 13px;
	font-weight: 700;
	border-radius: 8px;
	border: 1.5px solid var(--n1);
	transition: background var(--ez), color var(--ez);
	white-space: nowrap;
	min-height: 42px;
}
.ems-header-call:hover {
	background: var(--n1);
	color: #fff;
	text-decoration: none;
}
.ems-header-call svg { width: 14px; height: 14px; flex-shrink: 0; }

.ems-header-book {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	background: var(--gl);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	border-radius: 8px;
	border: 2px solid var(--gl);
	white-space: nowrap;
	box-shadow: 0 4px 18px rgba(58, 77, 176, 0.32);
	transition: background var(--ez), color var(--ez), box-shadow var(--ez), transform var(--ez), border-color var(--ez);
	min-height: 42px;
	text-transform: uppercase;
}
.ems-header-book:hover {
	background: var(--n1);
	border-color: var(--n1);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 22px rgba(15, 42, 85, 0.28);
}
.ems-header-book:focus-visible {
	outline: 3px solid var(--gl2);
	outline-offset: 4px;
}

/* ─── 6. MOBILE MENU TOGGLE ─────────────────────────────────── */
.ems-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	margin-left: auto;
	border-radius: 8px;
}
.ems-menu-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--n1);
	border-radius: 2px;
	transition: transform var(--ez), opacity var(--ez);
}
.ems-menu-open .ems-menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ems-menu-open .ems-menu-toggle-bar:nth-child(2) { opacity: 0; }
.ems-menu-open .ems-menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── 7. MAIN ───────────────────────────────────────────────── */
.ems-main { display: block; }
.ems-page-wrap { padding: 60px 0; background: var(--cr); min-height: 50vh; }
.ems-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ems-container-narrow { max-width: 760px; }

/* ─── 8. ARTICLE / BLOG ─────────────────────────────────────── */
.ems-article {
	background: #fff;
	border-radius: 12px;
	padding: 48px;
	box-shadow: var(--sh);
}
.ems-article-header { margin-bottom: 32px; }
.ems-article-title {
	font-family: var(--fd);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 600;
	color: var(--n1);
	line-height: 1.2;
	margin-bottom: 12px;
}
.ems-article-meta {
	font-size: 13px;
	color: var(--mt);
	display: flex;
	gap: 14px;
	margin-bottom: 16px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	font-weight: 600;
}
.ems-article-featured { margin: 0 -48px 32px; overflow: hidden; }
.ems-article-featured img { width: 100%; }
.ems-article-content { font-size: 16.5px; line-height: 1.75; }
.ems-article-content h2 {
	font-family: var(--fd);
	font-size: 1.75rem;
	color: var(--n1);
	margin: 36px 0 16px;
	font-weight: 600;
}
.ems-article-content h3 {
	font-family: var(--fd);
	font-size: 1.35rem;
	color: var(--n1);
	margin: 28px 0 12px;
	font-weight: 600;
}
.ems-article-content p { margin-bottom: 18px; }
.ems-article-content ul, .ems-article-content ol { margin: 0 0 20px 24px; }
.ems-article-content li { margin-bottom: 8px; }
.ems-article-content a { color: var(--bs); text-decoration: underline; }

/* Archive grid */
.ems-archive-header { text-align: center; margin-bottom: 48px; }
.ems-archive-title {
	font-family: var(--fd);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	color: var(--n1);
	font-weight: 600;
	margin-bottom: 12px;
}
.ems-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
}
.ems-archive-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--sh);
	transition: transform var(--ez), box-shadow var(--ez);
}
.ems-archive-card:hover { transform: translateY(-3px); box-shadow: var(--sh2); }
.ems-archive-card-img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.ems-archive-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ems-archive-card-body { padding: 24px; }
.ems-archive-card-title {
	font-family: var(--fd);
	font-size: 1.3rem;
	color: var(--n1);
	margin-bottom: 10px;
	line-height: 1.3;
}
.ems-archive-card-title a { color: inherit; }
.ems-archive-card-title a:hover { color: var(--gl); text-decoration: none; }
.ems-archive-card-meta { font-size: 13px; color: var(--mt); margin-bottom: 12px; }
.ems-archive-card-excerpt { font-size: 14.5px; line-height: 1.65; margin-bottom: 16px; }
.ems-archive-card-link { font-weight: 600; font-size: 14px; color: var(--gl); }

/* ─── 9. 404 ────────────────────────────────────────────────── */
.ems-404 {
	background: #fff;
	border-radius: 12px;
	padding: 72px 48px;
	text-align: center;
	box-shadow: var(--sh);
}
.ems-404-num {
	font-family: var(--fd);
	font-size: clamp(5rem, 14vw, 9rem);
	font-weight: 700;
	color: var(--gl);
	line-height: 0.95;
	letter-spacing: -0.04em;
	margin-bottom: 16px;
}
.ems-404-title {
	font-family: var(--fd);
	font-size: 2rem;
	color: var(--n1);
	margin-bottom: 14px;
	font-weight: 600;
}
.ems-404-text { font-size: 16px; color: var(--mt); margin-bottom: 28px; }
.ems-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.ems-404-help { font-size: 15px; color: var(--bd); }
.ems-404-help a { font-weight: 700; color: var(--n1); }

/* Buttons */
.ems-btn-primary, .ems-btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 24px;
	font-size: 14.5px;
	font-weight: 700;
	border-radius: 8px;
	transition: transform var(--ez), box-shadow var(--ez), background var(--ez);
}
.ems-btn-primary {
	background: var(--gl);
	color: #fff;
	border: 2px solid var(--gl);
	box-shadow: 0 4px 14px rgba(58, 77, 176, 0.32);
}
.ems-btn-primary:hover {
	background: var(--n1);
	border-color: var(--n1);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(15, 42, 85, 0.28);
}
.ems-btn-secondary {
	background: #fff;
	color: var(--n1);
	border: 2px solid var(--n1);
	box-shadow: 0 2px 8px rgba(15, 42, 85, 0.08);
}
.ems-btn-secondary:hover {
	background: var(--n1);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(15, 42, 85, 0.18);
}

/* ─── 10. FOOTER (WHITE BACKGROUND) ──────────────────────────── */
.ems-footer {
	background: #fff;
	color: var(--bd);
	position: relative;
	z-index: 1;        /* MUST stay below header z-index 100 and dropdown z-index 200 */
	clear: both;
	border-top: 1px solid var(--br);
}
/* Accent stripe at the top of footer — pulls eye, ties to brand */
.ems-footer::before {
	content: '';
	display: block;
	height: 4px;
	background: linear-gradient(90deg, var(--n1) 0%, var(--gl) 50%, var(--n1) 100%);
}
.ems-footer-main { padding: 64px 0 48px; }
.ems-footer-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 48px;
}
.ems-footer-h {
	color: var(--n1);
	font-family: var(--fd);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 18px;
	letter-spacing: 0.01em;
	position: relative;
	padding-bottom: 10px;
}
.ems-footer-h::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 32px; height: 2px;
	background: var(--gl);
	border-radius: 2px;
}
.ems-footer-h-sm {
	color: var(--n1);
	font-family: var(--fd);
	font-size: 0.95rem;
	font-weight: 700;
	margin: 12px 0 6px;
	letter-spacing: 0.01em;
}
.ems-footer-logo { display: inline-block; margin-bottom: 18px; }
.ems-footer-logo img { max-height: 72px; width: auto; }
.ems-footer-logo-text {
	font-family: var(--fd);
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--n1);
	letter-spacing: 0.01em;
}
.ems-footer-logo-text .ems-logo-accent { color: var(--gl); }

.ems-footer-address {
	font-style: normal;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--bd);
}
.ems-footer-contact-line { margin-bottom: 8px; font-size: 14px; }
.ems-footer-contact-line a { color: var(--n1); text-decoration: none; font-weight: 500; }
.ems-footer-contact-line a:hover { color: var(--gl); text-decoration: underline; }
.ems-footer-contact-line strong { color: var(--n1); font-weight: 700; }

.ems-footer-hours-block { margin-top: 14px; }
.ems-footer-hours-line { font-size: 13.5px; color: var(--mt); margin: 4px 0; }

.ems-footer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 14px; }
.ems-fbadge {
	display: inline-block;
	padding: 5px 11px;
	background: rgba(58, 77, 176, 0.08);
	border: 1px solid rgba(58, 77, 176, 0.32);
	border-radius: 100px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--gl);
	letter-spacing: 0.02em;
}

.ems-footer-verify { font-size: 13px; margin-bottom: 14px; }
.ems-footer-verify a {
	color: var(--n1);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none;
}
.ems-footer-verify a:hover { color: var(--gl); text-decoration: underline; }
.ems-footer-verify svg { width: 14px; height: 14px; }

.ems-footer-map {
	margin-top: 14px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(15, 42, 85, 0.10);
	border: 1px solid var(--br);
}
.ems-footer-map iframe { display: block; width: 100%; border: 0; }

/* Footer column lists (wp_nav_menu output) */
.ems-footer-list { list-style: none; margin: 0; padding: 0; }
.ems-footer-list li { margin-bottom: 8px; }
.ems-footer-list li a {
	color: var(--bd);
	font-size: 14px;
	transition: color var(--ez), padding var(--ez);
	text-decoration: none;
	display: inline-block;
}
.ems-footer-list li a:hover {
	color: var(--gl);
	text-decoration: underline;
	padding-left: 4px;
}

.ems-footer-empty {
	color: var(--mt);
	font-size: 13px;
	font-style: italic;
	line-height: 1.5;
}

/* Sister-brand CTA */
.ems-footer-pro-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	padding: 9px 16px;
	background: rgba(15, 42, 85, 0.04);
	border: 1px solid var(--br);
	border-radius: 8px;
	color: var(--n1);
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.ems-footer-pro-cta:hover {
	background: var(--n1);
	border-color: var(--n1);
	color: #fff;
	text-decoration: none;
}

/* LDA Disclaimer banner — navy tint on white */
.ems-footer-disclaimer {
	background: var(--cr);
	border-top: 1px solid var(--br);
	border-bottom: 1px solid var(--br);
	padding: 18px 0;
}
.ems-footer-disclaimer-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	color: var(--bd);
}
.ems-footer-disclaimer svg {
	width: 20px; height: 20px;
	flex-shrink: 0;
	color: var(--gl);
	margin-top: 2px;
}
.ems-footer-disclaimer p { margin: 0; font-size: 13.5px; line-height: 1.6; }
.ems-footer-disclaimer strong { color: var(--n1); font-weight: 700; }
.ems-footer-disclaimer a {
	color: var(--bs);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.ems-footer-disclaimer a:hover { color: var(--gl); }

/* Bottom legal bar */
.ems-footer-bottom {
	background: #fff;
	border-top: 1px solid var(--br);
	padding: 18px 0;
}
.ems-footer-bottom-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12.5px;
	color: var(--mt);
}
.ems-footer-copy-block { flex: 1; min-width: 260px; }
.ems-footer-copy { margin: 0 0 4px; line-height: 1.5; color: var(--bd); }
.ems-footer-trilingual {
	margin: 0;
	color: var(--gl);
	font-size: 12px;
	font-weight: 600;
	font-style: italic;
}
.ems-footer-legal { display: flex; gap: 8px; align-items: center; }
.ems-footer-legal a { color: var(--mt); text-decoration: none; font-weight: 500; }
.ems-footer-legal a:hover { color: var(--gl); text-decoration: underline; }

/* ─── 11. RESPONSIVE ────────────────────────────────────────── */
/*
 * IMPORTANT: With 8+ top-level menu items, the desktop nav is too wide
 * for standard laptop viewports (1366px, 1440px). The hamburger kicks in
 * at 1440px so the nav never overlaps the CTA buttons on any common screen.
 * Only large external monitors (1500px+) get the full horizontal nav.
 */
@media (max-width: 1500px) {
	.ems-nav-item > a { padding: 10px 6px; font-size: 11.5px; letter-spacing: 0.02em; }
}

@media (max-width: 1440px) {
	:root { --header-h: 72px; }
	.ems-logo img, .ems-logo .custom-logo { height: 46px; }

	.ems-menu-toggle { display: flex; }
	.ems-header-ctas { display: none; }

	.ems-nav {
		display: block;
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		bottom: 0;
		background: #fff;
		padding: 24px;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .28s cubic-bezier(.4,0,.2,1);
		z-index: 99;
		margin-left: 0;
	}
	.ems-menu-open .ems-nav { transform: translateX(0); }
	.ems-nav-list { flex-direction: column; align-items: stretch; gap: 4px; flex-wrap: wrap; }
	.ems-nav-item { width: 100%; }
	.ems-nav-item > a {
		padding: 14px 16px;
		font-size: 16px;
		letter-spacing: 0.04em;
		justify-content: space-between;
		border-radius: 8px;
	}
	.ems-nav-item.ems-current > a::after { display: none; }
	.ems-submenu-toggle { display: inline-flex; position: absolute; right: 8px; top: 8px; }
	.ems-sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--gl);
		border-radius: 0;
		padding: 4px 0 4px 12px;
		margin: 4px 0 4px 12px;
		display: none;
	}
	.ems-submenu-open > .ems-sub-menu { display: block; }
	.ems-sub-menu .ems-sub-menu {
		left: auto;
		transform: none;
		margin-left: 12px;
	}
}

@media (max-width: 1200px) {
	.ems-footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
	.ems-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
	.ems-footer-inner { grid-template-columns: 1fr; gap: 36px; }
	.ems-footer-bottom-inner { justify-content: center; text-align: center; }
	.ems-footer-legal { justify-content: center; }
	.ems-footer-trilingual { text-align: center; }

	.ems-article { padding: 32px 24px; }
	.ems-article-featured { margin: 0 -24px 24px; }
	.ems-page-wrap { padding: 36px 0; }
}

@media (max-width: 480px) {
	.ems-header-inner { padding: 0 16px; gap: 12px; }
	.ems-container { padding: 0 16px; }
	.ems-404 { padding: 48px 24px; }
	.ems-404-actions { flex-direction: column; align-items: stretch; }

	.ems-footer-disclaimer-inner {
		padding: 0 16px;
	}
}

/* ─── 12. PRINT ─────────────────────────────────────────────── */
@media print {
	.ems-header-ctas, .ems-menu-toggle, .ems-footer-bottom { display: none !important; }
	.ems-header { position: static; box-shadow: none; }
}

/* ============================================================
   13. HOMEPAGE SECTIONS (.emh-)  —  used by the Home page
       Custom HTML block (see ems-home-content.html).
       Chrome is white; the hero is a dark navy panel for contrast.
   ============================================================ */
.emh-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.emh-section { padding-block: clamp(48px, 7vw, 88px); }
.emh-eyebrow {
	font-family: var(--fb); font-size: .8rem; font-weight: 700; letter-spacing: .16em;
	text-transform: uppercase; color: var(--n1);
	display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem;
}
.emh-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gl); display: inline-block; }
.emh-eyebrow--light { color: #cdd5ff; }
.emh-em { font-style: italic; color: var(--n1); }
.emh-bi { display: block; font-size: .62em; font-weight: 600; color: var(--mt); font-family: var(--fb); font-style: normal; margin-top: .25rem; letter-spacing: 0; }
.emh-head { max-width: 760px; margin: 0 auto clamp(28px,4vw,48px); text-align: center; }
.emh-head .emh-eyebrow { justify-content: center; }
.emh-intro { color: var(--mt); font-size: 1.05rem; }
.emh-section h2 { font-family: var(--fd); color: var(--n2); font-weight: 700; line-height: 1.18; font-size: clamp(1.6rem,3vw,2.3rem); margin: 0 0 .5em; }
.emh-section h3 { font-family: var(--fd); color: var(--n2); font-weight: 700; }

/* Buttons inside homepage content */
.emh-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	font-family: var(--fb); font-weight: 700; font-size: 1rem; line-height: 1;
	padding: 1rem 1.7rem; border-radius: 8px; border: 2px solid transparent; transition: all var(--ez); white-space: nowrap; }
.emh-btn--navy { background: var(--n1); color: #fff; border-color: var(--n1); }
.emh-btn--navy:hover { background: var(--n2); border-color: var(--n2); color: #fff; text-decoration: none; }
.emh-btn--white { background: #fff; color: var(--n1); border-color: #fff; }
.emh-btn--white:hover { background: var(--cr); color: var(--n2); text-decoration: none; }
.emh-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.emh-btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }

/* Hero (dark navy panel) */
.emh-hero {
	background: radial-gradient(1100px 460px at 78% -10%, rgba(44,58,163,.55), transparent 60%),
	            linear-gradient(160deg, var(--n2) 0%, var(--n1) 70%);
	color: #fff; padding-block: clamp(54px,8vw,96px); position: relative; overflow: hidden;
}
.emh-hero__grid { max-width: 1200px; margin-inline: auto; padding-inline: 24px;
	display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px,5vw,64px); align-items: center; }
.emh-hero h1 { font-family: var(--fd); color: #fff; font-weight: 700; line-height: 1.14;
	font-size: clamp(2.1rem,4.6vw,3.35rem); margin: 0 0 .5em; }
.emh-hero h1 .emh-em { color: #cdd5ff; }
.emh-hero__lede { color: #dde2fb; font-size: 1.12rem; max-width: 38ch; }
.emh-hero__points { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .55rem; }
.emh-hero__points li { position: relative; padding-left: 1.7rem; color: #eef1ff; }
.emh-hero__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: #cdd5ff; transform: rotate(45deg); }
.emh-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.emh-hero__seal { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.emh-hero__seal img { width: 240px; height: 240px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
.emh-cred { text-align: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: .85rem 1.4rem; }
.emh-cred__line { display: block; font-family: var(--fd); font-size: 1.25rem; font-weight: 700; color: #fff; }
.emh-cred__sub { display: block; font-size: .82rem; color: #cdd5ff; margin-top: .2rem; }

/* Three essentials */
.emh-three { background: #fff; }
.emh-three__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.emh-mini { background: var(--cr); border: 1px solid var(--br); border-radius: 12px; padding: 2rem 1.6rem; text-align: center; transition: transform var(--ez), box-shadow var(--ez); }
.emh-mini:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.emh-mini__icon { width: 58px; height: 58px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 14px; background: var(--n1); color: #fff; font-size: 1.6rem; font-family: var(--fd); }
.emh-mini h3 { margin-bottom: .4rem; }
.emh-mini p { color: var(--mt); margin: 0; }

/* Team / bios */
.emh-team { background: var(--cr); }
.emh-team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.emh-bio { background: #fff; border: 1px solid var(--br); border-radius: 12px; padding: 1.75rem; display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; box-shadow: var(--sh); }
.emh-bio__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--n1); }
.emh-bio h3 { margin-bottom: .15rem; }
.emh-bio__cred { color: var(--n1); font-weight: 700; font-size: .85rem; margin-bottom: .7rem; }
.emh-bio__label { font-weight: 700; color: var(--bd); margin: .6rem 0 .3rem; }
.emh-bio ul { margin: 0; padding-left: 1.1rem; color: var(--mt); }
.emh-bio li { margin-bottom: .25rem; }

/* Service cards */
.emh-services { background: #fff; }
.emh-services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.emh-card { background: var(--n2); color: #e7eaff; border-radius: 12px; padding: 2rem 1.7rem; position: relative; overflow: hidden; transition: transform var(--ez); }
.emh-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--gl2), transparent); }
.emh-card:hover { transform: translateY(-3px); }
.emh-card h3 { color: #fff; }
.emh-card p { color: #c7cdf3; }
.emh-card a { display: inline-block; margin-top: .4rem; color: #cdd5ff; font-weight: 700; }
.emh-card a:hover { color: #fff; }

/* Why choose */
.emh-why { background: linear-gradient(160deg, var(--n1) 0%, var(--n2) 100%); color: #fff; }
.emh-why .emh-head h2 { color: #fff; }
.emh-why .emh-head h2 .emh-em { color: #cdd5ff; }
.emh-why__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.emh-feat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-left: 3px solid #cdd5ff; border-radius: 10px; padding: 1.3rem 1.4rem; }
.emh-feat h3 { color: #fff; font-size: 1.12rem; margin-bottom: .3rem; }
.emh-feat p { color: #cdd5ff; margin: 0; font-size: .95rem; }

/* FAQ */
.emh-faq { background: var(--cr); }
.emh-faq__wrap { max-width: 880px; margin-inline: auto; padding-inline: 24px; }
.emh-faq__list { display: grid; gap: .8rem; }
.emh-q { background: #fff; border: 1px solid var(--br); border-radius: 8px; overflow: hidden; }
.emh-q[open] { border-color: var(--n1); box-shadow: var(--sh); }
.emh-q summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 700; color: var(--n2); position: relative; font-size: 1.04rem; }
.emh-q summary::-webkit-details-marker { display: none; }
.emh-q summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--n1); line-height: 1; }
.emh-q[open] summary::after { content: "–"; }
.emh-q__a { padding: 0 1.3rem 1.2rem; color: var(--mt); }
.emh-q__a p { margin: 0; }

/* Contact */
.emh-contact { background: #fff; }
.emh-contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: stretch; }
.emh-contact__list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: 1rem; }
.emh-contact__list li { color: var(--mt); }
.emh-contact__list strong { color: var(--n2); font-family: var(--fd); }
.emh-contact__map { border-radius: 12px; overflow: hidden; border: 1px solid var(--br); min-height: 380px; box-shadow: var(--sh); }
.emh-contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

@media (max-width: 1200px) { .emh-hero__grid { grid-template-columns: 1.2fr 1fr; } }
@media (max-width: 960px) {
	.emh-hero__grid { grid-template-columns: 1fr; text-align: center; }
	.emh-hero .emh-eyebrow { justify-content: center; }
	.emh-hero__lede { max-width: none; margin-inline: auto; }
	.emh-hero__points { max-width: 420px; margin-inline: auto; text-align: left; }
	.emh-hero__cta { justify-content: center; }
	.emh-hero__seal { order: -1; }
	.emh-hero__seal img { width: 180px; height: 180px; }
	.emh-three__grid, .emh-services__grid, .emh-why__grid { grid-template-columns: repeat(2,1fr); }
	.emh-team__grid, .emh-contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	.emh-bio { grid-template-columns: 1fr; text-align: center; }
	.emh-bio__photo { margin: 0 auto; }
	.emh-bio ul, .emh-bio__label { text-align: left; }
	.emh-why__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.emh-three__grid, .emh-services__grid { grid-template-columns: 1fr; }
	.emh-btn { width: 100%; }
	.emh-hero__cta .emh-btn { width: 100%; }
}
