.articles-list-main {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 16px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.articles-filters h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  color: #0c2340;
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  background: #f6f8fa;
  color: #0c2340;
  padding: 8px 16px;
  border: 1.5px solid #ccc;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #f5761a;
  color: #fff;
  border-color: #f5761a;
}

.filter-sort select {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid #ccc;
  font-size: 1rem;
}

.articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  background: #fff;
  border-radius: 19px;
  min-height: 520px;
  box-shadow: 0 4px 26px rgba(12, 35, 64, 0.09);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.16s, transform 0.14s;
}

.article-card:hover {
  box-shadow: 0 16px 40px rgba(245, 118, 26, 0.17);
  transform: translateY(-7px) scale(1.017);
}

.article-thumb img {
  width: 100%;
  height: 172px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

.article-title {
  font-size: 1.28rem;
  color: #0c2340;
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.3;
  min-height: 3.8em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  color: #f5761a;
  font-size: 1.12rem;
  margin-bottom: 8px;
  font-weight: 600;
    min-height: 4em;

}

.article-excerpt {
  font-size: 1.16rem;
  color: #222;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-readmore {
  color: #f5761a;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.15rem;
  transition: color 0.18s;
  margin-top: auto;
}

.article-readmore:hover {
  color: #0c2340;
}


.filter-tag-btn.active,
.filter-btn.active {
  background: #f5761a;
  color: #fff;
  border: none;
}
