/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* --- Anti-tremble au refresh : stabiliser le layout dès le premier paint --- */
#page {
  min-height: 20px;
}

/* Réduire l’espace vide sous le header : category, blog, contact.
   main prend juste la hauteur du header fixe (58px/48px), pas d’excédent. */
main.page-category,
main.page-blogs,
main.page-contact {
  padding-top: 58px;
}
@media (max-width: 991px) {
  main.page-category,
  main.page-blogs,
  main.page-contact {
    padding-top: 48px;
  }
}
/* Blog et contact : éviter le double espace (margin_60_35 = 60px en haut) */
main.page-blogs .container.margin_60_35,
main.page-contact .container.margin_60_35 {
  padding-top: 0;
}
/* Scroll fluide (ancres, restauration, navigation) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (max-width: 991px) {
  html {
    scroll-padding-top: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
html,
body {
  overscroll-behavior-y: contain;
}
#page,
main,
.amenities-scroll,
.stiky-map,
#map {
  -webkit-overflow-scrolling: touch;
}
/* Sticky / headers : moins de saccades au scroll */
header.header,
header.header_in,
.secondary_nav,
.filters_listing.sticky_horizontal,
main.page-directory_listing #sidebar .rohi-sidebar-sticky {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

/* Card Filtres — pastilles structures (méthode doleances) */
main.page-listings #filters_col .rohi-filter-select-native,
main.page-listings #filters_col .rohi-filter-select-wrap > .select2 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
main.page-listings #filters_col .rohi-filter-select-wrap {
  position: relative;
}
main.page-listings #filters_col .rohi-filter-search-wrap {
  display: block;
  margin: 0 0 12px;
}
main.page-listings #filters_col .rohi-filter-chips-q {
  display: block;
  width: 100%;
  height: 2.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 58, 92, 0.2);
  background: #fff;
  color: #1a3a5c;
  font-size: 0.9rem;
  box-sizing: border-box;
}
main.page-listings #filters_col .rohi-filter-chips-q:focus {
  outline: 0;
  border-color: #1a3a5c;
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.12);
}
main.page-listings #filters_col .rohi-filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.4rem;
  margin: 0.15rem 0 0.35rem;
  /* Hauteur fixe : District → Services ne doit plus faire sauter la card Filtres */
  height: 12.5rem;
  max-height: 12.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
/* Évite le décalage horizontal quand la barre de défilement apparaît/disparaît */
html {
  scrollbar-gutter: stable;
}
main.page-listings #filters_col {
  contain: layout style;
}
main.page-listings #filters_col .rohi-filter-chip {
  border: 1px solid rgba(26, 58, 92, 0.22);
  background: #f7f9fc;
  color: #1a3a5c;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  /* Couleurs seulement — aucun transform / scale */
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
main.page-listings #filters_col .rohi-filter-chip:hover,
main.page-listings #filters_col .rohi-filter-chip:active,
main.page-listings #filters_col .rohi-filter-chip:focus {
  border-color: #1a3a5c;
  outline: 0;
  transform: none;
}
main.page-listings #filters_col .rohi-filter-chip.is-on {
  background: #1a3a5c;
  border-color: #1a3a5c;
  color: #fff;
}
main.page-listings #filters_col .rohi-filter-chip.is-search-hide {
  display: none !important;
}
main.page-listings #filters_col .rohi-filter-chip--none {
  font-style: italic;
  opacity: 0.92;
}
main.page-listings #filters_col .rohi-lieu-wiz__help {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: #5a6b7d;
}
/* Wizard : hauteur stable (label + zone chips fixe + nav). */
main.page-listings #filters_col .rohi-lieu-wiz {
  min-height: 16.5rem;
}
main.page-listings #results .rohi-listings-count {
  display: inline-block;
  min-width: 6.5rem;
  white-space: nowrap;
}
main.page-listings #filters_col .rohi-lieu-block {
  margin: 0.35rem 0 0.75rem;
  min-height: 14.2rem;
}
main.page-listings #filters_col .rohi-lieu-block > label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a3a5c;
}
main.page-listings #filters_col .rohi-lieu-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  min-height: 1.75rem;
}
main.page-listings #filters_col .rohi-lieu-path__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(26, 58, 92, 0.25);
  background: #fff;
  color: #1a3a5c;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.75rem;
  cursor: pointer;
}
main.page-listings #filters_col .rohi-lieu-path__chip:hover {
  border-color: #1a3a5c;
}
main.page-listings #filters_col .rohi-lieu-path__chip i {
  opacity: 0.7;
  font-size: 0.65rem;
}
main.page-listings #filters_col .rohi-lieu-path__sep {
  opacity: 0.45;
  font-weight: 700;
}
main.page-listings #filters_col .rohi-lieu-wiz__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Filtre AJAX : pas d’opacity (tremblement) ni pointer-events:none sur #listings
   (un loading coincé rendait les structures incliables). Curseur seulement. */
body.rohi-filter-loading #listings {
  cursor: progress;
}
body.rohi-filter-loading .stiky-map {
  pointer-events: none;
}

main.page-listings #filters_col .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Logo TOROLALANA */
#logo img.logo_sticky,
#logo img.logo_normal {
  width: auto;
  max-width: 200px;
  height: 36px;
}

/* ============================================================================================ */
/* Logos MEF dans le header (en fond) */
/* ============================================================================================ */
/* Désactivé : chevauchement visuel avec l'icône login (demande utilisateur). */
.mef-header-layer {
  display: none !important;
}

header.header .container,
header.header_in .container {
  /* IMPORTANT:
     Le logo MEF doit être calé à droite du header (plein écran),
     pas à droite de la .container (centrée). */
  position: static;
}
header.header .container > .row,
header.header_in .container > .row {
  position: relative;
  z-index: 2;
}

/* Calque dédié en fond (ne dépend pas du layout Bootstrap) */
.mef-header-layer {
  position: absolute;
  inset: 0;
  /* En fond, mais visible */
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
}
.mef-header-brand {
  /* Bas à gauche (en fond) */
  pointer-events: none;
  opacity: 0.25;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}
.mef-header-brand img {
  display: block;
  max-height: 35px; /* ne dépasse pas la hauteur du header */
  width: auto;
}
/* Header Home : light → normal, dark → sticky (sur fond blanc) */
header.header .mef-logo-sticky {
  display: none;
}
header.header.sticky .mef-logo-normal {
  display: none;
}
header.header.sticky .mef-logo-sticky {
  display: block;
}
/* Headers internes : fond blanc => logo dark */
header.header_in .mef-logo-normal {
  display: none;
}
header.header_in .mef-logo-sticky {
  display: block;
}
@media (max-width: 991px) {
  /* Sur mobile/tablette le header est plus compact : réduire le logo pour éviter
     tout chevauchement visuel avec l'icône login/hamburger. */
  .mef-header-brand {
    opacity: 0.18;
  }
  .mef-header-brand img {
    max-height: 20px;
  }
}

/* ============================================================================================ */
/* Quickwin - éviter chevauchement champ de filtrage (home/filter_listings) */
/* ============================================================================================ */
/* Le thème place des icônes/boutons en absolute : on ancre correctement les conteneurs. */
#main-search-form-listings .custom-search-input-2.inner {
  position: relative;
}

/* Listings: ne plus afficher l'ancien champ mobile (search_mob_wp) */
main.page-listings .search_mob_wp {
  display: none !important;
}

/* ============================================================================================ */
/* Accueil (home2) - compacter les cartes catégories (.box_cat_home) */
/* ============================================================================================ */
main.page-home2 a.box_cat_home {
  padding: 16px 12px;
  margin-bottom: 16px;
}
main.page-home2 a.box_cat_home h3 {
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.25;
}
/* Icône "coin" (visible au hover dans le thème) */
main.page-home2 a.box_cat_home i {
  right: 8px;
  top: 8px;
  font-size: 14px;
}
/* Icône principale de la catégorie (span.remake_ico + classes FontAwesome) */
main.page-home2 a.box_cat_home .remake_ico {
  display: inline-block;
  font-size: 16px;
  color: #2A5082;
  line-height: 1;
}
/* Bootstrap .mb-3 met un margin-bottom en !important : on le réduit */
main.page-home2 a.box_cat_home .remake_ico.mb-3 {
  margin-bottom: 0.5rem !important;
}
#main-search-form-listings .row.no-gutters.custom-search-input-2.inner {
  /* Sécuriser le layout flex (éviter overflow/chevauchement) */
  display: flex;
  flex-wrap: nowrap;
}
#main-search-form-listings .row.no-gutters.custom-search-input-2.inner > [class*="col-"] {
  min-width: 0; /* crucial pour ellipsis dans un flex item */
}
#main-search-form-listings .custom-search-input-2.inner .form-group {
  position: relative;
}

/* Empêcher le texte (ou valeurs longues de district/catégorie) de passer sous l'icône/chevron */
#main-search-form-listings .custom-search-input-2.inner .form-control {
  padding-right: 44px;
}
#main-search-form-listings .custom-search-input-2.inner .nice-select {
  padding-right: 44px;
  /* Important : par défaut, nice-select peut s'élargir au contenu (et chevaucher la loupe) */
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  display: block !important;
  box-sizing: border-box;
  /* NE PAS mettre overflow:hidden ici sinon la liste déroulante est coupée */
  overflow: visible !important;
  position: relative;
  z-index: 2; /* au-dessus du bouton loupe si chevauchement */
}

/* S'assurer que la liste est bien visible (au-dessus) quand ouverte */
#main-search-form-listings .custom-search-input-2.inner .nice-select.open {
  z-index: 10000;
}
#main-search-form-listings .custom-search-input-2.inner .nice-select .current {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Liste nice-select : ne pas élargir le document (scroll horizontal / vide à droite) */
#main-search-form-listings .custom-search-input-2.inner .nice-select .list {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
}
#main-search-form-listings .custom-search-input-2.inner .nice-select .list .option {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
main.page-listings,
main.page-listings #results,
main.page-listings .container-fluid {
  overflow-x: hidden;
  max-width: 100%;
}
/* Sticky #results : padding verrouillé (thème met 20 / 12 / 10 selon is_stuck).
   Le toggle Filtres ne doit pas faire sauter le bouton Rechercher. */
main.page-listings #results,
main.page-listings #results.is_stuck,
main.page-listings #results.map_view {
  padding: 12px 0 !important;
}
/* Cartes résultats cliquables : au-dessus d’éventuels sticky/overlays (carte, #results). */
main.page-listings #listings {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  contain: layout style;
}
main.page-listings #listings a.rohi-result-card {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}
main.page-listings .stiky-map {
  z-index: 1;
}
main.page-listings #results .container {
  padding-left: 15px;
  padding-right: 15px;
}
main.page-listings #results #main-search-form-listings {
  margin: 0;
  padding: 0;
}
main.page-listings .stiky-map,
main.page-listings .stiky-map #map,
main.page-listings .leaflet-container {
  max-width: 100%;
  overflow: hidden;
}

/* Le bouton submit est en absolute dans le thème : le contraindre au dernier bloc */
#main-search-form-listings .custom-search-input-2.inner .col-lg-1 {
  position: relative;
}
#main-search-form-listings .custom-search-input-2.inner input[type='submit'] {
  /* Le thème met le bouton en absolute: on l'ancre dans la colonne (pas sur toute la ligne) */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

/* Responsive: sur tablette/mobile, le thème cache `.custom-search-input-2.inner`.
   On le réactive et on empile proprement les champs (dont #search_string_input). */
@media (max-width: 991px) {
  #main-search-form-listings .custom-search-input-2.inner {
    display: block !important; /* override style.css (display:none) */
  }
  #main-search-form-listings .row.no-gutters.custom-search-input-2.inner {
    flex-wrap: wrap;
  }
  #main-search-form-listings .row.no-gutters.custom-search-input-2.inner > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }
  #main-search-form-listings .row.no-gutters.custom-search-input-2.inner > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
  /* Bouton Search: flux normal ; tuer les margins thème (20px) qui sautent au toggle Filtres. */
  #main-search-form-listings .custom-search-input-2.inner {
    margin: 0 !important;
  }
  #main-search-form-listings .custom-search-input-2.inner input[type='submit'] {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 40px;
    margin: 8px 0 0 0 !important;
    padding: 0 16px !important;
    border-radius: 3px;
    text-indent: 0;
    background-image: none;
    background-color: #4b1d6a;
  }

  /* Icône loupe dans le champ "search_string" :
     en responsive, elle remonte parfois hors du champ -> on la décale vers le bas. */
  #main-search-form-listings .custom-search-input-2.inner .form-group i.icon_search {
    margin-top: 10px;
    height: 18px;
    line-height: 18px;
  }

  /* Le thème affiche aussi un bouton "loupe" (a.btn_search_mobile) en mobile.
     Comme on garde la barre de recherche visible, on masque ce doublon. */
  #results a.btn_search_mobile {
    display: none !important;
  }
}

/* ============================================================================================ */
/* Quickwin - même correction sur la page d’accueil (/quickwin/) */
/* ============================================================================================ */
#main-search-form-home .row.no-gutters.custom-search-input-2,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 {
  display: flex;
  /* IMPORTANT: ne pas bloquer le retour à la ligne sur petits écrans */
  flex-wrap: wrap;
}
/* Desktop: garder l’aspect “barre” sur une ligne */
@media (min-width: 992px) {
  #main-search-form-home .row.no-gutters.custom-search-input-2,
  #main-search-form-home2 .row.no-gutters.custom-search-input-2 {
    flex-wrap: nowrap;
  }
}
#main-search-form-home .row.no-gutters.custom-search-input-2 > [class*="col-"],
#main-search-form-home2 .row.no-gutters.custom-search-input-2 > [class*="col-"] {
  min-width: 0;
}
#main-search-form-home .row.no-gutters.custom-search-input-2 .nice-select,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 .nice-select {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  display: block !important;
  overflow: visible !important;
}
#main-search-form-home .row.no-gutters.custom-search-input-2 .nice-select .current,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 .nice-select .current {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#main-search-form-home .row.no-gutters.custom-search-input-2 .nice-select.open,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 .nice-select.open {
  z-index: 10000;
}

/* Accueil : Select2 (Structure) — garder le même gabarit que les .nice-select */
#main-search-form-home .row.no-gutters.custom-search-input-2 .select2-container,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}
#main-search-form-home .row.no-gutters.custom-search-input-2 .select2-container--default .select2-selection--single,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 .select2-container--default .select2-selection--single {
  height: 50px;
  border: 0;
  border-right: 1px solid #d2d8dd;
  border-radius: 0;
  background: transparent;
}
#main-search-form-home .row.no-gutters.custom-search-input-2 .select2-container--default .select2-selection--single .select2-selection__rendered,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 50px;
  padding-left: 15px;
  padding-right: 34px;
  font-weight: 500;
  color: #6f787f;
}
#main-search-form-home .row.no-gutters.custom-search-input-2 .select2-container--default .select2-selection--single .select2-selection__arrow,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 50px;
  right: 10px;
}
#main-search-form-home .row.no-gutters.custom-search-input-2 .select2-container--default .select2-selection--single .select2-selection__clear,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 .select2-container--default .select2-selection--single .select2-selection__clear {
  line-height: 50px;
}
#main-search-form-home .row.no-gutters.custom-search-input-2 .select2-container--open,
#main-search-form-home2 .row.no-gutters.custom-search-input-2 .select2-container--open {
  z-index: 10000;
}
#main-search-form-home .select2-dropdown,
#main-search-form-home2 .select2-dropdown {
  z-index: 10000;
}

/* Responsive: 1 champ par ligne sur très petits écrans */
@media (max-width: 575px) {
  #main-search-form-home .row.no-gutters.custom-search-input-2 > [class*="col-"],
  #main-search-form-home2 .row.no-gutters.custom-search-input-2 > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }
  #main-search-form-home .row.no-gutters.custom-search-input-2 > [class*="col-"]:last-child,
  #main-search-form-home2 .row.no-gutters.custom-search-input-2 > [class*="col-"]:last-child {
    margin-bottom: 0;
  }
}

/*============================================================================================*/
.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4,
.policy-content h5,
.policy-content h6 {
  color: #2b2b2b;
  font-weight: 600;
  line-height: 1.35;
  margin: 18px 0 10px;
}

.policy-content h1 { font-size: 28px; }
.policy-content h2 { font-size: 22px; }
.policy-content h3 { font-size: 18px; }

.policy-content .doc-header {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  z-index: auto !important;
}

.policy-page-wrap .doc-card {
  position: relative;
}

.policy-page-wrap .doc-container {
  max-width: 980px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.policy-annuaire {
  clear: both;
  position: relative;
  z-index: 1;
}

.policy-annuaire .doc-container {
  max-width: 980px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.policy-page-wrap .doc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  width: 100%;
}

.policy-page-wrap .doc-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #eef0f4;
  padding: 1.25rem 1.25rem 1rem;
}

.policy-page-wrap .doc-header img {
  height: 56px;
}

.policy-page-wrap .doc-header img,
.policy-annuaire .doc-header img,
.policy-page-wrap .doc-logo,
.policy-annuaire .doc-logo {
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
}

.policy-page-wrap .doc-header-text,
.policy-annuaire .doc-header-text {
  min-width: 0;
}

.policy-page-wrap .doc-header-text h1,
.policy-page-wrap .doc-header-text h2,
.policy-page-wrap .doc-header-text h3,
.policy-annuaire .doc-header-text h1,
.policy-annuaire .doc-header-text h2,
.policy-annuaire .doc-header-text h3 {
  margin: 0 0 6px;
}

.policy-page-wrap .doc-header-text p,
.policy-annuaire .doc-header-text p {
  margin: 0 0 6px;
}

.policy-page-wrap .doc-meta,
.policy-annuaire .doc-meta {
  font-size: 0.85em;
  color: #6c757d;
  margin: 0 0 6px;
}

@media (max-width: 768px) {
  .policy-page-wrap .doc-header,
  .policy-annuaire .doc-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

.policy-page-wrap .doc-body {
  padding: 1rem 1.25rem 1.25rem;
}

.policy-page-wrap img,
.policy-annuaire img {
  max-width: 100%;
  height: auto;
}

.policy-page-wrap .doc-body img,
.policy-annuaire .doc-body img {
  max-height: 360px;
  object-fit: contain;
}

.policy-page-wrap .toc {
  border: 1px dashed #eef0f4;
  border-radius: 10px;
  padding: .75rem 1rem;
  background: #fff;
  margin: 0 0 1rem;
}

.policy-page-wrap .toc-title {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff0e7;
  color: #a14800;
  border: 1px solid #ffd8bf;
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .75rem;
  margin-bottom: .5rem;
}

.policy-page-wrap .site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #eef0f4;
  padding: 1rem 1.25rem;
  color: #6c757d;
  font-size: .75rem;
}

.policy-page-wrap .doc-actions {
  text-align: right;
  margin-top: 1rem;
}

.policy-page-wrap .btn {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 6px;
  font-size: .875rem;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.policy-page-wrap .btn-light {
  background: #f8f9fa;
  border-color: #e2e6ea;
  color: #212529;
}

.policy-annuaire .doc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  width: 100%;
}

.policy-annuaire .doc-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #eef0f4;
  padding: 1.25rem 1.25rem 1rem;
}

.policy-annuaire .doc-header img {
  height: 56px;
}

.policy-annuaire .doc-body {
  padding: 1rem 1.25rem 1.25rem;
}

.policy-annuaire .toc {
  border: 1px dashed #eef0f4;
  border-radius: 10px;
  padding: .75rem 1rem;
  background: #fff;
  margin: 0 0 1rem;
}

.policy-annuaire .toc-title {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff0e7;
  color: #a14800;
  border: 1px solid #ffd8bf;
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .75rem;
  margin-bottom: .5rem;
}

.policy-annuaire .doc-actions {
  text-align: right;
  margin-top: 1rem;
}

.policy-annuaire .site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #eef0f4;
  padding: 1rem 1.25rem;
  color: #6c757d;
  font-size: .75rem;
}

@media (max-width: 768px) {
  .policy-page-wrap .site-footer,
  .policy-annuaire .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

.policy-annuaire .doc-header-actions {
  margin-left: 12px;
  white-space: nowrap;
}

.policy-annuaire .btn {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 6px;
  font-size: .875rem;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.policy-annuaire .btn-light {
  background: #f8f9fa;
  border-color: #e2e6ea;
  color: #212529;
}

.policy-content p {
  margin: 0 0 12px;
  line-height: 1.7;
  color: #4a4a4a;
}

.policy-content .doc-container {
  margin-top: 0;
}

.policy-page {
  padding-top: 0;
}

main.page-privacy_policy {
  padding-top: 120px;
}

@media (max-width: 991px) {
  main.page-privacy_policy {
    padding-top: 90px;
  }
}

.policy-page-wrap .doc-container,
.policy-page-wrap .doc-card {
  margin-top: 0;
}

.policy-content--plain {
  white-space: normal;
}

.policy-content ul,
.policy-content ol {
  margin: 0 0 12px 20px;
}

.policy-content li {
  margin-bottom: 6px;
}

.policy-content hr {
  margin: 18px 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

.policy-content strong {
  color: #2b2b2b;
}
.user_thumb {
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  position: relative;
  height: 40px;
  width: 40px;
  z-index: 0;
  border: 1px solid #616161;
  padding: .2rem;
}
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

video {
  position: initial;
}

/* Bandeau couverture fiche : bandeau bas (thème = 550px). */
.hero_in.shop_detail {
  height: 110px !important;
}
@media (max-width: 767px) {
  .hero_in.shop_detail {
    height: 72px !important;
  }
}

/* —— Fiche publique institutionnelle : densités + lecture —— */
main.page-directory_listing .rohi-fiche.margin_60_35 {
  padding-top: 28px;
  padding-bottom: 40px;
}
main.page-directory_listing .detail_title_1 h1 {
  font-size: 1.55rem;
  line-height: 1.3;
  margin-bottom: 6px;
}
main.page-directory_listing .detail_title_1 .rohi-fiche-entity {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #5a3d8a;
  letter-spacing: 0.01em;
  text-align: right;
}
main.page-directory_listing .rohi-fiche-nav.secondary_nav {
  background: #fff;
  border-bottom: 1px solid rgba(26, 58, 92, 0.12);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}
main.page-directory_listing .rohi-fiche-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  margin: 0;
  padding: 8px 0;
}
main.page-directory_listing .rohi-fiche-nav ul li {
  float: none;
  display: inline-block;
  margin: 0;
}
main.page-directory_listing .rohi-fiche-nav ul li a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92em;
  font-weight: 600;
  color: #1a3a5c;
  text-decoration: none;
  border: 1px solid transparent;
}
main.page-directory_listing .rohi-fiche-nav ul li a:hover,
main.page-directory_listing .rohi-fiche-nav ul li a:focus {
  background: rgba(26, 58, 92, 0.06);
  color: #1a3a5c;
}
main.page-directory_listing .rohi-fiche-nav ul li a.active {
  background: rgba(26, 58, 92, 0.1);
  border-color: rgba(26, 58, 92, 0.18);
  color: #1a3a5c;
}
main.page-directory_listing .detail_title_1 h1 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  margin: 0 0 8px;
  color: #1a3a5c;
}
main.page-directory_listing .detail_title_1 .address {
  display: inline-block;
  margin-bottom: 12px;
  color: #555;
  font-size: 0.95em;
}
main.page-directory_listing .rohi-fiche-section,
main.page-directory_listing .rohi-fiche-presentation,
main.page-directory_listing .rohi-site-accueil,
main.page-directory_listing .rohi-caracteristiques {
  scroll-margin-top: calc(var(--secondary-nav-top, 58px) + 56px);
}
main.page-directory_listing #description,
main.page-directory_listing #accueil,
main.page-directory_listing #demarches,
main.page-directory_listing #galerie,
main.page-directory_listing #localisation,
main.page-directory_listing #sidebar {
  scroll-margin-top: calc(var(--secondary-nav-top, 58px) + 56px);
}
main.page-directory_listing .rohi-fiche-section > h5,
main.page-directory_listing .rohi-fiche-presentation > h5,
main.page-directory_listing .rohi-torohi-services > h5,
main.page-directory_listing .rohi-site-accueil > h5,
main.page-directory_listing .rohi-caracteristiques > h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a3a5c;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}
main.page-directory_listing .rohi-fiche-map.map-full {
  height: 220px !important;
  min-height: 180px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
main.page-directory_listing #sidebar .box_detail {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  padding: 12px 14px;
}
/*
 * Colonne droite : un bloc sticky, cartes empilées en flux normal.
 * → chaque carte visible est toujours complète (pas de chevauchement / tremblement).
 */
main.page-directory_listing .rohi-fiche > .row {
  align-items: stretch;
}
main.page-directory_listing #sidebar {
  position: relative !important;
  align-self: stretch;
  height: auto !important;
  min-height: 100%;
}
main.page-directory_listing #sidebar .theiaStickySidebar {
  position: static !important;
  transform: none !important;
  width: auto !important;
  top: auto !important;
}
main.page-directory_listing #sidebar .rohi-sidebar-sticky-ph {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  pointer-events: none;
}
main.page-directory_listing #sidebar .rohi-sidebar-sticky {
  position: sticky;
  top: var(--rohi-sidebar-sticky-top, calc(var(--secondary-nav-top, 58px) + 88px + 28px));
  z-index: 5;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
/* Maintien sous la bande : même largeur que la colonne (padding exclu) */
main.page-directory_listing #sidebar .rohi-sidebar-sticky.rohi-sidebar-sticky--fixed {
  position: fixed;
  top: var(--rohi-sidebar-sticky-top, 195px);
  left: var(--rohi-sidebar-sticky-left, auto);
  width: var(--rohi-sidebar-sticky-width, auto);
  max-width: var(--rohi-sidebar-sticky-width, auto);
  box-sizing: border-box;
}
/* Footer au-dessus du pin sticky (textes plus masqués) */
main.page-directory_listing ~ div footer.plus_border,
body main.page-directory_listing ~ * footer.plus_border,
footer.plus_border {
  position: relative;
  z-index: 20;
}
/* Colonne empilée : pas de pin JS / sticky (évite le tremblement au scroll) */
@media (max-width: 991.98px) {
  main.page-directory_listing #sidebar .rohi-sidebar-sticky,
  main.page-directory_listing #sidebar .rohi-sidebar-sticky.rohi-sidebar-sticky--fixed {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
  }
  main.page-directory_listing #sidebar .rohi-sidebar-sticky-ph {
    display: none;
  }
}
main.page-directory_listing #sidebar .rohi-sidebar-sticky > * {
  position: relative;
  top: auto;
  background: #fff;
  margin-bottom: 10px;
  visibility: visible;
  opacity: 1;
}
main.page-directory_listing #sidebar .rohi-sidebar-sticky > *:last-child {
  margin-bottom: 0;
}
main.page-directory_listing #sidebar .rohi-mission-side {
  background: #fff;
}
main.page-directory_listing #sidebar .rohi-audience-side p {
  margin-bottom: 8px !important;
  font-size: 12px !important;
  line-height: 1.3;
}
main.page-directory_listing #sidebar .rohi-localisation-entity {
  margin: 0 0 8px;
  font-size: 0.92em;
  font-weight: 700;
  line-height: 1.35;
  color: #1a3a5c;
}
main.page-directory_listing #sidebar .rohi-localisation-address {
  margin: 0 0 12px;
  font-size: 0.95em;
  line-height: 1.4;
}
main.page-directory_listing #sidebar .rohi-localisation-address .address {
  color: #1a3a5c;
  font-weight: 600;
  text-decoration: none;
}
main.page-directory_listing #sidebar .rohi-localisation-address .address:hover {
  text-decoration: underline;
}
main.page-directory_listing #sidebar .rohi-mission-side > h5 {
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: none;
}
main.page-directory_listing #sidebar .rohi-mission-side p {
  font-size: 0.95em;
  line-height: 1.45;
  color: #333;
}
main.page-directory_listing #sidebar .rohi-localisation-side {
  background: #fff;
}
main.page-directory_listing #sidebar .rohi-localisation-side .rohi-location-extra {
  margin-bottom: 10px;
}
main.page-directory_listing #sidebar .rohi-localisation-side .rohi-fiche-map {
  height: 120px !important;
  min-height: 100px;
}
main.page-directory_listing #sidebar .rohi-localisation-side .rohi-location-extra table,
main.page-directory_listing #sidebar .rohi-localisation-side .list_posts {
  font-size: 12px;
  margin-bottom: 0;
}
main.page-directory_listing #sidebar .rohi-localisation-side h5 {
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: none;
}
main.page-directory_listing #sidebar .rohi-audience-side {
  margin-top: 0;
}
main.page-directory_listing hr {
  display: none;
}
@media (max-width: 767px) {
  main.page-directory_listing .rohi-fiche.margin_60_35 {
    padding-top: 18px;
  }
  main.page-directory_listing .rohi-fiche-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  main.page-directory_listing .rohi-fiche-nav ul li a {
    white-space: nowrap;
    padding: 7px 10px;
    font-size: 0.88em;
  }
  main.page-directory_listing .rohi-fiche-map.map-full {
    height: 220px !important;
  }
}

.wishlist-icon {
  position: relative;
  right: auto;
  top: auto;
  z-index: 1;
  background: transparent !important;
  padding: 0;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* ROHI: thumbs violet */
  color: #3d1259 !important;
  line-height: 1;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
}

.wishlist-icon i {
  font-size: 18px;
  line-height: 1;
}

.wishlist-icon.small i {
  font-size: 18px;
}

/* Footer des cartes: aligner "Ouvert/Fermé" + thumbs-up */
.strip ul li.rohi-open-like {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* Override thème: .strip ul li:first-child i { top:4px; font-size:20px; } */
.strip ul li.rohi-open-like .wishlist-icon i {
  top: 0 !important;
  font-size: 18px !important;
}

.wishlist-icon:hover,
.wishlist-icon:focus {
  background: transparent !important;
  color: #3d1259 !important;
  opacity: 0.85;
  text-decoration: none;
}

/* ROHI: logo SVG du département sur les photos (remplace l'ancien badge "type") */
.rohi-dept-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  left: auto;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  max-width: calc(100% - 28px);
}
.rohi-dept-badge .rohi-dept-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}
@media (max-width: 575px) {
  .rohi-dept-badge {
    right: 10px;
    top: 10px;
    left: auto;
    padding: 2px 5px;
  }
  .rohi-dept-badge .rohi-dept-logo {
    height: 32px;
    max-width: 220px;
  }
}

/* ROHI: afficher le(s) chemin(s) des structures (t_structure.path) sur la photo */
.rohi-structure-path-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1; /* sous .read_more (z-index:2) et sous le badge (z-index:10) */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  /* IMPORTANT:
     Sur les cartes (.strip), la photo (.img) est zoomée au survol via transform: scale(1.1).
     Comme l'overlay est dans .img, il est aussi zoomé et peut être coupé par overflow:hidden.
     On ajoute une "zone tampon" en bas pour que le texte reste visible au hover. */
  padding: 6px 10px 18px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.10) 60%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  font-size: 10px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
  pointer-events: none; /* ne pas bloquer le clic vers la fiche */
}
.rohi-structure-path-overlay .rohi-structure-path-line {
  display: inline-block;
  max-width: 100%;
  position: relative;
  padding: 3px 10px 3px 18px;
  border-radius: 999px;
  background: rgba(61, 18, 89, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  font-weight: 600;
  letter-spacing: 0.15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease, opacity 200ms ease;
  will-change: transform;
}
.rohi-structure-path-overlay .rohi-structure-path-line::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .rohi-structure-path-overlay .rohi-structure-path-line {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: rgba(61, 18, 89, 0.68);
  }
}
/* Stabiliser la lisibilité quand la photo (a.img) est zoomée au survol */
.strip figure:hover .img .rohi-structure-path-overlay .rohi-structure-path-line {
  transform: scale(0.91);
  transform-origin: left bottom;
}
main.page-listings #listings .listing-thumb:hover .img .rohi-structure-path-overlay .rohi-structure-path-line {
  transform: scale(0.91);
  transform-origin: left bottom;
}

/* ============================================================================================ */
/* ROHI: images "au hasard" (assets/frontend/images/fonds) en noir & blanc                      */
/* - Concerne uniquement les fallback cover/thumbnail (pas les images uploadées).              */
/* ============================================================================================ */
img[src*="assets/frontend/images/fonds/"],
img[src*="rohi_fallback=1"] {
  -webkit-filter: grayscale(1) blur(6px);
  filter: grayscale(1) blur(6px);
}

/* Cover (hero) : le bloc est vide -> on peut filtrer l'élément directement */
.hero_in.shop_detail[style*="assets/frontend/images/fonds/"],
.hero_in.shop_detail[style*="rohi_fallback=1"] {
  -webkit-filter: grayscale(1) blur(6px);
  filter: grayscale(1) blur(6px);
}

/* Thumbnails en background-image (listings) :
   on grise uniquement le fond via ::before, sans affecter les overlays (PATH, read_more, etc.). */
.strip figure a.img[style*="assets/frontend/images/fonds/"],
.strip figure a.img[style*="rohi_fallback=1"] {
  position: relative;
  z-index: 0; /* crée un stacking context pour ::before */
  overflow: hidden; /* évite les bords "coupés" avec blur() */
}
main.page-listings #listings .listing-thumb a.img[style*="assets/frontend/images/fonds/"],
main.page-listings #listings .listing-thumb a.img[style*="rohi_fallback=1"] {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.strip figure a.img[style*="assets/frontend/images/fonds/"]::before,
.strip figure a.img[style*="rohi_fallback=1"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center center;
  -webkit-filter: grayscale(1) blur(6px);
  filter: grayscale(1) blur(6px);
  transform: scale(1.15);
  transform-origin: center;
  z-index: -1;
  pointer-events: none;
}
main.page-listings #listings .listing-thumb a.img[style*="assets/frontend/images/fonds/"]::before,
main.page-listings #listings .listing-thumb a.img[style*="rohi_fallback=1"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center center;
  -webkit-filter: grayscale(1) blur(6px);
  filter: grayscale(1) blur(6px);
  transform: scale(1.15);
  transform-origin: center;
  z-index: -1;
  pointer-events: none;
}

/* Sur les vignettes "grid_item" (page d'accueil), placer le path en haut pour ne pas recouvrir le titre (.info) */
a.grid_item figure .rohi-structure-path-overlay {
  top: 0;
  bottom: auto;
  z-index: 8;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 60%, rgba(0, 0, 0, 0) 100%);
  /* Ici, pas de zoom via transform sur le conteneur : padding normal (moins haut) */
  padding: 8px 10px 10px 10px;
}

@media (max-width: 575px) {
  .rohi-structure-path-overlay {
    font-size: 9px;
    padding: 5px 8px 16px 8px;
  }
  .rohi-structure-path-overlay .rohi-structure-path-line {
    padding: 2px 8px 2px 16px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
  }
  .rohi-structure-path-overlay .rohi-structure-path-line::before {
    left: 7px;
    width: 4px;
    height: 4px;
  }
}

/* ROHI: bloc "PATH / Site / Porte" sous Localisation (page détail) */
main.page-directory_listing .rohi-location-extra {
  margin: 8px 0 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
main.page-directory_listing .rohi-location-extra__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0;
}
main.page-directory_listing .rohi-location-extra__label {
  flex: 0 0 auto;
  min-width: 56px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #3d1259;
}
main.page-directory_listing .rohi-location-extra__value {
  flex: 1 1 auto;
  font-size: 13px;
  color: #222;
}
main.page-directory_listing .rohi-location-extra__code {
  flex: 1 1 auto;
  font-size: 12px;
  font-weight: 700;
  color: #3d1259;
  background: rgba(61, 18, 89, 0.08);
  border: 1px solid rgba(61, 18, 89, 0.14);
  border-radius: 999px;
  padding: 3px 10px;
  overflow-wrap: anywhere; /* permet de couper un long path */
}
@media (max-width: 575px) {
  main.page-directory_listing .rohi-location-extra {
    padding: 9px 10px;
  }
  main.page-directory_listing .rohi-location-extra__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  main.page-directory_listing .rohi-location-extra__label {
    min-width: 0;
  }
  main.page-directory_listing .rohi-location-extra__code {
    border-radius: 10px;
    width: 100%;
  }
}

/* ROHI: photo profil du "Premier responsable" (avatar rond avant le nom) */
.rohi-responsable-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rohi-responsable-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rohi-responsable-name {
  font-weight: 700;
  line-height: 1.15;
}
.rohi-responsable-poste small,
.rohi-responsable-phone small {
  display: block;
  line-height: 1.15;
  color: rgba(0, 0, 0, 0.68);
}
.rohi-responsable-avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  flex: 0 0 auto;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  will-change: transform;
}
.rohi-responsable-avatar:hover,
.rohi-responsable-name-line:hover .rohi-responsable-avatar {
  transform: translateY(-1px) scale(1.05);
  border-color: rgba(61, 18, 89, 0.35);
  box-shadow: 0 6px 14px rgba(61, 18, 89, 0.22);
}
@media (prefers-reduced-motion: reduce) {
  .rohi-responsable-avatar {
    transition: none;
  }
  .rohi-responsable-avatar:hover,
  .rohi-responsable-name-line:hover .rohi-responsable-avatar {
    transform: none;
  }
}

/* ROHI: cartes de visite (face/dos) – en dehors, au fond à droite */
main.page-directory_listing .rohi-entity-intro__right {
  position: fixed;
  right: 1.5rem;
  bottom: calc(1.5rem + 46px + 16px + 46px + 16px); /* au-dessus Annuaire + #toTop */
  width: auto;
  max-width: calc(100vw - 3rem);
  z-index: 9996; /* sous #toTop(9997) et #rohi-qw-fab(9998) */
  pointer-events: none; /* ne pas bloquer les clics du contenu */
  opacity: 0.98;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 991px) {
  main.page-directory_listing .rohi-entity-intro__right {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 16px auto 0;
    pointer-events: auto;
  }
}

/* Widget: miniature + actions (voir / imprimer / pdf) */
main.page-directory_listing .rohi-entity-intro__right .rohi-bizcard-widget {
  width: 260px; /* miniature par défaut */
  max-width: calc(100vw - 3rem);
  pointer-events: auto; /* réactive l'interaction malgré le parent en pointer-events:none */
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: width 180ms ease;
}
main.page-directory_listing .rohi-entity-intro__right .rohi-bizcard-widget.is-expanded {
  width: 360px;
}
@media (max-width: 991px) {
  main.page-directory_listing .rohi-entity-intro__right .rohi-bizcard-widget {
    width: 260px; /* miniature aussi sur mobile */
    max-width: 100%;
    margin: 0 auto;
  }
  main.page-directory_listing .rohi-entity-intro__right .rohi-bizcard-widget.is-expanded {
    width: 100%;
    max-width: 420px;
  }
}

main.page-directory_listing .rohi-bizcard-widget__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
}
main.page-directory_listing .rohi-bizcard-widget__view {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.15;
  color: #3d1259;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
  white-space: nowrap; /* ne pas passer à la ligne */
  overflow: hidden;
  text-overflow: ellipsis;
}
main.page-directory_listing .rohi-bizcard-widget__view:focus {
  outline: none;
}
main.page-directory_listing .rohi-bizcard-widget__actions-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* En mode "mini", on cache la barre d’actions :
   l’ouverture/fermeture se fait via le bouton externe "Voir carte de visite". */
main.page-directory_listing .rohi-entity-intro__right .rohi-bizcard-widget.is-mini .rohi-bizcard-widget__actions {
  display: none;
}

/* Par défaut (mini) : n'afficher que les actions (lien + icônes) */
main.page-directory_listing .rohi-entity-intro__right .rohi-bizcard-widget.is-mini .rohi-bizcards {
  display: none;
}
main.page-directory_listing .rohi-entity-intro__right .rohi-bizcard-widget.is-expanded .rohi-bizcards {
  display: flex;
}
main.page-directory_listing .rohi-bizcard-widget__icon {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1b1b1b;
  transition: background-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
main.page-directory_listing .rohi-bizcard-widget__icon:hover {
  background: rgba(61, 18, 89, 0.06);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}
main.page-directory_listing .rohi-bizcard-widget__icon:focus {
  outline: none;
}
main.page-directory_listing .rohi-bizcard-widget__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

main.page-directory_listing .rohi-bizcards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Police "carte de visite" proche du modèle (condensed) */
main.page-directory_listing .rohi-bizcard__overlay {
  font-family: 'Roboto Condensed', 'Oswald', 'Arial Narrow', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-stretch: condensed;
  letter-spacing: 0.02em;
}
main.page-directory_listing .rohi-bizcard {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}
main.page-directory_listing .rohi-bizcard__bg {
  display: block;
  width: 100%;
  height: auto;
}
main.page-directory_listing .rohi-bizcard__overlay {
  position: absolute;
  inset: 0;
}

/* DOS (logo + nom entité + QR) -> carte_face.png */
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__logo {
  position: absolute;
  left: 68%;
  top: 38%;
  transform: translate(-50%, -50%);
  width: 22%;
  height: 22%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__entity-name {
  position: absolute;
  left: 32%;
  top: 26%;
  transform: translate(-50%, 0);
  width: 44%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__responsable-name--dos {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.05;
}
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__poste {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
}
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__entity-path {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 300;
  line-height: 1.05;
  opacity: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: normal; /* autoriser retour à la ligne */
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* limite à 2 lignes pour rester dans la carte */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__qr {
  position: absolute;
  /* Aligné avec le bloc texte (nom/prénoms + poste + path) */
  left: 10%;
  right: auto;
  top: auto;
  bottom: 6%;
  width: 12%;
  min-width: 44px;
  max-width: 64px;
  aspect-ratio: 1 / 1;
  background: #ffffff; /* nouveau template: fond sombre => rendre le QR lisible */
  border-radius: 0;
  padding: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
}
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__qr img,
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__qr canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
}
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__qr table {
  width: 100% !important;
  height: 100% !important;
  border-collapse: collapse !important;
}
main.page-directory_listing .rohi-bizcard--dos .rohi-bizcard__qr td {
  padding: 0 !important;
}

/* FACE (nom 1er responsable + coordonnées) -> carte_dos.png */
main.page-directory_listing .rohi-bizcard--face .rohi-bizcard__responsable-name {
  position: absolute;
  left: 10%; /* aligné avec le début de la ligne */
  top: 12%;
  right: 45%;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
main.page-directory_listing .rohi-bizcard--face .rohi-bizcard__responsable-nom {
  display: block;
  margin-left: 0;
}
main.page-directory_listing .rohi-bizcard--face .rohi-bizcard__responsable-prenom {
  display: block; /* Prénom à la ligne */
  margin-top: 2px;
  font-size: 13px;  /* plus petit */
  font-weight: 300; /* plus fin */
  white-space: nowrap; /* une seule ligne */
  overflow: hidden;
  text-overflow: ellipsis;
}
main.page-directory_listing .rohi-bizcard--face .rohi-bizcard__contacts {
  position: absolute;
  left: 12%;
  top: 42%;
  right: 45%;
  bottom: 16%;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 8px 0; /* interligne entre les 4 lignes */
  align-items: center;
}
main.page-directory_listing .rohi-bizcard--face .rohi-bizcard__contact {
  font-size: 8px;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
/* Site + mail légèrement plus petits */
main.page-directory_listing .rohi-bizcard--face .rohi-bizcard__contact--email,
main.page-directory_listing .rohi-bizcard--face .rohi-bizcard__contact--web {
  font-size: 8px;
  font-weight: 300;
  line-height: 1.1;
}
main.page-directory_listing .rohi-bizcard--face .rohi-bizcard__contact--web {
  font-size: 8px;
  line-height: 1.05;
}
main.page-directory_listing .rohi-bizcard--face .rohi-bizcard__contact--address {
  white-space: nowrap; /* 1 ligne pour aligner avec l'icône */
}

.featured-tag-grid {
  position: absolute;
  right: 15px;
  top: 165px;
  z-index: 1;
  color: #fff;
  background-color: #ffc108;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12px;
  display: inline-block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
.home_readio_btn{
  display: flex;
}

.featured-tag-grid:hover{
  color: #fff !important;
}

.featured-tag-list {
  margin-top: 128px;
  text-transform: uppercase;
}
.featured-tag-border{
  border: 1px solid #ffc108;
}
@media (max-width: 990px) {
  .featured-tag-list{
    margin-top: 108px;
    background-color: #ffc108!important;
    text-transform: uppercase;
  }
  
}

@media (min-width: 991px) {
  .featured-tag-list{
    margin-top: 134px;
    background-color: #ffc108!important;
    text-transform: uppercase;
  }
  
}

.featured-body{
  background-color: #feffed;
}

.featured-footer{
  background-color: #fffad5;
}

.wishlist-icon:hover {
  background: transparent !important;
  color: #3d1259 !important;
  opacity: 0.85;
}
.wishlist-icon:focus {
  color: #3d1259 !important;
}

/* Accueil (home2) : icône like (thumbs) en violet */
main.page-home2 .strip a.wish_bt {
  color: #3d1259 !important;
}

.main-menu ul ul:before {
  left: 61%;
}

@media only screen and (min-width: 992px){
  .main-menu ul li:hover > ul {
    margin-left: -90px;
  }
}

.stiky-map .map-full{
  height: calc(100vh - 128px);
}
.stiky-map{
  position: sticky;
  top:118px;
}

.stiky-map-list .map-full{
  height: calc(100vh - 60px);
}

.stiky-map-list{
  position: sticky;
  top:60px;
}

@media only screen and (max-width: 991px){
  .stiky-map .map-full{
    height: 40vh;
  }
}

.map-layout {
  border:15px solid #fff;
  background-color:#fff;
}

.single-listing-map {
  height: 500px;
}

.social-links ul li a i {
  color: #555;
  opacity: 0.6;
}

.social-links ul li {
  display: inline-block;
  margin-right: 5px;
  font-size: 20px;
  font-size: 1.25rem;
}

.category-title {
  border-radius: 5px; background-color: rgb(63,66,119); padding: 20px; text-align: center; color: #fff; font-size: 20px; font-weight: bold;
}
.sub-category-link .sub-category {
  border-radius: 2px; padding: 10px; margin: 4px 0px; text-align: left; color: #676767; background-color: #fff; width: 100%; transition: all .4s ease-in-out;
}
.sub-category-link .sub-category .sub-category-number{
  /* background-color: #e4e4e4; padding: 1px 5px; border-radius: 2px; margin-right: 10px; color: #fff; */
  background-color: #fff;
  color: #676767;
  font-size: 14px;
  font-size: .875rem;
  line-height: 1;
  padding: 6px;
  display: inline-block;
  margin-right: 10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}
.sub-category-link .sub-category .sub-category-title{
  margin-right: 5px;
}
.sub-category-link .sub-category .sub-category-arrow{
  float: right;
}

.sub-category-link .sub-category:hover{
  background-color: #e74e84;
  /* -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05); */
  color: #fff;
}

/* Popover styles */

.leaflet-popup-content {
  margin-top: 0px;;
}

.leaflet-popup-content-wrapper {
  width: 280px;
}
.leaflet-popup-content p{
  margin: 4px 0;
}

.leaflet-container a.leaflet-popup-close-button {
    position: absolute;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    text-align: center;
    top: 15px;
    right: 15px;
    color: #fff;
    border-radius: 100%;
    z-index: 20;
    box-shadow: 0px 0px 0px 3px rgba(255,255,255,0.4);
    cursor: pointer;
    background-color: #ffffff;
    color: #333;
}

.leaflet-popup-content {
    margin: 0;
    width: 100% !important;
}
.leaflet-popup-content img{
    height: 160px;
    transition: all .4s ease-in-out;
}
.leaflet-popup-content img:hover{
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 7px;
    overflow: hidden;
}
.leaflet-popup-content p i {
    position: absolute;
    left: 0;
    top: 3px;
}

.leaflet-popup-content p {
    padding-left: 22px;
    position: relative;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    box-shadow: 0 1px 4px rgba(0,0,0 ,0.3);
}

/* ROHI: contour bâtiment (OSM / Overpass) */
.leaflet-container .rohi-building-outline {
  cursor: pointer;
  transition: fill-opacity 160ms ease, stroke 160ms ease, stroke-width 160ms ease, opacity 160ms ease;
  /* léger "glow" pour la surbrillance par défaut */
  filter: drop-shadow(0 0 6px rgba(74, 20, 140, 0.35));
}
.leaflet-container .rohi-building-outline:hover {
  filter: drop-shadow(0 0 10px rgba(74, 20, 140, 0.55));
}

/* ROHI: animation "loading" avant le contour bâtiment */
.leaflet-container .rohi-building-loading {
  filter: drop-shadow(0 0 10px rgba(74, 20, 140, 0.40));
  animation: rohi-building-pulse 1.1s ease-in-out infinite;
}
@keyframes rohi-building-pulse {
  0%   { opacity: 0.35; stroke-width: 6; fill-opacity: 0.10; }
  50%  { opacity: 0.95; stroke-width: 12; fill-opacity: 0.25; }
  100% { opacity: 0.35; stroke-width: 6; fill-opacity: 0.10; }
}
.strip .img {
    background-size: cover;
    background-position: center center;
}

.strip figure:hover .img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
.focus-a-listing{
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #3544f9;
    border-color: #727cf5;
    border-radius: 50%;
}
.pagination-rounded .page-link {
    border-radius: 30px!important;
    margin: 0 3px;
    border: none;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #313a46;
    background-color: #fff;
    border: 1px solid #dee2e6;;
}

/* Customizing Radio Button */
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #004dda;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.hidden {
  display: none;
}

.box_detail .price > span {
  font-size: 20px;
  font-weight: 600;
}

@media (min-width: 1px) and (max-width: 990px) {
  #categorySideMap{
    height: 400px;
  }
  
}
@media (min-width: 1px) and (max-width: 990px) {
  #map{
    height: 400px;
  }
  
}
@media (min-width: 991px) {
  .custom-mt-7{
    margin-top: 58px;
  }
  
}

.social-button{
  width: 210px !important;
  float: left !important;
  margin-right: 5px;
  text-align: left !important;
}
/*
.map-direction-image{
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-animation: zoomin .2s ease-in infinite;
  animation: zoomin .2s ease-in infinite;
  transition: all .2s ease-in-out;
  overflow: hidden;
}

.map-direction-image:hover{
  transform: scale(1.05);

  position: relative;
  background-size: cover !important;
  background-position: top !important;
  height: 150px !important;
  background-repeat: no-repeat;
}*/


/*Time picker custom css on beauty listing type appointment form*/
.gj-timepicker-bootstrap [role=right-icon] button .gj-icon, .gj-timepicker-bootstrap [role=right-icon] button .material-icons {
    position: absolute;
    font-size: 21px;
    top: 0px;
    left: 6px;
}
.input-group-append .btn-outline-secondary:hover {
  background-color: #fff;
  border-left: 1px solid #dee2e6;
}
.input-group-append .btn-outline-secondary {
  border: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6
}
.input-group-append {
  border-left: 1px solid grey;
}
.claimed_icon{
  font-size: 30px;
  color: #32a067;
  cursor: pointer;
}
.claimed_icon_sm{
  font-size: 20px;
  color: #32a067;
  cursor: pointer;
}
.tooltip div{
  /*background-color: #66BB6A;*/
  /*font-size: 18px;*/
  font-weight:500;
}
.blog_text img {
  width: 100% !important;
}
.text-10{
  font-size: 10px;
}
.text-11{
  font-size: 11px;
}
.text-12{
  font-size: 12px;
}
.text-13{
  font-size: 13px;
}
.text-14{
  font-size: 14px;
}
.text-15{
  font-size: 15px;
}

/* Language Selector Styles */
ul#top_menu li.language-selector-item {
  position: relative;
  /* Ne pas "tricher" en décalant le <li> : ça varie selon connecté/déconnecté.
     On aligne le contenu (toggle) comme l’icône login du thème. */
  top: 0;
  margin-right: 15px;
}

@media (max-width: 991px) {
  ul#top_menu li.language-selector-item {
    top: 0;
  }
}

/* Aligner le toggle (dropdown custom) sur la même ligne que les icônes du thème */
ul#top_menu li.language-selector-item .custom-language-dropdown .dropdown-toggle {
  position: relative;
  top: 8px;
  display: inline-flex;
  align-items: center;
  height: 23px;
  line-height: 23px;
}
@media (max-width: 991px) {
  ul#top_menu li.language-selector-item .custom-language-dropdown .dropdown-toggle {
    top: 2px;
  }
}

/* Plan B : masquer le sélecteur header et utiliser une icône fixe bas-droite */
ul#top_menu li.language-selector-item.rohi-lang-hidden {
  display: none !important;
}

/* --- Langue en haut (drapeau seul) : à droite, aligné au logo --- */
@media (min-width: 992px) {
  #logo.rohi-logo-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
  }
  #logo.rohi-logo-wrap > a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }
  #logo.rohi-logo-wrap .rohi-lang-top-slot {
    margin-left: auto;
    display: flex;
    align-items: center;
  }
}
@media (max-width: 991px) {
  /* Sur mobile, #logo est centré par le thème : on place le drapeau à droite sans casser le centrage */
  #logo.rohi-logo-wrap {
    position: relative;
  }
  #logo.rohi-logo-wrap .rohi-lang-top-slot {
    position: absolute;
    right: 52px; /* éviter chevauchement hamburger */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
  }
}

.rohi-lang-top {
  position: relative;
  z-index: 10001;
}
.rohi-lang-top-btn {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 16px;
}
.rohi-lang-top-flag svg {
  width: 18px;
  height: 13px;
  display: block;
}
.rohi-lang-top-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 170px;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  display: none;
}
.rohi-lang-top.open .rohi-lang-top-menu {
  display: block;
}
.rohi-lang-top-item {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #2b2f33;
  font-weight: 600;
  font-size: 13px;
}
.rohi-lang-top-item:hover,
.rohi-lang-top-item:focus {
  background: #f4f6fa;
  outline: none;
}
.rohi-lang-top-item-flag svg {
  width: 18px;
  height: 13px;
  display: block;
}
.rohi-lang-top-item-text {
  white-space: nowrap;
}

/* Bouton flottant "langue" (au-dessus du FAB Annuaire) */
.rohi-lang-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 5.25rem; /* laisse la place au #rohi-qw-fab */
  z-index: 9999;
}
.rohi-lang-fab-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: #004dda;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.rohi-lang-fab-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 77, 218, 0.25), 0 10px 28px rgba(0, 0, 0, 0.18);
}
.rohi-lang-fab-btn i {
  font-size: 20px;
  line-height: 1;
}

/* Badge drapeau (langue courante) */
.rohi-lang-fab-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 12px;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: none;
}
.rohi-lang-fab-badge svg {
  width: 16px;
  height: 12px;
  display: block;
}
.rohi-lang-fab-menu {
  position: absolute;
  right: 0;
  bottom: 54px;
  min-width: 190px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  display: none;
}
.rohi-lang-fab.open .rohi-lang-fab-menu {
  display: block;
}
.rohi-lang-fab-item {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #333;
  text-align: left;
}
.rohi-lang-fab-item:hover,
.rohi-lang-fab-item:focus {
  background: #f4f6fa;
  outline: none;
}
.rohi-lang-fab-item.is-active {
  background: #e8f0ff;
}
.rohi-lang-flag svg {
  width: 14px;
  height: 10px;
  display: block;
}
.rohi-lang-label {
  font-weight: 600;
  font-size: 13px;
}

/* Bouton "retour en haut" (#toTop) : éviter qu'il soit caché par nos FABs (langue/annuaire) */
#toTop {
  right: 1.5rem !important;
  bottom: calc(1.5rem + 46px + 16px) !important; /* au-dessus du bouton Annuaire */
  z-index: 9997 !important;
}
/* Le thème le cache sur mobile : on le réactive */
@media (max-width: 767px) {
  #toTop {
    display: block !important;
  }
}

.header,
.header_in {
  overflow: visible !important;
}

.language-selector-item,
.language-select-wrapper,
.custom-language-dropdown,
.custom-language-dropdown .dropdown-menu {
  position: relative;
  z-index: 999999 !important;
}

.custom-language-dropdown .dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
}

.language-select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0 20px 0 5px;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  padding-right: 25px;
  min-width: 100px;
}

.sticky .language-select,
header.header_in .language-select {
  color: #444;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23444' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.language-select:hover {
  opacity: 0.7;
}

.language-select option {
  background: #fff;
  color: #444;
  padding: 5px;
}

/* Style pour afficher le drapeau dans le sélecteur */
.language-select-wrapper {
  position: relative;
  display: inline-block;
}

.language-select-wrapper::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 15px;
  pointer-events: none;
  z-index: 1;
}


/* text-container : même couleur de police que le menu #top_menu */
.custom-language-dropdown .dropdown-toggle .text-container {
  color: #fff !important;
  margin-left: 8px;
}
.sticky .custom-language-dropdown .dropdown-toggle .text-container,
header.header_in .custom-language-dropdown .dropdown-toggle .text-container {
  color: #444 !important;
}

/* NOTE:
   Ne pas forcer #top_menu en flex ici.
   Le thème gère déjà les offsets (top: 8px) pour aligner les éléments.
   Les décalages doivent être gérés via CSS existant (language-selector-item) et sans "top" en JS. */

/* Sticky secondary nav under header */
.secondary_nav.sticky_horizontal_2 {
  position: sticky;
  top: var(--secondary-nav-top, 58px);
  z-index: 999;
}

/* Afficher tous les onglets (ex: Audience) sur desktop */
.secondary_nav ul li:last-child {
  display: inline-block;
}

/* Bouton Administrer en surbrillance pour les comptes responsables (admin_login) */
#menu .btn-administrer,
.main-menu .btn-administrer {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%) !important;
  color: #fff !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 4px rgba(21, 101, 192, 0.35);
}
#menu .li-btn-administrer a.btn-administrer:hover,
.main-menu .li-btn-administrer a.btn-administrer:hover {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%) !important;
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(21, 101, 192, 0.45);
}

/* Inversion demandée:
   - menu clair (sticky + pages internes) => bouton "Administrer" DARK
   - menu sombre (home non-sticky)       => bouton "Administrer" CLAIR */

/* Menu sombre (header home non-sticky) : bouton clair (fond blanc, texte bleu) */
header.header:not(.sticky) #menu .li-btn-administrer a.btn-administrer,
header.header:not(.sticky) .main-menu .li-btn-administrer a.btn-administrer {
  background: #fff !important;
  color: #1565c0 !important;
  border: 1px solid rgba(21, 101, 192, 0.55) !important;
  box-shadow: none !important;
}
header.header:not(.sticky) #menu .li-btn-administrer a.btn-administrer:hover,
header.header:not(.sticky) .main-menu .li-btn-administrer a.btn-administrer:hover {
  background: #e3f2fd !important;
  color: #0d47a1 !important;
  border-color: rgba(13, 71, 161, 0.65) !important;
  box-shadow: none !important;
}

/* Menu clair (sticky + pages internes) : bouton dark (gradient + texte blanc) */
.sticky #menu .li-btn-administrer a.btn-administrer,
.sticky .main-menu .li-btn-administrer a.btn-administrer,
header.header_in #menu .li-btn-administrer a.btn-administrer,
header.header_in .main-menu .li-btn-administrer a.btn-administrer {
  background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 2px 4px rgba(21, 101, 192, 0.35);
}
.sticky #menu .li-btn-administrer a.btn-administrer:hover,
.sticky .main-menu .li-btn-administrer a.btn-administrer:hover,
header.header_in #menu .li-btn-administrer a.btn-administrer:hover,
header.header_in .main-menu .li-btn-administrer a.btn-administrer:hover {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 3px 8px rgba(21, 101, 192, 0.45);
}

/* Accueil : réduire la typo du bloc "Comment ça fonctionne" (call_section) */
main.page-home .call_section .main_title_2 h2,
main.page-home2 .call_section .main_title_2 h2 {
  font-size: 24px;
  font-size: 1.5rem;
}
main.page-home .call_section .main_title_2 p,
main.page-home2 .call_section .main_title_2 p {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.5;
}

/* Accueil : réduire la typo "Entités les plus consultées" */
main.page-home .rohi-home-popular-title h2,
main.page-home2 .rohi-home-popular-title h2 {
  font-size: 22px;
  font-size: 1.375rem;
}
main.page-home .rohi-home-popular-title p,
main.page-home2 .rohi-home-popular-title p {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  main.page-home .rohi-home-popular-title h2,
  main.page-home2 .rohi-home-popular-title h2 {
    font-size: 18px;
    font-size: 1.125rem;
  }
  main.page-home .rohi-home-popular-title p,
  main.page-home2 .rohi-home-popular-title p {
    font-size: 14px;
    font-size: 0.875rem;
  }
}

/* "Utiliser votre position" et "Position enregistrée. Rechargez ou relancez la recherche." : couleurs plus claires */
.search-form-with-position .btn.use-my-position,
.search-form-with-position button.use-my-position,
.search-form-with-position a.use-my-position {
  color: #fff !important;
}
.search-form-with-position .btn.use-my-position:hover,
.search-form-with-position button.use-my-position:hover,
.search-form-with-position a.use-my-position:hover {
  color: rgba(255, 255, 255, 0.92) !important;
}
.search-form-with-position .position-status {
  color: #fff !important;
}
.search-form-with-position .position-status:empty {
  display: none;
}

/* rohi-qw-fab : présent sur toutes les pages ROHI (Annuaire) */
#rohi-qw-fab,
.rohi-qw-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
#rohi-qw-fab:hover,
.rohi-qw-fab:hover {
  opacity: 1;
}
#rohi-qw-fab:not(:empty),
.rohi-qw-fab:not(:empty) {
  pointer-events: auto;
}

/* Itinéraire Google Maps : icône à côté de "Afficher sur la carte" */
.rohi-map-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.rohi-map-actions-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 auto;
}
.rohi-map-actions a.address {
  font-size: 12px;
}
.rohi-map-actions a.address:before {
  font-size: 12px;
}
.rohi-map-actions-right {
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}
.rohi-gmaps-dir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  padding: 2px 6px;
  color: #999;
  line-height: 1;
  text-decoration: none;
}
.rohi-gmaps-dir:hover,
.rohi-gmaps-dir:focus {
  color: #004dda;
  text-decoration: none;
}
.rohi-gmaps-dir .rohi-gmaps-dir-icon {
  width: 26px;
  height: 26px;
  display: block;
}
/* compat si une page utilise encore FontAwesome */
.rohi-gmaps-dir i {
  font-size: 22px;
}

/* Quand l'icône est affichée après le "thumb" (wishlist), l'aligner visuellement */
.strip ul li.rohi-open-like .rohi-gmaps-dir--after-thumb {
  padding: 0 4px;
  color: #3d1259 !important;
}
.strip ul li.rohi-open-like .rohi-gmaps-dir--after-thumb:hover,
.strip ul li.rohi-open-like .rohi-gmaps-dir--after-thumb:focus {
  opacity: 0.85;
  color: #3d1259 !important;
}
.strip ul li.rohi-open-like .rohi-gmaps-dir--after-thumb .rohi-gmaps-dir-icon {
  width: 22px;
  height: 22px;
}

/* --- Page d'accueil : listes déroulantes Where / all_categories --- */
.custom-search-input-2 {
  /* évite que des éléments voisins “passent au-dessus” des selects */
  position: relative;
  z-index: 10;
}

/* Recherche (inputs) : réduire la taille de police */
.custom-search-input-2 input.form-control {
  font-size: 13px !important;
}

/* Accueil:
   On ne force plus le <select> natif.
   Si niceSelect est chargé, le plugin masque le <select> et affiche `.nice-select` (préféré).
   En cas d'ancien JS en cache qui ajouterait encore `.native-select-fallback`, on masque le natif. */
#main-search-form-home select.native-select-fallback,
#main-search-form-home2 select.native-select-fallback {
  display: none !important;
}

/* Visibilité renforcée du <select> natif sur mobile/tablette (si JS/niceSelect ne charge pas).
   Le thème rend `.custom-search-input-2` transparent < 992px ; avec un select natif
   sans bordure + fond transparent, on a l'impression que "Où" / "Toutes les structures"
   a disparu. */
@media (max-width: 991px) {
  #main-search-form-home .custom-search-input-2 select,
  #main-search-form-home2 .custom-search-input-2 select {
    background-color: #fff !important;
    border: 1px solid #d2d8dd !important;
    border-radius: 3px;
    padding-left: 15px;
    color: #444 !important;
  }
}
.custom-search-input-2 .form-group {
  /* nécessaire car l’icône est en position absolute */
  position: relative;
}
.custom-search-input-2 i {
  /* icône décorative : ne doit pas bloquer le clic sur les selects */
  pointer-events: none;
}

/* IMPORTANT:
   Le thème a 2 variantes :
   - `.custom-search-input-2` (home/home2) -> hauteur 50px
   - `.custom-search-input-2.inner` (listings) -> hauteur 40px
   On scope donc nos règles 50px pour ne pas casser la variante `.inner`. */
.custom-search-input-2:not(.inner):not(.inner-2) .nice-select,
.custom-search-input-2:not(.inner):not(.inner-2) .nice-select.wide {
  display: block !important;
  min-height: 50px;
  visibility: visible !important;
  opacity: 1 !important;
}
.custom-search-input-2:not(.inner):not(.inner-2) .nice-select .current {
  display: block !important;
  min-height: 1.5em;
}
.custom-search-input-2:not(.inner):not(.inner-2) .nice-select .list {
  /* IMPORTANT: ne pas afficher la liste en permanence */
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.custom-search-input-2:not(.inner):not(.inner-2) .nice-select.open .list {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 10000;
}
/* Si nice-select n'a pas été appliqué, le select natif reste visible */
.custom-search-input-2:not(.inner):not(.inner-2) select.wide.native-select-fallback,
.custom-search-input-2:not(.inner):not(.inner-2) select.native-select-fallback {
  display: block !important;
  min-height: 50px;
  width: 100%;
  padding: 12px 40px 12px 15px;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Variante listings : aligner la hauteur des selects sur le bouton Search (40px dans le thème) */
.custom-search-input-2.inner .nice-select,
.custom-search-input-2.inner .nice-select.wide {
  height: 40px !important;
  min-height: 40px !important;
  line-height: 38px !important;
}
.custom-search-input-2.inner .nice-select .current {
  line-height: 38px !important;
}

/* Fallback natif (niceSelect non appliqué / masqué) sur la variante "listings" (.inner) */
.custom-search-input-2.inner select.wide.native-select-fallback:not([multiple]),
.custom-search-input-2.inner select.native-select-fallback:not([multiple]) {
  display: block !important;
  width: 100%;
  height: 40px;
  min-height: 40px;
  padding: 0 44px 0 15px; /* espace pour le chevron à droite */
  border: 0;
  border-right: 1px solid #d2d8dd;
  background-color: transparent;
  color: #6f787f;
  font-weight: 500;
  outline: none;
  box-shadow: none;

  /* Uniformiser l'apparence (imiter le chevron de .nice-select:after) */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #999 50%),
    linear-gradient(135deg, #999 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* ============================================================================================ */
/* Page Entités : filtres et cartes plus institutionnels */
main.page-listings #filters_col .filter_type > h6 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 8px;
}
main.page-listings #filters_col .amenity-actions {
  margin-top: 8px;
}
main.page-listings #listings .strip ul {
  min-height: 0;
}
main.page-listings #listings .strip ul li.rohi-open-like {
  padding-top: 6px;
  padding-bottom: 6px;
}
main.page-listings .filters_listing.version_2 {
  border-bottom: 1px solid rgba(26, 58, 92, 0.1);
}

/* Page filter_listings : SERP Google — tailles alignées sur google.com */
/* favicon 26px · site 14px · url 12px · titre 20px · snippet 14px / 2 lignes */
/* ============================================================================================ */
main.page-listings .rohi-listings-count {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #70757a;
  font-family: Arial, sans-serif;
}
main.page-listings #listings {
  max-width: 652px;
}
main.page-listings #listings a.rohi-result-card {
  display: block;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0 0 26px;
  text-decoration: none;
  color: inherit;
  font-family: Arial, sans-serif;
}
main.page-listings #listings a.rohi-result-card:hover,
main.page-listings #listings a.rohi-result-card:focus {
  border: none;
  text-decoration: none;
  color: inherit;
}
main.page-listings #listings .rohi-result-card__cite {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 2px;
  min-width: 0;
}
main.page-listings #listings .rohi-result-card__favicon {
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f3f4;
}
main.page-listings #listings .rohi-result-card__favicon--fallback {
  display: flex;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #e8eaed;
  color: #5f6368;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}
main.page-listings #listings .rohi-result-card__cite-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 0;
}
main.page-listings #listings .rohi-result-card__sitename {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #202124;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main.page-listings #listings .rohi-result-card__url {
  display: block;
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  color: #4d5156;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
main.page-listings #listings .rohi-result-card__crumb {
  color: #4d5156;
}
main.page-listings #listings .rohi-result-card__sep {
  color: #70757a;
}
main.page-listings #listings .rohi-result-card__title {
  display: block;
  font-size: 20px;
  line-height: 26px;
  font-weight: 400;
  color: #1a0dab;
  margin: 0;
  padding: 0;
  white-space: normal;
}
main.page-listings #listings a.rohi-result-card:hover .rohi-result-card__title,
main.page-listings #listings a.rohi-result-card:focus .rohi-result-card__title {
  text-decoration: underline;
}
main.page-listings #listings a.rohi-result-card:visited .rohi-result-card__title {
  color: #681da8;
}
/* Mission : toujours sous le titre, max 2 lignes */
main.page-listings #listings .rohi-result-card__snippet {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: #4d5156;
  max-height: 44px;
}
@media (max-width: 600px) {
  main.page-listings #listings .rohi-result-card__title {
    font-size: 18px;
    line-height: 24px;
  }
}
main.page-listings #listings .row {
  display: block;
}
main.page-listings #listings .listing-div {
  display: block;
  width: 100%;
  max-width: 652px;
  margin: 0;
  padding: 0;
  flex: none;
}
main.page-listings #listings .strip.map_view,
main.page-listings #listings .strip.grid {
  background: transparent;
}
main.page-listings #listings .rohi-listing-meta {
  display: block;
  color: #5a6a7a;
  font-size: 0.88em;
  line-height: 1.35;
  margin-bottom: 8px;
}
main.page-listings #listings .rohi-listing-structures {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
main.page-listings #listings .rohi-listing-structure-chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f3f5f8;
  color: #1a3a5c;
  font-size: 12px;
  line-height: 1.35;
}
/* Desktop : bouton loupe (thème). Mobile : libellé FR visible. */
@media (min-width: 992px) {
  main.page-listings #main-search-form-listings input[type='submit'] {
    font-size: 0;
    color: transparent;
    text-indent: -9999px;
  }
}
@media (max-width: 991.98px) {
  main.page-listings #main-search-form-listings input[type='submit'] {
    font-size: 14px !important;
    color: #fff !important;
    text-indent: 0 !important;
    background-color: #4b1d6a !important;
    border: 0;
  }
}
@media (max-width: 767px) {
  main.page-listings #listings .strip.map_view figure {
    border-radius: 12px 12px 0 0;
  }
  main.page-listings #listings .strip.map_view .strip-body-list {
    border-radius: 0 0 12px 12px;
  }
}

/* Filtre à gauche (sidebar) */
main.page-listings #sidebar,
main.page-listings #sidebar #filters_col {
  border-radius: 12px;
  overflow: hidden;
}
main.page-listings #sidebar #filters_col .collapse {
  border-radius: 0 0 12px 12px;
}
main.page-listings #sidebar #filters_col > a#filters_col_bt {
  border-radius: 12px 12px 0 0;
}

/* Carte à droite */
main.page-listings .stiky-map {
  border-radius: 12px;
  overflow: hidden;
}
main.page-listings .stiky-map #map {
  border-radius: 12px;
}
/* Fiches démarches publiques (style lisible type Ivotoro) */
.rohi-torohi-services {
  margin: 14px 0 18px;
}
.rohi-torohi-services.is-single {
  margin-top: 8px;
}
.rohi-torohi-services__hint {
  color: #6c757d;
  margin: 0 0 10px;
  font-size: 0.95em;
}
.rohi-torohi-service,
.rohi-procedure {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  margin: 10px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.rohi-torohi-services.is-single .rohi-procedure.is-open-static {
  margin-top: 0;
}
.rohi-torohi-services.is-single .rohi-procedure.is-open-static > .rohi-procedure__content {
  padding: 14px 16px;
}
.rohi-torohi-service > summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 1.05em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
  color: #1a3a5c;
}
.rohi-torohi-service > summary::-webkit-details-marker { display: none; }
.rohi-torohi-service > summary::after {
  content: "+";
  font-weight: 700;
  color: #1a3a5c;
  margin-left: auto;
}
.rohi-torohi-service[open] > summary::after { content: "−"; }
.rohi-torohi-service__meta {
  color: #6c757d;
  font-size: 0.78em;
  text-align: right;
  padding: 0 14px 12px;
}
.rohi-torohi-service__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(26, 58, 92, 0.1);
  color: #1a3a5c;
  font-weight: 700;
  font-size: 11px;
}
.rohi-procedure__content {
  padding: 4px 14px 14px;
}
.rohi-procedure__block {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.rohi-procedure__block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.rohi-procedure__label {
  margin: 0 0 6px;
  font-size: 0.95em;
  font-weight: 700;
  color: #1a3a5c;
}
.rohi-procedure__body {
  font-size: 0.95em;
  line-height: 1.45;
  color: #333;
}
.rohi-procedure__list {
  margin: 0;
  padding-left: 1.2em;
}
.rohi-procedure__list--ordered {
  padding-left: 1.4em;
  list-style: decimal;
}
.rohi-procedure__list li {
  margin: 0.25em 0;
}
.rohi-procedure__service,
.rohi-procedure__lieu,
.rohi-procedure__conds {
  margin: 0 0 0.4em;
}
.rohi-procedure .rohi-empty {
  color: #6c757d;
  font-style: italic;
}
.rohi-procedure__note {
  margin: 8px 0 0;
  font-size: 0.85em;
  color: #6c757d;
}
.rohi-caracteristiques {
  margin: 14px 0 18px;
}
.rohi-caracteristique > summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 1.02em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
  color: #1a3a5c;
}
.rohi-caracteristique > summary::-webkit-details-marker { display: none; }
.rohi-caracteristique > summary::after {
  content: "+";
  font-weight: 700;
  color: #1a3a5c;
  margin-left: auto;
}
.rohi-caracteristique[open] > summary::after { content: "−"; }
.rohi-site-accueil {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
}
.rohi-site-accueil__obs {
  color: #555;
  font-size: 0.95em;
}
.rohi-site-accueil__agent {
  margin-bottom: 0.75em;
}
@media (max-width: 767px) {
  .rohi-torohi-service > summary,
  .rohi-caracteristique > summary {
    font-size: 1em;
  }
}

/* ============================================================================================ */
/* Module Annuaire — interactions curseur (hover / clic) toutes pages */
/* ============================================================================================ */
#page a[href],
#page button:not(:disabled),
#page input[type="submit"]:not(:disabled),
#page input[type="button"]:not(:disabled),
#page input[type="reset"]:not(:disabled),
#page .btn:not(:disabled),
#page [role="button"],
#page label.container_check,
#page label.container_radio,
#page summary,
#page .layout_view a,
#page .page-link,
#page .select2-selection,
#page .select2-results__option,
#page footer a.collapse_bt_mobile,
#page a#filters_col_bt,
#page .hamburger,
#page .main-menu > ul > li > a,
#page .rohi-result-card,
#page .rohi-torohi-service > summary,
#page .rohi-caracteristique > summary {
  cursor: pointer;
}
#page a[href]:active,
#page button:not(:disabled):active,
#page input[type="submit"]:not(:disabled):active,
#page input[type="button"]:not(:disabled):active,
#page .btn:not(:disabled):active,
#page [role="button"]:active,
#page .page-link:active,
#page a#filters_col_bt:active,
#page .layout_view a:active,
#page .rohi-result-card:active {
  transform: translateY(1px);
}
#page a,
#page button,
#page .btn,
#page .page-link,
#page .layout_view a,
#page a#filters_col_bt,
#page .main-menu > ul > li > a,
#page .rohi-result-card,
#page .social-links ul li a,
#page footer ul li a {
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    transform 0.12s ease;
}
#page .btn:hover:not(:disabled),
#page input[type="submit"]:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow: 0 4px 12px rgba(26, 58, 92, 0.18);
}
#page .btn:active:not(:disabled),
#page input[type="submit"]:active:not(:disabled) {
  filter: brightness(0.96);
  box-shadow: 0 1px 4px rgba(26, 58, 92, 0.16);
}
#page .page-link:hover {
  color: #1a3a5c;
  background: #eef3f8;
  border-color: #c5d4e4;
}
#page .page-link.active,
#page .page-item.active .page-link {
  background: #1a3a5c;
  border-color: #1a3a5c;
  color: #fff;
}
#page .main-menu > ul > li > a:hover {
  color: #1a3a5c;
}
#page .layout_view a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(26, 58, 92, 0.12);
  background: #fff;
  color: #1a3a5c;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
#page .layout_view a:hover {
  background: #eef3f8;
  border-color: rgba(26, 58, 92, 0.28);
  color: #122a44;
  text-decoration: none;
}
#page .layout_view a.text-success,
#page .layout_view a:focus {
  background: #1a3a5c;
  border-color: #1a3a5c;
  color: #fff !important;
}
#page .rohi-result-card:hover {
  opacity: 1;
  transform: translateY(-2px);
}
#page .rohi-result-card:active {
  opacity: 0.92;
  transform: translateY(0);
}

/* ============================================================================================ */
/* Card Filtres — listings */
/* ============================================================================================ */
main.page-listings #sidebar #filters_col {
  background: #fff;
  border: 1px solid rgba(26, 58, 92, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(26, 58, 92, 0.07);
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
main.page-listings #sidebar #filters_col:hover {
  /* Pas d’élévation au survol : évite le « tremblement » pendant les clics pastilles. */
  box-shadow: 0 8px 24px rgba(26, 58, 92, 0.07);
  border-color: rgba(26, 58, 92, 0.12);
}
main.page-listings #sidebar #filters_col > a#filters_col_bt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  /* Hauteur de bande fixe : ouvert / fermé (chevron) ne doit pas déplacer
     le champ de recherche du bandeau #results ni celui des pastilles. */
  padding: 14px 18px;
  min-height: 48px;
  box-sizing: border-box;
  border-radius: 0;
  border-bottom: 1px solid rgba(26, 58, 92, 0.08);
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  color: #1a3a5c;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}
main.page-listings #sidebar #filters_col > a#filters_col_bt:before {
  content: none;
  display: none;
}
main.page-listings #sidebar #filters_col > a#filters_col_bt:after {
  content: "";
  width: 10px;
  height: 10px;
  margin: 0 0 0 auto;
  border-right: 2px solid #1a3a5c;
  border-bottom: 2px solid #1a3a5c;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  transition: transform 0.18s ease;
  flex: 0 0 auto;
}
/* Rotation seule — pas de margin-top qui change la hauteur de bande */
main.page-listings #sidebar #filters_col > a#filters_col_bt[aria-expanded="true"]:after,
main.page-listings #sidebar #filters_col > a#filters_col_bt:not(.collapsed):after {
  transform: rotate(-135deg);
  margin-top: 0;
}
main.page-listings #sidebar #filters_col > a#filters_col_bt:hover {
  background: linear-gradient(180deg, #eef3f8 0%, #e4ecf5 100%);
  color: #122a44;
}
main.page-listings #sidebar #filters_col > a#filters_col_bt:active {
  background: #dce6f1;
  transform: none; /* pas de translateY(1px) global qui décale la bande */
}
/* Padding SUR le collapse = saut Bootstrap (hauteur animée ≠ padding).
   Tout le contenu intérieur (recherche, pastilles, nav…) doit rester
   dans .filters_col_body : padding constant, indépendant du narrow. */
main.page-listings #sidebar #filters_col .collapse,
main.page-listings #sidebar #filters_col .collapse.show,
main.page-listings #sidebar #filters_col .collapsing {
  padding: 0 !important;
  margin: 0;
  border-radius: 0;
}
main.page-listings #sidebar #filters_col .filters_col_body {
  padding: 6px 18px 16px;
  box-sizing: border-box;
}
/* Contenu intérieur : pas de padding/margin qui change avec l’état open/closed */
main.page-listings #filters_col .rohi-filter-search-wrap {
  margin: 0 0 12px;
  padding: 0;
}
main.page-listings #filters_col .rohi-lieu-wiz.filter_type,
main.page-listings #filters_col .filter_type.rohi-lieu-wiz {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
main.page-listings #filters_col .filter_type {
  padding-bottom: 4px;
}
main.page-listings #filters_col .filter_type > h6 {
  border-top: 1px solid rgba(26, 58, 92, 0.08);
  margin: 12px 0 10px;
  padding: 12px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1a3a5c;
}
main.page-listings #filters_col .filter_type:first-child > h6 {
  border-top: none;
  margin-top: 4px;
  padding-top: 4px;
}
main.page-listings #filters_col .select2-container--default .select2-selection--multiple {
  min-height: 40px;
  border: 1px solid rgba(26, 58, 92, 0.16) !important;
  border-radius: 8px !important;
  background: #fafbfc;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
main.page-listings #filters_col .select2-container--default.select2-container--focus .select2-selection--multiple,
main.page-listings #filters_col .select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: #1a3a5c !important;
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.12);
  background: #fff;
}
main.page-listings #filters_col .amenity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
main.page-listings #filters_col .amenity-actions .btn {
  border: 1px solid rgba(26, 58, 92, 0.14);
  border-radius: 8px;
  background: #fff;
  color: #1a3a5c;
  padding: 6px 10px;
}
main.page-listings #filters_col .amenity-actions .btn:hover {
  background: #eef3f8;
  border-color: rgba(26, 58, 92, 0.28);
  color: #122a44;
}
main.page-listings #filters_col .amenity-actions .btn:active {
  background: #dce6f1;
  transform: translateY(1px);
}

/* ============================================================================================ */
/* Footer Annuaire */
/* ============================================================================================ */
footer.plus_border.rohi-site-footer,
footer.rohi-site-footer {
  margin-top: 24px;
  border-top: none;
  background: linear-gradient(180deg, #14304d 0%, #0f243a 100%);
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  z-index: 20;
}
footer.rohi-site-footer .container.margin_60_35 {
  padding-top: 42px;
  padding-bottom: 28px;
}
footer.rohi-site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
footer.rohi-site-footer ul.links li a,
footer.rohi-site-footer ul.contacts li,
footer.rohi-site-footer ul.contacts li a {
  color: rgba(255, 255, 255, 0.78);
}
footer.rohi-site-footer ul.links li a:hover,
footer.rohi-site-footer ul.contacts li a:hover {
  color: #fff;
  opacity: 1;
}
footer.rohi-site-footer ul.contacts li i {
  color: #7eb6e8;
  margin-right: 10px;
}
footer.rohi-site-footer a.collapse_bt_mobile {
  color: inherit;
  text-decoration: none;
}
footer.rohi-site-footer .social-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
footer.rohi-site-footer .social-links ul li {
  margin: 0;
}
footer.rohi-site-footer .social-links ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
}
footer.rohi-site-footer .social-links ul li a i {
  margin: 0;
  color: #fff;
  opacity: 1;
  font-size: 1rem;
}
footer.rohi-site-footer .social-links ul li a:hover {
  background: #fff;
  border-color: #fff;
  color: #1a3a5c;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}
footer.rohi-site-footer .social-links ul li a:hover i {
  color: #1a3a5c;
}
footer.rohi-site-footer .social-links ul li a:active {
  transform: translateY(0);
}
footer.rohi-site-footer .rohi-site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  padding: 14px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}
footer.rohi-site-footer .rohi-site-footer__bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
@media (max-width: 575px) {
  footer.rohi-site-footer a.collapse_bt_mobile {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }
  footer.rohi-site-footer a.collapse_bt_mobile h3 {
    color: #fff;
  }
}

/* ============================================================================================ */
/* TOROLALANA — animations module (entrée, survol, micro-interactions) */
/* ============================================================================================ */
@keyframes torolalana-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes torolalana-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes torolalana-soft-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes torolalana-slide-right {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes torolalana-underline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes torolalana-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Entrée page */
#page > header,
#page > header.header,
#page > header.header_in {
  animation: torolalana-fade-in 0.45s ease both;
}
#page > main {
  animation: torolalana-fade-up 0.5s ease 0.05s both;
}
#page > footer.rohi-site-footer,
#page footer.rohi-site-footer {
  animation: torolalana-fade-up 0.55s ease 0.12s both;
}

/* Logo */
#logo a {
  display: inline-block;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
#logo a:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
#logo img {
  transition: transform 0.28s ease, filter 0.28s ease;
}
#logo a:hover img {
  transform: scale(1.03);
}

/* Menu */
#page .main-menu > ul > li > a {
  position: relative;
}
#page .main-menu > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: #1a3a5c;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
  border-radius: 1px;
}
#page .main-menu > ul > li > a:hover::after,
#page .main-menu > ul > li > a:focus::after {
  transform: scaleX(1);
}

/* Bandeau recherche / résultats */
main.page-listings .results,
main .hero_single,
main .hero_in {
  animation: torolalana-fade-in 0.5s ease both;
}
main.page-listings .filters_listing.version_2 {
  animation: torolalana-slide-right 0.4s ease 0.08s both;
}
main.page-listings .filters_listing .layout_view a {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.18s ease,
    box-shadow 0.2s ease;
}
main.page-listings .filters_listing .layout_view a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(26, 58, 92, 0.12);
}

/* Card filtres — pas d’anim d’entrée (conflit avec clics pastilles). */
main.page-listings #sidebar #filters_col {
  animation: none;
}
main.page-listings #filters_col .rohi-lieu-wiz.filter_type,
main.page-listings #filters_col .filter_type.rohi-lieu-wiz {
  animation: none !important;
}
main.page-listings #sidebar #filters_col > a#filters_col_bt {
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}
main.page-listings #sidebar #filters_col > a#filters_col_bt:after {
  transition: transform 0.25s ease;
}
main.page-listings #filters_col .filter_type {
  animation: none;
}
main.page-listings #filters_col .amenity-actions .btn {
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.15s ease,
    box-shadow 0.18s ease;
}
main.page-listings #filters_col .amenity-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(26, 58, 92, 0.12);
}

/* Cartes SERP : anim d’entrée seulement au 1er paint (pas à chaque filtre AJAX = flash). */
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card {
  animation: torolalana-fade-up 0.45s ease both;
}
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(1) { animation-delay: 0.05s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(2) { animation-delay: 0.09s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(3) { animation-delay: 0.13s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(4) { animation-delay: 0.17s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(5) { animation-delay: 0.21s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(6) { animation-delay: 0.25s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(7) { animation-delay: 0.29s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(8) { animation-delay: 0.33s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(9) { animation-delay: 0.37s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(10) { animation-delay: 0.41s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(11) { animation-delay: 0.45s; }
main.page-listings #listings:not(.rohi-listings-ajax) a.rohi-result-card:nth-child(12) { animation-delay: 0.49s; }
main.page-listings #listings a.rohi-result-card {
  transition:
    box-shadow 0.22s ease;
  border-radius: 4px;
  padding-right: 4px;
}
main.page-listings #listings.rohi-listings-ajax a.rohi-result-card {
  animation: none !important;
}
main.page-listings #listings a.rohi-result-card:hover {
  box-shadow: 0 8px 20px rgba(26, 58, 92, 0.08);
}
main.page-listings #listings a.rohi-result-card .rohi-result-card__favicon {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
main.page-listings #listings a.rohi-result-card:hover .rohi-result-card__favicon {
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(26, 58, 92, 0.18);
}
main.page-listings #listings a.rohi-result-card .rohi-result-card__title {
  position: relative;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.28s ease, color 0.18s ease;
}
main.page-listings #listings a.rohi-result-card:hover .rohi-result-card__title {
  background-size: 100% 1px;
}
main.page-listings #listings a.rohi-result-card .rohi-result-card__snippet {
  transition: color 0.2s ease;
}
main.page-listings #listings a.rohi-result-card:hover .rohi-result-card__snippet {
  color: #3c4043;
}

/* Carte / map — anim une seule fois (recréation AJAX sinon = flash) */
main.page-listings .stiky-map:not(.rohi-map-ready) {
  animation: torolalana-fade-in 0.55s ease 0.15s both;
}
main.page-listings .stiky-map {
  transition: box-shadow 0.25s ease;
}
main.page-listings .stiky-map.rohi-map-ready {
  animation: none !important;
}
main.page-listings .stiky-map:hover {
  box-shadow: 0 10px 28px rgba(26, 58, 92, 0.12);
}

/* Boutons recherche */
#page input[type="submit"],
#page .btn_1,
#page .btn_search,
#page #main-search-form-listings input[type="submit"],
#page form input[type="submit"] {
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease,
    filter 0.18s ease,
    background-color 0.18s ease;
}
#page input[type="submit"]:hover,
#page .btn_1:hover,
#page form input[type="submit"]:hover {
  transform: translateY(-2px);
}

/* Pagination */
#page .pagination .page-link,
#page nav[aria-label] .page-link {
  transition:
    transform 0.15s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
#page .pagination .page-link:hover,
#page nav[aria-label] a.page-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(26, 58, 92, 0.12);
}

/* Accueil — blocs */
main.page-home .box_feat,
main.page-home .strip_all_tour_listing,
main.page-home .main_title_2,
main.page-home .container .main_title,
main .box_feat,
main .strip.map_view,
main .strip.grid {
  animation: torolalana-fade-up 0.5s ease both;
}
main.page-home .box_feat:nth-child(1),
main .box_feat:nth-child(1) { animation-delay: 0.08s; }
main.page-home .box_feat:nth-child(2),
main .box_feat:nth-child(2) { animation-delay: 0.16s; }
main.page-home .box_feat:nth-child(3),
main .box_feat:nth-child(3) { animation-delay: 0.24s; }
main .strip_all_tour_listing .strip,
main .strip.grid {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
main .strip_all_tour_listing .strip:hover,
main .strip.grid:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 58, 92, 0.12);
}

/* Fiche entité */
main.page-directory_listing .rohi-fiche-nav,
main.page-directory_listing #sidebar .rohi-sidebar-sticky > * {
  animation: torolalana-fade-up 0.4s ease both;
}
main.page-directory_listing #sidebar .rohi-sidebar-sticky > *:nth-child(1) { animation-delay: 0.08s; }
main.page-directory_listing #sidebar .rohi-sidebar-sticky > *:nth-child(2) { animation-delay: 0.14s; }
main.page-directory_listing #sidebar .rohi-sidebar-sticky > *:nth-child(3) { animation-delay: 0.2s; }
main.page-directory_listing .rohi-torohi-service,
main.page-directory_listing .rohi-procedure {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
main.page-directory_listing .rohi-torohi-service:hover,
main.page-directory_listing .rohi-procedure:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 58, 92, 0.1);
  border-color: rgba(26, 58, 92, 0.18);
}

/* Footer liens / social */
footer.rohi-site-footer ul.links li a {
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
footer.rohi-site-footer ul.links li a:hover {
  transform: translateX(6px);
}
footer.rohi-site-footer .social-links ul li a {
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
footer.rohi-site-footer .rohi-site-footer__bar {
  animation: torolalana-fade-in 0.6s ease 0.2s both;
}

/* Bouton retour haut */
#toTop {
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease !important;
}
#toTop:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Accessibilité : réduire / couper les animations */
@media (prefers-reduced-motion: reduce) {
  #page > header,
  #page > main,
  #page > footer.rohi-site-footer,
  #page footer.rohi-site-footer,
  main.page-listings .results,
  main.page-listings .filters_listing.version_2,
  main.page-listings #sidebar #filters_col,
  main.page-listings #filters_col .filter_type,
  main.page-listings #listings a.rohi-result-card,
  main.page-listings .stiky-map,
  main.page-home .box_feat,
  main .box_feat,
  main .strip.map_view,
  main .strip.grid,
  main.page-directory_listing .rohi-fiche-nav,
  main.page-directory_listing #sidebar .rohi-sidebar-sticky > *,
  footer.rohi-site-footer .rohi-site-footer__bar {
    animation: none !important;
    transition: none !important;
  }
  #page .rohi-result-card:hover,
  main .strip.grid:hover,
  main .strip_all_tour_listing .strip:hover {
    transform: none;
  }
}
