/* ==========================================================================
   JASA ENERGIES - ARTICLES KNOWLEDGE HUB STYLES
   ========================================================================== */

.articles-hub-section {
  padding: 80px 0 100px;
  background: #FAFBFC;
}

.article-category-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.article-cat-pill {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
}

.article-cat-pill:hover,
.article-cat-pill.active {
  background: #059669;
  border-color: #059669;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.2);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
  border-color: #10B981;
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.08);
  transform: translateY(-4px);
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #64748B;
}

.article-card-cat {
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #F0FDF4;
  color: #059669;
}

.article-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 14px;
  line-height: 1.35;
}

.article-card-excerpt {
  font-size: 14px;
  color: #64748B;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #F1F5F9;
  font-size: 13px;
  color: #94A3B8;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}
