.bs-doc-tour {
  max-width: 1100px;
  margin: 42px auto 54px;
  padding: 0 20px;
  color: #111;
}

.bs-tour-heading {
  margin-bottom: 20px;
}

.bs-doc-tour .bs-tour-kicker {
  margin: 0 0 7px;
  color: #1ca7ed;
  font: 700 12px/1.4 "DM Mono", monospace;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.bs-tour-heading h3 {
  margin: 0 0 9px;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.16;
  letter-spacing: 0;
}

.bs-tour-heading > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.65;
}

.bs-tour-stage {
  outline: none;
}

.bs-tour-stage:focus-visible {
  outline: 3px solid #1ca7ed;
  outline-offset: 6px;
}

.bs-tour-slides {
  overflow: hidden;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #f4f4f4;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.09);
}

.bs-tour-slide {
  display: none;
  margin: 0;
}

.bs-tour-slide.is-active,
.bs-tour-slide a,
.bs-tour-slide img {
  display: block;
}

.bs-tour-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 940;
  object-fit: contain;
  background: #f3f4f5;
}

.bs-tour-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 17px;
}

.bs-tour-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 15px;
  border: 2px solid #111;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.bs-tour-arrow:hover {
  border-color: #1ca7ed;
  background: #1ca7ed;
  color: #111;
}

.bs-tour-arrow:focus-visible,
.bs-tour-dot:focus-visible {
  outline: 3px solid #1ca7ed;
  outline-offset: 3px;
}

.bs-tour-arrow span[aria-hidden="true"] {
  font-size: 28px;
  font-weight: 400;
  line-height: 0.7;
}

.bs-tour-status {
  min-width: 0;
  margin: 0;
  color: #444;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.bs-tour-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 17px;
}

.bs-tour-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #777;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.bs-tour-dot.is-active {
  border-color: #1ca7ed;
  background: #1ca7ed;
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .bs-doc-tour {
    margin: 32px auto 40px;
    padding: 0 14px;
  }

  .bs-tour-controls {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 8px;
  }

  .bs-tour-arrow {
    width: 48px;
    min-height: 48px;
    padding: 0;
  }

  .bs-tour-arrow span:not([aria-hidden="true"]) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .bs-tour-arrow span[aria-hidden="true"] {
    font-size: 34px;
  }

  .bs-tour-status {
    font-size: 12px;
  }

  .bs-tour-dots {
    gap: 7px;
    overflow-x: auto;
    padding: 3px;
  }

  .bs-tour-dot {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-tour-dot {
    transform: none !important;
  }
}
