/* ── LinkedIn Optimizer Hub (/linkedin/) — search/filter directory ──────── */

/* .rc-li-theme used to override --brand to LinkedIn blue here; removed
   per request so this hub uses the site's default brand orange (#ed4e34,
   from styles.css) like every other hub instead of a page-specific theme.
   The class is still applied in templates/linkedin-hub.php for hooking
   .rc-li-theme-scoped styles below — it just no longer redefines colors. */

.rc-li-hero__subtitle {
  font-size: 1.05rem;
  /* !important needed: .rc-pseo-wrapper p (styles.css) is more specific
     (class+element) than this single class and would otherwise win with
     var(--text-2) — same fix already applied to .rc-opt-hero__subtitle
     in resume-hub-styles.css for the identical conflict. */
  color: var(--white) !important;
  max-width: 640px;
  line-height: 1.6;
  margin: 4px 0 28px;
}

/* Job card grid — deliberately separate from .rc-opt-grid: that one's
   mobile 2-up is pixel-tuned for the Resume Optimizer's scaled-paper
   card, which doesn't apply here (this card has no scaled mockup). */
.rc-li-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

/* Profile-style card — overrides .rc-opt-card's padding so the cover
   banner can bleed to the card's rounded edges; everything below the
   banner lives in .rc-li-pcard__body, which carries its own padding. */
.rc-li-pcard {
  padding: 0 0 16px !important;
  gap: 0 !important;
}

.rc-li-pcard__banner {
  height: 44px;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand-mid) 100%);
  border-radius: 13px 13px 0 0;
  margin: -1px -1px 0;
}

.rc-li-pcard__body {
  padding: 0 18px;
  margin-top: -22px;
}

.rc-li-pcard__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3, #9CA3AF);
  margin-bottom: 8px;
}

.rc-li-pcard__placeholder {
  color: #9CA3AF;
  font-style: italic;
}

.rc-li-pcard__name {
  font-size: .95rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.rc-li-pcard__headline-after {
  font-size: .9rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 10px;
}

.rc-li-pcard__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .76rem;
  color: var(--text-3, #9CA3AF);
  margin-bottom: 10px;
}
.rc-li-pcard__meta svg { flex-shrink: 0; }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .rc-opt-search-wrap { flex-wrap: wrap; padding: 10px 14px; border-radius: 16px; }
  .rc-opt-search__icon { display: none; }
  .rc-opt-search__input { padding: 8px 0; width: 100%; }
  .rc-opt-search__count { margin: 0 0 4px; }
  .rc-opt-filter-bar { padding: 20px 16px 0; }
  .rc-li-grid { grid-template-columns: 1fr; }
}
