/* HLC — language switch styles: a segmented pill control, not a dropdown */

.hlc-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #f3f4f6;
  border: 1px solid #ececec;
  border-radius: 9999px;
  padding: 3px;
}

.hlc-lang-switch .hlc-lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hlc-lang-switch .hlc-lang-option:hover {
  color: #6a1856;
}

.hlc-lang-switch .hlc-lang-option.hlc-lang-active {
  background: #6a1856;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(106, 24, 86, 0.28);
}

/* Mobile menu row: same pill language, full width, three equal segments */
.hlc-lang-mobile-row {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f3f4f6;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 4px;
}

.hlc-lang-mobile-row .hlc-lang-option {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #6b7280;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hlc-lang-mobile-row .hlc-lang-option.hlc-lang-active {
  background: #6a1856;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(106, 24, 86, 0.28);
}

/* "More" menu — houses secondary nav links (Nous recrutons, Publications) behind a
   hamburger-style trigger so the main nav bar stays to a single clean line. */
.hlc-more-dropdown { position: relative; }
.hlc-more-dropdown::after {
  content: ''; position: absolute;
  top: 100%; left: -20px; right: -20px; height: 18px;
}
.hlc-more-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.hlc-more-trigger:hover { background: #f3f4f6; color: #6a1856; }
.hlc-more-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 190px;
  padding: 8px 0;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #f0e6ed;
  box-shadow: 0 20px 60px rgba(106, 24, 86, 0.13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  z-index: 60;
}
.hlc-more-dropdown:hover .hlc-more-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.hlc-more-menu a {
  display: block;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
  white-space: nowrap;
}
.hlc-more-menu a:hover { background: #faf2f8; color: #6a1856; }
