.card.news__category {
  padding: 0;
}

.news__category ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5%;
}

.news__category li a {
  padding: 30px 0;
  display: inline-block;
  position: relative;
}

.news__category li a.active {
  font-weight: bold;
}

.news__category li a.active::after,
.news__category li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.news__category li a.active::after,
.news__category li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.news-page .news__list {
  border: none;
}

.pagination-wrap {
  width: 100%;
}

.pagination {
  display: flex;
  justify-content: center;
}

.pagination ul {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  color:  var(--text-main);
  font-size: 1.4rem;
  transition: background-color 0.3s;
}

.pagination li a:hover {
  background-color: #fff;
}

.pagination li a.active {
  background-color: var(--primary);
  color: #fff;
  font-weight: bold;
}

.pagination .arrow a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--text-main);
  border-right: 1px solid var(--text-main);
  transform: rotate(45deg);
  display: inline-block;
}

.pagination .arrow.prev a::before {
  transform: rotate(-135deg);
}

.pagination .dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--text-main);
  font-size: 14px;
}

.single_news p{
	margin-top:30px;
}

.single_news a{
	    color: var(--sub-color);
    text-decoration: underline;
}


@media (max-width: 1024px) {
  .news__category ul {
    flex-flow: column;
  }

  .news__category ul li {
    border-bottom: 1px solid #eee;
    padding: 0 15px;
    width: 100%;
  }

  .news__category ul li:last-child {
    border-bottom: none;
  }

  .news__category li a {
    width: 100%;
    padding: 20px 0;
  }

  .news__category li a::after {
    content: inherit;
  }

  .news__category li a.active::after {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    height: 40%;
    width: 2px;
    background-color: var(--primary);
  }
}

@media (max-width: 768px) {
  .news-page .news__list {
    margin: 0;
  }

  .pagination ul {
    gap: 8px;
  }

  .pagination li a {
    width: 32px;
    height: 32px;
  }
}