/* Hub vertical pages (portal, brands, …) — complements css/style.css */
.hub-main {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}
.hub-page-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.35rem;
  color: #e8f4fc;
}
.hub-updated {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.hub-prose {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #c8d4e0;
  margin-bottom: 0.75rem;
}
.hub-prose code {
  font-size: 0.85em;
  color: #bae6fd;
}
.hub-screen {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(125, 211, 252, 0.12);
}
.hub-screen-lead {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 52rem;
}
.hub-rank-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
  counter-reset: hubrank;
}
.hub-rank-item {
  margin: 0;
  counter-increment: hubrank;
}
.hub-rank-link {
  position: relative;
  display: flex; 
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 18, 0.45);
  text-decoration: none;
  color: #e0e8f0;
  transition: border-color 0.15s, background 0.15s;
}
.hub-rank-link:hover {
  border-color: rgba(125, 211, 252, 0.35);
  background: rgba(12, 20, 32, 0.55);
}
.hub-rank-num {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hub-rank-link::before {
  content: counter(hubrank);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  align-self: flex-start;
  margin-bottom: -0.2rem;
  display: none;
}
.hub-rank-text {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}
.hub-favicon {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.hub-news-wrap {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .hub-news-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .hub-news-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.hub-news-group {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(6, 10, 14, 0.5);
}
.hub-news-group-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: #bae6fd;
}
.hub-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hub-news-list li {
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
  line-height: 1.35;
  display: flex;
  justify-content: space-between;
}
.hub-news-list a {
  color: #e0e8f0;
  text-decoration: none;
  font-weight: 500;
}
.hub-news-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.hub-news-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.hub-more-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.45rem 0.65rem;
}
.hub-more-item {
  margin: 0;
}
.hub-more-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  border: 1px solid transparent;
}
.hub-more-link:hover {
  color: #e0e8f0;
  border-color: var(--border);
  background: rgba(8, 12, 18, 0.4);
}
.hub-favicon-sm {
  flex-shrink: 0;
}
