/* Базовые стили крошек */
.kpk-crumbs {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 100;
  font-family: 'Commissioner', Arial, sans-serif;
  font-size: 15px; 
  line-height: 1.5;
  pointer-events: none;
}

.kpk-crumbs__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; 
  gap: 8px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  pointer-events: auto;
}

/* Тёмные крошки для /news (светлый фон) */
.kpk-crumbs--dark a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 4px; /* Смещаем подчеркивание ниже */
  text-decoration-thickness: 1px;
  transition: opacity 0.3s ease;
  font-weight: 500; 
}

.kpk-crumbs--dark a:hover {
  opacity: 0.7;
}

.kpk-crumbs--dark .kpk-crumbs__sep {
  color: #999;
  font-weight: 500; 
}

.kpk-crumbs--dark .kpk-crumbs__cur {
  color: #000;
  font-weight: 500; 
  opacity: 0.8; 
}

/* Белые крошки для статей */
.kpk-crumbs--light a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px; /* Смещаем подчеркивание ниже */
  text-decoration-thickness: 1px;
  transition: opacity 0.3s ease;
  font-weight: 500; 
}

.kpk-crumbs--light a:hover {
  opacity: 0.8;
}

.kpk-crumbs--light .kpk-crumbs__sep {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.kpk-crumbs--light .kpk-crumbs__cur {
  color: #ffffff;
  font-weight: 500; 
  opacity: 0.8; 
}

/* Мобильная версия */
@media (max-width: 640px) {
  .kpk-crumbs {
    top: 80px;
    font-size: 14px;
  }
  
  .kpk-crumbs__in {
    justify-content: flex-start;
    gap: 6px;
    padding: 0 20px; 
    max-width: 100%;
  }
}
