/* Shared repairs for the current tour pages. */
.tour-detail-page.tour-quality-page #main :is(h1,h2,h3) { white-space: normal !important; overflow-wrap: break-word; }
.tour-detail-page.tour-quality-page .tour-program-cover { align-items: start; gap: 32px; margin-bottom: 40px; }
.tour-detail-page.tour-quality-page .tour-program-cover .tour-program-cover__copy { display: block; min-width: 0; margin: 0; }
.tour-detail-page.tour-quality-page .tour-program-cover__copy > .ba-primary-button { display: flex; width: fit-content; max-width: 100%; margin-top: 0; }
.tour-detail-page.tour-quality-page :is(.ba-primary-button,.ba-text-button) { box-sizing: border-box; max-width: 100%; white-space: normal; text-align: center; }
.tour-detail-page.tour-quality-page .tour-program-cover__continuation { margin: 0 0 40px; }
.tour-detail-page.tour-quality-page .tour-gallery figure { position: relative; }
.tour-detail-page.tour-quality-page .tour-hero-price { box-sizing: border-box; max-width: 100%; }
.tour-detail-page.tour-quality-page .tour-hero-price__line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; white-space: normal; }
.tour-detail-page.tour-quality-page .tour-hero-price__value { display: flex; flex: 0 1 100%; flex-wrap: wrap; align-items: baseline; max-width: 100%; gap: 8px 0; white-space: normal; }
.tour-detail-page.tour-quality-page .hero-traveler-stepper { flex: 0 0 auto; }
.tour-detail-page.tour-quality-page .tour-hero-price__traveler-word { min-width: 0; white-space: normal; }
.tour-detail-page.tour-quality-page .tour-program-cover__copy .tour-hero-price { margin-bottom: 24px !important; }
.tour-detail-page.tour-quality-page .ba-anchor-nav { position: static; width: min(1160px,calc(100% - 32px)); margin: 0 auto; padding: 16px 0; flex-wrap: wrap; align-items: stretch; gap: 12px 24px; background: #fff; backdrop-filter: none; }
.tour-detail-page.tour-quality-page .ba-anchor-nav a { min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 4px 0; font-size: 14px; line-height: 1.4; text-align: center; white-space: normal; }
.tour-detail-page.tour-quality-page .tour-route ul { margin: 0; padding: 0; list-style: none; }
.tour-detail-page.tour-quality-page .tour-route li { padding-left: 0; }
.tour-detail-page.tour-quality-page .tour-route li::before { content: none; display: none; }
@media (max-width:900px) {
 .tour-detail-page.tour-quality-page .tour-program-cover { display: grid; grid-template-columns: minmax(0,1fr); gap: 32px; }
}
@media (max-width:680px) {
 .tour-detail-page.tour-quality-page .ba-anchor-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 20px; }
 .tour-detail-page.tour-quality-page .ba-anchor-nav a { justify-content: flex-start; text-align: left; }
 .tour-detail-page.tour-quality-page .tour-program-cover { gap: 32px; }
 .tour-detail-page.tour-quality-page .tour-program-cover__gallery { margin-top: 0; }
 .tour-detail-page.tour-quality-page .tour-route strong { font-size: 19px; line-height: 1.35; }
 .tour-detail-page.tour-quality-page .tour-route li { margin-bottom: 24px; }
}
.tour-detail-page.tour-quality-page .hero-traveler-stepper button { width: 44px; height: 44px; }
.tour-detail-page.tour-quality-page .tour-review-excerpt { margin: 28px auto; padding: 0; max-width: 720px; }
.tour-detail-page.tour-quality-page .tour-review-excerpt p { font-size: 18px; line-height: 1.55; }
.tour-detail-page.tour-quality-page .tour-review-excerpt cite { font-size: 14px; font-style: normal; }

.tour-detail-page.tour-quality-page #main :is(h1,h2,h3) span { white-space: normal !important; }
