/* Style complémentaire non destructif pour « Mon Blog de Voyage — Édition Rose ». */

/* 1. Bandeau du haut : message centré, réseaux sociaux à droite, aucune loupe. */
.theme-faithful .faithful-top-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,auto) minmax(0,1fr);
  align-items: center;
  column-gap: 14px;
}
.theme-faithful .faithful-top-inner > .faithful-search-toggle,
.theme-faithful .faithful-search { display: none !important; }
.theme-faithful .faithful-top-inner > .faithful-social {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  min-width: 0;
  letter-spacing: normal;
}
.theme-faithful .faithful-top-inner > .travel-topnote {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  text-align: center;
}
.theme-faithful .faithful-social a {
  width: 27px;
  height: 27px;
  padding: 3px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  opacity: .97;
  transition: background .18s ease, transform .18s ease;
}
.theme-faithful .faithful-social a:hover,
.theme-faithful .faithful-social a:focus-visible {
  background: rgba(255,255,255,.2);
  transform: translateY(-1px);
  outline-offset: 2px;
}
.theme-faithful .faithful-social svg { display: block; width: 18px; height: 18px; }
/* The original theme generates placeholder symbols when no URL exists.
   Never display these symbols to visitors, even before JavaScript executes. */
.theme-faithful .faithful-social > span:not(.mgwbc-keep-visible) { display:none !important; }
.theme-faithful .faithful-social[hidden] { display:none !important; }

/* 2. Cartes « Explorer par destination » : toujours une seule ligne. */
.theme-faithful .faithful-zone-grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px,1fr);
  gap: clamp(10px,1.35vw,24px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #d7a29b transparent;
  padding-bottom: 9px;
}
.theme-faithful .faithful-zone-grid > * {min-width:0}

/* 3. Menu illustré : nombre libre de vignettes, une seule rangée horizontale. */
@media (min-width:901px) {
 .travel-dropdown.mgwbc-continents {
   width: min(1100px,calc(100vw - 32px));
   max-width: none;
   left: 0; /* Position réelle calculée relativement à la rubrique via front.js. */
   transform: translateY(10px);
 }
 .travel-has-submenu:hover > .travel-dropdown.mgwbc-continents,
 .travel-has-submenu.expanded > .travel-dropdown.mgwbc-continents,
 .travel-has-submenu:focus-within > .travel-dropdown.mgwbc-continents {
   transform: translateY(0);
 }
}
.travel-dropdown.mgwbc-continents .travel-dropdown-grid,
.travel-dropdown.mgwbc-continents .mgwmm-dropdown-content.mgwmm-image-grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  gap: 10px;
  padding: 7px 0 14px;
  scrollbar-width: thin;
  scrollbar-color: #d7a29b #fff7f3;
}
.travel-dropdown.mgwbc-continents .mgwmm-dropdown-content.mgwmm-image-grid > *,
.travel-dropdown.mgwbc-continents .travel-dropdown-grid > * {
  min-width: 0;
}
.travel-dropdown.mgwbc-continents .mgwmm-image-link {
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.travel-dropdown.mgwbc-continents .mgwmm-image-link img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}
@media (max-width:900px) {
 .theme-faithful .faithful-top-inner {
   grid-template-columns: minmax(0,1fr) auto;
 }
 .theme-faithful .faithful-top-inner > .faithful-social {
   grid-column: 2;
 }
 .theme-faithful .travel-topnote { display:none; }
 .travel-dropdown.mgwbc-continents .travel-dropdown-grid,
 .travel-dropdown.mgwbc-continents .mgwmm-dropdown-content.mgwmm-image-grid {
   grid-auto-columns: 160px;
   padding: 8px 0 13px;
 }
 .travel-dropdown.mgwbc-continents .mgwmm-image-link {
   flex-direction: column;
   text-align: center;
 }
 .travel-dropdown.mgwbc-continents .mgwmm-image-link img {
   width: 100%; height: 68px;
 }
 .theme-faithful .faithful-zone-grid {grid-auto-columns:minmax(165px, 38vw)}
}
@media (max-width:480px) {
  .theme-faithful .faithful-social a {width:26px;height:26px}
  .theme-faithful .faithful-social {gap:3px}
  .theme-faithful .faithful-zone-grid {grid-auto-columns:minmax(160px,60vw)}
}

/* 4. Retirer uniquement le bouton « Explorer » du menu principal.
   On conserve la grille de navigation, la bannière, les destinations
   et le bouton « Lire l’article » du grand visuel d’accueil. */
.travel-nav-shell .travel-nav-actions {
  display: none !important;
}
