.slideshow {
    height: 400px;
    object-fit: cover;
}

/* ===== 上线前修复：长标签换行 & 移动端 g-5 间距收窄 ===== */
.badge { white-space: normal !important; line-height: 1.45; text-align: left; max-width: 100%; }
@media (max-width: 767.98px) {
  .g-5 { --bs-gutter-x: 1rem !important; --bs-gutter-y: 1rem !important; }
  .row.g-5 { margin-left: -.5rem; margin-right: -.5rem; }
}

/* 移动端表格：可横向滚动 + 缩小内边距 */
@media (max-width: 767.98px) {
  .table { font-size: 14px; }
  .table td, .table th { padding: .5rem; word-break: break-word; }
}

/* 移动端 hero 胶囊：允许内部换行，避免背景被截断/相互挤压 */
@media (max-width: 575.98px) {
  .herocontent .rounded-pill { display: inline-block; max-width: 100%; white-space: normal; line-height: 1.5; }
  .herocontent a { display: inline-block; max-width: 100%; }
}
