/* Wrapper so breadcrumbs sit under header on all pages (incl. contacts) */
.bot-breadcrumbs-wrap {
  width: 100%;
}

/* Breadcrumbs — единый отступ от меню на всех страницах */
.trv-page-content:has(.bot-breadcrumbs) {
  padding-top: 0 !important;
}

.bot-breadcrumbs {
  margin: 28px 0 20px;
  padding: 0;
}

.bot-breadcrumbs .mod-breadcrumbs,
.bot-breadcrumbs .breadcrumb,
.bot-breadcrumbs ol,
.bot-breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bot-breadcrumbs li,
.bot-breadcrumbs .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #7a8086;
  font-size: 13px;
  line-height: 1.35;
}

.bot-breadcrumbs a {
  color: #4e5459;
  text-decoration: none;
}

.bot-breadcrumbs a:hover {
  color: #1d1d1b;
  text-decoration: underline;
}

.bot-breadcrumbs .active,
.bot-breadcrumbs [aria-current="page"] {
  color: #1d1d1b;
  font-weight: 600;
}

.bot-breadcrumbs .breadcrumb-item + .breadcrumb-item::before,
.bot-breadcrumbs li + li::before {
  content: "/";
  color: #c0c4c8;
  font-weight: 400;
  margin-right: 2px;
}

.bot-breadcrumbs .divider,
.bot-breadcrumbs .breadcrumb-divider {
  color: #c0c4c8;
}

/* Статья: не прижимать H1 к крошкам, даже если тема обнулила padding */
.trv-page-content:has(.bot-breadcrumbs) .item-page {
  padding-top: 8px !important;
}

.trv-page-content:has(.bot-breadcrumbs) .bot-blog__head,
.trv-page-content:has(.bot-breadcrumbs) .bot-blog__title {
  margin-top: 0;
}

@media (max-width: 767px) {
  .bot-breadcrumbs {
    margin: 20px 0 14px;
  }

  .bot-breadcrumbs li,
  .bot-breadcrumbs .breadcrumb-item {
    font-size: 12px;
  }
}
