/*
 * Hiking Fest v6.0.41.21 — Public Header Responsive
 * Bara completă rămâne vizibilă numai când există spațiu real.
 */

.site-header .header-inner.container {
  width: min(1760px, calc(100% - 32px));
}

.site-header .desktop-nav {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  gap: clamp(8px, 0.75vw, 18px);
}

.site-header .desktop-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(12px, 0.75vw, 14px);
}

.site-header .header-actions {
  gap: clamp(8px, 0.6vw, 12px);
}

.site-header .header-actions .btn {
  padding-inline: clamp(12px, 0.9vw, 18px);
  white-space: nowrap;
}

@media (max-width: 1780px) {
  .site-header {
    z-index: 10000;
  }

  .site-header .desktop-nav {
    display: none !important;
  }

  .site-header .header-actions > .btn {
    display: none !important;
  }

  .site-header .menu-toggle {
    display: grid !important;
    place-items: center;
    flex: 0 0 44px;
  }

  .site-header .mobile-menu {
    position: fixed;
    top: 84px;
    left: auto;
    right: 16px;
    z-index: 10010;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100svh - 104px);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(4, 9, 12, 0.98);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(18px);
  }

  .site-header .mobile-menu.open {
    display: flex !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .site-header .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.035);
    font-size: 15px;
    font-weight: 700;
  }

  .site-header .mobile-menu a:hover,
  .site-header .mobile-menu a:focus-visible {
    color: #fff;
    border-color: rgba(110, 231, 183, 0.34);
    background: rgba(110, 231, 183, 0.1);
  }

  .site-header .lang-dropdown {
    z-index: 10020;
  }

  .site-header .lang-dropdown-menu,
  .site-header #langDropdownMenu {
    z-index: 10030;
  }

  body.hf-overlay-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }
}

@media (max-width: 760px) {
  .site-header .header-inner.container {
    width: min(100% - 24px, 1240px);
  }

  .site-header .mobile-menu {
    top: 68px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100svh - 86px);
  }
}

@media (min-width: 1781px) {
  .site-header .mobile-menu,
  .site-header .mobile-menu.open {
    display: none !important;
  }
}
