

.articles-page {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
  min-height: 100vh;
}

.articles-header {
  margin-bottom: 3rem;
  text-align: center;
}

.articles-header h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.articles-header p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #a0a0a0;
}

.filters-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 0;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-box input {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0;
  color: #fff;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

.search-box input::placeholder {
  color: #9ca3af;
}

.search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #22c55e;
  padding: 0.75rem 1rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  font-size: 1.1rem;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group h3 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #22c55e;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  padding: 0.625rem 0.875rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0;
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.filter-pill:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  color: #22c55e;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: #22c55e;
  color: #0a0a0f;
  border-color: #22c55e;
  font-weight: 600;
}

.clear-filters {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(255, 65, 54, 0.5);
  border-radius: 0;
  color: #ff4136;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.clear-filters:hover {
  background: rgba(255, 65, 54, 0.1);
  border-color: #ff4136;
  transform: translateY(-1px);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

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

.article-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 0;
  padding: 1.5rem;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: #22c55e;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.article-badge {
  padding: 0.25rem 0.625rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 0;
  color: #22c55e;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.article-card h3 {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.875rem;
  line-height: 1.4;
}

.article-card h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-card h3 a:hover {
  color: #22c55e;
}

.article-excerpt {
  color: #a0a0a0;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}

.read-more:hover {
  gap: 0.875rem;
}

.read-more i {
  font-size: 0.75rem;
}

.results-count {
  color: #a0a0a0;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.results-count strong {
  color: #22c55e;
  font-weight: 600;
}

.no-results {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #a0a0a0;
}

.no-results h2 {
  color: #fff;
  margin-bottom: 0.875rem;
  font-size: 1.5rem;
}

.no-results p {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 639px) {
  .articles-page {
    padding: 5rem 0 3rem;
  }
  
  .articles-header {
    margin-bottom: 2rem;
  }
  
  .filters-section {
    padding: 1.25rem;
  }
  
  .filter-pills {
    gap: 0.375rem;
  }
  
  .filter-pill {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
  }
  
  .article-card {
    padding: 1.25rem;
  }
  
  .search-box input {
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
