/* db-hub-kit: header, browse tiles and featured strip shared by the database index hubs (db_hub_kit.py) */
.dbh { max-width: var(--wh-colw, 1400px); min-width: 0; }
.dbh-head { margin: 8px 0 16px; }
.dbh-eyebrow { margin: 0; font-size: var(--wh-fs-sm, 12px); text-transform: uppercase; letter-spacing: .08em; color: var(--wh-muted, #888); }
.dbh-h1 { margin: 2px 0 6px; font-size: var(--wh-h1, 38px); line-height: 1.15; font-weight: 600; color: var(--wh-heading, #fff); text-transform: none; letter-spacing: 0; }
.dbh-count { display: inline-block; padding: 2px 10px; border-radius: 12px; background: var(--wh-bar, #181818); color: var(--wh-link, #ffd100); font-size: var(--wh-fs-sm, 13px); font-weight: 700; }
.dbh-intro { margin: 10px 0 0; max-width: 90ch; color: var(--wh-text, #bbb); line-height: 1.55; }
.dbh-sec { margin: 0 0 20px; min-width: 0; }
.dbh-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.dbh-h2 { margin: 0 0 8px; font-size: var(--wh-h2, 21px); line-height: 1.3; font-weight: 600; color: var(--wh-heading, #fff); text-transform: none; letter-spacing: 0; }
.dbh-sub { margin: -4px 0 8px; font-size: var(--wh-fs-sm, 12px); color: var(--wh-muted, #888); }
.dbh-more { font-size: var(--wh-fs-sm, 13px); color: var(--wh-link, #ffd100); text-decoration: none; white-space: nowrap; }
.dbh-tiles, .dbh-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dbh-tiles { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.dbh-strip { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.dbh-tile, .dbh-card { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; background: var(--wh-panel, #202020);
  border-radius: var(--wh-radius, 4px); text-decoration: none; color: var(--wh-text, #bbb); height: 100%; box-sizing: border-box; }
.dbh-tile:hover, .dbh-card:hover { background: var(--wh-raise, #2a2a2a); }
.dbh-ico { width: 40px; height: 40px; flex: none; border-radius: var(--wh-radius, 4px); background: var(--wh-bar, #181818); object-fit: cover; }
.dbh-card .dbh-ico { width: 44px; height: 44px; }
.dbh-ico--none { display: inline-block; }
.dbh-tile__t, .dbh-card__t { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.dbh-tile__name, .dbh-card__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dbh-tile__name { color: var(--wh-link, #ffd100); }
.dbh-tile__sub, .dbh-card__meta { font-size: var(--wh-fs-sm, 12px); color: var(--wh-muted, #888); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dbh-tile__n { flex: none; font-size: var(--wh-fs-sm, 12px); font-weight: 700; color: var(--wh-text, #bbb); }
.dbh-card__badge { flex: none; font-size: var(--wh-fs-sm, 12px); font-weight: 700; color: var(--wh-link, #ffd100); }
@media (max-width: 640px) {
  .dbh-h1 { font-size: var(--wh-h1-phone, 21px); line-height: 28px; }
  .dbh-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .dbh-strip { grid-template-columns: 1fr; }
}
.dbh-links { margin: 0; padding-left: 18px; line-height: 1.8; }
.dbh-links a { color: var(--wh-link, #ffd100); }
.dbh .wlv { margin-top: 0; }
