.container-boxed.max {
  clear: both;
}

body a {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .home .noo-our-doctor.style1 .classic-pager {
    transform: translate(0, 0);
  }
}

.main-page .news .news__row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.main-page .news .news__col {
  display: flex;
}

.main-page .news .news-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
  margin-bottom: 40px;
  border-radius: 3px;
  background-image: url("/wp-content/uploads/2021/03/bgfornews.jpg");
  background-size: cover;
  background-position: center center;
  color: #fff;
  text-decoration: none;
}

.main-page .news .news-item::after {
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  transition-duration: 300ms;
}

.main-page .news .news-item:target::after,
.main-page .news .news-item:focus::after,
.main-page .news .news-item:active::after,
.main-page .news .news-item:hover::after {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 3px;
}

.main-page .news .news-item__date {
  margin-bottom: 0;
  z-index: 1;
}

.main-page .news .news-item__header {
  font-size: 18px;
  font-weight: bold;
  z-index: 1;
}

.main-page .news .news-item:hover .news-item__header {
  text-decoration: underline;
}

.main-page .news .news-item__excerpt {
  margin-top: auto;
  z-index: 1;
}

@media (max-width: 767px) {
  .main-page .news .news-item::after {
    transition-duration: 0ms;
  }
}

.category-novosti h3 a {
  color: #696969;
}