/* MV Design System 2.0 — only Meilleur Voyage components. */
body.mvdu-design {
  --mvdu-max:1580px; --mvdu-gutter:32px; --mvdu-top:16px;
  --mvdu-ink:#182b32; --mvdu-muted:#60747a; --mvdu-accent:#106c68;
  --mvdu-hero:#edf4f1; --mvdu-line:#e2ebe7; --mvdu-radius:18px;
  --mvdu-h1:clamp(38px,4.8vw,76px); --mvdu-h2:clamp(28px,3vw,46px);
  --mvdu-h3:clamp(20px,2vw,29px); --mvdu-padding:clamp(30px,4vw,74px);
  --mvdu-lead:clamp(15px,1.18vw,17.5px);
  --mvdu-width:min(var(--mvdu-max),calc(100% - 2 * var(--mvdu-gutter)));
}
/* Dedicated templates share the same header/footer context and a centered rail.
   No vw-based centering or translation on these top-level wrappers. */
body.mvdu-design :is(#mvqp-page,#mvqf-page,#mvou-page,#mvou-hub-page,#mvdu-geography-page,.mv-hierarchy-page) {
  display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:var(--mvdu-top) 0 0!important;
}
body.mvdu-design :is(#mvqp-page,#mvqf-page,#mvou-page,#mvou-hub-page,#mvdu-geography-page) > :is(.mvqp7,.mvqf,.mvou-wrap,.mvh),
body.mvdu-design .mv-hierarchy-page > :is(.mv-hierarchy-hub,.mv-hierarchy-faq-wrap) {
  box-sizing:border-box!important;position:relative!important;left:auto!important;right:auto!important;transform:none!important;
  width:var(--mvdu-width)!important;max-width:none!important;min-width:0!important;margin:0 auto 72px!important;
}

/* Shared typography. Restrict headings of cards and alphabet markers to their own scale. */
body.mvdu-design :is(.mvh,.mvqp7,.mvqf,.mvou-wrap) h1,
body.mvdu-design .mvou-wrap .mvou-page-title,
body.mvdu-design .mvou-hub-v43 .mvou-hub-hero h1,
body.mvdu-design .mv-hierarchy-head h1 {
  font-family:inherit!important;font-size:var(--mvdu-h1)!important;font-weight:700!important;line-height:1.03!important;
  letter-spacing:-.038em!important;color:var(--mvdu-ink)!important;overflow-wrap:anywhere!important;
}
body.mvdu-design :is(.mvh,.mvqp7,.mvqf,.mvou-wrap) h2,
body.mvdu-design .mv-hierarchy-faq-wrap h2 {
  font-family:inherit!important;font-size:var(--mvdu-h2)!important;line-height:1.12!important;font-weight:700!important;letter-spacing:-.038em!important;color:var(--mvdu-ink)!important;
}
body.mvdu-design .mvh h3 {font-family:inherit!important;font-size:var(--mvdu-h3)!important;line-height:1.2!important;font-weight:700!important;letter-spacing:-.025em!important;color:var(--mvdu-ink)!important}
body.mvdu-design .mvh .mvh-group h3 {font-size:20px!important;color:var(--mvdu-accent)!important}
body.mvdu-design :is(.mvh-guide h3,.mvou-place-head h3) {font-size:clamp(19px,1.7vw,25px)!important}
body.mvdu-design .mv-hierarchy-group>h2 {font-size:clamp(20px,1.8vw,25px)!important;line-height:1.2!important}

/* Same breadcrumb treatment, including visited links and long destination paths. */
body.mvdu-design :is(.mvh-crumb,.mvqp6-breadcrumb,.mvqf-breadcrumb,.mvou-breadcrumb,.mv-hierarchy-breadcrumb) {
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:7px 11px!important;
  font-family:inherit!important;font-size:13px!important;font-weight:400!important;line-height:1.5!important;
  color:#60747a!important;margin:0 0 23px!important;padding:0!important;min-width:0;overflow-wrap:anywhere;
}
body.mvdu-design :is(.mvh-crumb,.mvqp6-breadcrumb,.mvqf-breadcrumb,.mvou-breadcrumb,.mv-hierarchy-breadcrumb) a {color:#60747a!important;text-decoration:none!important}
body.mvdu-design :is(.mvh-crumb,.mvqp6-breadcrumb,.mvqf-breadcrumb,.mvou-breadcrumb,.mv-hierarchy-breadcrumb) a:hover {color:var(--mvdu-accent)!important;text-decoration:underline!important}
body.mvdu-design :is(.mvh-crumb,.mvqp6-breadcrumb,.mvqf-breadcrumb,.mvou-breadcrumb,.mv-hierarchy-breadcrumb) [aria-current="page"] {color:var(--mvdu-ink);font-weight:500;min-width:0}
/* Same surface, radius, and typography. Preserve guide imagery, tables and content layouts. */
body.mvdu-design :is(.mvh-hero,.mvqp7-hero,.mvqf-hero,.mvou-page-shell,.mvou-hub-v43 .mvou-hub-hero) {
  background:var(--mvdu-hero)!important;border-radius:var(--mvdu-radius)!important;border:0!important;box-shadow:none!important;
}
body.mvdu-design :is(.mvqp7-hero-text,.mvqf-hero-copy,.mvou-page-copy) {padding:var(--mvdu-padding)!important;min-width:0}
body.mvdu-design :is(.mvh-lead,.mvqp7-lead,.mvqf-hero-lead,.mvqf-hero-copy>p,.mvou-page-summary,.mv-hierarchy-intro) {
  color:#374f54!important;font-size:var(--mvdu-lead)!important;line-height:1.72!important;
}
/* Reworked geographic hero: useful compact count, full text rail when no photo. */
body.mvdu-design .mvh .mvh-hero {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:center!important;
  min-height:300px!important;height:auto!important;gap:0!important;padding:0!important;margin:0 0 22px!important;overflow:hidden;
}
body.mvdu-design .mvh .mvh-hero.has-image {grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;min-height:420px!important}

body.mvdu-design .mvh .mvh-hero h1 {margin:0!important;max-width:100%}
body.mvdu-design .mvh .mvh-lead {max-width:850px;margin:0!important}






/* Hub cards: no giant decorative placeholders if no photos have been populated. */











body.mvdu-design .mvh .mvh-search,body.mvdu-design .mv-hierarchy-search,body.mvdu-design .mvou-hub-v43 .mvou-hub-search {height:54px!important;border-radius:12px!important}
/* Editorial index hubs: keep existing archive markup and search/filter behavior. */
body.mvdu-design .mvou-hub-v43 .mvou-hub-hero {padding:var(--mvdu-padding)!important;min-height:0!important;margin-bottom:24px!important}
body.mvdu-design .mvou-hub-v43 .mvou-hub-hero h1 {margin:10px 0 0!important}



/* Responsive parity; keep the original guides' mobile media order. */
@media (max-width:750px) {
  body.mvdu-design {--mvdu-gutter:13px;--mvdu-top:12px}
  body.mvdu-design .mvh .mvh-hero.has-image {grid-template-columns:minmax(0,1fr)!important;min-height:0!important}
  body.mvdu-design .mvh .mvh-hero-photo {margin:0 20px 20px!important;aspect-ratio:16/9;min-height:0!important;width:auto!important}
}
@media (max-width:680px) {
  body.mvdu-design {--mvdu-radius:16px;--mvdu-h1:clamp(29px,9vw,41px);--mvdu-h2:clamp(25px,6.6vw,30px);--mvdu-h3:clamp(19px,4.8vw,23px);--mvdu-padding:25px 20px;--mvdu-lead:15px}
  body.mvdu-design :is(#mvqp-page,#mvqf-page,#mvou-page,#mvou-hub-page,#mvdu-geography-page) > :is(.mvqp7,.mvqf,.mvou-wrap,.mvh) {margin-bottom:45px!important}
  body.mvdu-design :is(.mvh-crumb,.mvqp6-breadcrumb,.mvqf-breadcrumb,.mvou-breadcrumb,.mv-hierarchy-breadcrumb) {font-size:12px!important;gap:5px 8px!important;margin-bottom:15px!important}
  body.mvdu-design :is(.mvh,.mvqp7,.mvqf,.mvou-wrap) h1 {line-height:1.08!important}
  body.mvdu-design .mvh .mvh-hero {min-height:0!important}
  body.mvdu-design .mvh .mvh-hero-content {gap:14px}
  body.mvdu-design .mvh .mvh-hero-photo {margin:0 14px 15px!important}
  body.mvdu-design .mvh .mvh-countries {grid-template-columns:1fr!important;gap:10px!important}
  body.mvdu-design .mvh .mvh-country-bottom {font-size:15px}
  /* Keep the native guide bottom padding for the mobile infographic/mosaic. */
  body.mvdu-design .mvqp7 .mvqp7-hero-text {padding:25px 20px 18px!important}
  body.mvdu-design .mvqf .mvqf-hero-copy {padding:25px 20px 20px!important}
}

/* Editorial hubs are rendered on the server, no DOM relocation. */
body.mvdu-design .mv-hierarchy-page > .mv-hierarchy-breadcrumb{width:var(--mvdu-width);margin:0 auto 23px!important;box-sizing:border-box}
body.mvdu-design .mv-hierarchy-head{padding:var(--mvdu-padding)!important;background:var(--mvdu-hero)!important;border-radius:var(--mvdu-radius)!important;border:0!important;box-shadow:none!important;margin:0 0 25px!important;box-sizing:border-box}
body.mvdu-design .mv-hierarchy-head h1{margin:0 0 16px!important}


body.mvdu-design .mv-hierarchy-page .mv-hierarchy-faq-wrap{margin-bottom:60px!important}
body.mvdu-design .mv-hierarchy-faq-wrap h2{margin-bottom:18px!important}


@media(max-width:680px){body.mvdu-design .mv-hierarchy-page>.mv-hierarchy-breadcrumb{margin-bottom:15px!important}body.mvdu-design .mv-hierarchy-page>.mv-hierarchy-hub{margin-bottom:26px!important}}

/* Hubs also work when inserted via an explicit shortcode in a custom template. */

