/* === English site overrides (does NOT modify the shared Chinese styles.css) === */

/* 1. Body font: clean Latin stack so English text renders crisply */
.en-page {
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 2. Unify section heading sizes (source had 40px default but 42px on home-mihc -> visual inconsistency) */
.en-page .section-heading h2,
.en-page .centered-heading h2,
.en-page .home-mihc-section .section-heading h2,
.en-page .mihc-section .section-heading h2,
.en-page .section-heading > h2 {
  font-size: 40px;
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: 0;
}

/* 3. Remove the small label that duplicates the heading (e.g. "CORE SERVICES" above "Core Services") */
.en-page .section-kicker {
  display: none;
}

/* 4. Language switcher (中 / EN double pill) */
.lang-switcher {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--blue);
  border-radius: 999px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.lang-option {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  color: var(--blue);
  text-decoration: none;
  background: transparent;
  transition: background 160ms ease, color 160ms ease;
  cursor: pointer;
}
.lang-option.is-active {
  background: var(--blue);
  color: #fff;
  cursor: default;
}
.lang-option:hover:not(.is-active),
.lang-option:focus-visible:not(.is-active) {
  background: rgba(26, 115, 232, 0.1);
}
@media (max-width: 900px) {
  .lang-switcher { margin-left: auto; margin-right: 8px; }
}

/* 5. Core Services now has only 2 cards -> spread them left/right with more breathing room */
.en-page .business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: none;
  justify-content: normal;
}

@media (max-width: 720px) {
  .en-page .business-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* 6. Clean up empty figcaption span after removing contact helper text */
.contact-qr-item figcaption span:empty {
  display: none;
}

/* 7. Make the two QR codes on Contact page render at the exact same size */
.en-page .contact-qr-image {
  width: 220px;
  height: 220px;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* 8. Make the QR-code card outer boxes the same height */
.en-page .contact-qr-grid {
  align-items: stretch;
}

.en-page .contact-qr-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

@media (max-width: 620px) {
  .en-page .contact-qr-image {
    width: 180px;
    height: 180px;
  }
}

/* 9. Address block below Working hours on Contact page */
.en-page .contact-address {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid #dce4ed;
  border-bottom: 1px solid #dce4ed;
}
.en-page .contact-address-label {
  color: #7b8798;
  font-size: 14px;
}
.en-page .contact-address-list {
  margin: 0;
}
.en-page .contact-address-list p {
  margin: 0 0 6px;
  color: #173757;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.en-page .contact-address-list p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .en-page .contact-address {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
