/* === Articles Header === */
.articles-header {
  background: linear-gradient(135deg, #faf9f7 0%, #f5f3ef 100%);
  padding: 80px 0 50px;
  margin-top: 70px;
  border-bottom: 1px solid #e0dcd5;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #5a6c7e;
  max-width: 700px;
  margin: 0 auto;
}

/* === Filters === */
.filters-section {
  background: #ffffff;
  border: 1px solid #e0dcd5;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  margin: 0.25rem;
  border: 1px solid #e0dcd5;
  background: #ffffff;
  color: #2c3e50;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: #c0392b;
  border-color: #c0392b;
  color: #ffffff;
}

/* === Search === */
.search-box { position: relative; }

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e0dcd5;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.search-box input:focus { outline: none; border-color: #c0392b; }

.search-box i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #7f8c8d;
}

/* === Results Stats === */
.results-stats {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e0dcd5;
}

/* === Article List === */
.articles-list { list-style: none; padding: 0; margin: 0; }

.article-list-item {
  background: #ffffff;
  border: 1px solid #e0dcd5;
  border-bottom: none;
  transition: all 0.2s ease;
  position: relative;
}

.article-list-item:first-child { border-radius: 4px 4px 0 0; }

.article-list-item:last-child {
  border-bottom: 1px solid #e0dcd5;
  border-radius: 0 0 4px 4px;
}

.article-list-item:hover {
  background: #fefefe;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1;
}

.article-link-wrapper {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.article-icon-col { flex-shrink: 0; width: 60px; text-align: center; }
.article-icon-col i { font-size: 2rem; color: #c0392b; }

.article-content-col { flex: 1; padding: 0 1rem; }

.article-area-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #c0392b;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.article-item-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.article-item-resumo {
  font-size: 0.95rem;
  color: #5a6c7e;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.article-item-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #7f8c8d;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-item-meta span i { margin-right: 0.25rem; color: #c0392b; }

.article-arrow-col {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.article-arrow-col i { color: #bdc3c7; font-size: 1rem; transition: all 0.2s ease; }

.article-list-item:hover .article-arrow-col i {
  color: #c0392b;
  transform: translateX(3px);
}

/* === Featured === */
.article-list-item.featured {
  background: linear-gradient(90deg, #fef9f0, #ffffff);
  border-left: 3px solid #c0392b;
}

.featured-badge {
  position: absolute;
  top: -1px; right: 1rem;
  background: #c0392b;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === Pagination === */
.pagination-custom {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination-custom .page-item { list-style: none; }

.pagination-custom .page-link {
  font-family: 'Inter', sans-serif;
  padding: 0.5rem 1rem;
  border: 1px solid #e0dcd5;
  background: #ffffff;
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.pagination-custom .page-link:hover,
.pagination-custom .active .page-link {
  background: #c0392b;
  border-color: #c0392b;
  color: #ffffff;
}

@media (max-width: 768px) {
  .articles-header { padding: 60px 0 30px; }
  .page-title { font-size: 2rem; }
  .page-subtitle { font-size: 0.95rem; }
  .filters-section { padding: 1rem; }
  .filter-btn { font-size: 0.75rem; padding: 0.4rem 0.75rem; }
  .article-link-wrapper { flex-direction: column; padding: 1rem; }
  .article-icon-col { width: auto; margin-bottom: 0.5rem; text-align: left; }
  .article-content-col { padding: 0; }
  .article-item-title { font-size: 1.1rem; }
  .article-arrow-col { display: none; }
  .featured-badge { font-size: 0.6rem; padding: 0.2rem 0.5rem; }
  .pagination-custom .page-link { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
}
