/* ==========================================================================
   The Salted Pepper — Custom Overrides
   Breadcrumbs + Floating Help Widget
   ========================================================================== */


/* --------------------------------------------------------------------------
   BREADCRUMBS
   -------------------------------------------------------------------------- */

.tsp-breadcrumbs {
  width: 100%;
  padding: 10px 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.tsp-breadcrumbs__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tsp-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tsp-breadcrumbs__item {
  display: flex;
  align-items: center;
}

.tsp-breadcrumbs__separator {
  margin: 0 8px;
  font-size: 14px;
  opacity: 0.6;
  user-select: none;
}

.tsp-breadcrumbs__link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.tsp-breadcrumbs__link:hover {
  text-decoration: underline;
}

.tsp-breadcrumbs__text--current {
  font-weight: 600;
}

/* Mobile breadcrumbs */
@media (max-width: 767px) {
  .tsp-breadcrumbs {
    font-size: 12px;
    padding: 8px 0;
  }

  .tsp-breadcrumbs__container {
    padding: 0 15px;
  }

  .tsp-breadcrumbs__separator {
    margin: 0 5px;
  }
}


/* --------------------------------------------------------------------------
   FLOATING HELP WIDGET
   -------------------------------------------------------------------------- */

.tsp-floating-widget {
  position: fixed;
  z-index: 9990;
  top: 50%;
  transform: translateY(-50%);
  /* Position: right side, just outside the main content container */
  right: calc((100vw - 1200px) / 2 - 80px);
  width: auto;
  max-width: 60px;
  pointer-events: auto;
}

.tsp-floating-widget__inner {
  position: relative;
}

/* Placeholder shown only in the Kajabi editor */
.tsp-floating-widget__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 60px;
  padding: 12px 8px;
  background-color: #728194;
  color: #ffffff;
  border-radius: 8px;
  font-family: 'Lora', Georgia, serif;
  font-size: 10px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.tsp-floating-widget__placeholder svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

.tsp-floating-widget__placeholder small {
  font-size: 8px;
  opacity: 0.75;
  line-height: 1.2;
}

/* Large screens: float beside the content area */
@media (min-width: 1441px) {
  .tsp-floating-widget {
    right: calc((100vw - 1200px) / 2 - 90px);
  }
}

/* Medium-large screens: tuck closer */
@media (max-width: 1440px) and (min-width: 1301px) {
  .tsp-floating-widget {
    right: 20px;
  }
}

/* Tablet: right edge */
@media (max-width: 1300px) and (min-width: 768px) {
  .tsp-floating-widget {
    right: 12px;
    max-width: 50px;
  }
}

/* Mobile: bottom-right corner, fixed as a floating action button */
@media (max-width: 767px) {
  .tsp-floating-widget {
    top: auto;
    bottom: 20px;
    right: 16px;
    transform: none;
    max-width: 56px;
  }
}
