.news-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
}

.category-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  flex-direction: column;
}

.category-btn {
  padding: 10px 32px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  color: #333;
  min-width: 120px;
  text-align: center;
}

.category-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.category-btn.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.category-btn.active:hover {
  background: #333;
  border-color: #333;
}


.news-list {
  display: flex;
  flex: 3;
  flex-direction: column;
  gap: 0;
  justify-content: flex-end;
}


.news-item {
  display: flex;
  align-items: flex-start;
  padding: 25px 0;
  border-bottom: 1px solid #e0e0e0;
  transition: background 0.3s ease;
  cursor: pointer;
}

.news-item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.news-item:first-child {
  padding-top: 0;
}

.news-date {
  flex: 0 0 100px;
  font-size: 14px;
  color: #888;
  font-weight: 400;
  letter-spacing: 0.3px;
  padding-top: 2px;
}

.news-category {
  flex: 0 0 100px;
  margin: 0 20px;
}

.category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e8e4f5;
  color: #7c6da8;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.news-title {
  flex: 1;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.news-title:hover {
  color: #666;
}

.news-sub-info {
  display: flex;
  align-items: center;
}

.view-more-wrapper {
  text-align: center;
  margin-top: 60px;
}

.view-more-btn {
  display: inline-block;
  padding: 14px 50px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-decoration: none;
}

.view-more-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
  .news-container {
    flex-direction: column;
    margin-top: 20px;
    gap: 30px;
  }

  .category-filters {
    gap: 8px;
    margin-bottom: 30px;
    flex-direction: row;
  }

  .category-btn {
    height: 50px;
    padding: 8px 20px;
    font-size: 12px;
    min-width: auto;
    flex: 1;
  }

  .news-item {
    flex-direction: row;
    padding: 25px 0;
    gap: 20px;
    align-items: center;
  }

  .news-date {
    flex: none;
    margin-bottom: 8px;
    font-size: 13px;
  }

  .news-category {
    flex: none;
    margin: 0 0 10px 0;
  }

  .news-title {
    font-size: 14px;
  }

  .news-sub-info {
    gap: 25px;
  }

  .view-more-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .category-filters {
    flex-direction: row;
  }

  .category-btn {
    width: 100%;
    height: 40px;
  }

  .news-item {
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px 0;
  }

  .news-sub-info {
    gap: 15px;
  }

  .news-date {
    margin: 0;
  }
}