/* P11.3R8 | Eight legacy EN/ZH detail pages only. This CSS is only linked from these eight HTML files. */
/* Main content is centered independently of site-wide legacy container rules. */
html { max-width: 100%; }
body main {
  width: calc(100% - 2 * clamp(20px, 4vw, 64px)) !important;
  max-width: 1280px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}
/* Override upstream legacy rules (which can otherwise leave headings flush at viewport edge). */
body main :is(section.gba-trust, section.gba-watch, section.gba-report, section.gba-src) {
  width: 100% !important;
  max-width: 1160px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: clamp(26px, 3.5vw, 48px) clamp(18px, 2.4vw, 36px) !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere;
}
body main :is(.gba-trust, .gba-watch, .gba-report, .gba-src) h1 {
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif !important;
  font-size: clamp(2rem, 3.35vw, 3.55rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.022em !important;
  max-width: 100% !important;
  margin: .35em 0 .75em !important;
  overflow-wrap: anywhere !important;
}
body main :is(.gba-trust, .gba-watch, .gba-report, .gba-src) h2 {
  font-size: clamp(1.25rem, 2.1vw, 2.1rem) !important;
  line-height: 1.28 !important;
  overflow-wrap: anywhere !important;
}
body main :is(.gba-trust, .gba-watch, .gba-report, .gba-src) :is(.gba-trust-grid,.gba-watch-grid,.gba-report-grid,.gba-src-grid) {
  min-width: 0 !important;
  max-width: 100% !important;
}
@media (max-width: 740px) {
  body main { width: calc(100% - 40px) !important; }
  body main :is(section.gba-trust, section.gba-watch, section.gba-report, section.gba-src) {
    padding: 24px 0 !important;
  }
  body main :is(.gba-trust, .gba-watch, .gba-report, .gba-src) h1 {
    font-size: clamp(1.85rem, 7.1vw, 2.7rem) !important;
    line-height: 1.19 !important;
  }
  body main :is(.gba-trust, .gba-watch, .gba-report, .gba-src) :is(.gba-trust-grid,.gba-watch-grid,.gba-report-grid,.gba-src-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media (max-width: 375px) {
  body main { width: calc(100% - 32px) !important; }
}
