/*
Theme Name: M&H Consulting Africa
Description: Site bilingue M&H Consulting Africa avec modèles Elementor et gestion des recrutements.
Version: 2.1.0
Requires at least: 6.8
Requires PHP: 8.1
Author: M&H Consulting Africa
Text Domain: mh-consulting-africa
License: GPL-2.0-or-later
*/
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-brand.woff") format("woff");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("assets/newsreader-latin-ext.woff2") format("woff2");
  font-style: normal; font-weight: 400 500; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Newsreader;
  src: url("assets/newsreader-latin.woff2") format("woff2");
  font-style: normal; font-weight: 400 500; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --mh-black: #121211;
  --mh-white: #fdfdfd;
  --mh-ink: var(--mh-black);
  --mh-paper: #fff;
  --mh-panel: #fff;
  --mh-red: #c41117;
  --mh-red-dark: #960d12;
  --mh-accent: var(--mh-red);
  --mh-line: rgb(18 18 17 / 19%);
  --mh-control-line: #858584;
  --mh-muted: #444444;
  --mh-on-dark: rgb(255 255 255 / 83%);
  --mh-serif: "Canela Deck", Newsreader, Georgia, serif;
  --mh-sans: Manrope, system-ui, sans-serif;
  --mh-gutter: clamp(22px, 5.2vw, 88px);
  --mh-nav-height: 82px;
  --mh-meta-height: 31px;
  --mh-header-height: calc(var(--mh-nav-height) + var(--mh-meta-height) + 1px);
  --mh-space: clamp(62px, 7vw, 110px);
  --mh-wrap: 1320px;
  --mh-admin-height: 0px;
  font: 400 16px/1.65 var(--mh-sans);
  font-synthesis: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --mh-ink: var(--mh-white);
  --mh-paper: #181817;
  --mh-panel: #222221;
  --mh-accent: var(--mh-white);
  --mh-line: #444444;
  --mh-control-line: #777775;
  --mh-muted: #d0cecb;
}

:root:has(body.admin-bar) { --mh-admin-height: 32px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--mh-header-height) + var(--mh-admin-height) + 24px); }
body, body.elementor-default {
  margin: 0;
  min-width: 280px;
  background: var(--mh-paper);
  color: var(--mh-ink);
  font: 400 16px/1.65 var(--mh-sans);
}
a { color: inherit; text-underline-offset: .22em; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 .32em; }
h1, h2 { font: 400 clamp(38px, 5vw, 73px)/1 var(--mh-serif); letter-spacing: -.04em; font-optical-sizing: auto; }
h3, h4 { font: 650 clamp(21px, 2.2vw, 32px)/1.16 var(--mh-sans); letter-spacing: -.026em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mh-accent); outline-offset: 4px; }
#contenu:focus { outline: none; }
.screen-reader-text, .mh-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  overflow: hidden;
}
.mh-skip { position: fixed; z-index: 10000; left: 1rem; top: -8rem; color: var(--mh-ink); background: var(--mh-paper); padding: .7rem 1rem; }
.mh-skip:focus { top: calc(var(--mh-admin-height) + 1rem); }

.mh-wrap, .e-con.mh-wrap { --width: min(var(--mh-wrap), calc(100% - 2 * var(--mh-gutter))); width: var(--width); max-width: 100%; margin-inline: auto; }
.mh-basic-title { padding-block: var(--mh-space) 1rem; }
.e-con.mh-shell { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --row-gap: 0px; --column-gap: 0px; }
.e-con.mh-section { --padding-top: var(--mh-space); --padding-bottom: var(--mh-space); --row-gap: clamp(18px, 3vw, 40px); --column-gap: var(--row-gap); }
.e-con.mh-section--tight { --padding-top: clamp(30px, 4.5vw, 68px); --padding-bottom: clamp(30px, 4.5vw, 68px); }
.e-con.mh-soft { background: var(--mh-paper); }
.e-con.mh-row { --flex-direction: row; --align-items: center; --row-gap: clamp(24px, 5.2vw, 88px); --column-gap: var(--row-gap); }
.e-con.mh-row--top { --align-items: flex-start; }
.mh-row > .e-con.mh-col { flex: 1 1 0; min-width: 0; }
.mh-row > .e-con.mh-col--wide { flex: 1.36 1 0; }
.e-con.mh-stack { --row-gap: 17px; --column-gap: var(--row-gap); }
.e-con.mh-stack--compact { --row-gap: 10px; }
.e-con.mh-stack--spaced { --row-gap: clamp(30px, 5vw, 76px); }
.mh-kicker, .mh-kicker.elementor-widget-heading .elementor-heading-title {
  color: var(--mh-accent);
  font: 800 11px/1.45 var(--mh-sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.mh-kicker.elementor-widget-heading .elementor-heading-title { display: flex; align-items: center; gap: 12px; }
.mh-kicker.elementor-widget-heading .elementor-heading-title::before { content: ""; flex: 0 0 23px; height: 2px; background: var(--mh-red); }
.mh-h1.elementor-widget-heading .elementor-heading-title, .mh-record--title h1 {
  color: var(--mh-ink);
  font: 400 clamp(42px, 6vw, 85px)/.96 var(--mh-serif);
  letter-spacing: -.047em;
  margin: 0;
}
.mh-h2.elementor-widget-heading .elementor-heading-title { color: var(--mh-ink); font: 400 clamp(38px, 5vw, 73px)/.99 var(--mh-serif); letter-spacing: -.04em; }
.mh-h3.elementor-widget-heading .elementor-heading-title { color: var(--mh-ink); font: 650 clamp(21px, 2.2vw, 32px)/1.16 var(--mh-sans); letter-spacing: -.026em; }
.mh-copy, .mh-copy.elementor-widget-text-editor { color: var(--mh-muted); font-family: var(--mh-sans); }
.mh-copy p { margin: 0 0 1em; }
.mh-copy p:last-child { margin-bottom: 0; }
.mh-copy ul, .mh-copy ol { margin: .55em 0 1em; padding-inline-start: 1.4em; }
.mh-copy li + li { margin-top: .3em; }
.mh-copy a { color: var(--mh-accent); text-decoration: underline; }
.mh-copy blockquote { border-inline-start: 3px solid var(--mh-red); margin-inline: 0; padding-inline-start: 1rem; }
.mh-lede { font-size: 16px; line-height: 1.6; }

.mh-button, .mh-primary.elementor-widget-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--mh-red);
  color: var(--mh-white);
  font: 800 13px/1.35 var(--mh-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease;
}
.mh-button:hover, .mh-primary.elementor-widget-button .elementor-button:hover { background: var(--mh-red-dark); color: var(--mh-white); }
.mh-button:disabled { opacity: .65; cursor: wait; }
.mh-inline-link.elementor-widget-button .elementor-button, .mh-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--mh-accent);
  font: 800 13px/1.5 var(--mh-sans);
  text-decoration: none;
}
:where([data-theme="dark"]) .mh-inline-link.elementor-widget-button .elementor-button,
:where([data-theme="dark"]) .mh-card-link { border-bottom-color: var(--mh-red); }
.mh-inline-link.elementor-widget-button .elementor-button:hover, .mh-card-link:hover { color: var(--mh-ink); }

.mh-site-header { position: sticky; z-index: 20; top: var(--mh-admin-height); background: var(--mh-paper); border-bottom: 1px solid var(--mh-line); }
.mh-meta-bar { background: var(--mh-black); color: var(--mh-white); }
.e-con.mh-meta-inner {
  --flex-direction: row;
  --align-items: center;
  --flex-wrap: wrap;
  --min-height: var(--mh-meta-height);
  --row-gap: 4px;
  --column-gap: 22px;
  --padding-top: 3px;
  --padding-bottom: 3px;
}
.mh-meta-inner > .elementor-widget { width: auto; }
.mh-header-meta.elementor-widget-text-editor, .mh-header-meta a { color: var(--mh-on-dark); font: 650 11px/1.65 var(--mh-sans); text-decoration: none; }
.mh-header-meta a:hover { color: var(--mh-white); text-decoration: underline; }
.mh-meta-phones { white-space: nowrap; }
.mh-meta-location { margin-inline-start: auto; white-space: nowrap; }
.mh-meta-location a { display: inline-flex; align-items: center; gap: 5px; vertical-align: top; }
.mh-meta-location a::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M19 10c0 5-7 11-7 11s-7-6-7-11a7 7 0 0 1 14 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.1'/%3E%3C/svg%3E") center/contain no-repeat;
}
.e-con.mh-header-inner { --flex-direction: row; --align-items: center; --min-height: var(--mh-nav-height); --row-gap: 0px; --column-gap: clamp(14px, 1.8vw, 26px); }
.mh-header-inner > .elementor-widget { width: auto; flex: 0 0 auto; }
.mh-header-inner > .mh-main-menu { flex: 1 1 auto; min-width: 0; }
.mh-header-logo a, .mh-footer-logo a { display: block; line-height: 0; }
.mh-header-logo a { padding: 3px 7px; }
.mh-header-logo img { width: 102px; height: auto; vertical-align: middle; }
.mh-fallback-header { padding-block: 9px; }
.mh-fallback-header img { width: 102px; }
.mh-nav a { font: 750 13px/1.4 var(--mh-sans); text-decoration: none; color: inherit; }
.mh-nav-links { display: flex; align-items: center; gap: clamp(15px, 2.4vw, 41px); margin: 0; padding: 0; list-style: none; }
.mh-site-header .mh-nav { color: var(--mh-ink); }
.mh-site-header .mh-nav a:hover, .mh-site-header .mh-nav [aria-current=page] { color: var(--mh-accent); }
.mh-nav--main .mh-nav-links { justify-content: center; }
.mh-nav--languages { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.mh-nav--languages > * { min-width: 27px; padding-block: 8px; text-align: center; font: 800 11px/1.4 var(--mh-sans); letter-spacing: .07em; }
.mh-nav--languages > * + * { border-inline-start: 1px solid var(--mh-line); padding-inline-start: 6px; }
.mh-nav--languages [aria-current=true] { color: var(--mh-red); }
[data-theme="dark"] .mh-nav--languages [aria-current=true] { background: var(--mh-white); }
.mh-header-contact.elementor-widget-button .elementor-button { min-height: 41px; padding: 8px 12px; font-size: 12px; }
.mh-menu-toggle { display: none; }
.mh-theme-toggle, .mh-menu-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--mh-line);
  border-radius: 0;
  background: var(--mh-paper);
  color: var(--mh-ink);
  cursor: pointer;
}
.mh-theme-toggle { display: grid; place-items: center; }
.mh-theme-toggle:hover, .mh-menu-toggle:hover { border-color: var(--mh-accent); color: var(--mh-accent); }
.mh-theme-toggle > span, .mh-menu-toggle > span { display: grid; place-items: center; }
.mh-theme-toggle .mh-sun, .mh-menu-toggle .mh-menu-close,
[data-theme="dark"] .mh-theme-toggle .mh-moon, .mh-menu-toggle[aria-expanded=true] .mh-menu-open { display: none; }
[data-theme="dark"] .mh-theme-toggle .mh-sun, .mh-menu-toggle[aria-expanded=true] .mh-menu-close { display: grid; }
@media (min-width: 1081px) {
  .mh-nav--main [data-mh-page=contact] { display: none; }
  .mh-nav--main a { position: relative; display: flex; align-items: center; min-height: var(--mh-nav-height); white-space: nowrap; }
  .mh-nav--main [aria-current=page]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--mh-red); }
}

.mh-site-footer { background: var(--mh-black); color: var(--mh-white); }
.e-con.mh-footer-grid { --flex-direction: row; --align-items: flex-start; --row-gap: 32px; --column-gap: 32px; --padding-top: 61px; --padding-bottom: 51px; }
.mh-footer-grid > .e-con { flex: 1 1 0; min-width: 0; --row-gap: 9px; }
.mh-footer-grid > .e-con:first-child { flex-grow: 1.13; --row-gap: 14px; }
.mh-footer-grid > .e-con:nth-child(2) { flex-grow: .83; }
.mh-footer-grid > .e-con:last-child { flex-grow: 1.15; }
.mh-footer-logo img { width: clamp(112px, 13vw, 180px); height: auto; }
.mh-footer-title.elementor-widget-heading .elementor-heading-title { color: var(--mh-white); font: 800 11px/1.4 var(--mh-sans); letter-spacing: .15em; text-transform: uppercase; }
.mh-nav--footer .mh-nav-links { flex-direction: column; align-items: flex-start; gap: 7px; }
.mh-nav--footer a, .mh-footer-copy.elementor-widget-text-editor, .mh-footer-copy a { color: var(--mh-on-dark); font-size: 13px; font-weight: 500; }
.mh-nav--footer a:hover, .mh-footer-copy a:hover { color: var(--mh-white); text-decoration: underline; }
.e-con.mh-footer-bottom { --padding-top: 17px; --padding-bottom: 21px; border-top: 1px solid rgb(255 255 255 / 24%); }
.mh-copyright.elementor-widget-text-editor { color: var(--mh-on-dark); font-size: 11px; }
.mh-meta-bar :focus-visible, .mh-site-footer :focus-visible, .mh-page-banner :focus-visible,
.mh-firm-feature :focus-visible, .mh-careers-social :focus-visible { outline-color: var(--mh-white); }

[data-theme="dark"] .mh-hero-surface { background: var(--mh-black); }
.e-con.mh-home-hero {
  --padding-top: clamp(46px, 5vw, 81px);
  --padding-bottom: clamp(46px, 5vw, 81px);
  --row-gap: clamp(26px, 4.3vw, 72px);
  --column-gap: var(--row-gap);
}
.mh-home-hero > .e-con.mh-col--wide { flex-grow: 1.05; }
.mh-hero-title.elementor-widget-heading .elementor-heading-title { font-size: clamp(46px, 4.57vw, 76px); line-height: .98; letter-spacing: -.049em; }
.mh-hero-title .elementor-heading-title > span { display: block; }
.mh-hero-title .elementor-heading-title > span:last-child { color: var(--mh-red); }
.mh-hero-copy .mh-lede { max-width: 430px; }
.mh-hero-image { position: relative; isolation: isolate; padding: 15px 15px 0 0; line-height: 0; }
.mh-hero-image::before { content: ""; position: absolute; inset: 0 0 19px 21px; background: var(--mh-red); z-index: -1; }
.mh-hero-image img { display: block; width: 100%; aspect-ratio: 1.23; object-fit: cover; object-position: 51% 53%; }
.e-con.mh-phase-band { background: var(--mh-black); color: var(--mh-white); }
.e-con.mh-phase-grid { --flex-direction: row; --align-items: stretch; }
.mh-phase-grid > .e-con {
  flex: 1 1 0;
  min-width: 0;
  --padding-top: 18px;
  --padding-bottom: 19px;
  --padding-left: clamp(12px, 2vw, 27px);
  --padding-right: 16px;
  --row-gap: 7px;
  border-inline-start: 1px solid rgb(255 255 255 / 24%);
}
.mh-phase-grid > .e-con:first-child { flex-grow: 1.12; --padding-left: 0; border-inline-start: 0; }
.mh-phase-grid .mh-kicker.elementor-widget-heading .elementor-heading-title,
.mh-phase-grid .mh-h3.elementor-widget-heading .elementor-heading-title,
.mh-phase-grid .mh-inline-link.elementor-widget-button .elementor-button { color: var(--mh-white); }
.mh-phase-grid .mh-h3 .elementor-heading-title { font-family: var(--mh-serif); font-weight: 400; }
.mh-phase-grid .mh-phase-number .elementor-heading-title { display: inline-grid; place-items: center; min-width: 27px; min-height: 22px; background: var(--mh-red); font-size: 10px; }
.mh-phase-number .elementor-heading-title::before { display: none; }
.mh-phase-grid .mh-inline-link.elementor-widget-button .elementor-button { border-bottom: 0; font-size: clamp(15px, 1.9vw, 27px); }
.e-con.mh-section-heading { --align-items: end; --row-gap: 18px; --column-gap: 28px; }
.mh-section-heading > .e-con:last-child { --align-items: flex-end; }
.e-con.mh-firm-feature { --align-items: stretch; --row-gap: 0px; --column-gap: 0px; background: var(--mh-red); }
.e-con.mh-firm-copy {
  --mh-ink: var(--mh-white);
  --mh-muted: var(--mh-white);
  --mh-accent: var(--mh-white);
  --justify-content: center;
  --padding-top: clamp(33px, 5vw, 76px);
  --padding-bottom: var(--padding-top);
  --padding-left: clamp(26px, 5vw, 76px);
  --padding-right: var(--padding-left);
}
.mh-firm-copy .mh-kicker .elementor-heading-title::before { background: var(--mh-white); }
.mh-firm-copy .mh-inline-link.elementor-widget-button .elementor-button { border-bottom-color: currentColor; }
.e-con.mh-firm-visual { min-height: 350px; overflow: hidden; }
.mh-firm-image { position: absolute; inset: 0; }
.mh-firm-image .elementor-widget-container, .mh-firm-image img { width: 100%; height: 100%; }
.mh-firm-image img { display: block; object-fit: cover; }
.e-con.mh-home-video { border-bottom: 1px solid var(--mh-line); }
.mh-home-video > .mh-video-heading { flex-grow: .55; }
.e-con.mh-newsletter { border-top: 1px solid var(--mh-line); }
.mh-newsletter .mh-h2 .elementor-heading-title { font-size: clamp(34px, 4.1vw, 58px); }

.e-con.mh-page-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--mh-black);
  color: var(--mh-white);
  --mh-ink: var(--mh-white);
  --mh-muted: var(--mh-on-dark);
  --mh-accent: var(--mh-white);
}
.e-con.mh-banner-media { position: absolute; z-index: -1; inset: 0 0 0 55%; width: auto; overflow: hidden; border-inline-start: 7px solid var(--mh-red); }
.mh-banner-media .elementor-widget, .mh-banner-media .elementor-widget-container, .mh-banner-media .mh-record--picture { width: 100%; height: 100%; max-width: none; }
.mh-banner-media img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; }
.e-con.mh-banner-inner {
  --min-height: clamp(254px, 25vw, 347px);
  --padding-top: 20px;
  --padding-bottom: clamp(38px, 4.7vw, 64px);
  --justify-content: space-between;
  --row-gap: 32px;
}
.e-con.mh-banner-copy { --width: min(53%, 660px); }
.mh-banner-copy .mh-h1 .elementor-heading-title { font-size: clamp(49px, 5.7vw, 85px); }
.mh-banner-copy .mh-record--title h1 { font-size: clamp(37px, 4.3vw, 66px); }
.mh-nav--breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; max-width: 52%; color: var(--mh-on-dark); font-size: 12px; font-weight: 650; }
.mh-nav--breadcrumb a { font: inherit; text-decoration: underline; }
.mh-nav--breadcrumb [aria-current] { color: var(--mh-white); }
.mh-record--meta p { font-size: 13px; color: var(--mh-muted); }
.e-con.mh-article-content { --width: min(870px, calc(100% - 2 * var(--mh-gutter))); }
.mh-article-content .mh-copy { font-size: 16px; line-height: 1.78; }
.mh-article-content .mh-copy table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.mh-article-content .mh-copy td, .mh-article-content .mh-copy th { padding: 9px; border: 1px solid var(--mh-line); }
.mh-article-content .mh-copy th { color: var(--mh-white); background: var(--mh-black); }
.mh-record-image { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.mh-record--picture { max-width: 540px; }
.mh-location-section { border-top: 1px solid var(--mh-line); }

.mh-listing { display: grid; grid-template-columns: repeat(var(--mh-columns, 3), minmax(0, 1fr)); gap: 27px; }
.mh-listing--mh_expert { --mh-columns: 2; gap: 23px; }
.mh-listing--full { --mh-columns: 1; gap: 0; }
.mh-card { position: relative; min-width: 0; border: 1px solid var(--mh-line); background: var(--mh-paper); }
.mh-card-copy { min-width: 0; display: grid; gap: 10px; align-content: start; padding: clamp(18px, 2.4vw, 34px); }
.mh-card h2, .mh-card h3, .mh-card p { margin: 0; }
.mh-card h2 { font-size: clamp(31px, 3.6vw, 47px); }
.mh-card h3 { font-size: clamp(21px, 1.95vw, 29px); }
.mh-card-image { overflow: hidden; }
.mh-card-image img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mh-listing--mh_service:not(.mh-listing--full) { gap: 0; border-block-start: 1px solid var(--mh-line); border-inline-start: 1px solid var(--mh-line); }
.mh-listing--mh_service:not(.mh-listing--full) .mh-card { border-block-start: 0; border-inline-start: 0; min-height: 215px; }
.mh-listing--mh_service:not(.mh-listing--full) .mh-card:hover { box-shadow: inset 0 -3px var(--mh-red); }
.mh-service-icons { display: flex; justify-content: space-between; color: var(--mh-accent); margin-bottom: 9px; }
.mh-service-icons svg:last-child { color: var(--mh-ink); }
.mh-listing--mh_service:not(.mh-listing--full) .mh-card-link, .mh-listing--mh_article .mh-card-link { position: static; font-size: 0; padding: 0; border: 0; }
.mh-listing--mh_service:not(.mh-listing--full) .mh-card-link::after, .mh-listing--mh_article .mh-card-link::after { content: ""; position: absolute; inset: 0; }
.mh-service-split { display: grid; grid-template-columns: minmax(178px, .32fr) minmax(0, 1fr); gap: 27px clamp(34px, 7vw, 104px); }
.mh-service-index { position: sticky; top: calc(var(--mh-admin-height) + var(--mh-header-height) + 24px); align-self: start; }
.mh-service-index a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-block: 11px; border-bottom: 1px solid var(--mh-line); font-size: 14px; font-weight: 750; text-decoration: none; }
.mh-service-index a:hover { color: var(--mh-accent); }
.mh-service-index svg { flex-shrink: 0; }
.mh-listing--full .mh-card { border: 0; border-top: 1px solid var(--mh-line); padding-block: 26px 37px; }
.mh-listing--full .mh-card-copy { padding: 0; }
.mh-listing--full .mh-card-image { float: right; width: min(31%, 220px); margin: 0 0 12px 24px; }
.mh-listing--full .mh-card-image img { aspect-ratio: 1.36; }
.mh-listing--mh_expert .mh-card { display: grid; grid-template-columns: minmax(134px, var(--mh-portrait-width, .64fr)) minmax(0, 1fr); }
.mh-listing--mh_expert .mh-card:not(:has(.mh-card-image)) { grid-template-columns: minmax(0, 1fr); }
.mh-listing--mh_expert .mh-card-image img { height: 100%; min-height: 252px; aspect-ratio: auto; object-position: center 25%; }
.mh-listing--mh_article .mh-card { border: 0; border-bottom: 1px solid var(--mh-line); }
.mh-listing--mh_article .mh-card-copy { min-height: 132px; padding: 16px 28px 19px 0; }
.mh-listing--mh_article .mh-card-link span { position: absolute; right: 0; bottom: 15px; font-size: 20px; }
.mh-listing--mh_article .mh-card-image img { transition: transform .28s; }
.mh-listing--mh_article .mh-card:hover .mh-card-image img { transform: scale(1.035); }
.mh-listing--rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 3); overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 4px 12px; }
.mh-listing--rail .mh-card { scroll-snap-align: start; }
.mh-rail-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.mh-rail-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--mh-line); background: var(--mh-paper); color: var(--mh-ink); cursor: pointer; }
.mh-rail-controls button:hover:not(:disabled) { color: var(--mh-accent); border-color: var(--mh-accent); }
.mh-rail-controls button:disabled { opacity: .4; cursor: default; }
.mh-listing--mh_job .mh-card { border-top: 2px solid var(--mh-ink); }
.mh-listing--mh_job .mh-card:hover { border-top-color: var(--mh-red); }
.mh-excerpt, .mh-card-meta, .mh-empty { color: var(--mh-muted); }
.mh-excerpt { font-size: 14px; }
.mh-card-meta, .mh-record-dates { font-size: 13px; font-weight: 700; }
.mh-card-link { justify-self: start; }
.mh-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mh-badge { display: inline-block; padding: 3px 7px; border: 1px solid var(--mh-control-line); background: var(--mh-panel); color: var(--mh-ink); font-size: 11px; font-weight: 800; }
.mh-badge--expired, .mh-badge--example { border-color: var(--mh-red); background: var(--mh-white); color: var(--mh-red); }
.mh-record--meta .mh-record-dates { margin-top: 10px; }
.mh-profile-meta { display: grid; gap: 5px; font-size: 13px; overflow-wrap: anywhere; }
.mh-profile-socials { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 8px 0 0; list-style: none; }
.mh-profile-socials a { display: inline-flex; align-items: center; gap: .3em; padding: 6px 10px; border: 1px solid var(--mh-line); color: var(--mh-accent); font-size: 12px; font-weight: 800; text-decoration: none; }
.mh-profile-socials a:hover { border-color: var(--mh-red); }
.e-con.mh-careers-social { --padding-top: 18px; --padding-bottom: 18px; --padding-left: 21px; --padding-right: 21px; background: var(--mh-black); --mh-muted: var(--mh-white); }

.mh-search-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.mh-search-row label { width: min(440px, 75%); }
.mh-search-row input, .mh-field input, .mh-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--mh-control-line);
  border-radius: 0;
  background: var(--mh-paper);
  color: var(--mh-ink);
  padding: 11px 12px;
  font: inherit;
}
.mh-form-block h2 { font-size: clamp(32px, 3.5vw, 49px); margin: 0 0 18px; }
.mh-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.mh-field { display: grid; gap: 5px; min-width: 0; font-size: 13px; font-weight: 750; }
.mh-field input[type=file] { padding: 8px; font-size: 12px; }
.mh-field textarea { min-height: 110px; resize: vertical; }
.mh-field--message, .mh-form .mh-button, .mh-form-note { margin-top: 16px; }
.mh-form-note, .mh-form-closed { color: var(--mh-muted); font-size: 13px; }
.mh-form--newsletter { display: flex; align-items: center; gap: 12px; }
.mh-form--newsletter .mh-form-grid { display: block; flex: 1 1 auto; }
.mh-form--newsletter .mh-field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.mh-form--newsletter .mh-button { margin-top: 0; white-space: nowrap; }
.mh-form-feedback { padding: 12px 16px; border-inline-start: 3px solid var(--mh-ink); background: var(--mh-panel); color: var(--mh-ink); margin: 0 0 16px; }
.mh-form-feedback--error { border-color: var(--mh-red); background: var(--mh-white); color: var(--mh-red); }
.mh-map { display: block; width: 100%; height: clamp(320px, 35vw, 440px); border: 1px solid var(--mh-line); }
.e-con.mh-apply-surface { --padding-top: 24px; --padding-right: 24px; --padding-bottom: 24px; --padding-left: 24px; background: var(--mh-panel); border: 1px solid var(--mh-line); border-top: 3px solid var(--mh-red); }
.mh-job-detail > .mh-apply-surface { flex: 1 1 0; min-width: 320px; }

@media (max-width: 1080px) {
  :root { --mh-nav-height: 74px; }
  .e-con.mh-header-inner { --column-gap: 10px; position: static; }
  .mh-header-inner > .mh-main-menu { flex: none; order: 4; }
  .mh-theme-control { margin-inline-start: auto; }
  .mh-header-inner .mh-primary { display: none; }
  .mh-header-inner .elementor-widget-mh-nav, .mh-site-header > .elementor { position: static; }
  .mh-header-logo img { width: 92px; }
  .mh-theme-toggle, .mh-menu-toggle { width: 44px; height: 44px; }
  .mh-menu-toggle { display: grid; place-items: center; border-color: var(--mh-ink); }
  .mh-nav--main .mh-nav-links {
    display: none;
    position: absolute;
    z-index: 30;
    inset: 100% 0 auto;
    max-height: calc(100dvh - var(--mh-header-height) - var(--mh-admin-height));
    overflow: auto;
    background: var(--mh-paper);
    box-shadow: 0 12px 16px rgb(0 0 0 / 8%);
    border-block: 1px solid var(--mh-line);
    padding: 9px var(--mh-gutter) 18px;
  }
  .mh-nav--main .mh-nav-links.is-open { display: grid; gap: 0; }
  .mh-nav--main .mh-nav-links a { display: block; padding-block: 12px; border-bottom: 1px solid var(--mh-line); font-size: 15px; }
  .mh-nav--main .mh-nav-links [aria-current=page] { border-bottom-color: var(--mh-red); }
  .mh-listing--mh_expert .mh-card { grid-template-columns: minmax(0, 1fr); }
  .mh-listing--mh_expert .mh-card-image img { height: auto; min-height: 0; aspect-ratio: 1.58; }
}
@media (max-width: 782px) { :root:has(body.admin-bar) { --mh-admin-height: 46px; } }
@media (max-width: 780px) {
  :root { --mh-nav-height: 64px; --mh-meta-height: 27px; --mh-space: 57px; }
  .mh-header-logo img { width: 80px; }
  .mh-header-logo { min-width: 0; }
  .mh-header-inner > .mh-header-logo { flex: 0 1 auto; }
  .e-con.mh-meta-inner { --column-gap: 14px; }
  .mh-header-meta.elementor-widget-text-editor, .mh-header-meta a { font-size: 10px; }
  .e-con.mh-row { --flex-direction: column; --align-items: stretch; }
  .mh-row > .e-con.mh-col { flex: auto; width: 100%; }
  .e-con.mh-home-hero { --padding-top: 37px; --padding-bottom: 36px; --row-gap: 25px; }
  .mh-hero-title.elementor-widget-heading .elementor-heading-title { font-size: clamp(42px, 7.85vw, 65px); }
  .mh-hero-image { padding: 10px 10px 0 0; }
  .mh-hero-image img { aspect-ratio: 1.65; }
  .e-con.mh-phase-grid, .e-con.mh-footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); --row-gap: 16px; --column-gap: 16px; }
  .mh-phase-grid > .e-con:nth-child(odd) { --padding-left: 0; border-inline-start: 0; }
  .mh-section-heading > .e-con:last-child { --align-items: flex-start; }
  .e-con.mh-firm-visual { width: 100%; min-height: 0; aspect-ratio: 1.8; }
  .e-con.mh-page-banner { --flex-direction: column; }
  .e-con.mh-banner-media { position: relative; z-index: auto; inset: auto; width: 100%; height: clamp(132px, 26vw, 220px); border-inline-start: 0; border-top: 5px solid var(--mh-red); }
  .e-con.mh-banner-inner { --min-height: 0; --padding-top: 15px; --padding-bottom: 30px; }
  .e-con.mh-banner-copy { --width: 100%; }
  .mh-nav--breadcrumb { max-width: none; }
  .mh-banner-copy .mh-h1 .elementor-heading-title { font-size: clamp(43px, 9vw, 68px); }
  .mh-banner-copy .mh-record--title h1 { font-size: clamp(33px, 7.5vw, 55px); }
  .mh-listing:not(.mh-listing--rail):not(.mh-listing--full) { --mh-columns: 2; }
  .mh-listing--rail { grid-auto-columns: calc((100% - 27px) / 2); }
  .mh-service-split { grid-template-columns: minmax(0, 1fr); }
  .mh-service-index { position: static; }
  .mh-job-detail > .mh-apply-surface { flex: auto; min-width: 0; width: 100%; }
  .mh-footer-grid > .e-con { width: 100%; }
  .mh-footer-copy.elementor-widget-text-editor, .mh-footer-copy a { overflow-wrap: anywhere; }
}
@media (max-width: 600px) { :root:has(body.admin-bar) { --mh-admin-height: 0px; } }
@media (max-width: 480px) {
  :root { --mh-meta-height: 42px; --mh-space: 46px; }
  .e-con.mh-meta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; --row-gap: 2px; --column-gap: 8px; }
  .mh-meta-phones { grid-column: 1/-1; }
  .mh-meta-email { overflow-wrap: anywhere; }
  .e-con.mh-home-hero { --padding-top: 32px; --padding-bottom: 25px; }
  .mh-hero-title.elementor-widget-heading .elementor-heading-title { font-size: clamp(36px, 9.7vw, 46px); }
  .mh-hero-copy .mh-lede { font-size: 14px; }
  .e-con.mh-phase-grid { grid-template-columns: minmax(0, 1fr); --row-gap: 0px; --column-gap: 0px; }
  .mh-phase-grid > .e-con { --padding-left: 0; --padding-top: 12px; --padding-bottom: 12px; border-inline-start: 0; border-bottom: 1px solid rgb(255 255 255 / 24%); }
  .mh-phase-grid > .e-con:last-child { border-bottom: 0; }
  .mh-listing:not(.mh-listing--rail):not(.mh-listing--full) { --mh-columns: 1; }
  .mh-listing--rail { grid-auto-columns: 86%; }
  .mh-listing--full .mh-card-image { float: none; width: 100%; margin: 0 0 16px; }
  .mh-footer-grid > .e-con:first-child { grid-column: 1/-1; }
  .mh-footer-logo img { width: 104px; }
  .mh-form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .mh-form--newsletter { display: block; }
  .mh-form--newsletter .mh-button { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
