/* === VMAP : intégration propre dans le volet central === */
#vmap-wrapper {
  width: 100%;
  max-width: 100%;
  height: calc(50vh - 60px); /* ajuste selon header du site */
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
#vmap-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Si le thème limite la largeur du contenu */
.region-content,
.node__content,
.layout-content,
.layout-container {
  max-width: 100%;
}
/* Supprime les marges latérales si besoin */
.layout-content {
  padding-left: 0;
  padding-right: 0;
}
/* Supprimer le titre Drupal "demo2" */
/* 1) Masquer le bloc "Page title" Drupal (le plus fiable) */
.block-page-title-block,
.page-title,
h1.page-title {
  display: none !important;
}
/* 2) Si jamais le thème n’utilise pas le bloc page-title, on masque le span schema:name
   mais seulement lorsqu’il contient le titre de page dans un h1 */
h1 [property="schema:name"],
h1 span[property="schema:name"]{
  display: none !important;
}
/* 3) Cas Olivero/Claro fréquents : titre dans .node__title */
.node__title [property="schema:name"],
.node__title span[property="schema:name"]{
  display: none !important;
}
.path-demo2 iframe{
  margin-top: -90px;      /* cache le header */
  height: calc(100vh + 90px);
}
#theme-switcher {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
#theme-switcher .theme-btn {
  border: 1px solid #d8d8d8;
  background: #fffef7;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 6px;
}
#theme-switcher .theme-btn.active {
  background: #fde9a0;
  border-color: #e2a100;
}
.regional-map-frame {
  width: 100%;
  height: 420px;
  margin-bottom: 20px;
}
.regional-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
#theme-switcher {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: wrap;
}
#theme-switcher .theme-btn {
  border: 1px solid #d8d8d8;
  background: #fffef7;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 6px;
}
#theme-switcher .theme-btn.active {
  background: #fde9a0;
  border-color: #e2a100;
}
#regional-map-wrapper {
  width: 100%;
  height: 420px;
  margin: 16px 0 24px;
}
#regional-map {
  width: 100%;
  height: 100%;
  border: 1px solid #39468A;
  border-radius: 5px 5px 0 0;
  display: block;
}
.superset-theme-block {
  width: 100%;
}