/* Shared header/footer chrome for article pages */
header.site, footer.site {
  --bg: #0b0e17;
  --bg-elev: #12172a;
  --bg-card: #151b30;
  --border: #232a44;
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --text-faint: #64748b;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
header.site *, footer.site * { box-sizing: border-box; }
header.site a, footer.site a { text-decoration: none; color: inherit; }
header.site .wrap, footer.site .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
header.site .brand, footer.site .brand { display: flex; align-items: center; gap: 10px; }
header.site .brand img, footer.site .brand img { display: block; height: 28px; width: auto; }
header.site nav.main {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px 28px;
}
header.site nav.main br { display: none; }
header.site nav.main a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .15s;
  white-space: nowrap;
}
header.site nav.main a:hover { color: #fff; }
header.site .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 24px -8px rgba(139, 92, 246, .6);
  white-space: nowrap;
}
/* Menu script used to clone Get Started into the nav (beside Workplace Skills). Keep one header button. */
header.site nav.main .nav-cta,
header.site nav.main .cta-btn {
  display: none;
}
footer.site {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  padding: 56px 0 28px;
}
footer.site .fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer.site h3 { color: #fff; font-size: 13px; font-weight: 700; margin: 0 0 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 9px; font-size: 13.5px; }
footer.site a:hover { color: #fff; }
footer.site .fbottom {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-faint);
}
@media (max-width: 860px) {
  header.site nav.main { display: none; }
  footer.site .fgrid { grid-template-columns: 1fr; }
}

/* Related-article CTA pills — workglade numbered blue style */
.cta-cluster,
div.flex.flex-col.gap-3:has(> a.av-rewarded) {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  counter-reset: cta;
}

.cta-cluster a.av-rewarded,
a.av-rewarded[class*="4ab3c8"] {
  counter-increment: cta;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  padding: 0.9rem 1.15rem !important;
  border: 2.5px solid #000 !important;
  border-radius: 999px !important;
  background: #1E3FE0 !important;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: none !important;
}

.cta-cluster a.av-rewarded:hover,
a.av-rewarded[class*="4ab3c8"]:hover {
  background: #1834b8 !important;
  color: #fff !important;
}

.cta-cluster a.av-rewarded svg,
a.av-rewarded[class*="4ab3c8"] svg {
  display: none;
}

.cta-cluster a.av-rewarded::after,
a.av-rewarded[class*="4ab3c8"]::after {
  content: "\2192";
  margin-left: auto;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cta-number {
  flex-shrink: 0;
  color: #A8E100;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
}

.cta-headline {
  flex: 1;
  font-weight: 700;
  color: #fff;
}

a.av-rewarded[class*="4ab3c8"]:not(:has(.cta-number)) > span::before {
  content: counter(cta);
  color: #A8E100;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 0.75rem;
}
