/* Copie de secours de benoline.com : ce qui remplace le JavaScript de Lodgify.
   Menu principal refait, images visibles. */

.responsive-image-wrapper .image,
.responsive-image-wrapper img { visibility: visible !important; filter: none !important; }

.bc-nav { position: relative; display: flex; align-items: center; margin-left: auto; }
.bc-nav ul { list-style: none; margin: 0 !important; padding: 0 !important; }
.bc-menu { display: flex; gap: 2em; align-items: center; font-size: 1rem; }
.bc-menu > li { position: relative; margin: 0 !important; }
.bc-menu a, .bc-ddbtn {
  color: var(--lodgify-ui-header-link-color, #383838);
  font-family: var(--ldg-component-link-font, inherit);
  text-decoration: none !important;
  white-space: nowrap;
  font-size: 1rem;
  background: none; border: 0; padding: 0; cursor: pointer; line-height: 1.5;
}
.bc-menu a:hover, .bc-ddbtn:hover { text-decoration: underline !important; }
.bc-fleche { margin-left: .3em; font-size: .8em; }
.bc-sub {
  display: none; position: absolute; top: 100%; left: -1em; z-index: 1000;
  background: #fff; min-width: 16em; padding: .6em 0 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.15); border-radius: 6px;
}
.bc-sub li { margin: 0 !important; }
.bc-sub a { display: block; padding: .45em 1.2em; color: #383838; white-space: normal; }
.bc-dd:hover > .bc-sub, .bc-dd.ouvert > .bc-sub { display: block; }
.bc-langue a { font-weight: bold; }
.bc-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.bc-burger span { display: block; width: 24px; height: 2px; margin: 5px 0;
  background: var(--lodgify-ui-header-link-color, #383838); }

@media (max-width: 1000px) {
  .bc-burger { display: block; }
  .bc-menu {
    display: none; position: absolute; right: 0; top: 100%; z-index: 1000;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; min-width: 16em; max-width: 90vw; padding: .6em 0 !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.15); border-radius: 6px;
  }
  .bc-nav.ouvert .bc-menu { display: flex; }
  .bc-menu > li > a, .bc-ddbtn { display: block; width: 100%; text-align: left; padding: .6em 1.2em; color: #383838; }
  .bc-sub { position: static; box-shadow: none; padding: 0 0 0 1em !important; min-width: 0; }
  .bc-dd:hover > .bc-sub { display: none; }
  .bc-dd.ouvert > .bc-sub { display: block; }
}
