/* ======= Хлебные крошки (современный микс) ======= */
.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;
}


.certificates-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.certificates-title {
  font-size: 32px;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
}

.certificates-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #f7d663; /* фирменный цвет */
  margin: 12px auto 0;
  border-radius: 2px;
}

.certificates-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.certificates-gallery {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.certificates-gallery a {
  flex: 0 1 280px; /* фиксированная ширина */
  max-width: 280px;
}

.certificates-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.certificates-gallery img:hover {
  transform: scale(1.05);
}

/* Адаптация */
@media (max-width: 768px) {
  .certificates-title {
    font-size: 26px;
  }

  .certificates-title::after {
    width: 60px;
    height: 3px;
  }

  .certificates-text {
    font-size: 16px;
  }

  .certificates-gallery {
    gap: 20px;
  }

  .certificates-gallery a {
    flex: 0 1 90%;
    max-width: 90%;
  }
}
