/* VirtuHire US Resources — article + hub styling. Inherits homepage variables from style.css. */

/* HUB GRID */
.resources-hub {
  padding: 120px 0 80px;
}
.resources-hub-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.resources-hub-header h1 {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem);
  margin-bottom: 16px;
}
.resources-hub-header p {
  font-size: 18px;
  color: var(--text-muted);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.resource-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}
.resource-card .resource-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-bright);
  margin-bottom: 16px;
}
.resource-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.resource-card .resource-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.resource-card .resource-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--text-faint);
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
}
.resource-card .resource-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--text-faint);
  border-radius: 50%;
}
.resources-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

/* ARTICLE */
.article {
  padding: 100px 0 80px;
}
.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.article-breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.article-breadcrumbs a:hover { color: var(--purple-bright); }
.article-breadcrumbs .sep { color: var(--text-faint); }

.article-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}
.article-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-bright);
  margin-bottom: 16px;
}
.article h1 {
  font-size: clamp(1.85rem, 3.5vw + 0.5rem, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.article-deck {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 24px;
  font-weight: 500;
}
.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-faint);
}
.article-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--text-faint);
  border-radius: 50%;
}

.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
}
.article-body > * + * { margin-top: 1.5em; }
.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-top: 2.5em;
  margin-bottom: 0.6em;
  scroll-margin-top: 80px;
}
.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2em;
  margin-bottom: 0.5em;
  scroll-margin-top: 80px;
}
.article-body p { color: var(--text-soft); }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body em { color: var(--text); }
.article-body a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-decoration-color: rgba(167, 139, 250, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.article-body a:hover { text-decoration-color: var(--purple-bright); }
.article-body ul, .article-body ol {
  padding-left: 1.4em;
  color: var(--text-soft);
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body ul li, .article-body ol li {
  margin-bottom: 0.5em;
}
.article-body ul li::marker { color: var(--purple-bright); }
.article-body ol li::marker { color: var(--purple-bright); font-weight: 700; }

.article-body blockquote {
  border-left: 3px solid var(--purple-bright);
  padding: 4px 0 4px 20px;
  color: var(--text);
  font-style: italic;
  font-size: 18px;
  background: var(--purple-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 1.5em 0;
}
.article-body blockquote p { color: var(--text); margin: 0; }

.article-body code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.92em;
  color: var(--purple-bright);
  font-family: 'SF Mono', Menlo, Consolas, monospace;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.article-body th {
  background: var(--bg-elev);
  color: var(--text);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}
.article-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-soft);
  vertical-align: top;
}
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:hover td { background: var(--bg-card-hover); }

.article-body .callout {
  background: var(--purple-tint);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 2em 0;
}
.article-body .callout strong { color: var(--purple-bright); }

.article-tldr {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--purple-bright);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 0 0 32px;
}
.article-tldr-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-bright);
  margin-bottom: 8px;
}
.article-tldr p {
  margin: 0;
  font-size: 16.5px;
  color: var(--text);
  line-height: 1.55;
}

.article-cta {
  margin-top: 64px;
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}
.article-cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.faq-block {
  margin-top: 3em;
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border-soft); }
.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.faq-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .resources-hub { padding: 80px 0 60px; }
  .article { padding: 60px 0 60px; }
  .article-body { font-size: 16px; }
  .article-body table { font-size: 14px; }
  .article-body th, .article-body td { padding: 10px 12px; }
  .resources-grid { grid-template-columns: 1fr; }
}
