/* ───── Breadcrumbs на страницах новостей (компенсация absolute header) ───── */
.breadcrumbs-news {
  padding-top: 120px;
}
.breadcrumbs-news .breadcrumbs__page {
  color: #091920;
}

/* ───── News block (главная + архив) ───── */
.news-block {
  padding: 5rem 0;
  background: #fff;
  color: #091920;
}
.news-block .container {
  max-width: 1390px;
  width: 100%;
  padding: 0 0.938rem;
  margin: 0 auto;
}
.news-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.news-block__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 2.2vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}
.news-block__all {
  font-size: 1rem;
  color: #235D77;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity .2s ease;
}
.news-block__all:hover { opacity: .7; }

.news-block__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-card {
  display: flex;
}
.news-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.news-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #eee;
  margin-bottom: 1.25rem;
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.news-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4d9dd 0%, #a0adb3 100%);
}
.news-card__link:hover .news-card__img img { transform: scale(1.03); }

.news-card__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.3;
  margin: 0 0 0.625rem;
  color: #091920;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__date {
  font-size: 0.9rem;
  color: #7a8389;
  margin: 0;
}

/* ───── Архив ───── */
.news-archive { padding: 3rem 0 5rem; }
.news-archive .container {
  max-width: 1390px;
  width: 100%;
  padding: 0 0.938rem;
  margin: 0 auto;
}
.news-archive__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 3rem);
  text-transform: uppercase;
  margin: 0 0 2.5rem;
  color: #091920;
}
.news-archive__list {
  margin-bottom: 3rem;
}
.news-archive__empty {
  font-size: 1.25rem;
  color: #7a8389;
}
.news-archive__pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.news-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #d4d9dd;
  border-radius: 0.375rem;
  color: #091920;
  text-decoration: none;
  font-weight: 500;
  transition: background .2s ease;
}
.news-archive__pagination .page-numbers.current,
.news-archive__pagination .page-numbers:hover {
  background: #091920;
  color: #fff;
  border-color: #091920;
}

/* ───── Single ───── */
.news-single { padding: 3rem 0 5rem; }
.news-single .container {
  max-width: 900px;
  width: 100%;
  padding: 0 0.938rem;
  margin: 0 auto;
}
.news-single__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: #091920;
}
.news-single__date {
  color: #7a8389;
  font-size: 1rem;
  margin: 0 0 2rem;
}
.news-single__img {
  margin-bottom: 2.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
}
.news-single__img img {
  width: 100%;
  height: auto;
  display: block;
}
.news-single__content {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #232a2f;
}
.news-single__content p { margin: 0 0 1rem; }
.news-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}
.news-single__content h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

/* ───── Адаптив ───── */
@media (max-width: 900px) {
  .news-block__list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 600px) {
  .news-block { padding: 3rem 0; }
  .news-block__head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .news-block__list { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Тёмная заливка кнопки «назад» на белой странице новостей */
.breadcrumbs-news .btn-border {
  background-color: #091920;
}
