/* Multi-language (i18n) visual parity overrides on top of the official Chinese CSS stack.
 * Preserves 1:1 Chinese layout, header (.nav_box), footer (.foot), floating sidebar (.ce),
 * mobile bar (.fswzj), and all page modules while handling multi-language text wrapping.
 */
:root {
  --i18n-red: #ae1020;
  --i18n-border: #e5e5e5;
}

body.i18n-site {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}
body.i18n-site .inl,
body.i18n-site .ind {
  overflow: hidden;
}

/* Header: keep 7 English nav links + language switch + search + menu neatly on one row */
body.i18n-site .gm_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body.i18n-site .top_logo {
  flex: 0 0 auto;
  width: clamp(190px, 21vw, 310px);
}
body.i18n-site .top_logo img {
  width: 100%;
  height: auto;
  display: block;
}
body.i18n-site .top_r_list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.4vw, 22px);
  flex: 1 1 auto;
  min-width: 0;
}
body.i18n-site .top_nav {
  width: auto;
  float: none;
}
body.i18n-site .top_nav ul {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
}
body.i18n-site .top_nav li {
  float: none;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}
body.i18n-site .top_nav li a {
  font-size: clamp(12.5px, 0.98vw, 15px);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
body.i18n-site .top_r {
  flex: 0 0 auto;
  float: none;
  width: auto;
}
body.i18n-site .top_r ul {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.i18n-site .top_r li {
  float: none;
  margin: 0 !important;
  cursor: pointer;
}
body.i18n-site .top_r li.preview-lang-item a.language-switch {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid #d5d5d5;
  border-radius: 15px;
  color: #444;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}
body.i18n-site .top_r li.preview-lang-item a.language-switch:hover {
  border-color: var(--i18n-red);
  color: var(--i18n-red);
  background: #fdf6f6;
}
body.i18n-site .seard input[type="text"] {
  font-family: inherit;
}

/* Home hero & intro sections */
body.i18n-site .inaa_txt h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.18;
}
body.i18n-site .inaa_txt p {
  text-align: left;
  line-height: 1.7;
}
body.i18n-site .inaa_list h2 {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.35;
  white-space: normal;
}
body.i18n-site .inab_txt h2 {
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.25;
}
body.i18n-site .inab_txt p {
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.4;
}
body.i18n-site .inab_menu li p {
  white-space: normal;
  line-height: 1.3;
  font-size: clamp(13px, 1.05vw, 16px);
}
body.i18n-site .inl_tit h2,
body.i18n-site .ind_tit h2,
body.i18n-site .inj_tit h2 {
  line-height: 1.2;
}
body.i18n-site .inl_txt h2 {
  font-size: clamp(22px, 2vw, 30px);
}
body.i18n-site .inl_txt p {
  white-space: normal;
  line-height: 1.65;
  overflow-wrap: break-word;
}
body.i18n-site .ind_txt h2 {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.25;
}
body.i18n-site .ind_txt span {
  display: block;
  margin-top: 4px;
  line-height: 1.3;
}
body.i18n-site .ind_txt p {
  white-space: normal;
  height: auto;
  line-height: 1.45;
  overflow-wrap: break-word;
}

/* About page: restore full visual parity for 5 sections */
body.i18n-site .about_menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}
body.i18n-site .about_menu li {
  float: none;
  width: auto !important;
  margin: 0 !important;
}
body.i18n-site .about_menu li a {
  white-space: nowrap;
}
body.i18n-site .abouta_l h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.18;
}
body.i18n-site .abouta_txt p {
  line-height: 1.75;
  text-align: left;
}
body.i18n-site .aboutc_item {
  height: auto !important;
  min-height: 230px;
  padding-bottom: 24px;
  box-sizing: border-box;
  overflow: visible !important;
}
body.i18n-site .aboutc_txt {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
}
body.i18n-site .aboutc_txt h2,
body.i18n-site .aboutc_list h3 {
  line-height: 1.25;
}
body.i18n-site .aboutc_txt p,
body.i18n-site .aboutc_list p {
  white-space: normal !important;
  line-height: 1.55;
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
  overflow: visible !important;
}
body.i18n-site .abouta_shu ul {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
}
body.i18n-site .abouta_shu li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
body.i18n-site .aboute_r .swiper-container {
  height: 540px;
}
body.i18n-site .aboute_r .swiper-slide {
  height: auto;
  box-sizing: border-box;
  padding-bottom: 14px;
}
body.i18n-site .aboute_txt h2 {
  white-space: normal;
  height: auto;
  line-height: 1.3;
  margin-bottom: 6px;
}
body.i18n-site .aboute_txt p {
  white-space: normal;
  height: auto !important;
  font-size: 13.5px;
  line-height: 1.48;
  overflow-wrap: break-word;
}
body.i18n-site .abouta_num {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
body.i18n-site .inj_steps_card {
  background: linear-gradient(145deg, #eceeef 0%, #dde0e3 100%);
  border-radius: 18px;
  padding: 28px 26px;
  min-width: 240px;
  box-sizing: border-box;
}
body.i18n-site .inj_steps_card ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
body.i18n-site .inj_steps_card li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
body.i18n-site .inj_steps_card li span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--i18n-red);
  color: var(--i18n-red);
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}
body.i18n-site .aboutf_txt p {
  white-space: normal;
  line-height: 1.55;
  height: auto;
}
body.i18n-site .aboutg_list li p {
  white-space: normal;
  line-height: 1.35;
  font-size: clamp(13px, 1.05vw, 15px);
}

/* Members, Member Profiles, Member News, Notices, Chamber News */
body.i18n-site .m_menu2 a {
  white-space: normal !important;
  line-height: 1.2;
  font-size: clamp(13px, 1.1vw, 17px);
}
body.i18n-site .m_menu2 .member-nav-label-honorary {
  font-size: 0.85em;
  line-height: 1.2;
}
body.i18n-site .m_txt {
  min-width: 0;
}
body.i18n-site .m_txt h2,
body.i18n-site .m_txt h3,
body.i18n-site .m_txt p {
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  height: auto;
  max-height: none;
}
body.i18n-site .m_txt p {
  line-height: 1.45;
}
body.i18n-site .news_menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
body.i18n-site .news_menu li {
  float: none;
  width: auto !important;
  margin: 0 !important;
}
body.i18n-site .news_l li,
body.i18n-site .news_txt h2,
body.i18n-site .news_txt p,
body.i18n-site .news_hot a,
body.i18n-site .vip_txt h2,
body.i18n-site .vip_txt p,
body.i18n-site .vipnews_txt h2,
body.i18n-site .vipnews_txt p,
body.i18n-site .g_txt h2 {
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal !important;
  height: auto !important;
  line-height: 1.45;
}
body.i18n-site .vip_menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
body.i18n-site .vip_menu li {
  float: none;
  width: auto !important;
  margin: 0 !important;
}

/* Join Us & Contact Us */
body.i18n-site .inj_msga h2,
body.i18n-site .joina_msga h2 {
  white-space: nowrap;
  margin-right: 10px;
}
body.i18n-site .inj_msga,
body.i18n-site .joina_msga {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  height: auto;
}
body.i18n-site .inj_msga2,
body.i18n-site .joina_msga2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
}
body.i18n-site .inj_sub button,
body.i18n-site .joina_sub button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 4px;
  background: var(--i18n-red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
body.i18n-site .inj_sub button:hover,
body.i18n-site .joina_sub button:hover {
  background: #8f0c1a;
}
body.i18n-site .i18n-form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
  background: #f7f7f7;
  border: 1px solid #ddd;
  color: #333;
}
body.i18n-site .i18n-form-status.is-success {
  background: #eef8f0;
  border-color: #9fd3ab;
  color: #1c5c2d;
}
body.i18n-site .i18n-form-status.is-error {
  background: #fdf2f2;
  border-color: #e6b3b8;
  color: #8f1d28;
}
body.i18n-site .joinb_txt h2 span {
  display: block;
  margin-top: 4px;
  line-height: 1.25;
}
body.i18n-site .joinb_txt .contact-phone-link {
  font-size: clamp(16px, 1.5vw, 22px);
}
body.i18n-site .i18n-office-box {
  margin-top: 32px;
  padding: 24px 28px;
  background: #f8f8f8;
  border: 1px solid var(--i18n-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 28px;
}
body.i18n-site .i18n-office-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px;
}
body.i18n-site .i18n-office-box p,
body.i18n-site .i18n-office-box a {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}
body.i18n-site .i18n-office-box a {
  color: var(--i18n-red);
  text-decoration: underline;
}

/* Footer & Floating Sidebar English label fit */
body.i18n-site .foot_m p {
  line-height: 1.35;
  font-size: 13px;
}
body.i18n-site .foot_r ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 18px;
  justify-content: flex-end;
}
body.i18n-site .foot_r li a {
  font-size: 14px;
  white-space: nowrap;
}
body.i18n-site .foot_r li {
  float: none;
  margin: 0 !important;
  width: auto !important;
}
body.i18n-site .foot_r li a {
  white-space: nowrap;
}
body.i18n-site .foot_bom {
  line-height: 1.65;
}
body.i18n-site .ce_txt p {
  font-size: 11px;
  line-height: 1.25;
}
body.i18n-site .ce_pa {
  white-space: nowrap;
}

/* Activity Center landing & Reviewed Event detail pages */
body.i18n-site .i18n-activity-wrap {
  padding: 48px 0 64px;
}
body.i18n-site .i18n-activity-hero {
  background: #f8f8f8;
  border: 1px solid var(--i18n-border);
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
body.i18n-site .i18n-activity-hero h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 0 0 8px;
  color: #222;
}
body.i18n-site .i18n-activity-hero p {
  margin: 0;
  max-width: 62ch;
  color: #555;
  line-height: 1.6;
}
body.i18n-site .i18n-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 6px;
  background: var(--i18n-red);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}
body.i18n-site .i18n-cta-btn:hover {
  background: #8f0c1a;
}
body.i18n-site .i18n-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
body.i18n-site .i18n-event-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--i18n-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
body.i18n-site .i18n-event-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
body.i18n-site .i18n-event-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
body.i18n-site .i18n-event-card-body time {
  font-size: 13px;
  color: #777;
}
body.i18n-site .i18n-event-card-body h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0;
  color: #222;
}
body.i18n-site .i18n-event-card-body p {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}
body.i18n-site .i18n-event-card-body a {
  margin-top: auto;
  padding-top: 8px;
  color: var(--i18n-red);
  font-weight: 600;
  text-decoration: underline;
}

/* Reviewed event article & Archive detail polish */
body.i18n-site .preview-article {
  width: min(940px, 92%);
  margin: 0 auto;
  padding: 40px 0 64px;
}
body.i18n-site .preview-article h1 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  margin: 10px 0 20px;
}
body.i18n-site .preview-article-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 24px;
}
body.i18n-site .preview-article section {
  margin: 22px 0;
}
body.i18n-site .preview-article h2 {
  font-size: 20px;
  margin: 0 0 8px;
  color: #222;
}
body.i18n-site .preview-article p {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}
body.i18n-site .archive-translation-note {
  margin: 16px auto;
  padding: 10px 14px;
  background: #fafafa;
  border-left: 3px solid var(--i18n-red);
  font-size: 13.5px;
  line-height: 1.55;
  color: #555;
}
body.i18n-site .archive-translation-note a {
  color: var(--i18n-red);
  text-decoration: underline;
}
body.i18n-site .archive-image-transcripts {
  margin: 22px 0;
  padding: 14px 18px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #fafafa;
}
body.i18n-site .archive-image-transcripts summary {
  cursor: pointer;
  font-weight: 700;
}
body.i18n-site .archive-contents {
  width: min(980px, 92%);
  margin: 0 auto;
  padding: 36px 0 64px;
}
body.i18n-site .archive-contents input[type="search"] {
  box-sizing: border-box;
  width: min(100%, 560px);
  padding: 10px 14px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 15px;
  margin: 8px 0 12px;
}
body.i18n-site .archive-page-list {
  margin-top: 16px;
  padding-left: 24px;
}
body.i18n-site .archive-page-list li {
  list-style: decimal;
  padding: 9px 4px;
  border-bottom: 1px solid #eaeaea;
}
body.i18n-site .archive-page-list a {
  color: #222;
}
body.i18n-site .archive-page-list a:hover {
  color: var(--i18n-red);
}

/* Responsive fixes for tablet & mobile (<= 1180px & <= 768px) */
@media (max-width: 1180px) {
  body.i18n-site .top_nav {
    display: none !important;
  }
}
@media (max-width: 860px) {
  body.i18n-site .i18n-event-grid {
    grid-template-columns: 1fr;
  }
  body.i18n-site .foot_r ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  body.i18n-site .gm_top {
    gap: 8px;
  }
  body.i18n-site .top_logo {
    width: clamp(140px, 42vw, 200px);
  }
  body.i18n-site .top_r ul {
    gap: 8px;
  }
  body.i18n-site .top_r li.menushow,
  body.i18n-site .top_r li.searshow {
    display: inline-flex !important;
    align-items: center;
  }
  body.i18n-site .abouta_shu ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.i18n-site .m_txt p {
    display: block !important;
  }
  body.i18n-site .m_menu2 a {
    font-size: 12.5px;
  }
  body.i18n-site .fnav_wb {
    font-size: 11px;
  }
  body.i18n-site .aboutf {
    height: auto;
    min-height: 360px;
  }
}
