/* NEWS GRID */

section:not(.footer) .row.g-4 > [class*="col-"] {
  display: flex;
}

/* NEWS CARD */

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-content {
  flex: 1;
  padding: 28px;
  width: 100%;
}

.news-title {
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 15px;
  color: #222;
}

/* CATEGORY LIST */

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.category-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-item a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.category-item span {
  background: rgba(253, 128, 46, .12);
  color: var(--primary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
}

.category-item.active a {
  color: #ff7a00;
  text-decoration: none;
  transition: 0.2s ease;
  font-weight: 600;
}

.category-item.active span {
  background: #eee;
  color: var(--secondary);
}
