.topline {
  height: 45px;
  background: #f7f7f7;
  color: #24313b;
}

.topline .topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 80px);
  max-width: 1680px;
  height: 100%;
  padding: 0;
}

.topline .topline-inner > .top-contact {
  display: flex;
  gap: 68px;
  font-size: 18px;
}

.topline a:hover {
  color: #efa400;
}

.topline .top-contact a:first-child {
  display: inline;
}

.top-tools {
  display: flex;
  align-items: center;
  height: 36px;
  min-width: 190px;
  padding: 0 10px;
  border: 1px solid #e6e8ea;
  border-radius: 22px;
  background: #fff;
  font-size: 16px;
}

.top-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 100%;
}

.tool-divider {
  width: 1px;
  height: 20px;
  background: #cdd2d6;
}

.top-language {
  position: relative;
  flex: 1;
}

.top-language summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding-left: 9px;
  cursor: pointer;
  list-style: none;
}

.top-language summary::-webkit-details-marker {
  display: none;
}

.top-language summary img {
  width: 24px;
  height: 16px;
  object-fit: cover;
}

.top-language summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: -11px;
  z-index: 20;
  min-width: 150px;
  padding: 6px;
  border: 1px solid #e5e8ea;
  background: #fff;
  box-shadow: 0 8px 20px rgb(0 0 0 / 10%);
}

.language-menu a {
  display: block;
  padding: 6px 8px;
  font-size: 14px;
}

.site-header {
  border-bottom: 0;
  box-shadow: none;
}

.site-header .header-inner {
  width: calc(100% - 96px);
  max-width: 1760px;
  height: 95px;
}

.site-header .brand {
  width: 230px;
}

.site-header .brand img {
  width: min(210px, 100%);
  max-height: 76px;
}

.site-header .main-nav {
  gap: clamp(22px, 3.1vw, 60px);
  color: #171b20;
  font-size: 20px;
  font-weight: 400;
  text-transform: none;
}

.site-header .main-nav a:hover {
  color: #efa400;
}

@media (max-width: 1250px) {
  .site-header .main-nav {
    gap: 20px;
    font-size: 17px;
  }
}

@media (max-width: 991px) {
  .topline {
    height: 38px;
  }

  .topline .topline-inner {
    width: calc(100% - 32px);
    justify-content: space-between;
  }

  .topline .topline-inner > .top-contact {
    gap: 15px;
    font-size: 13px;
  }

  .site-header .header-inner {
    width: calc(100% - 32px);
    height: 70px;
  }

  .site-header .brand {
    width: 155px;
  }

  .site-header .brand img {
    max-height: 50px;
  }

  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    background: #fff;
    box-shadow: 0 8px 14px rgb(0 0 0 / 10%);
  }

  .site-header .main-nav.open {
    display: flex;
  }

  .site-header .main-nav a {
    padding: 10px 4px;
    border-bottom: 1px solid #edf1f2;
    font-size: 15px;
  }

  .site-header .header-tools {
    margin-left: auto;
  }

  .site-header .menu-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .topline .top-contact a:nth-child(2) {
    display: none;
  }

  .topline .topline-inner > .top-contact {
    font-size: 12px;
  }

  .top-tools {
    min-width: 132px;
    height: 32px;
    padding: 0 5px;
    font-size: 13px;
  }

  .top-search {
    width: 34px;
  }

  .top-language summary {
    height: 30px;
    padding-left: 6px;
  }

  .top-language summary img {
    width: 20px;
    height: 14px;
  }
}
