/* Biking Sardinia - pagina "Chi siamo" nello stile della home (classi aggiunte da js/bs-about.js).
   Stessi valori del nuovo aspetto: blu #0F2E3D, blu #1F6FA8, corallo #D9431A, azzurro #EEF4F6, linee #D9E2E6,
   Bricolage Grotesque per i titoli, Figtree per i testi, card arrotondate e pulsanti a pillola.
   Tutto e' sotto html.bs-about: senza lo script la pagina resta com'era. */
html.bs-about { --bsa-ink: #0F2E3D; --bsa-blue: #1F6FA8; --bsa-hot: #D9431A; --bsa-sky: #EEF4F6; --bsa-grey: #55636D; --bsa-line: #D9E2E6; }
html.bs-about .bsa-hide { display: none !important; }
html.bs-about .bravo_wrap .page-template-content { overflow-x: hidden; }
html.bs-about .bsa-hero h1, html.bs-about .bsa-band h2, html.bs-about .bsa-story .twi-title, html.bs-about .bsa-how .hiw2-title,
html.bs-about .bsa-faq .faq2-title { font-family: 'Bricolage Grotesque', sans-serif !important; letter-spacing: -.01em; }

/* pulsanti come la home */
html.bs-about .bsa-cta { display: flex; flex-wrap: wrap; gap: 12px; }
html.bs-about .bsa-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; font-family: 'Figtree', sans-serif; font-weight: 600; font-size: 17px; text-decoration: none !important; transition: background-color .15s ease; }
html.bs-about .bsa-btn--hot { background: var(--bsa-hot); color: #fff !important; }
html.bs-about .bsa-btn--hot:hover { background: #bf3913; }
html.bs-about .bsa-btn--white { background: #fff; color: var(--bsa-ink) !important; }
html.bs-about .bsa-btn--white:hover { background: var(--bsa-sky); }

/* 1. apertura */
html.bs-about .bsa-hero { position: relative; display: flex; align-items: flex-end; min-height: 460px; padding: 140px 0 96px; color: #fff;
    background: linear-gradient(90deg, rgba(15,46,61,.62) 0%, rgba(15,46,61,.25) 55%, rgba(15,46,61,0) 100%), var(--bsa-img, none) center / cover no-repeat, var(--bsa-ink); }
html.bs-about .bsa-hero__in { max-width: 640px; }
html.bs-about .bsa-hero__t { text-transform: none !important; margin: 0 0 10px; font-weight: 700 !important; font-size: clamp(40px, 5vw, 60px) !important; line-height: 1.04 !important; color: #fff !important; }
html.bs-about .bsa-hero__sub { margin: 0 0 26px; font-family: 'Figtree', sans-serif; font-weight: 600; font-size: 19px; color: #fff; }

/* 2. fascia blu */
html.bs-about .bsa-band { position: relative; margin-top: -36px; padding: 70px 0 74px; background: var(--bsa-ink); border-radius: 36px 36px 0 0; color: #fff; }
html.bs-about .bsa-band__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
html.bs-about .bsa-band h2 { margin: 0 0 18px; font-weight: 600 !important; font-size: clamp(32px, 3.6vw, 44px) !important; line-height: 1.08 !important; color: #fff !important; }
html.bs-about .bsa-band__intro p { margin: 0; font-family: 'Figtree', sans-serif; font-size: 18px; line-height: 1.6; color: #DCE7EC; }
html.bs-about .bsa-band__q { margin: 0 0 14px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 24px; color: #fff; }
html.bs-about .bsa-band__rows { display: grid; gap: 12px; }
html.bs-about .bsa-band__row { display: flex; align-items: center; gap: 16px; padding: 14px 20px 14px 14px; background: #fff; border-radius: 18px; }
html.bs-about .bsa-band__ic { flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bsa-hot); }
html.bs-about .bsa-band__ic svg { width: 22px; height: 22px; }
html.bs-about .bsa-band__t { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--bsa-ink); }
html.bs-about .bsa-band__d { display: block; margin-top: 2px; font-family: 'Figtree', sans-serif; font-size: 15px; line-height: 1.45; color: var(--bsa-grey); }

/* titoletti di sezione */
html.bs-about .bsa-eyebrow, html.bs-about .bsa-sec-t { margin: 0 0 26px; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 600 !important; font-size: clamp(30px, 3.4vw, 40px) !important; line-height: 1.1 !important; letter-spacing: -.01em; color: var(--bsa-ink) !important; }

/* 3. la passione e il negozio: due card affiancate */
html.bs-about .bsa-duo { padding: 76px 0 10px; }
html.bs-about .bsa-duo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
html.bs-about .bsa-story { padding: 0 !important; margin: 0 !important; background: #fff !important; border: 1px solid var(--bsa-line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
html.bs-about .bsa-story > .container { max-width: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; flex: 1; display: flex; }
html.bs-about .bsa-story .twi-card { background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; flex: 1; display: flex; }
html.bs-about .bsa-story .row { margin: 0 !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; width: 100%; }
html.bs-about .bsa-story .row > [class*="col"] { flex: 0 0 auto !important; max-width: 100% !important; width: 100% !important; padding: 0 !important; }
html.bs-about .bsa-story .twi-image-wrap { border-radius: 0 !important; overflow: hidden !important; box-shadow: none !important; margin: 0 !important; }
html.bs-about .bsa-story .twi-image { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: 0 !important; }
html.bs-about .bsa-story .twi-content { padding: 26px 28px 30px !important; }
html.bs-about .bsa-story .twi-title { margin: 0 0 12px !important; font-weight: 600 !important; font-size: 28px !important; line-height: 1.15 !important; text-transform: none !important; color: var(--bsa-ink) !important; }
html.bs-about .bsa-story .twi-desc { font-family: 'Figtree', sans-serif !important; font-size: 16px !important; line-height: 1.65 !important; color: #34434c !important; max-width: none !important; }
html.bs-about .bsa-story .twi-actions:empty { display: none; }
html.bs-about .bsa-story .twi-actions .btn { margin-top: 18px; display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px !important; border: 0 !important; background: var(--bsa-ink) !important; color: #fff !important; font-family: 'Figtree', sans-serif; font-weight: 600; font-size: 16px; text-transform: none; letter-spacing: 0; }
html.bs-about .bsa-story .twi-actions .btn:hover { background: var(--bsa-blue) !important; }

/* 4. come funziona: tre passi in fila */
html.bs-about .bsa-how { margin-top: 76px; padding: 64px 0 40px !important; background: var(--bsa-sky) !important; }
html.bs-about .bsa-how .hiw2-title-wrap { text-align: left !important; margin-bottom: 26px !important; }
html.bs-about .bsa-how .hiw2-title { margin: 0 !important; font-weight: 600 !important; font-size: clamp(30px, 3.4vw, 40px) !important; color: var(--bsa-ink) !important; text-transform: none !important; }
html.bs-about .bsa-how .hiw2-title::after { display: none !important; }
html.bs-about .bsa-how .row { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 !important; }
html.bs-about .bsa-how .row > [class*="col"] { max-width: 100% !important; flex: none !important; width: auto !important; padding: 0 !important; margin: 0 0 24px !important; }
html.bs-about .bsa-how .hiw2-card { height: 100%; align-items: flex-start !important; justify-content: flex-start !important; padding: 26px 24px 28px !important; background: #fff !important; border: 1px solid var(--bsa-line) !important; border-radius: 22px !important; box-shadow: none !important; text-align: left !important; }
html.bs-about .bsa-how__n { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--bsa-hot); color: #fff; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 20px; }
html.bs-about .bsa-how .hiw2-card-title, html.bs-about .bsa-how .hiw2-card-desc { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; text-align: left !important; }
html.bs-about .bsa-how .hiw2-card-title { margin-bottom: 6px !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 600 !important; font-size: 21px !important; color: var(--bsa-ink) !important; text-transform: none !important; }
html.bs-about .bsa-how .hiw2-card-desc { font-family: 'Figtree', sans-serif !important; font-size: 16px !important; line-height: 1.55 !important; color: var(--bsa-grey) !important; }

/* 5. tre riquadri con foto */
html.bs-about .bsa-tiles { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
html.bs-about .bsa-tiles .grid-item { position: relative; grid-column: auto !important; grid-row: auto !important; width: auto !important; flex: none !important; height: 340px !important; min-height: 0 !important; border-radius: 22px !important; overflow: hidden !important; }
html.bs-about .bsa-tiles .grid-item .bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s ease; }
html.bs-about .bsa-tiles .grid-item:hover .bg-image { transform: scale(1.04); }
html.bs-about .bsa-tiles .grid-item::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(15,46,61,.05) 0%, rgba(15,46,61,.35) 40%, rgba(15,46,61,.92) 100%); }
html.bs-about .bsa-tiles .grid-item .content { position: absolute !important; left: 0; right: 0; bottom: 0; top: auto !important; z-index: 2 !important; padding: 24px !important; }
html.bs-about .bsa-tiles .grid-item > a { position: absolute; inset: 0; z-index: 3 !important; }
html.bs-about .bsa-tiles .grid-item .content h3 { margin: 0 0 6px !important; font-family: 'Bricolage Grotesque', sans-serif !important; font-weight: 600 !important; font-size: 24px !important; line-height: 1.15 !important; color: #fff !important; text-shadow: none !important; }
html.bs-about .bsa-tiles .grid-item .content p { margin: 0 !important; font-family: 'Figtree', sans-serif !important; font-size: 15px !important; line-height: 1.45 !important; color: rgba(255,255,255,.9) !important; text-shadow: none !important; }
html.bs-about .bsa-go { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: 14px; border-radius: 50%; background: var(--bsa-hot); transition: transform .15s ease; }
html.bs-about .bsa-tiles .grid-item:hover .bsa-go { transform: translateX(4px); }
html.bs-about .bsa-go svg { width: 20px; height: 20px; }

/* 6. domande frequenti */
html.bs-about .bsa-faq { padding: 70px 0 70px !important; background: transparent !important; }
html.bs-about .bsa-faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
html.bs-about .bsa-faq__side { position: sticky; top: 110px; }
html.bs-about .bsa-faq .faq2-title { margin: 0 0 14px !important; font-weight: 600 !important; font-size: clamp(28px, 3vw, 36px) !important; line-height: 1.12 !important; text-transform: none !important; color: var(--bsa-ink) !important; text-align: left !important; }
html.bs-about .bsa-faq__p { margin: 0 0 22px; font-family: 'Figtree', sans-serif; font-size: 17px; line-height: 1.6; color: var(--bsa-grey); }
html.bs-about .bsa-faq .faq2-accordion { display: grid; gap: 10px; margin: 0 !important; }
html.bs-about .bsa-faq .faq2-item { margin: 0 !important; border: 1px solid var(--bsa-line) !important; border-radius: 16px !important; box-shadow: none !important; background: #fff !important; overflow: hidden; }
html.bs-about .bsa-faq .faq2-btn { padding: 18px 22px !important; font-family: 'Figtree', sans-serif !important; font-weight: 600 !important; font-size: 17px !important; color: var(--bsa-ink) !important; background: transparent !important; }
html.bs-about .bsa-faq .faq2-body { padding: 0 22px 20px !important; font-family: 'Figtree', sans-serif !important; font-size: 16px !important; line-height: 1.6 !important; color: #34434c !important; }
html.bs-about .bsa-btn--ink { background: var(--bsa-ink); color: #fff !important; height: 48px; }
html.bs-about .bsa-faq button.bsa-btn { height: 48px; border: 0; cursor: pointer; }
html.bs-about .bsa-faq .bsa-ask { flex: 1 1 100%; }
html.bs-about .bsa-btn--ink:hover { background: var(--bsa-blue); }
html.bs-about .bsa-btn--line { border: 2px solid var(--bsa-ink); color: var(--bsa-ink) !important; height: 48px; }
html.bs-about .bsa-btn--line:hover { background: var(--bsa-ink); color: #fff !important; }

/* tablet e telefono */
@media (max-width: 991px) {
    html.bs-about .bsa-band__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    html.bs-about .bsa-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    html.bs-about .bsa-faq__side { position: static; }
    html.bs-about .bsa-tiles { grid-template-columns: minmax(0, 1fr) !important; }
    html.bs-about .bsa-tiles .grid-item { height: 240px !important; }
}
@media (max-width: 767px) {
    html.bs-about .bsa-duo__grid, html.bs-about .bsa-how .row { grid-template-columns: minmax(0, 1fr) !important; }
    html.bs-about .bsa-story .twi-image { height: 240px; }
}
@media (max-width: 575px) {
    html.bs-about .bsa-hero { min-height: 380px; padding: 120px 0 80px; }
    html.bs-about .bsa-hero__sub { font-size: 17px; }
    html.bs-about .bsa-hero .bsa-cta .bsa-btn { flex: 1 1 100%; }
    html.bs-about .bsa-band { padding: 54px 0 56px; border-radius: 28px 28px 0 0; }
    html.bs-about .bsa-duo { padding-top: 56px; }
    html.bs-about .bsa-story .twi-content { padding: 22px 22px 26px !important; }
}

/* Telefono (15/11/2026): le foto di testata sono molto larghe (fino a 4,7:1) e con "cover" si vedeva solo un dettaglio
   sotto la scritta. Sotto i 768 px la foto diventa una fascia sopra il titolo e il testo va sul fondo blu.
   Vale per Chi siamo, Servizi bici, Blog, Contatti e Tour su misura (tutte usano .bsa-hero). */
@media (max-width: 767px) {
    html.bs-about .bsa-hero { display: block !important; min-height: 0 !important; padding: 0 0 64px !important; background: var(--bsa-ink) !important; }
    html.bs-about .bsa-hero::before { content: ''; display: block; height: 62vw; max-height: 320px; background: var(--bsa-img, none) var(--bsa-pos, center) / cover no-repeat; }
    html.bs-about .bsa-hero > .container { padding-top: 22px; }
    html.bs-about .bsa-hero__t { font-size: 38px !important; }
    html.bs-services .bsa-hero { --bsa-pos: center 30%; }
}
