/* Language switch in the top-right header, next to the X icon. */
.header-social-icons li.lang-toggle a {
  font-family: "Lato", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  padding: 0 4px;
}
.headroom--not-top .header-social-icons li.lang-toggle a,
.background-header .header-social-icons li.lang-toggle a,
.header-layout7 .header-social-icons li.lang-toggle a,
.header-layout8 .header-social-icons li.lang-toggle a {
  color: #000;
}
.header-social-icons li.lang-toggle a:hover { opacity: 0.7; }

/* Chinese pages: use the reader's system Chinese fonts after the site's Latin fonts. */
html:lang(zh-Hant) body,
html:lang(zh-Hant) h1, html:lang(zh-Hant) h2, html:lang(zh-Hant) h3,
html:lang(zh-Hant) h4, html:lang(zh-Hant) h5, html:lang(zh-Hant) h6,
html:lang(zh-Hant) .testimonial-item-text {
  font-family: "Lato", "Roboto", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
html:lang(zh-Hant) .pors-item-content p { line-height: 1.9; }

/* Story pages: Chinese translation first, English original underneath. */
.zh-translation .translation-note {
  font-size: 0.85em;
  opacity: 0.65;
  margin-top: 1.5em;
}
.en-original {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.en-original .en-original-label {
  font-size: 0.75em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Phones and tablets: the theme hides the header icons below 1025px, so show a copy beside the menu button. */
.lang-toggle-mobile { display: none; }
@media only screen and (max-width: 1024px) {
  .lang-toggle-mobile {
    display: block;
    position: absolute;
    top: 29px;
    right: 88px;
    z-index: 1000;
    font-family: "Lato", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    font-size: 15px;
    letter-spacing: 0.08em;
    line-height: 22px;
    text-decoration: none;
    color: #fff;
  }
  .background-header .lang-toggle-mobile,
  .headroom--not-top .lang-toggle-mobile { color: #000; }
}
@media only screen and (max-width: 568px) {
  .lang-toggle-mobile { right: 64px; }
}
