/* ======= Хлебные крошки (современный микс) ======= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  margin-bottom: 30px;
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fafafa, #fff);
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.3px;
}

.breadcrumbs a {
  color: #333;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.breadcrumbs a:hover {
  background-color: #f3f3f3;
  color: #000;
}

.breadcrumbs span {
  color: #999;
  font-weight: 500;
  margin: 0 6px;
}


.articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.article-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.article-card__title a {
  color: #222;
  text-decoration: none;
}

.article-card__intro {
  flex: 1;
  font-size: 15px;
  color: #666;
  margin-bottom: 15px;
}

.article-card__btn {
  align-self: flex-start;
  padding: 10px 18px;
  background: #0077ff;
  color: #fff;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .3s ease;
}

.article-card__btn:hover {
  background: #005ecc;
}




/* Общие стили статьи */
.article-single {
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.article-single__title {
  font-size: 36px;
  font-weight: 800;
  color: #111;
  margin-top: 0;      /* убираем верхний отступ */
  margin-bottom: 20px; /* немного меньше, чтобы не слишком далеко от хлебных крошек */
  line-height: 1.2;
  text-align: center;
}

/* Основное изображение статьи */
.article-single__image {
  text-align: center;
  margin-bottom: 30px; /* чуть меньше расстояние до контента */
  max-width: 85%;      /* сужаем контейнер */
  margin-left: auto;
  margin-right: auto;
}

.article-single__image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-single__image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Секции статьи */
.article-section {
  margin-bottom: 50px;
  padding: 25px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.article-section:hover {
  transform: translateY(-3px);
}

.article-section__title {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  position: relative;
}

.article-section__title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #ff6b6b; /* акцентный цвет */
  margin-top: 8px;
  border-radius: 2px;
}

/* Изображения внутри секций */
.article-section__image {
  margin: 20px 0;
  overflow: hidden;
  border-radius: 12px;
}

.article-section__image img {
  width: 100%;
  transition: transform 0.4s ease;
}

.article-section__image img:hover {
  transform: scale(1.05);
}

/* Текст */
.article-section__text {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin-top: 15px;
}

.article-section__text p {
  margin-bottom: 16px;
}

/* Дата публикации */
.article-section__date {
  margin-top: 20px;
  font-size: 14px;
  color: #999;
  font-style: italic;
  text-align: right;
}
