/* Insights Page Styles */

.insights-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-8) 0;
}

.insights-featured__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.insights-featured__content {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.insights-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.insights-tabs {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: 4px;
}

.insights-tabs__btn {
  background: none;
  border: none;
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
}

.insights-tabs__btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

.insights-tabs__btn:hover,
.insights-tabs__btn.active {
  color: var(--color-text);
}

.insights-tabs__btn:hover::after,
.insights-tabs__btn.active::after {
  width: 100%;
}

.insights-search {
  position: relative;
  width: 250px;
}
.insights-search input {
    width: 100%;
    padding: 8px 16px 8px 36px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}
.insights-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

/* Article Page */
.article-header {
  padding: var(--space-8) 0 var(--space-6);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
}

.article-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content h2,
.article-content h3 {
  margin-top: var(--space-5);
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

@media (max-width: 768px) {
  .insights-featured {
    grid-template-columns: 1fr;
  }
  
  .insights-grid {
    grid-template-columns: 1fr;
  }
  
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    position: static;
    margin-top: var(--space-6);
  }
}
