.tour-card-schedule {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  max-width: 100%;
}

.tour-card-schedule__toggle {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: .15rem .45rem;
  background: #ef5350;
  color: #fff;
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

.tour-card-schedule__toggle:hover,
.tour-card-schedule__toggle:focus-visible,
.tour-card-schedule__toggle[aria-expanded="true"] {
  background: #d83d3a;
  outline: none;
}

.tour-card-schedule__toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(239, 83, 80, .3);
}

.tour-card-schedule__popover {
  position: absolute;
  z-index: 1080;
  top: calc(100% + .45rem);
  right: 0;
  width: max-content;
  min-width: 12rem;
  max-width: min(18rem, calc(100vw - 2rem));
  padding: .65rem .75rem;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: .65rem;
  background: #fff;
  color: #212529;
  box-shadow: 0 .6rem 1.4rem rgba(0, 0, 0, .18);
  text-align: left;
}

.tour-card-schedule__popover[hidden] {
  display: none !important;
}

.tour-card-schedule__title {
  margin-bottom: .35rem;
  font-size: .75rem;
  font-weight: 700;
}

.tour-card-schedule__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tour-card-schedule__list li + li {
  margin-top: .25rem;
}

.tour-card-person .value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .tour-card-schedule__popover {
    right: 0;
    left: auto;
  }
}
