/* Insights page-specific styles - Extracted for better caching and performance */

.insights-listing {
  padding: var(--space-xl) 0;
  background-color: #ffffff;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.article-card {
  background-color: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bright-cyan);
}

.article-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--steel-blue) 0%, var(--deep-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.article-image svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.article-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
  color: var(--cool-gray);
}

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

.article-date {
  display: flex;
  align-items: center;
}

.article-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.article-excerpt {
  color: var(--cool-gray);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.article-links {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-top: auto;
}

.article-links a {
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-base);
}

.read-more {
  color: var(--bright-cyan);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.read-more:hover {
  gap: var(--space-sm);
}

.linkedin-link {
  color: var(--cool-gray);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.linkedin-link:hover {
  color: var(--steel-blue);
}

.article-linkedin-logo {
  filter: grayscale(100%) brightness(0.5);
}

@media (max-width: 768px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
  
  .article-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}