/* ============================================================
   BRAND — INTEL HUB
   ============================================================ */

.hub-hero {
  background: var(--brand-700);
  padding-top: calc(var(--nav-h) + var(--sp-12));
  padding-bottom: var(--sp-12);
}

.hub-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: var(--sp-3);
}

.hub-hero__h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: var(--sp-4);
}

.hub-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.65);
  max-width: 600px;
  line-height: 1.65;
}

/* ── Filter Bar ──────────────────────────────────────────────── */
.hub-filter {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--sp-3);
}

.hub-filter__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.hub-filter__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-right: var(--sp-2);
  white-space: nowrap;
}

.filter-pill {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--sv-100);
  color: var(--sv-600);
  border: 1px solid var(--sv-200);
  cursor: pointer;
  transition: all var(--dur-fast);
  white-space: nowrap;
}

.filter-pill:hover,
.filter-pill--active {
  background: var(--brand-700);
  color: var(--color-white);
  border-color: var(--brand-700);
}

/* ── Content Area ────────────────────────────────────────────── */
.hub-content {
  padding-block: var(--sp-12);
}

/* ── Section Labels ──────────────────────────────────────────── */
.hub-section-label {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  margin-top: var(--sp-12);
}
.hub-section-label:first-child { margin-top: 0; }

.hub-section-label__text {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
  white-space: nowrap;
}

.hub-section-label__line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* ── Article Cards ───────────────────────────────────────────── */
.hub-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.article-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur-base), transform var(--dur-base);
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card.hidden { display: none; }

.article-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--brand-100);
  overflow: hidden;
}
.article-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow);
}
.article-card:hover .article-card__img img { transform: scale(1.04); }

.article-card__body {
  padding: var(--sp-5) var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__tags {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}

.article-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
  flex: 1;
}

.article-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--color-border);
}

.article-card__read-time {
  margin-left: auto;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hub-articles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hub-articles { grid-template-columns: 1fr; }
  .hub-filter__inner { gap: var(--sp-1); }
}
