/* Biking Sardinia - scheda tour (vedi js/bs-tour-page.js). Tutte le regole stanno sotto .bs-tp */
.bs-tp { --navy:#0F2E3D; --blue:#1F6FA8; --coral:#D9431A; --sky:#EEF4F6; --grey:#55636D; --line:#D9E2E6; font-family:'Figtree',sans-serif; color:var(--navy); }
/* Niente "salto" al caricamento: la scheda resta invisibile finche' lo script non l'ha riordinata (classe bs-tp).
   Se lo script non parte, ricompare da sola dopo 3 secondi. */
.bravo_detail_tour:not(.bs-tp) { visibility:hidden; animation:bsTpShow 0s linear 3s forwards; }
@keyframes bsTpShow { to { visibility:visible; } }
.bs-tp .bs-tp__old { display:none !important; }
.bs-tp .bravo_banner > .container, .bs-tp .bravo_content > .container { max-width:1230px; }

/* Titolo */
.bs-tp .bs-tp__head { padding-bottom:18px; }
.bs-tp .bs-tp__head > div { margin-bottom:0 !important; }
.bs-tp .bs-tp__head h1 { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:34px !important; line-height:1.12; letter-spacing:-.01em; color:var(--navy); margin:0 0 8px !important; text-wrap:balance; }
.bs-tp .bs-tp__chips { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.bs-tp .bs-tp__chip { font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; padding:4px 10px; border-radius:6px; background:var(--sky); color:var(--blue); }
.bs-tp .bs-tp__chip.is-best { background:var(--navy); color:#fff; }
.bs-tp .bs-tp__by { font-size:14px; color:var(--grey); margin:0 0 6px; font-weight:400; }
.bs-tp .bs-tp__by strong { color:var(--navy); font-weight:600; }
.bs-tp .bs-tp__head .bs-cancel-tag { display:none; }
.bs-tp .bs-tp__head .bs-early { margin:8px 0 0; }
.bs-tp .bs-tp__head .text-gray-1 { color:var(--grey) !important; }

/* Foto */
.bs-tp .bs-tp__gal { position:relative; display:grid; gap:8px; grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; height:440px; border-radius:20px; overflow:hidden; margin-bottom:34px; }
.bs-tp .bs-tp__gal--1 { grid-template-columns:1fr; grid-template-rows:1fr; }
.bs-tp .bs-tp__gal--2 { grid-template-rows:1fr; }
.bs-tp .bs-tp__tile { display:block; padding:0; border:0; background:var(--sky); overflow:hidden; min-height:0; min-width:0; cursor:pointer; }
.bs-tp div.bs-tp__tile { cursor:default; }
.bs-tp .bs-tp__tile:first-child { grid-row:1 / -1; }
.bs-tp .bs-tp__tile img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.bs-tp button.bs-tp__tile:hover img { transform:scale(1.03); }
.bs-tp .bs-tp__tile:focus-visible, .bs-tp .bs-tp__more:focus-visible, .bs-tp .bs-tp__toggle:focus-visible { outline:3px solid var(--blue); outline-offset:-3px; }
.bs-tp .bs-tp__more { position:absolute; right:14px; bottom:14px; display:inline-flex; align-items:center; gap:8px; padding:9px 16px; border:0; border-radius:999px; background:#fff; color:var(--navy); font:600 14px 'Figtree',sans-serif; box-shadow:0 2px 10px rgba(15,46,61,.25); cursor:pointer; }
.bs-tp .bs-tp__more svg { width:18px; height:18px; }
.bs-tp .bs-tp__more--video { right:auto; left:14px; }

/* Colonne */
@media (min-width:992px) {
  .bs-tp .bravo_content .row > .col-lg-9 { flex:0 0 63%; max-width:63%; padding-right:40px; }
  .bs-tp .bravo_content .row > .col-lg-3 { flex:0 0 37%; max-width:37%; }
  .bs-tp .bs-tp__book { position:sticky; top:96px; margin:0 !important; }
}

/* Sezioni */
.bs-tp .bs-tp__sec { padding:30px 0; border-top:1px solid var(--line); }
.bs-tp .bs-tp__sec:first-child { padding-top:0; border-top:0; }
.bs-tp .bs-tp__h { font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:24px; line-height:1.2; color:var(--navy); margin:0 0 18px; }
.bs-tp .bs-tp__ic { flex:0 0 auto; display:inline-flex; color:var(--navy); }

.bs-tp .bs-tp__about { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 28px; }
.bs-tp .bs-tp__about li { display:flex; gap:14px; align-items:flex-start; }
.bs-tp .bs-tp__about li[data-top] { grid-column:1 / -1; }
.bs-tp .bs-tp__about strong { display:block; font-weight:600; font-size:16px; line-height:1.3; color:var(--navy); }
.bs-tp .bs-tp__about small { display:block; font-size:14.5px; line-height:1.45; color:var(--grey); margin-top:2px; }
.bs-tp .bs-tp__about li[data-k="early"] .bs-tp__ic, .bs-tp .bs-tp__about li[data-k="early"] strong { color:var(--coral); }

.bs-tp .bs-tp__high { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.bs-tp .bs-tp__high li { position:relative; padding-left:26px; font-size:16px; line-height:1.5; color:var(--navy); }
.bs-tp .bs-tp__high li::before { content:''; position:absolute; left:4px; top:.55em; width:8px; height:8px; border-radius:50%; background:var(--coral); }

.bs-tp .bs-tp__lead { font-size:15.5px; color:var(--grey); margin:-8px 0 16px; }
.bs-tp .bs-tp__bikes { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.bs-tp .bs-tp__bikes li { display:flex; flex-direction:column; align-items:center; gap:10px; padding:16px 10px 14px; border:1px solid var(--line); border-radius:16px; text-align:center; background:#fff; }
.bs-tp .bs-tp__bikepic { display:flex; align-items:center; justify-content:center; width:100%; height:64px; border-radius:12px; background:var(--sky); color:var(--blue); }
.bs-tp .bs-tp__bikepic svg { width:34px; height:34px; }
.bs-tp .bs-tp__bikepic.has-img { height:96px; background:none; }
.bs-tp .bs-tp__bikepic img { max-width:100%; max-height:100%; object-fit:contain; }
.bs-tp .bs-tp__bikes strong { font-size:15.5px; font-weight:600; color:var(--navy); line-height:1.25; }
.bs-tp .bs-tp__clip { position:relative; }
.bs-tp .bs-tp__clip.is-long:not(.is-open) { max-height:250px; overflow:hidden; }
.bs-tp .bs-tp__clip.is-long:not(.is-open)::after { content:''; position:absolute; left:0; right:0; bottom:0; height:90px; background:linear-gradient(rgba(255,255,255,0),#fff); }
.bs-tp .description, .bs-tp .description p, .bs-tp .description span, .bs-tp .description li { font-family:'Figtree',sans-serif; font-size:16px; line-height:1.65; color:#263F4C; background:none; }
.bs-tp .description p { margin:0 0 14px; padding:0; }
.bs-tp .description b, .bs-tp .description strong { color:var(--navy); font-weight:600; }
.bs-tp .bs-tp__toggle { margin-top:10px; padding:0; border:0; background:none; color:var(--blue); font:600 15px 'Figtree',sans-serif; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }

.bs-tp .bs-tp__inc { margin-bottom:-16px; }
.bs-tp .bs-tp__inc > div > .font-weight-bold { font-size:16px; font-weight:600 !important; color:var(--navy) !important; margin-bottom:12px !important; }
.bs-tp .bs-tp__inc .flex-horizontal-center { align-items:flex-start; font-size:15.5px; line-height:1.45; color:#263F4C !important; margin-bottom:10px !important; }
.bs-tp .bs-tp__inc .flex-horizontal-center i { margin-top:3px; font-size:14px !important; }
.bs-tp .bs-tp__inc .flaticon-tick { color:#1E8A5A !important; }
.bs-tp .bs-tp__inc .flaticon-close { color:#B3261E !important; }

.bs-tp .bs-tp__itin .card { border:0 !important; border-left:2px solid var(--line) !important; border-radius:0; margin:0 0 0 10px !important; padding:0 0 18px 22px; position:relative; background:none; }
.bs-tp .bs-tp__itin .card:last-child { padding-bottom:0; }
.bs-tp .bs-tp__itin .card::before { content:''; position:absolute; left:-9px; top:2px; width:16px; height:16px; border-radius:50%; background:#fff; border:3px solid var(--blue); }
.bs-tp .bs-tp__itin .collapse-link { flex-wrap:wrap; text-decoration:none !important; }
.bs-tp .bs-tp__itin .collapse-link > div:first-child { display:none; }
.bs-tp .bs-tp__itin .collapse-link .text-primary { color:var(--blue) !important; font-size:14px; font-weight:600; flex:0 0 100%; text-align:left; }
.bs-tp .bs-tp__itin .collapse-link .text-primary .px-2 { display:none; }
.bs-tp .bs-tp__itin h6 { font-size:17px; font-weight:600 !important; color:var(--navy) !important; white-space:normal; }
.bs-tp .bs-tp__itin .card-body { padding:8px 0 0 !important; font-size:15.5px; line-height:1.6; color:#263F4C; }

.bs-tp .bs-tp__meet { display:flex; gap:12px; align-items:flex-start; font-size:16px; margin:0 0 8px; }
.bs-tp .bs-tp__meet strong { font-weight:600; }
.bs-tp .bs-tp__maplink { display:inline-block; margin:0 0 16px 36px; font-weight:600; font-size:15px; color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.bs-tp .bs-tp__maplink:last-child { margin-bottom:0; }
.bs-tp .bs-tp__sec--map .location-map, .bs-tp .bs-tp__sec--map #map_content { border-radius:16px; overflow:hidden; }
.bs-tp .bs-tp__sec--map iframe { display:block; width:100% !important; min-width:0 !important; }

.bs-tp .bs-tp__faq .card { border:0 !important; border-bottom:1px solid var(--line) !important; border-radius:0; margin:0 !important; padding:14px 0 !important; background:none; }
.bs-tp .bs-tp__faq .card:last-child { border-bottom:0 !important; }
.bs-tp .bs-tp__faq .collapse-link { text-align:left; font-weight:600; font-size:16px; color:var(--navy); text-decoration:none !important; white-space:normal; align-items:center !important; }
.bs-tp .bs-tp__faq .collapse-link > div:first-child { order:2; margin:0 0 0 auto !important; border:0 !important; padding:0 0 0 12px !important; }
.bs-tp .bs-tp__faq .card-body { padding:10px 0 0; font-size:15.5px; line-height:1.6; color:#263F4C; }

.bs-tp .bs-tp__why { display:grid; gap:10px; }
.bs-tp .bs-tp__why > div { margin:0 !important; }
.bs-tp .bs-tp__why i { color:var(--blue) !important; font-size:18px !important; }
.bs-tp .bs-tp__why h6, .bs-tp .bs-tp__why h6 a { font-size:15.5px !important; font-weight:400; color:#263F4C !important; text-decoration:none; }

/* Colonna laterale: resta solo il riquadro di prenotazione */
.bs-tp .bravo_content .col-lg-3 > .owner-info { display:none !important; }
.bs-tp #bravo_tour_book_app > .border { border:1px solid var(--line) !important; border-radius:20px !important; box-shadow:0 8px 30px rgba(15,46,61,.10); overflow:hidden; background:#fff; margin-bottom:0 !important; }
.bs-tp #bravo_tour_book_app > .border > .border-bottom[style] { background:#fff !important; color:var(--navy) !important; border-bottom:0 !important; }
.bs-tp #bravo_tour_book_app > .border > .border-bottom[style] .p-4 { padding:22px 24px 6px !important; }
.bs-tp #bravo_tour_book_app > .border > .border-bottom[style] .font-size-14 { font-size:14px; color:var(--grey); }
.bs-tp #bravo_tour_book_app > .border > .border-bottom[style] .font-size-24 { font-family:'Bricolage Grotesque',sans-serif; font-size:30px !important; color:var(--navy) !important; -webkit-text-fill-color:var(--navy); }
.bs-tp #bravo_tour_book_app > .border > .border-bottom[style] .font-size-24 small { color:var(--grey) !important; -webkit-text-fill-color:var(--grey); }
.bs-tp #bravo_tour_book_app > .border > .border-bottom[style] .p-4::after { content:var(--bs-pp); font-size:14px; color:var(--grey); margin-left:6px; }
.bs-tp #bravo_tour_book_app .form-book > .p-4 { padding:14px 24px 24px !important; }
.bs-tp #bravo_tour_book_app button[name="submit"] { background:var(--coral) !important; border-color:var(--coral) !important; border-radius:999px !important; height:54px !important; font-size:17px; }

@media (max-width:991px) {
  .bs-tp .bs-tp__head h1 { font-size:26px !important; }
  .bs-tp .bs-tp__gal { display:block; height:auto; aspect-ratio:3 / 2; border-radius:16px; margin-bottom:24px; }
  .bs-tp .bs-tp__tile { width:100%; height:100%; }
  .bs-tp .bs-tp__tile + .bs-tp__tile { display:none; }
  .bs-tp .bs-tp__about { grid-template-columns:1fr; gap:16px; }
  .bs-tp .bs-tp__bikes { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bs-tp .bs-tp__h { font-size:21px; }
  .bs-tp .bs-tp__sec { padding:24px 0; }
  .bs-tp .bs-tp__book { margin-top:8px; }
}
@media (prefers-reduced-motion:reduce) { .bs-tp .bs-tp__tile img { transition:none; } }
