.news-section {
  margin-top: 65px;
}

@media (min-width: 992px) {
  .news-d {
    padding-top: 15px;
    /*width: auto;*/
    /*max-width: 1200px;*/
    /*min-width: 1200px;*/
  }
}

@media (min-width: 300px) {
  .news-d-h {
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .news-d-h {
    margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  .news-d-h {
    margin-bottom: 20px;
  }
}

@media (min-width: 992px) {
  .news-h {
    font-size: 30px;
  }
}

@media (min-width: 300px) {
  .news-col {
    width: 320px;
    /*transition: 0.3s;*/
  }
}

@media (min-width: 576px) {
  .news-col {
    width: 370px;
  }
}

@media (min-width: 768px) {
  .news-col {
    width: 400px;
  }
}

@media (min-width: 992px) {
  .news-col {
    width: 300px;
  }
}

.news-col-img-d {
  overflow: hidden;
}

@media (min-width: 300px) {
  .news-col-img {
    height: 190px;
    transition: 0.7s;
    width: 100%;
    cursor: pointer;
  }
}

@media (min-width: 576px) {
  .news-col-img {
    height: 200px;
  }
}

@media (min-width: 768px) {
  .news-col-img {
    height: 225px;
  }
}

@media (min-width: 992px) {
  .news-col-img {
    height: 220px;
  }
}

.news-col-img:hover {
  filter: brightness(70%);
  transform: scale(1.2);
}

.news-card-body {
  padding-left: 10px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  padding-right: 10px !important;
}

.news-card-title {
  margin-bottom: 10px;
  margin-top: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-card-title-link {
  text-decoration: none;
  color: #222222;
  transition: all 0.2s;
}

.news-card-title-link:hover {
  color: var(--bs-primary);
}

.news-card-time {
  font-size: 14px;
  font-weight: 600;
}

.news-col-hr {
  margin: 0px;
  margin-left: 10px;
  width: 220px;
  opacity: 1;
  color: #222222;
}

@media (min-width: 300px) {
  .news-col-hr {
    width: 175px;
  }
}

@media (min-width: 576px) {
  .news-col-hr {
    width: 240px;
  }
}

@media (min-width: 992px) {
  .news-col-hr {
    width: 150px;
  }
}

@media (min-width: 1200px) {
  .news-col-hr {
    width: 200px;
  }
}

.news-col-btn {
  width: 170px;
  font-size: 14px;
  padding: 5px;
  border-radius: 20px;
  padding-left: 10px;
  font-weight: 500;
}

.news-col-btn:hover {
  background-color: #555555;
  color: #ffffff;
}

.news-col-btn:focus {
  background-color: #bbbbbb;
  color: #ffffff;
}

@media (min-width: 300px) {
  .pagination .page-item .page-link.prev i {
    font-size: 21px;
    line-height: 1.35rem;
    padding-bottom: 2px;
  }

  .pagination .page-item .page-link.next i {
    font-size: 21px;
    line-height: 1.35rem;
    padding-bottom: 2px;
  }
}
@media (min-width: 768px) {
  .pagination .page-item .page-link.prev i {
    font-size: 16px;
    line-height: 0;
    padding-bottom: 2px;
  }

  .pagination .page-item .page-link.next i {
    font-size: 16px;
    line-height: 0;
    padding-bottom: 2px;
  }
}

.pagination .page-link {
  color: #222222;
}

.pagination .page-link:focus {
  box-shadow: 0 0 0 0.25rem #1987547a;
}
.page-link:hover {
  background-color: #ccc;
}

.active > .page-link,
.page-link.active {
  background-color: var(--bs-primary);
  color: #ffffff;
  border: 1px solid var(--bs-primary);
}
.active > .page-link,
.page-link.active:hover {
  background-color: var(--bs-primary);
}

.page-item:first-child .page-link {
  border-top-right-radius: var(--bs-pagination-border-radius);
  border-bottom-right-radius: var(--bs-pagination-border-radius);
}

.page-item:last-child .page-link {
  border-top-left-radius: var(--bs-pagination-border-radius);
  border-bottom-left-radius: var(--bs-pagination-border-radius);
}
