/* Quiet utility control: above desktop contacts, beside the mobile menu. */
.header .header-inner { position: relative; }
.header .review-language {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}
.header .review-language button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  padding: 3px 5px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #8cb2d1;
  box-shadow: none;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 18px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s;
}
.header .review-language button[aria-pressed="true"] {
  color: #fff;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.header .review-language button:hover { color: #fff; background: transparent; }
.header .review-language button:focus-visible { outline: 2px solid #8fc7ff; outline-offset: 2px; }
.header .review-language .review-language-separator {
  color: #617b92 !important;
  font-size: 13px !important;
  line-height: 1;
  padding: 0 1px;
}
@media (min-width: 1361px) {
  .header .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .header .header-contacts { grid-column: 3; }
  .header .review-language {
    position: absolute;
    top: 4px;
    right: 0;
    grid-column: auto;
    grid-row: auto;
  }
}
@media (max-width: 1360px) {
  .header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-rows: auto;
    align-items: center;
  }
  .header .brand { grid-column: 1; grid-row: 1; }
  .header .header-contacts { grid-column: 2; grid-row: 1; margin: 0; }
  .header .review-language { grid-column: 3; grid-row: 1; margin: 0; align-self: center; justify-self: end; }
  .header .mobile-navigation { grid-column: 4; grid-row: 1; margin: 0; justify-self: end; }
  .header .review-language button { min-width: 30px; min-height: 40px; }
}
@media (max-width: 760px) {
  .header .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
  .header .brand { max-width: 100%; }
  .header .review-language { grid-column: 2; grid-row: 1; }
  .header .mobile-navigation { grid-column: 3; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .header .review-language button { transition: none; }
}
