/* Article-specific styles - Extracted from inline styles for better caching */

.article-header {
  background: linear-gradient(135deg, #1A3551 0%, #2C4E6B 100%);
  color: #ffffff;
  padding: var(--space-xl) 0 var(--space-lg) 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.article-header .container {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.article-meta-top {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

/* REC 1: badge background changed from #00A8E8 (2.70:1 FAIL) to #005F8E (6.94:1 PASS) */
.article-category-badge {
  background-color: #005F8E;
  color: white;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-date-badge {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.article-excerpt-header {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
  font-weight: 400;
}

.article-body {
  background-color: #ffffff;
  padding: var(--space-xl) 0;
  position: relative;
  z-index: 10;
}

.article-body .container {
  max-width: 800px;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.article-content p {
  margin-bottom: var(--space-lg);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-content li {
  margin-bottom: var(--space-md);
}

.article-content strong {
  font-weight: 600;
  color: var(--deep-navy);
}

.article-content a {
  color: var(--bright-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 168, 232, 0.3);
  transition: border-color var(--transition-base);
}

.article-content a:hover {
  border-bottom-color: var(--bright-cyan);
}

.article-content blockquote {
  border-left: 4px solid var(--bright-cyan);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  font-style: italic;
  color: var(--cool-gray);
  font-size: 1.25rem;
  line-height: 1.6;
}

.article-image {
  margin: 0 auto var(--space-lg) auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 80%;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-footer {
  border-top: 2px solid var(--light-gray);
  padding-top: var(--space-xl);
  margin-top: var(--space-3xl);
}

.author-bio {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.author-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.author-info p {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 0;
}

.linkedin-original {
  background-color: var(--off-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--bright-cyan);
  margin-bottom: var(--space-xl);
}

.linkedin-original p {
  margin-bottom: var(--space-sm);
  color: var(--cool-gray);
}

.linkedin-original a {
  color: var(--bright-cyan);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: none;
}

.linkedin-original a:hover {
  text-decoration: underline;
}

.back-to-insights {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--bright-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: gap var(--transition-base);
  border-bottom: none;
}

.back-to-insights:hover {
  gap: var(--space-sm);
}

@media (max-width: 768px) {
  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  /* REC 1: mobile article images — was max-width:50% which is too small on mobile */
  .article-image {
    max-width: 100%;
  }
}