/* Andurance V8: official cropped wordmark in the header only. */
/* Kept in a standalone CSS file so existing cached rebuild.css cannot mask the fix. */
#header .header { padding-top: 11px; padding-bottom: 11px; }
#header .header_menu_wrap {
  display: grid;
  grid-template-columns: 272px minmax(0,1fr);
  align-items: center;
  gap: 10px;
}
#header .header_logo { width: 100%; overflow: visible; background-color: #fff; }
#header .header_logo > a { display: flex; align-items: center; width: 100%; max-width: 100%; }
#header .header_logo .andurance-brand-viewport {
  display: block; width: 258px; max-width: 100%; height: auto;
  aspect-ratio: 1916 / 731; overflow: hidden; background: transparent;
}
#header .header_logo .andurance-brand-viewport img[src*="andurance-header-v8.png"] {
  display: block !important; width: 100% !important; height: 100% !important;
  max-width: 100% !important; min-width: 0 !important;
  object-fit: contain !important; object-position: center !important;
  transform: none !important; filter: none !important;
  opacity: 1 !important; aspect-ratio: 1916 / 731 !important;
}
#header .header_wrap { min-width: 0; align-items: center; }
/* The legacy 40px language column and 120px gap clipped/squeezed the selector. */
#header .header_menu { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-width: 0; }
#header .header_menu .wrap-menu { flex: 1 1 auto; min-width: 0; }
#header .header_menu .header_lang { flex: 0 0 auto; width: auto; margin: 0; }
#header .andurance-language-switch {
  display: flex !important; justify-content: flex-end !important; align-items: center !important;
  width: auto !important; gap: 0 !important; white-space: nowrap !important;
}
#header .andurance-language-switch > .lang-item {
  display: inline-flex !important; width: auto !important; min-width: auto !important;
  height: auto !important; margin: 0 !important; padding: 0 !important;
  border: 0 !important; line-height: 1 !important;
}
#header .andurance-language-switch > .lang-item a {
  font-size: 15px !important; line-height: 1.35 !important;
  padding: 0 !important; margin: 0 !important; text-transform: uppercase !important;
  text-decoration: none !important;
}
#header .andurance-language-switch > .lang-item.lang-item-vi::after {
  content: "|" !important; margin: 0 5px !important;
  color: #777 !important; font-weight: 400 !important;
}
#header .andurance-language-switch > .lang-item.lang-item-en::after { content: none !important; }
@media (max-width: 1199px) and (min-width: 992px) {
  #header .header_menu_wrap { grid-template-columns: 235px minmax(0,1fr); gap: 8px; }
  #header .header_logo .andurance-brand-viewport { width: 228px; }
  #header .header_menu { gap: 14px; }
}
@media (max-width: 991px) {
  #header .header_menu_wrap { grid-template-columns: 206px minmax(0,1fr); gap: 10px; }
  #header .header_logo .andurance-brand-viewport { width: 198px; }
  #header .header_menu { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
  #header .header_menu .header_lang { flex-shrink: 0; }
}
@media (max-width: 600px) {
  #header .header { padding-top: 9px; padding-bottom: 9px; }
  #header .header_menu_wrap { grid-template-columns: 188px minmax(0,1fr); gap: 6px; }
  #header .header_logo .andurance-brand-viewport { width: 184px; }
  #header .header_menu .header_lang { margin: 0 !important; }
  #header .andurance-language-switch > .lang-item a { font-size: 13px !important; }
}
@media (max-width: 359px) {
  #header .header_menu_wrap { grid-template-columns: 160px minmax(0,1fr); gap: 6px; }
  #header .header_logo .andurance-brand-viewport { width: 156px; }
  #header .andurance-language-switch > .lang-item a { font-size: 12px !important; }
  #header .andurance-language-switch > .lang-item.lang-item-vi::after { margin: 0 3px !important; }
}
