/* Candidate only: scoped to the existing header, preserving images and ad slots. */
#bn-global-header .bn-language-switcher {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  max-width: 100%;
  color: #19191b;
  font: inherit;
  letter-spacing: normal;
  z-index: 20;
}
#bn-global-header .bn-lang-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 88px;
  min-height: 46px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid #97978e;
  border-radius: 30px;
  background: #f7f7f2;
  color: #19191b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
#bn-global-header .bn-lang-control::-webkit-details-marker { display: none; }
#bn-global-header .bn-lang-control:hover,
#bn-global-header .bn-language-switcher[open] .bn-lang-control {
  border-color: #7953cf;
  background: #e7def8;
}
#bn-global-header .bn-lang-chevron { font-size: 19px; line-height: 1; }
#bn-global-header .bn-language-options {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  width: max-content;
  min-width: 232px;
  max-width: min(320px, calc(100vw - 36px));
  margin: 0;
  padding: 7px;
  list-style: none;
  border: 1px solid #d3d3cd;
  border-radius: 12px;
  background: #f7f7f2;
  box-shadow: 0 10px 30px rgba(25, 25, 27, .14);
}
#bn-global-header .bn-language-option { margin: 0; padding: 0; }
#bn-global-header .bn-language-option a,
#bn-global-header .bn-language-unavailable {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 9px 12px;
  border-radius: 7px;
  color: #19191b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  letter-spacing: normal;
}
#bn-global-header .bn-language-option small {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #656560;
}
#bn-global-header .bn-language-option.is-current a { background: #e7def8; }
#bn-global-header .bn-language-option a:hover { background: #eee8f5; }
#bn-global-header .bn-language-unavailable { opacity: .6; }
#bn-global-header .bn-lang-control:focus-visible,
#bn-global-header .bn-language-option a:focus-visible {
  outline: 3px solid #7953cf;
  outline-offset: 3px;
}
#bn-global-header.bn-header .bn-strip {
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 0;
}
#bn-global-header.bn-header .bn-strip a { white-space: normal; text-align: center; }
html[lang^="ja"] .bn-hero h1,
html[lang^="th"] .bn-hero h1,
html[lang^="ja"] .bn-live-caption .wp-block-post-title,
html[lang^="th"] .bn-live-caption .wp-block-post-title {
  letter-spacing: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
html[lang^="th"] .bn-hero-copy,
html[lang^="th"] .bn-language-switcher,
html[lang^="th"] .bn-stage {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Leelawadee UI", sans-serif;
}
@media (max-width: 680px) {
  #bn-global-header .bn-lang-control { min-height: 44px; padding: 9px 12px; font-size: 14px; }
  #bn-global-header .bn-language-options { min-width: 214px; }
  #bn-global-header.bn-header .bn-strip { column-gap: 10px; padding-inline: 10px; font-size: 13px; }
  #bn-global-header.bn-header .bn-strip a { min-height: 44px; max-width: 38%; padding-block: 10px; }
  html[lang^="ja"] #bn-global-header.bn-header .bn-strip,
  html[lang^="th"] #bn-global-header.bn-header .bn-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 10px;
  }
  html[lang^="ja"] #bn-global-header.bn-header .bn-strip > span,
  html[lang^="th"] #bn-global-header.bn-header .bn-strip > span { display: none; }
  html[lang^="ja"] #bn-global-header.bn-header .bn-strip a,
  html[lang^="th"] #bn-global-header.bn-header .bn-strip a { max-width: none; min-width: 0; }
}
@media (max-width: 380px) {
  #bn-global-header .bn-lang-control { min-width: 74px; padding-inline: 10px; gap: 5px; }
  #bn-global-header.bn-header .bn-strip { column-gap: 8px; font-size: 12px; }
}
