/* =========================================
   PROCUVANCE — Article Page Styles
   ========================================= */

.article-page { background: var(--bg-light); }

.article-hero {
  background: var(--bg-dark);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(20,184,166,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.article-hero .container { position: relative; z-index: 1; max-width: 820px; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
  transition: color var(--transition);
}
.article-back:hover { color: var(--text-white); }

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-date, .article-read {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1.12;
  margin-bottom: 20px;
}

.article-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 680px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}
.author-avatar {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-white);
  flex-shrink: 0;
}
.article-author div strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-white);
}
.article-author div span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 80px;
  align-items: start;
}

.article-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  line-height: 1.25;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
}
.article-content p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}
.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: rgba(20,184,166,0.06);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
  font-size: 1rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.75;
}
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-content ul li, .article-content ol li {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 8px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-cta {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  margin-top: 48px;
  text-align: center;
}
.article-cta h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}
.article-cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.article-sidebar .sidebar-card {
  background: var(--text-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.article-sidebar .sidebar-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 16px;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}
.author-avatar-lg {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}
.author-info strong { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.author-info span { font-size: 0.82rem; color: var(--text-subtle); line-height: 1.5; }

.related-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.related-links li a {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
  transition: color var(--transition);
  line-height: 1.5;
}
.related-links li a:hover { color: var(--accent-hover); }

@media (max-width: 900px) {
  .article-body { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 768px) {
  .article-hero { padding: calc(var(--nav-height) + 40px) 0 40px; }
  .article-hero h1 { font-size: 1.8rem; }
  .article-cta { padding: 28px 20px; }
  .article-cta h3 { font-size: 1.15rem; }
}
