.header-nav > ul > li > a { display: inline-flex; align-items: center; gap: 8px; }
.header-nav > ul > li > a > .dropdown__arrow { flex: 0 0 14px; }
.header .dropdown:focus-within > .dropdown__items { opacity: 1; pointer-events: auto; }
@media (min-width: 1200px) {
  .header > .in { gap: 26px; }
  .header__logo { flex: 0 0 140px; width: 140px; }
  .header__helper { flex: 1; min-width: 0; gap: 24px; justify-content: space-between; }
  .header__wrapper { flex: 1; min-width: 0; gap: 20px; justify-content: center; }
  .header-nav > ul { flex-wrap: nowrap; gap: clamp(14px, 1.4vw, 22px); }
  .header-nav > ul > li { flex: 0 0 auto; flex-wrap: nowrap; }
  .header-nav > ul > li > a { white-space: nowrap; font-size: 17px; }
  .header__lang { flex: 0 0 auto; }
  .header__box { flex: 0 0 190px; width: 190px; gap: 10px; }
  .header__box > .btn { width: 100%; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
}
/* Use the existing mobile navigation before the desktop row becomes cramped. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .header { height: 80px; }
  .header__logo { max-width: 120px; }
  .header .header__minibox, .header .header__minibox .btn--burger { display: flex !important; }
  .header__helper { position: fixed; top: 80px; left: 0; width: 100%; height: calc(100dvh - 80px); background: var(--white); flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 0 20px 20px; gap: 0; opacity: 0; pointer-events: none; }
  .nav-is-open .header__helper { opacity: 1; pointer-events: auto; }
  .header__wrapper { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .header-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .header-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid rgba(112,112,112,.13); }
  .header-nav > ul > li > a { font-size: 20px; }
  .header-nav ul li ul { position: relative; top: -10px; left: 0; width: 100%; box-shadow: none; padding: 0; display: none; opacity: 1; pointer-events: auto; }
  .header-nav ul li.is-open > ul { display: flex; }
  .header-nav ul li ul .hide--desktop { display: flex !important; }
  .header .header__lang-current { display: none !important; }
  .header__lang { display: flex; align-items: center; gap: 20px; }
  .header__lang-list { position: relative; top: 0; left: 0; opacity: 1; pointer-events: auto; }
  .header__lang-list ul { flex-direction: row; gap: 20px; padding: 0; box-shadow: none; }
  .header__lang-list ul li a { padding: 0; }
  .header__lang-list ul img { width: 26px; height: 26px; }
  .header__box { max-width: none; width: 100%; border-top: 1px solid rgba(112,112,112,.13); padding-top: 20px; }
}
@media (max-width: 1199px) {
  .header__helper { overflow-y: auto; visibility: hidden; }
  .nav-is-open .header__helper { visibility: visible; }
  .admin-bar .header__helper { top: 112px; height: calc(100dvh - 112px); }
}
@media (max-width: 782px) {
  .admin-bar .header { top: 46px; }
  .admin-bar .header__helper { top: 126px; height: calc(100dvh - 126px); }
}
