.tour-list-search-submit {
  width: fit-content;
  margin-left: auto;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tour-destination-node__row {
  min-height: 24px;
}

.tour-destination-node__option {
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
}

.tour-destination-node__name {
  overflow-wrap: anywhere;
}

.tour-destination-node__toggle {
  display: inline-flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -2px -6px -2px 8px;
  color: var(--color-dark-1);
  background: transparent;
  border: 0;
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.tour-destination-node__toggle:hover,
.tour-destination-node__toggle:focus-visible {
  color: var(--color-accent-1);
  background: color-mix(in srgb, var(--color-accent-1) 10%, transparent);
  outline: none;
}

.tour-destination-node__toggle i {
  font-size: 11px;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}

.tour-destination-node__toggle.is-expanded i {
  transform: rotate(0deg);
}

.tour-destination-node__children {
  margin-top: 15px;
  margin-left: 9px;
  padding-left: 18px;
  border-left: 1px solid var(--color-border);
}

.tour-destination-node__children[hidden] {
  display: none !important;
}

/* Keep every result card the same height when metadata or pricing spans differ. */
.js-tour-results .row > [class*="col-"] {
  display: flex;
}

.js-tour-results .tour-list-card {
  width: 100%;
}

.js-tour-results .tourCard__location {
  min-height: 22px;
}

.js-tour-results .tourCard__title {
  min-height: 45px;
}

.js-tour-results .tourCard__rating {
  min-height: 20px;
}

.js-tour-results .tourCard__footer {
  min-height: 62px;
  align-items: flex-end !important;
}

.tourCard__priceOriginal {
  color: var(--color-light-2);
  text-decoration: line-through;
}

/* The base type-2 card strikes its first price child; the current price must never inherit that rule. */
.tourCard.-type-2 .tourCard__price .tourCard__priceCurrent {
  font-size: inherit;
  line-height: 1.4;
  text-decoration: none;
}

.tourCard.-type-2 .tourCard__price .tourCard__priceCurrent:not(.text-accent-1) {
  color: var(--color-dark-1);
}

.tourCard.-type-2 .tourCard__price .tourCard__priceCurrent.text-accent-1 {
  color: var(--color-accent-1);
}
