/* English-length patch: prevent long strings from breaking layouts */
.promise-item,
.stat-card,
.info-card,
.dim-card,
.type-card,
.feature-card,
.step-card,
.authority-item,
.notice-item {
  min-width: 0;
}
.promise-item strong,
.promise-item small,
.stat-card .stat-label,
.stat-card .stat-value,
.info-card .card-label,
.dim-card h3,
.dim-card p,
.type-card h3,
.type-card p,
.feature-card h3,
.feature-card p,
.authority-text,
.notice-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* keep hero titles from overflowing */
.hero-title, .title-info h1, .cover-hero h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* 3 cards at 390px: reduce min-width so nothing is clipped */
.info-card,
[class*="info-card"] {
  min-width: 0 !important;
  flex: 1 1 0 !important;
}
.info-card .card-value,
.info-card .card-label {
  overflow-wrap: anywhere;
}

/* S5 根因：容器被 100vh 锁高 + grid 列宽不让压缩，第4张卡被裁 */
.welcome-container,
.content-wrapper,
.welcome-card,
[class*="welcome-card"] {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}
.info-cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.info-card {
  min-width: 0 !important;
  flex: initial !important;
}
