/* Knowledge Hub listings: home, topics, tags, search (inc/lbi-hub.php) */
.lbi-hub-head { background: #161928; color: #fff; padding: 120px 0 30px; }
.lbi-hub-title { color: #fff; font-size: 44px; line-height: 1.15; margin: 0 0 14px; }
.lbi-hub-intro { color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.6; max-width: 760px; margin: 0 0 28px; }

.lbi-hub-search { display: flex; max-width: 760px; margin: 0 0 26px; background: #fff; }
.lbi-hub-search input { flex: 1; min-width: 0; border: 0; padding: 15px 18px; font-size: 16px; color: #161928; background: transparent; }
.lbi-hub-search input:focus { outline: 2px solid #e49753; outline-offset: -2px; }
.lbi-hub-search button { border: 0; background: #e49753; color: #161928; font-weight: 700; padding: 0 26px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.lbi-hub-search button:hover { background: #fff; outline: 2px solid #e49753; outline-offset: -2px; }

.lbi-hub-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lbi-hub-topics-label { color: #e49753; font-weight: 700; margin-right: 6px; }
.lbi-hub-topics a { color: #fff; border: 1px solid rgba(255,255,255,.45); padding: 4px 12px; font-size: 13px; line-height: 1.5; text-decoration: none; transition: border-color .2s, color .2s; }
.lbi-hub-topics a:hover, .lbi-hub-topics a:focus { border-color: #e49753; color: #e49753; }
.lbi-hub-topics a[aria-current="page"] { background: #e49753; border-color: #e49753; color: #161928; }

.lbi-hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 30px 0 40px; }
.lbi-card { border: 1px solid rgba(255,255,255,.3); background: #1c2033; transition: border-color .2s; }
.lbi-card:hover { border-color: #e49753; }
.lbi-card-link { display: flex; flex-direction: column; height: 100%; color: #fff; text-decoration: none; }
.lbi-card-link > .lbi-card-img, .lbi-card-noimg { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #23283d; }
.lbi-card-body { flex: 1; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.lbi-card-meta { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.lbi-card-title { font-size: 18px; line-height: 1.35; margin: 0; color: #e49753; }
.lbi-card-more { margin-top: auto; padding-top: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 10px; }
.lbi-card-more::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.lbi-card-link:hover .lbi-card-title { color: #fff; }
.lbi-card-link:focus-visible { outline: 3px solid #e49753; outline-offset: -3px; }

.lbi-hub-pages { padding: 0 0 80px; }
.lbi-hub-pages ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.lbi-hub-pages a, .lbi-hub-pages span { display: block; padding: 8px 14px; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; }
.lbi-hub-pages .current { background: #e49753; border-color: #e49753; color: #161928; }
.lbi-hub-pages a:hover { border-color: #e49753; color: #e49753; }
.lbi-hub-empty { padding: 40px 15px 100px; color: #fff; }

@media (max-width: 1199px) { .lbi-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px)  { .lbi-hub-head { padding-top: 110px; } .lbi-hub-title { font-size: 36px; } .lbi-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px)  { .lbi-hub-title { font-size: 30px; } .lbi-hub-grid { grid-template-columns: 1fr; gap: 14px; } }
