/* ==========================================================================
   FUTURE WAVE ANALYSIS — Research & Free Articles Stylesheet
   ========================================================================== */

.articles-hero-banner {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.articles-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.articles-search-input {
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.25rem;
  color: var(--foreground);
  font-size: 0.875rem;
  width: 100%;
  max-width: 320px;
  outline: none;
  transition: all var(--transition-fast);
}

.articles-search-input:focus {
  border-color: var(--tide);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.2);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--tide-border);
  box-shadow: var(--shadow-card), 0 0 20px rgba(45, 212, 191, 0.1);
}

.article-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.article-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.article-card-summary {
  font-size: 0.875rem;
  color: var(--mist);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--mist-dim);
}
