/* WPML switcher "EN / VN" — style giống icon-list inline cũ của header. */

/* Nạp DM Sans (phòng trường hợp live chưa load font này) */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/dmsans/v15/rP2Hp2ywxg089UriCZOIHTWEBlwu8Q.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/dmsans/v15/rP2Hp2ywxg089UriCZOIHTWEBlwu8Q.woff2") format("woff2");
}

/* Tăng specificity + ép font để thắng rule Playfair của theme/Elementor */
.tf-lang,
.tf-lang li,
.tf-lang a,
.tf-lang span,
.tf-lang .tf-lang__text {
  font-family: "DM Sans", system-ui, sans-serif !important;
}

.tf-lang {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "DM Sans", system-ui, sans-serif !important;
}
.tf-lang__item,
.tf-lang__sep { display: inline-flex; }
.tf-lang__text {
  /* ép DM Sans (theme đang đè Playfair cho header -> cần !important) */
  font-family: "DM Sans", system-ui, sans-serif !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  color: inherit;          /* thừa hưởng màu chữ header */
}
.tf-lang__item a.tf-lang__text:hover { opacity: .7; }
/* ngôn ngữ đang xem: đậm hơn (tùy chọn) */
.tf-lang__item.is-active .tf-lang__text { font-weight: 600; }
.tf-lang__sep .tf-lang__text { opacity: .6; }
