/* контейнер и хлебные крошки */
.page-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}
.breadcrumbs {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}
.breadcrumbs a {
  color: #0073e6;
  text-decoration: none;
}
.breadcrumbs span {
  color: #333;
}
.page-title {
  font-size: 1.8rem;
  color: #0073e6;
  font-weight: 700;
  margin-bottom: 24px;
}

/* секция со всеми новостями */
.all-news {
  background: #f8fbfd;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,115,230,0.06);
}

/* «столбик» карточек */
.all-news-grid {
  display: block;
}

/* отступ между карточками */
.all-news-card + .all-news-card {
  margin-top: 24px;
}

/* базовый стиль карточки */
.all-news-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform .2s;
}
.all-news-card:hover {
  transform: translateY(-4px);
}

/* картинка */
.all-news-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* мета */
.news-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 16px 0;
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #555;
  /* padding-left: убираем, он нам не нужен */
  margin-right: 16px;
}

.news-meta span:last-child {
  margin-right: 0;
}

.news-meta span img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 6px; /* расстояние между иконкой и текстом */
}

.news-date::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  mask: url("../assets/icons/calendar.svg") no-repeat center/contain;
  -webkit-mask: url("../assets/icons/calendar.svg") no-repeat center/contain;
  background-color: #0073e6;
}
.news-time::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  mask: url("../assets/icons/clock.svg") no-repeat center/contain;
  -webkit-mask: url("../assets/icons/clock.svg") no-repeat center/contain;
  background-color: #0073e6;
}
.news-views::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  mask: url("../assets/icons/eye.svg") no-repeat center/contain;
  -webkit-mask: url("../assets/icons/eye.svg") no-repeat center/contain;
  background-color: #0073e6;
}

/* заголовок карточки */
.news-title {
  padding: 8px 16px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}


/* адаптив */
@media (max-width: 600px) {
  .all-news {
    padding: 24px 12px;
  }
  .page-title {
    font-size: 1.5rem;
  }
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
