/* Site header + navigation (desktop) */

.sager-site-header {
  position: relative;
  z-index: 500;
  width: 100%;
}

.sager-site-header__top {
  position: relative;
  z-index: 502;
  padding: 10px 0 0;
  overflow: visible;
}

.sager-site-header__container {
  max-width: 1148px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.sager-site-header__top .sager-site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sager-site-header__lang {
  position: relative;
  z-index: 503;
  flex-shrink: 0;
}

.sager-logo-link {
  display: inline-block;
  line-height: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.sager-site-logo {
  display: block;
  width: 175px;
  height: auto;
  max-width: 100%;
  transition: transform 0.38s ease, box-shadow 0.38s ease;
  transform-origin: left center;
}

.sager-logo-link:hover .sager-site-logo {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Nav bar — document flow, below header row */
.sager-site-nav {
  position: relative;
  z-index: 501;
  background: #0c580a;
  margin-top: 8px;
  padding: 3px 0;
  width: 100%;
  box-sizing: border-box;
}

section.nav1 {
  background-color: #0c580a !important;
}

.sager-site-header__container--nav {
  display: flex;
  justify-content: center;
}

.sager-site-nav__list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.sager-site-nav__list > li {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  float: none !important;
  position: static !important;
  height: auto !important;
  line-height: normal !important;
}

.sager-site-nav__list a {
  display: block;
  padding: 0 14px;
  line-height: 43px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sager-site-nav__list a:hover {
  background: #c61e01;
  color: #ffffff !important;
}

.sager-site-nav__list a span {
  white-space: nowrap;
}

/* Language selector must stay above nav */
.sager-site-header .language-selector {
  position: relative !important;
  display: inline-block !important;
  z-index: 510 !important;
}

.sager-site-header .language-dropdown {
  z-index: 511 !important;
}

/* Neutralize legacy theme nav rules */
.tem_head nav,
.tem_head nav#navMenu,
#navMenu.tem_head nav {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  margin: 0 !important;
  height: auto !important;
  line-height: normal !important;
  z-index: auto !important;
}

.tem_head nav ul li,
.tem_head nav#navMenu ul li,
#navMenu ul li {
  float: none !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  height: auto !important;
  line-height: normal !important;
  transform: none !important;
}

.tem_head nav a,
.tem_head nav#navMenu a,
#navMenu ul li a {
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 14px !important;
  color: #ffffff !important;
}

.tem_head nav a:hover,
.tem_head nav#navMenu a:hover,
#navMenu ul li a:hover {
  background: #c61e01 !important;
  color: #ffffff !important;
}

@media (max-width: 1200px) {
  .sager-site-nav__list a {
    padding: 0 10px;
    font-size: 13px;
  }
}

@media (max-width: 992px) {
  .sager-site-nav__list a {
    padding: 0 8px;
    font-size: 12px;
  }
}
