/* ===========================================================================
   THEME B — "Notturno" (tutto il sito)
   ---------------------------------------------------------------------------
   Attivo su ogni pagina del frontend (functions.php: tf_theme_b_active(), classe
   `tf-theme-b` sul body, CSS stampato inline e minificato). Scuro di default,
   chiaro con html[data-tf-theme="light"]: tutti i colori passano dai token --b-*.
   La hero resta una foto scura in entrambe le modalita'; banner app e footer
   restano scuri come ancore.

   Il widget di prenotazione NON e' ricompilato: riceve `theme` via
   window.pickerSettings. Qui si adattano contrasti e presentazione mobile.
   fe.booking e il repo del picker restano invariati.

   Le sezioni della home sono in css/theme-b-home.css.
   =========================================================================== */

/* Archivo, self-hosted (OFL): variable wght 400–700, wdth 100–125. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("/wp-content/themes/tailpress-master/fonts/archivo/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("/wp-content/themes/tailpress-master/fonts/archivo/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens: dark below, html[data-tf-theme="light"] swaps them. The page is LIGHT by
   default (functions.php prints data-tf-theme="light" on <html>); tf-theme-boot removes
   it only when the user picked dark with the header toggle (saved in localStorage).
   The system colour scheme is ignored. The hero stays a dark photo in both
   modes; the app banner and the footer stay dark as anchors. */
html:has(body.tf-theme-b) {
  color-scheme: dark;
}
html[data-tf-theme="light"]:has(body.tf-theme-b) {
  color-scheme: light;
}
body.tf-theme-b {
  --b-mock: #1a1a1d;
  --b-base: #0b0b0c;
  --b-surf: #121214;
  --b-raised: #1a1a1d;
  --b-text: #f2f1ee;
  --b-sec: rgba(242, 241, 238, 0.74);
  --b-ter: rgba(242, 241, 238, 0.6);
  --b-hair: rgba(255, 255, 255, 0.1);
  --b-hair-strong: rgba(255, 255, 255, 0.18);
  --b-gold: #f9b442;
  --b-font: "Archivo", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--b-base);
  color: var(--b-text);
}
html[data-tf-theme="light"] body.tf-theme-b {
  --b-mock: #ecebe6;
  --b-base: #f6f5f1;
  --b-surf: #efeee9;
  --b-raised: #ffffff;
  --b-text: #121110;
  --b-sec: rgba(18, 17, 16, 0.72);
  --b-ter: rgba(18, 17, 16, 0.6);
  --b-hair: rgba(18, 17, 16, 0.1);
  --b-hair-strong: rgba(18, 17, 16, 0.18);
}

/* ===== Light/dark toggle (header, on the dark hero in both modes) ===== */
/* Pulsanti dell'header (tema, Sign-in, menu) tutti della stessa altezza: 38px, 36px sotto
   760px (come "Sign-in" in header-secondary.php); tema e menu quadrati, stesso bordo. */
body.tf-theme-b .tfb-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease;
}
body.tf-theme-b .tfb-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
body.tf-theme-b .tfb-theme-toggle svg {
  width: 18px;
  height: 18px;
}
body.tf-theme-b .tfd-burger {
  flex: none;
  width: 38px;
  height: 38px;
  border-color: rgba(255, 255, 255, 0.34);
}
@media (max-width: 760px) {
  body.tf-theme-b .tfb-theme-toggle,
  body.tf-theme-b .tfd-burger {
    width: 36px;
    height: 36px;
  }
}
body.tf-theme-b .tfb-ic-moon,
html[data-tf-theme="light"] body.tf-theme-b .tfb-ic-sun {
  display: none;
}
html[data-tf-theme="light"] body.tf-theme-b .tfb-ic-moon {
  display: block;
}

body.tf-theme-b,
body.tf-theme-b #page {
  background: var(--b-base);
  color: var(--b-text);
}
/* output.css forces `* { font-family: Figtree !important }`: override it on this
   page only (icons are SVG, so no icon font is affected). */
body.tf-theme-b,
body.tf-theme-b * {
  font-family: var(--b-font) !important;
}

/* Wide display type (Archivo, width axis). */
body.tf-theme-b .tfb-display,
body.tf-theme-b .tfd-h1,
body.tf-theme-b .tf-section-heading h2,
body.tf-theme-b .tfb-h2,
body.tf-theme-b .tfdst-h {
  font-family: var(--b-font);
  font-weight: 600;
  font-stretch: 114%;
  letter-spacing: -0.012em;
}

/* ===== One content column for the whole page =====
   Hero, widget, sections, app banner and footer share it: 64px gutters,
   capped at 1440px (about 1300px on a 1440 screen); 20px gutters on phones,
   reduced to 12px for the booking widget. */
body.tf-theme-b .tfb-wrap,
body.tf-theme-b .tf-journey-steps .tf-content-width,
body.tf-theme-b .tfd-hero,
body.tf-theme-b .tfd-picker,
body.tf-theme-b .tfd-facts,
body.tf-theme-b #page .tfb-dest .max-w-7xl,
body.tf-theme-b #page #app-download,
body.tf-theme-b #page footer.tf-site-footer .max-w-7xl,
body.tf-theme-b footer.tf-site-footer .max-w-7xl {
  width: calc(100% - 128px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
body.tf-theme-b .tfd-bar-wrap {
  padding-left: 0;
  padding-right: 0;
}
/* Containers nested inside another .max-w-7xl in the footer: no second gutter. */
body.tf-theme-b #page footer.tf-site-footer .max-w-7xl .max-w-7xl,
body.tf-theme-b footer.tf-site-footer .max-w-7xl .max-w-7xl {
  width: 100%;
  max-width: none;
}
/* The widget caps itself at 1280px inside .tfr-hbar-shell: let it follow the column. */
html body.tf-theme-b .tfr-hbar-shell > div {
  max-width: none;
}

/* Shared section rhythm for the B-only blocks. */
body.tf-theme-b .tfb-sec {
  padding: 120px 0 0;
}
body.tf-theme-b .tfb-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
body.tf-theme-b .tfb-h2 {
  margin: 0;
  color: var(--b-text);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.02;
}
body.tf-theme-b .tfb-head > .tfb-h2 {
  max-width: 18ch;
}
body.tf-theme-b .tfb-lede {
  margin: 0;
  max-width: 420px;
  color: var(--b-sec);
  font-size: 17px;
  line-height: 1.6;
}

/* ===== Header inside the hero: plain text nav, outlined sign-in ===== */
body.tf-theme-b .tfd-nav {
  background: transparent;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.tf-theme-b .tfd-navlist > li > a,
body.tf-theme-b .tfd-nav .tfd-nav-a {
  color: rgba(242, 241, 238, 0.86);
  font-size: 15px;
}
body.tf-theme-b .tfd-navlist > li > a:hover,
body.tf-theme-b .tfd-nav .tfd-nav-a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
body.tf-theme-b .tfd-navlist > li.current-menu-item > a,
body.tf-theme-b .tfd-navlist > li.current_page_item > a {
  background: rgba(255, 255, 255, 0.1);
}
body.tf-theme-b .tfd-signin {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}
body.tf-theme-b .tfd-signin:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.tf-theme-b .tfd-signin {
  white-space: nowrap;
}
/* Nome dell'utente loggato nel pulsante account (solo il nome proprio, vedi footer.php):
   mai piu' largo di cosi', altrimenti su telefono spinge il selettore tema sul logo. */
body.tf-theme-b .tfd-signin .tf-user-name {
  display: inline-block;
  max-width: 12ch;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
/* Telefoni stretti: logo, selettore tema e spazi un filo piu' compatti,
   cosi' "Sign-in" resta su una riga accanto al menu. */
@media (max-width: 420px) {
  body.tf-theme-b .tfd-logo-img {
    width: 136px;
  }
  body.tf-theme-b .tfd-signin .tf-user-name {
    max-width: 8ch;
  }
  body.tf-theme-b .tfd-z-right {
    gap: 8px;
  }
}

/* ===== Hero: foto della pagina sotto un velo scuro, testi a sinistra sopra il widget =====
   La foto arriva da header-secondary.php (--tfd-photo / --tfd-photo-m: featured
   image o mappa sfondi); la home ha la sua in theme-b-home.css. */
body.tf-theme-b .tf-canvas {
  background: var(--b-base);
  padding: 0;
}
body.tf-theme-b .tf-deck {
  --tfd-photo-layer: var(--tfd-photo);
  --tfd-photo-m-layer: var(--tfd-photo-m);
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.74) 0%, rgba(11, 11, 12, 0.34) 26%, rgba(11, 11, 12, 0.46) 50%, rgba(11, 11, 12, 0.9) 80%, #0b0b0c 100%),
    linear-gradient(90deg, rgba(11, 11, 12, 0.66) 0%, rgba(11, 11, 12, 0.2) 62%),
    var(--tfd-photo-layer, url("https://images.transfeero.com/www.transfeero.com/2026/03/woman_inside_transfeero_car.png/w=1990,h=1330,fit=cover,gravity=top,dpr=1,format=auto")) var(--tfd-photo-pos, 50% 38%) / cover no-repeat;
  background-color: #0b0b0c;
}
@supports (background-image: image-set(url("x") 1x)) {
  body.tf-theme-b .tf-deck {
    --tfd-photo-layer: var(--tfd-photo-retina, var(--tfd-photo));
    --tfd-photo-m-layer: var(--tfd-photo-m-retina, var(--tfd-photo-m));
  }
}
/* Pagine senza hero: solo la barra dell'header, scura in entrambe le modalita'. */
body.tf-theme-b .tf-deck--bar,
body.tf-theme-b .tf-deck--plain {
  background: #0b0b0c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.tf-theme-b .tfd-hero {
  padding-top: 24px;
  padding-bottom: 26px;
  text-align: left;
}
/* Desktop: the widget gets room above and below and a slightly larger bar,
   so it reads as the main action of the hero. */
@media (min-width: 1024px) {
  body.tf-theme-b .tfd-hero {
    padding-bottom: 52px;
  }
  body.tf-theme-b .tfd-facts {
    margin-top: 34px;
  }
}
/* Dimensioni del widget: stesse soglie del bundle, che misura il suo contenitore
   (.tfr-hbar-shell, container-type: inline-size): barra orizzontale sopra 1060px,
   griglia a 2 colonne fino a 1060px, colonna singola fino a 700px.
   La barra "grande" vale solo quando c'e' spazio (contenitore >= 1300px): sotto,
   restano i valori del widget, cosi' nessun testo viene troncato e in griglia il
   bottone mantiene il suo padding verticale. */
@container (min-width: 1300px) {
  html body.tf-theme-b .tfr-picker-mvz .tfr-bar {
    padding: 9px;
    border-radius: 18px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell {
    padding: 19px 20px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell-label {
    font-size: 13px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell-value {
    font-size: 15.5px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-go {
    padding: 0 36px;
    border-radius: 12px;
    font-size: 16.5px;
  }
}
/* Portatili (contenitore 1061-1299px): un passo sopra i valori compatti del widget. */
@container (min-width: 1061px) and (max-width: 1299px) {
  html body.tf-theme-b .tfr-picker-mvz .tfr-bar {
    padding: 8px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell {
    gap: 11px;
    padding: 16px 15px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell-label {
    font-size: 12.5px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell-value {
    font-size: 14.5px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-go {
    padding: 0 26px;
    font-size: 15.5px;
  }
}
/* Barra orizzontale: data e ora sempre leggibili per intero (cedono Da/A). */
@container (min-width: 1061px) {
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell--datetime {
    flex-shrink: 0;
    min-width: max-content;
  }
}
/* Mobile "Essenziale": campi leggibili ma compatti (16px), ritorno su fondo
   tenue senza tratteggio e passeggeri su una riga. Stessa soglia del bundle. */
@container (max-width: 700px) {
  html body.tf-theme-b .tfr-picker-mvz .tfr-bar {
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell {
    gap: 12px;
    min-height: 66px;
    padding: 12px 14px;
    border-radius: 14px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell-label {
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.15;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell-value {
    font-size: 16px;
    line-height: 1.2;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell--from .tfr-cell-value,
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell--to .tfr-cell-value {
    font-weight: 500;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell--addret {
    border: 0;
    background: rgba(255, 255, 255, 0.07);
  }
  html body.tf-theme-b .tfr-picker-mvz[data-theme="light"] .tfr-cell--addret {
    background: rgba(23, 21, 15, 0.045);
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell--addret:hover {
    background: var(--tfr-cell-hover-bg);
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell--addret .tfr-cell-field {
    min-height: 0;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-addret {
    font-size: 15px;
    color: var(--tfr-text);
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell--pax {
    min-height: 62px;
    padding: 10px 14px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell--pax .tfr-cell-field {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-cell--pax .tfr-cell-label {
    font-size: 15px;
    color: var(--tfr-text);
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-step {
    flex-shrink: 0;
    gap: 8px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-stepbtn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-step b {
    font-size: 16px;
    min-width: 20px;
  }
  html body.tf-theme-b .tfr-picker-mvz .tfr-go {
    min-height: 52px;
    padding: 14px 0;
    border-radius: 14px;
    font-size: 16px;
  }
}
@media (min-width: 1428px) {
  html body.tf-theme-b .tfr-picker-mvz .tfr-htabs {
    margin-bottom: 18px;
  }
}
body.tf-theme-b .tfd-h1 {
  margin: 0;
  max-width: 24ch;
  color: #f2f1ee;
  font-size: clamp(34px, 4vw, 60px);
  font-stretch: 116%;
  line-height: 1.02;
  text-shadow: none;
  text-wrap: balance;
}
body.tf-theme-b .tfd-sub {
  margin: 22px 0 0;
  max-width: 620px;
  color: rgba(242, 241, 238, 0.82);
  font-size: 19px;
  line-height: 1.55;
  text-shadow: none;
}
body.tf-theme-b .tfd-facts {
  margin-top: 18px;
  color: rgba(242, 241, 238, 0.86);
  font-size: 14px;
  text-align: left;
  letter-spacing: 0;
}

/* Skeleton shown before the widget mounts: stessi colori del widget in ogni modalita'
   (vetro scuro in scuro, bianco in chiaro), cosi' niente lampo di colore. */
body.tf-theme-b .tfd-bar {
  max-width: none;
  background: rgba(12, 12, 13, 0.8);
  border: 1px solid var(--b-hair-strong);
  box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.7);
}
body.tf-theme-b .tfd-skel-tab,
body.tf-theme-b .tfd-skel-tab-2,
body.tf-theme-b .tfd-skel-cell {
  background: rgba(255, 255, 255, 0.08);
}
html[data-tf-theme="light"] body.tf-theme-b .tfd-bar {
  background: #fff;
  border-color: rgba(18, 17, 16, 0.12);
}
html[data-tf-theme="light"] body.tf-theme-b .tfd-skel-tab,
html[data-tf-theme="light"] body.tf-theme-b .tfd-skel-tab-2,
html[data-tf-theme="light"] body.tf-theme-b .tfd-skel-cell {
  background: #efeee9;
}
body.tf-theme-b .tfd-skel-go {
  background: var(--b-gold);
  opacity: 0.85;
}

/* Skeleton = stesso ingombro del widget in ogni modalita' (misurato 2026-09-23 con le
   schede a pillola in chiaro e in scuro: colonna singola 459px, griglia 323px, barra
   145px, barra grande 157px), cosi' lo scambio
   skeleton -> widget non sposta nulla. Soglie in viewport per la colonna del tema
   (contenitore = viewport - 128px, o - 40px sotto 700px). */
body.tf-theme-b #picker-spinner.tfd-bar {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
/* Nascosto dallo script quando il widget ha montato. */
body.tf-theme-b #picker-spinner.hidden {
  display: none;
}
body.tf-theme-b #picker-spinner .tfd-skel-cells {
  flex: 1 1 auto;
}
@media (min-width: 1428px) {
  body.tf-theme-b #picker-spinner.tfd-bar {
    height: 157px;
  }
}
@media (min-width: 1189px) and (max-width: 1427px) {
  body.tf-theme-b #picker-spinner.tfd-bar {
    height: 145px;
  }
}
@media (min-width: 829px) and (max-width: 1188px) {
  body.tf-theme-b #picker-spinner.tfd-bar {
    height: 323px;
  }
  body.tf-theme-b #picker-spinner .tfd-skel-cells {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 6px;
  }
  body.tf-theme-b #picker-spinner .tfd-skel-cells > :nth-child(n + 5) {
    grid-column: 1 / -1;
  }
  body.tf-theme-b #picker-spinner .tfd-skel-cell,
  body.tf-theme-b #picker-spinner .tfd-skel-go {
    height: auto;
  }
}
@media (max-width: 828px) {
  body.tf-theme-b #picker-spinner.tfd-bar {
    height: 459px;
  }
  body.tf-theme-b #picker-spinner .tfd-skel-cells {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  body.tf-theme-b #picker-spinner .tfd-skel-cell,
  body.tf-theme-b #picker-spinner .tfd-skel-go {
    flex: 1 1 0;
    width: 100%;
    height: auto;
  }
}

/* ===== Booking widget: dark theme, contrast raised (web only) =====
   Same bundle, same layout: only the --tfr-* values change. Higher specificity
   than the bundle's `.tfr-picker-mvz.tfr-hbar[data-theme=dark]`. Portaled
   popovers carry the same classes, so they pick these values up too. */
html body.tf-theme-b .tfr-picker-mvz.tfr-hbar[data-theme="dark"] {
  --tfr-bar-bg: rgba(12, 12, 13, 0.8);
  --tfr-bar-border: rgba(255, 255, 255, 0.18);
  --tfr-bar-hairline: rgba(255, 255, 255, 0.16);
  --tfr-text-muted: rgba(255, 255, 255, 0.74);
  --tfr-text-placeholder: rgba(255, 255, 255, 0.62);
  --tfr-icon-muted: rgba(255, 255, 255, 0.7);
  --tfr-step-border: rgba(255, 255, 255, 0.4);
  --tfr-on-form-muted: rgba(255, 255, 255, 0.82);
}
/* Light widget (light mode): contrast fix + the same amber CTA as in dark. */
html body.tf-theme-b .tfr-picker-mvz.tfr-hbar[data-theme="light"] {
  --tfr-text-muted: #57513f;
  --tfr-text-placeholder: #6b6557;
  --tfr-icon-muted: #857e6e;
  --tfr-bar-border: rgba(23, 21, 15, 0.14);
  --tfr-bar-hairline: rgba(23, 21, 15, 0.14);
  --tfr-step-border: rgba(23, 21, 15, 0.34);
  --tfr-on-form-muted: #3d392f;
  --tfr-cta-bg: #f9b442;
  --tfr-cta-bg-hover: #ffc25d;
  --tfr-cta-fg: #18120a;
}
/* Modale di ricerca a schermo intero (telefono): il widget blocca lo scroll mettendo
   il body in position:fixed con top:0, quindi la pagina saltava in cima all'apertura
   del campo e restava li' alla chiusura. Qui lo scroll si blocca senza spostare la
   pagina (overflow hidden su html e body, rispettato anche da iOS 16+). */
html:has(> body.tfr-picker-mvz-disable-scroll) {
  overflow: hidden;
}
body.tfr-picker-mvz-disable-scroll {
  position: static !important;
  top: auto !important;
  height: auto !important;
  overflow: hidden !important;
}
/* Widget scuro (tema scuro): stessa struttura del chiaro, colori invertiti. Schede in
   una pillola (vetro scuro) con la scheda attiva bianca, invece del testo sottolineato:
   stessa altezza del widget chiaro, quindi nessun salto passando da un tema all'altro. */
html body.tf-theme-b .tfr-picker-mvz.tfr-hbar[data-theme="dark"] .tfr-htabs {
  gap: 4px;
  padding: 4px;
  border: 0;
  border-radius: 12px;
  background: rgba(12, 12, 13, 0.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
html body.tf-theme-b .tfr-picker-mvz.tfr-hbar[data-theme="dark"] .tfr-htab {
  padding: 9px 16px;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
}
html body.tf-theme-b .tfr-picker-mvz.tfr-hbar[data-theme="dark"] .tfr-htab.is-on {
  background: #fff;
  color: #141414;
}
html body.tf-theme-b .tfr-picker-mvz.tfr-hbar[data-theme="dark"] .tfr-htab.is-on::after {
  display: none;
}

/* ===== Main wrapper (white in post-hero.css) ===== */
body.tf-theme-b .tf-home-content {
  background: var(--b-base);
}

/* ===== Destinations ([destination_shortcode variant="b"], in .tfb-dest) =====
   Same data as everywhere else; the "b" variant renders 4 photo cards and
   turns the rest into text rows. */
body.tf-theme-b .tfb-dest > div {
  background: transparent;
  padding-top: 120px;
  padding-bottom: 0;
}
body.tf-theme-b .tfb-dest .text-gray-900 {
  color: var(--b-text);
}
body.tf-theme-b .tfb-dest .text-gray-600 {
  color: var(--b-sec);
}
body.tf-theme-b .tfb-dest .skeleton-loader > div {
  background: var(--b-raised) !important;
  border-radius: 16px;
}
body.tf-theme-b .tfdst--b .tfdst-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 44px;
}
body.tf-theme-b .tfdst--b .tfdst-h {
  color: var(--b-text);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.02;
}
body.tf-theme-b .tfdst--b .tfdst-lede {
  margin-top: 14px;
  color: var(--b-sec);
  font-size: 17px;
}
body.tf-theme-b .tfdst--b .tfdst-filters {
  gap: 10px 26px;
  justify-content: flex-end;
}
body.tf-theme-b .tfdst--b .tfdst-filter {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--b-text);
  font-size: 15px;
  font-weight: 600;
}
body.tf-theme-b .tfdst--b .tfdst-filter:hover {
  background: transparent;
  color: var(--b-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.tf-theme-b .tfdst--b .tfdst-filter > i,
body.tf-theme-b .tfdst--b .tfdst-filter > svg {
  display: none;
}
body.tf-theme-b .tfdst--b .tfdst-filter .tfdst-arw {
  opacity: 1;
  font-size: 15px;
}
body.tf-theme-b .tfdst--b .tfdst-mosaic {
  margin: 0;
  gap: 20px;
}
body.tf-theme-b .tfdst--b .tfdst-mosaic > li {
  aspect-ratio: 3 / 4;
}
body.tf-theme-b .tfdst--b .tfdst-card {
  border-radius: 16px;
  background: #1a1a1d; /* scuro anche in chiaro: sopra c'e' testo bianco */
}
body.tf-theme-b .tfdst--b .tfdst-card::after {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0) 38%, rgba(11, 11, 12, 0.9) 100%);
}
body.tf-theme-b .tfdst--b .tfdst-cap {
  padding: 22px 24px;
}
body.tf-theme-b .tfdst--b .tfdst-city {
  font-stretch: 112%;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
body.tf-theme-b .tfdst--b .tfdst-apt {
  margin-top: 6px;
  font-size: 15px;
  color: rgba(242, 241, 238, 0.86);
}
body.tf-theme-b .tfdst--b .tfdst-apt > i,
body.tf-theme-b .tfdst--b .tfdst-apt > svg {
  display: none;
}
/* Amber stays on the widget CTA only. */
body.tf-theme-b .tfdst--b .tfdst-iata {
  color: inherit;
  font-weight: 600;
}
body.tf-theme-b .tfdst--b .tfdst-rows {
  margin-top: 40px;
  gap: 0 24px;
  border-top: 1px solid var(--b-hair);
}
body.tf-theme-b .tfdst--b .tfdst-row {
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--b-hair);
  border-radius: 0;
  background: transparent;
}
body.tf-theme-b .tfdst--b .tfdst-row:hover {
  border-bottom-color: var(--b-hair-strong);
}
body.tf-theme-b .tfdst--b .tfdst-rcity {
  color: var(--b-text);
  font-size: 16px;
  font-weight: 600;
}
body.tf-theme-b .tfdst--b .tfdst-rapt {
  margin-top: 3px;
  color: var(--b-sec);
  font-size: 14px;
}
body.tf-theme-b .tfdst--b .tfdst-rarrow {
  color: var(--b-text);
}

/* ===== App banner: dark card on dark page needs an edge ===== */
body.tf-theme-b #app-download {
  margin-top: 120px;
}
body.tf-theme-b #app-download > div {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Telefono: card scura piana (senza la mappa, sul telefono stava male), niente QR (non si
   inquadra dallo stesso telefono), i due badge affiancati, telefoni grandi a tutta larghezza
   della card e appoggiati al suo bordo inferiore. */
@media (max-width: 639px) {
  body.tf-theme-b #app-download .tf-ab-bg {
    display: none;
  }
  body.tf-theme-b #app-download .tf-ab-mock {
    margin-inline: -32px;
  }
  body.tf-theme-b #app-download .tf-ab-grid {
    row-gap: 24px;
  }
  body.tf-theme-b #app-download .tf-ab-copy {
    padding-bottom: 0;
  }
  body.tf-theme-b #app-download .tf-ab-qr {
    display: none;
  }
  body.tf-theme-b #app-download .tf-ab-copy > .mt-10 {
    margin-top: 28px;
  }
  body.tf-theme-b #app-download .tf-ab-badges {
    flex-direction: row;
    gap: 10px;
  }
  body.tf-theme-b #app-download .tf-ab-badges > a {
    flex: 1 1 0;
    max-width: 136px;
  }
  body.tf-theme-b #app-download .tf-ab-badges img {
    width: 100%;
    height: auto;
  }
  body.tf-theme-b #app-download .tf-ab-phones {
    width: min(420px, 100%);
  }
}

/* ===== Footer ===== */
/* !important: il reset globale dei link (functions.php) toglie la sottolineatura a tutti */
body.tf-theme-b .tfnl-note a {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
body.tf-theme-b footer.tf-site-footer {
  background: #070708;
  border-top: 1px solid var(--b-hair);
}

/* ===== Reviews (template-parts/tp-reviews-b.php) ===== */
body.tf-theme-b .tfb-reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px;
  align-items: stretch;
}
body.tf-theme-b .tfb-score {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding-right: 24px;
}
body.tf-theme-b .tfb-score-num {
  font-stretch: 125%;
  font-weight: 600;
  font-size: 120px;
  line-height: 0.9;
  color: var(--b-text);
}
body.tf-theme-b .tfb-score-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  color: var(--b-sec);
}
/* Voto con la scala: "4.8" grande e "/5" piccolo sulla stessa linea di base. */
body.tf-theme-b .tfb-score-line {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
body.tf-theme-b .tfb-score-of {
  font-stretch: 125%;
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  color: var(--b-ter);
}
/* Widget Trustpilot del footer (trustpilot-widgets.js del servizio marketing): "4.8/5". */
body.tf-theme-b .tp-rating-widget .tp-rating-meta strong::after {
  content: "/5";
  font-weight: 500;
  opacity: 0.6;
}
body.tf-theme-b .tfb-score-meta a {
  color: var(--b-text);
  font-weight: 600;
  text-decoration: none;
}
body.tf-theme-b .tfb-score-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.tf-theme-b .tfb-review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.tf-theme-b .tfb-review-list > li {
  display: flex;
}
body.tf-theme-b .tfb-score-meta svg,
body.tf-theme-b .tfb-review svg {
  align-self: flex-start;
}
body.tf-theme-b .tfb-review {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 26px;
  border-radius: 16px;
  background: var(--b-raised);
  border: 1px solid var(--b-hair);
}
body.tf-theme-b .tfb-review h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--b-text);
}
body.tf-theme-b .tfb-review blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--b-sec);
}
body.tf-theme-b .tfb-review figcaption {
  margin-top: auto;
  font-size: 14px;
  color: var(--b-ter);
}

/* ===========================================================================
   CONTENUTI — skin globale
   ---------------------------------------------------------------------------
   I template usano utility Tailwind "chiare" (bg-white, text-gray-900,
   border-slate-100...). Invece di riscrivere ~50 template, qui le stesse classi
   vengono rimappate sui token --b-* (funziona in scuro e in chiaro).
   Escluse le "isole" gia' scure e i loro discendenti: hero (.tf-deck), menu
   mobile, footer, banner app, widget, card nere (bg-black, bg-gray-900...).
   Specificita' prevedibile: il filtro isole e' dentro :where().
   =========================================================================== */

body.tf-theme-b main,
body.tf-theme-b #primary,
body.tf-theme-b .tf-canvas--bar {
  background: var(--b-base);
  color: var(--b-text);
}
/* Bordi senza colore esplicito: il preflight di Tailwind li fa grigio chiaro. */
:where(body.tf-theme-b #page) *:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
  border-color: var(--b-hair);
}
/* --- Superfici: sezioni e card --- */
body.tf-theme-b #page :is(.bg-white, .bg-white\/95, .bg-white\/90, .bg-white\/85, .bg-white\/80, .bg-white\/75, .bg-white\/70, .bg-white\/60, .bg-white\/50):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: var(--b-base);
}
body.tf-theme-b #page :is(.bg-gray-50, .bg-slate-50, .bg-slate-50\/70, .bg-neutral-50, .bg-stone-50, .bg-gray-100, .bg-gray-100\/80, .bg-slate-100, .bg-neutral-100, .bg-\[\#f2f0ea\], .bg-\[\#f9fafb\]):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: var(--b-surf);
}
/* Card: elementi arrotondati, con bordo o con ombra -> superficie rialzata + filo. */
body.tf-theme-b #page :is(:is(.bg-white, .bg-white\/95, .bg-white\/90, .bg-white\/85, .bg-white\/80, .bg-white\/75, .bg-white\/70, .bg-white\/60, .bg-white\/50, .bg-gray-50, .bg-slate-50, .bg-slate-50\/70, .bg-neutral-50, .bg-gray-100, .bg-slate-100):is([class*="rounded"], [class*="shadow"], .border)):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: var(--b-raised);
}
body.tf-theme-b #page :is(.bg-gray-200, .bg-slate-200, .bg-neutral-200, .bg-black\/5, .bg-black\/10):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: color-mix(in srgb, var(--b-text) 9%, transparent);
}
/* Barre adesive semitrasparenti (sottomenu in pagina). */
body.tf-theme-b #page :is(.bg-white\/95.sticky, .bg-white\/90.sticky, .sticky.bg-white\/95, .sticky.bg-white):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: color-mix(in srgb, var(--b-base) 92%, transparent);
}
/* Il tema B e' piatto: niente ombre sulle card (bordi a filo al loro posto). */
body.tf-theme-b #page [class*="shadow"]:not(.tfr-go):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
box-shadow: none;
}
body.tf-theme-b #page :is(.blur-3xl, .blur-2xl):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
display: none;
}
/* Tinte oro di icone/chip: neutre. L'oro resta sui pulsanti di prenotazione. */
body.tf-theme-b #page :is(.bg-\[\#f9b442\]\/5, .bg-\[\#f9b442\]\/10, .bg-\[\#f9b442\]\/12, .bg-\[\#f9b442\]\/15, .bg-\[\#f9b442\]\/20, .bg-\[\#f9b442\]\/25, .bg-amber-50, .bg-amber-100, .bg-amber-500\/10, .bg-yellow-50):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: color-mix(in srgb, var(--b-text) 7%, transparent);
}
body.tf-theme-b #page :is(.border-amber-500\/30, .border-amber-500\/40, .border-amber-200, .border-\[\#f9b442\]\/30, .border-\[\#f9b442\]\/40):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
border-color: var(--b-hair-strong);
}
/* --- Testo --- */
body.tf-theme-b #page :is(.text-gray-900, .text-slate-900, .text-black, .text-neutral-900, .text-neutral-950, .text-gray-800, .text-slate-800, .text-neutral-800, .text-zinc-900, .text-\[\#0a0b0e\], .text-\[\#111827\], .text-\[\#14120d\]):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
color: var(--b-text);
}
body.tf-theme-b #page :is(.text-gray-700, .text-slate-700, .text-neutral-700, .text-gray-600, .text-slate-600, .text-neutral-600, .text-black\/80, .text-black\/70, .text-zinc-600, .text-\[\#4b4a45\]):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
color: var(--b-sec);
}
body.tf-theme-b #page :is(.text-gray-500, .text-slate-500, .text-neutral-500, .text-gray-400, .text-slate-400, .text-neutral-400, .text-black\/60, .text-black\/50, .text-\[\#6f6c63\], .text-\[\#8a8476\]):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
color: var(--b-ter);
}
body.tf-theme-b #page :is(.text-amber-500, .text-amber-600, .text-amber-700, .text-amber-800, .text-yellow-600, .text-yellow-700, .text-\[\#f9b442\], .text-\[\#c98d00\], .text-\[\#a16207\], .text-\[\#d48306\], .text-\[\#e3a338\], .text-\[\#8a5a00\], .text-\[\#002B11\]):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
color: var(--b-text);
}
body.tf-theme-b #page :is(.hover\:text-gray-900:hover, .hover\:text-black:hover, .hover\:text-slate-900:hover):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
color: var(--b-text);
}
/* --- Bordi e divisori --- */
body.tf-theme-b #page :is(.border-gray-100, .border-gray-200, .border-slate-100, .border-slate-200, .border-slate-200\/90, .border-neutral-100, .border-neutral-200, .border-black\/5, .border-black\/10, .border-zinc-200, .border-\[\#002B11\]\/15):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
border-color: var(--b-hair);
}
body.tf-theme-b #page :is(.border-gray-300, .border-slate-300, .border-neutral-300, .border-black\/20, .border-gray-400):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
border-color: var(--b-hair-strong);
}
body.tf-theme-b #page :is(.divide-gray-100, .divide-gray-200, .divide-slate-100, .divide-slate-200, .divide-black\/10) > :not([hidden]) ~ :not([hidden]):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
border-color: var(--b-hair);
}
body.tf-theme-b #page :is(.ring-black\/5, .ring-black\/10, .ring-gray-200, .ring-slate-200):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
--tw-ring-color: var(--b-hair);
}
/* --- Hover di righe e card --- */
body.tf-theme-b #page :is(.hover\:bg-gray-50:hover, .hover\:bg-gray-100:hover, .hover\:bg-slate-50:hover, .hover\:bg-slate-100:hover, .hover\:bg-neutral-50:hover, .hover\:bg-white:hover):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: color-mix(in srgb, var(--b-text) 6%, transparent);
}
body.tf-theme-b #page :is(.hover\:border-gray-300:hover, .hover\:border-slate-300:hover, .hover\:border-black\/20:hover, .hover\:border-gray-900:hover):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
border-color: var(--b-hair-strong);
}
/* --- Pulsanti neri su fondo della pagina: in B diventano "inversi"
   (chiari sullo scuro, scuri sul chiaro). L'oro resta per le azioni di prenotazione. --- */
body.tf-theme-b #page :is(:is(a, button):is(.bg-black, .bg-gray-900, .bg-neutral-900, .bg-neutral-950, .bg-slate-900, .bg-\[\#000\], .bg-\[\#0a0b0e\], .bg-\[\#101014\])):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: var(--b-text);
color: var(--b-base);
border-color: transparent;
}
body.tf-theme-b #page :is(a:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page button):is(.bg-black:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page .bg-gray-900:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page .bg-neutral-900:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page .bg-neutral-950:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page .bg-slate-900:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page .bg-\[\#000\]:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page .bg-\[\#0a0b0e\]:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page .bg-\[\#101014\]) :is(.text-white:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page i:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page svg:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page span):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
color: inherit;
}
body.tf-theme-b #page :is(:is(a, button):is(.bg-black, .bg-gray-900, .bg-neutral-900, .bg-slate-900):hover, :is(a, button).hover\:bg-gray-800:hover, :is(a, button).hover\:bg-neutral-800:hover):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: color-mix(in srgb, var(--b-text) 86%, var(--b-base));
}
body.tf-theme-b #page :is(:is(a, button):is(.bg-amber-500, .bg-amber-400, .bg-\[\#f9b442\], .bg-yellow-400)):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: var(--b-gold);
color: #18120a;
}
/* --- Form --- */
body.tf-theme-b #page :is(:is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]), select, textarea)):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
background-color: var(--b-raised);
color: var(--b-text);
border-color: var(--b-hair-strong);
}
body.tf-theme-b #page :is(input:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *),
body.tf-theme-b #page textarea)::placeholder:not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
color: var(--b-ter);
opacity: 1;
}
/* --- Titoli: Archivo largo come in home --- */
body.tf-theme-b #page :is(:is(h1, h2, h3)):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
font-stretch: 110%;
letter-spacing: -0.01em;
}
body.tf-theme-b #page :is(:is(h2, h3):is(.font-bold, .font-extrabold, .font-semibold)):not(:where(.tf-deck, .tfm-panel, .tf-site-footer, #app-download, .tfr-picker-mvz, .tfnl, .tfac-card, .bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *) {
font-weight: 600;
}
/* --- Prosa (plugin typography) --- */
body.tf-theme-b #page .prose {
  --tw-prose-body: var(--b-sec);
  --tw-prose-headings: var(--b-text);
  --tw-prose-lead: var(--b-sec);
  --tw-prose-links: var(--b-text);
  --tw-prose-bold: var(--b-text);
  --tw-prose-counters: var(--b-ter);
  --tw-prose-bullets: var(--b-ter);
  --tw-prose-hr: var(--b-hair);
  --tw-prose-quotes: var(--b-text);
  --tw-prose-quote-borders: var(--b-hair-strong);
  --tw-prose-captions: var(--b-ter);
  --tw-prose-code: var(--b-text);
  --tw-prose-th-borders: var(--b-hair-strong);
  --tw-prose-td-borders: var(--b-hair);
}

/* ===========================================================================
   COMPONENTI CONDIVISI (CSS proprio, non utility)
   =========================================================================== */

/* ----- Colonna unica anche per i contenuti degli altri template ----- */
body.tf-theme-b #page :is(.max-w-7xl, .lg\:max-w-7xl):not(.tf-site-footer .max-w-7xl) {
  width: calc(100% - 128px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
body.tf-theme-b #page :is(.max-w-7xl, .lg\:max-w-7xl) :is(.max-w-7xl, .lg\:max-w-7xl) {
  width: 100%;
  max-width: none;
}

/* ----- Header, pulsanti/statistiche della hero e trust bar sulla stessa colonna
   dei contenuti (64px di margine, massimo 1440px centrati; 20px su telefono).
   Prima header e trust bar erano a tutta larghezza e pulsante e statistiche
   delle hero corporate finivano incollati al bordo sinistro. ----- */
body.tf-theme-b .tfd-header,
body.tf-theme-b .tfd-trustbar {
  padding-left: max(64px, calc((100% - 1440px) / 2));
  padding-right: max(64px, calc((100% - 1440px) / 2));
}
body.tf-theme-b .tfd-bar-wrap > :is(.tfd-cta, .tfd-stats) {
  margin-left: max(64px, calc((100% - 1440px) / 2));
  margin-right: max(64px, calc((100% - 1440px) / 2));
}
body.tf-theme-b .tfd-bar-wrap > .tfd-cta {
  align-self: flex-start;
}
@media (max-width: 700px) {
  body.tf-theme-b .tfd-header,
  body.tf-theme-b .tfd-trustbar {
    padding-left: 20px;
    padding-right: 20px;
  }
  body.tf-theme-b .tfd-bar-wrap > :is(.tfd-cta, .tfd-stats) {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* ----- Hero: titolo, widget, facts e rating formano un blocco unico con spazi
   espliciti (prima c'erano spaziatori flessibili: su schermi alti il blocco restava
   in alto e sotto si apriva un vuoto, con la riga Trustpilot staccata in fondo).
   Desktop: hero alta quanto il contenuto. Telefono (hero a tutto schermo) e hero
   corporate (altezza minima): il blocco si centra nello spazio sotto l'header. ----- */
body.tf-theme-b .tf-deck:not(.tf-deck--bar) .tfd-hero {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: clamp(40px, 7vh, 96px);
}
body.tf-theme-b .tf-deck:not(.tf-deck--bar) .tfd-bar-wrap {
  flex: 0 0 auto;
  margin-bottom: auto;
}
body.tf-theme-b .tf-deck:not(.tf-deck--bar) .tfd-bar-wrap::after {
  flex: 0 0 auto;
  min-height: 0;
  height: clamp(48px, 8vh, 96px);
}
/* Desktop, hero con la barra di ricerca: piu' foto sopra il titolo (titolo e widget
   scendono di ~60-75 px). */
@media (min-width: 1024px) {
  body.tf-theme-b .tf-deck:not(.tf-deck--bar):has(.tfd-picker) .tfd-hero {
    padding-top: clamp(96px, 14vh, 170px);
  }
}
/* Home in tema scuro: il fondo della hero sfuma nello stesso nero della pagina, quindi il
   suo spazio sotto e il padding di How it works si sommano in un'unica fascia vuota: meno
   spazio sotto la hero. Le altre pagine lo tengono (il sottomenu segue subito la hero). */
html:not([data-tf-theme="light"]) body.tf-theme-b.tf-home-b .tf-deck:not(.tf-deck--bar):has(.tfd-picker) .tfd-bar-wrap::after {
  height: clamp(24px, 3vh, 40px);
}
@media (min-width: 761px) {
  body.tf-theme-b.page-template .tf-deck:not(.tf-deck--bar):not(.tf-deck--compact),
  body.tf-theme-b .tf-deck:not(.tf-deck--bar):not(.tf-deck--compact) {
    min-height: 0;
  }
}

/* ----- Hero degli altri template: stessi allineamenti della home ----- */
body.tf-theme-b .tfd-hero {
  max-width: 1440px;
}
body.tf-theme-b .tfd-h1,
body.tf-theme-b .tfd-sub {
  margin-left: 0;
  margin-right: 0;
}
body.tf-theme-b .tfd-stats {
  justify-content: flex-start;
  margin-left: 0;
}
body.tf-theme-b .tfd-stat:first-child {
  padding-left: 0;
}
body.tf-theme-b .tfd-stat-v {
  font-stretch: 112%;
  font-weight: 600;
}
body.tf-theme-b .tfd-cta {
  margin-left: 0;
  box-shadow: none;
}
body.tf-theme-b .tfd-trustbar-label {
  text-align: left;
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

/* ----- Riga Trustpilot sotto la hero (template-parts/trustpilot-row.php) ----- */
body.tf-theme-b .tfd-below {
  width: calc(100% - 128px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 0 0;
  justify-content: flex-start;
  gap: 10px;
}
body.tf-theme-b .tfd-below .tfd-tp-excellent,
body.tf-theme-b .tfd-below .tfd-tp-meta strong {
  color: var(--b-text);
  font-size: 15px;
  font-weight: 600;
}
body.tf-theme-b .tfd-below .tfd-tp-meta {
  color: var(--b-sec);
  font-size: 15px;
}
/* Dentro la hero (sotto i facts, come in home): foto sempre scura, testo chiaro
   in entrambe le modalita'. */
body.tf-theme-b .tf-deck .tfd-below {
  padding-top: 14px;
}
body.tf-theme-b .tf-deck .tfd-below .tfd-tp-excellent,
body.tf-theme-b .tf-deck .tfd-below .tfd-tp-meta strong {
  color: #f2f1ee;
}
body.tf-theme-b .tf-deck .tfd-below .tfd-tp-meta {
  color: rgba(242, 241, 238, 0.78);
}
body.tf-theme-b .tfd-below .tfd-tp-meta a {
  color: inherit;
  text-decoration: none;
}
body.tf-theme-b .tfd-below .tfd-tp-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Facts e voto sotto la barra di ricerca. Desktop: una riga sola allineata ai bordi
   della barra, i facts a sinistra e il voto a destra sotto "See prices" (la fiducia
   accanto al pulsante). Tablet e telefono, dove la barra e' in colonna: due righe
   centrate sotto il pulsante. */
@media (min-width: 1024px) {
  body.tf-theme-b .tf-deck .tfd-bar-wrap:has(> .tfd-facts + .tfd-below) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }
  body.tf-theme-b .tf-deck .tfd-bar-wrap > .tfd-facts:has(+ .tfd-below),
  body.tf-theme-b .tf-deck .tfd-bar-wrap > .tfd-facts + .tfd-below {
    grid-row: 2;
    grid-column: 1;
    align-self: center;
    margin-top: 26px;
    padding-top: 0;
  }
  body.tf-theme-b .tf-deck .tfd-bar-wrap > .tfd-facts + .tfd-below {
    justify-content: flex-end;
  }
}
@media (max-width: 1023px) {
  body.tf-theme-b .tf-deck .tfd-facts {
    text-align: center;
  }
  body.tf-theme-b .tf-deck .tfd-facts + .tfd-below {
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  body.tf-theme-b .tf-deck .tfd-bar-wrap > .tfd-stats + .tfd-below,
  body.tf-theme-b .tf-deck .tfd-bar-wrap > .tfd-cta + .tfd-below {
    padding-top: 26px;
  }
}

/* ----- Sottomenu in pagina (template-parts/airport/inpage-nav.php) ----- */
body.tf-theme-b #inpage-nav-bar {
  margin-top: 0; /* attaccato alla fine della hero */
  border-color: var(--b-hair);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.tf-theme-b #inpage-nav a {
  color: var(--b-sec);
}
body.tf-theme-b #inpage-nav a:hover {
  color: var(--b-text);
}
/* "Book now" solo quando la barra di ricerca della hero non si vede (script tf-inpage-cta). */
html.tf-js body.tf-theme-b #inpage-nav > li:has(> a[data-no-underline]):not(.is-on) {
  display: none;
}
/* "Book now" = azione di prenotazione: oro come "See prices". */
body.tf-theme-b #inpage-nav a.bg-\[\#000000\] {
  background: var(--b-gold);
  color: #18120a;
  box-shadow: none;
}
body.tf-theme-b #inpage-nav a.bg-\[\#000000\]:hover {
  background: #ffc25d;
}
body.tf-theme-b #inpage-active-underline {
  background: var(--b-text);
}

/* ----- Card "Ready to book?" ([booking_cta]): niente alone oro ----- */
body.tf-theme-b #page section[aria-labelledby="cta-booking-heading"] .bg-\[\#000\] {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
body.tf-theme-b #page section[aria-labelledby="cta-booking-heading"] .bg-\[\#000\] > svg {
  display: none;
}
body.tf-theme-b #page #cta-booking-heading {
  font-stretch: 114%;
  font-weight: 600;
}
body.tf-theme-b #page #scrollToTopBtn {
  background: var(--b-gold);
  color: #18120a;
  border-radius: 12px;
}
body.tf-theme-b #page #scrollToTopBtn:hover {
  background: #ffc25d;
}

/* ----- Insights + scheda aeroporto (airport.php, .tfai-*) ----- */
body.tf-theme-b .tfai-card,
body.tf-theme-b .tfai-side {
  background: var(--b-raised);
  border-color: var(--b-hair);
}
body.tf-theme-b .tfai-text,
body.tf-theme-b .tfai-addr {
  color: var(--b-sec);
}
body.tf-theme-b .tfai-fade {
  background: linear-gradient(to top, var(--b-raised) 12%, color-mix(in srgb, var(--b-raised) 86%, transparent) 55%, transparent 100%);
}
body.tf-theme-b .tfai-more {
  background: var(--b-text);
  color: var(--b-base);
}
body.tf-theme-b .tfai-more:hover {
  background: color-mix(in srgb, var(--b-text) 86%, var(--b-base));
}
body.tf-theme-b .tfai-ico {
  background: color-mix(in srgb, var(--b-text) 7%, transparent);
  color: var(--b-text);
}
body.tf-theme-b .tfai-row {
  border-top-color: var(--b-hair);
}
body.tf-theme-b .tfai-label,
body.tf-theme-b .tfai-row--ok span:first-child,
body.tf-theme-b .tfai-row--ko span:first-child {
  color: var(--b-ter);
}
body.tf-theme-b .tfai-value {
  color: var(--b-text);
}
body.tf-theme-b .tfai-link {
  border-bottom-color: var(--b-hair-strong);
}
body.tf-theme-b .tfai-link:hover {
  border-bottom-color: var(--b-text);
}
body.tf-theme-b .tfai-row--ok span:last-child {
  color: #3ec27f;
}
html[data-tf-theme="light"] body.tf-theme-b .tfai-row--ok span:last-child {
  color: #0f7a46;
}
body.tf-theme-b .tfai-stat {
  background: color-mix(in srgb, var(--b-text) 6%, transparent);
  border-color: var(--b-hair);
}
body.tf-theme-b .tfai-stat .tfai-label {
  color: var(--b-sec);
}

/* ----- Righe di link (template-parts/link-card.php, .tflc-*) ----- */
body.tf-theme-b .tflc {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--b-hair);
  border-radius: 0;
  padding: 16px 2px;
}
body.tf-theme-b .tflc:hover {
  border-bottom-color: var(--b-hair-strong);
}
body.tf-theme-b .tflc-grid {
  gap: 0 24px;
}
body.tf-theme-b .tflc-title,
body.tf-theme-b .tflc-arrow {
  color: var(--b-text);
  font-weight: 600;
}
body.tf-theme-b .tflc-sub {
  color: var(--b-sec);
}

/* ----- Card aeroporto con foto (template-parts/airport-card.php): IATA non oro ----- */
body.tf-theme-b .tfac-card {
  border-radius: 16px;
}
body.tf-theme-b .tfac-iata {
  color: inherit;
}
body.tf-theme-b .tfac-name {
  font-stretch: 110%;
  font-weight: 600;
}
body.tf-theme-b .tfac-country {
  letter-spacing: 0;
  text-transform: none;
  font-size: 12.5px;
  font-weight: 500;
}

/* ----- Destinazioni, variante standard ([destination_shortcode]) ----- */
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-row {
  background: transparent;
  border-color: var(--b-hair);
}
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-rcity {
  color: var(--b-text);
}
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-rapt {
  color: var(--b-sec);
}
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-filter {
  background: transparent;
  border-color: var(--b-hair-strong);
  color: var(--b-text);
}
body.tf-theme-b #page .tfdst .tfdst-iata {
  color: inherit;
}

/* ----- Recensioni dentro le pagine ([tf_reviews] -> template-parts/tp-reviews-b.php) ----- */
body.tf-theme-b .tfb-reviews--inline {
  padding: 96px 0;
}

/* ----- Articolo del blog (single.php) ----- */
body.tf-theme-b .entry-content :is(h2, h3, h4) {
  color: var(--b-text);
  font-stretch: 110%;
  font-weight: 600;
}
body.tf-theme-b .entry-content,
body.tf-theme-b .entry-content p,
body.tf-theme-b .entry-content li {
  color: var(--b-sec);
}
body.tf-theme-b .entry-content :is(strong, b) {
  color: var(--b-text);
}
body.tf-theme-b .entry-content a {
  color: var(--b-text);
  text-decoration: underline !important;
  text-decoration-color: var(--b-hair-strong);
  text-underline-offset: 3px;
}
body.tf-theme-b .entry-content a:hover {
  color: var(--b-text);
  text-decoration-color: var(--b-text);
}
body.tf-theme-b .tf-toc {
  background: var(--b-surf);
  border-color: var(--b-hair);
}
body.tf-theme-b .tf-toc__title,
body.tf-theme-b .tf-author__eyebrow {
  color: var(--b-ter);
  letter-spacing: 0;
}
body.tf-theme-b .tf-toc a {
  color: var(--b-sec);
}
body.tf-theme-b .tf-toc a:hover,
body.tf-theme-b .tf-author__name:hover {
  color: var(--b-text);
}
body.tf-theme-b .tf-author {
  border-top-color: var(--b-hair);
}
body.tf-theme-b .tf-author__name {
  color: var(--b-text);
}
body.tf-theme-b .tf-author__bio {
  color: var(--b-sec);
}
body.tf-theme-b .tf-author__avatar {
  background: var(--b-raised);
}

/* ----- Testi lunghi: regole "custom" di output.css con colori fissi
   (.prose>p, .inner-text-custom>p e .entry-content>p hanno !important) ----- */
body.tf-theme-b #page :is(.prose, .inner-text-custom, .entry-content) > :is(p, ul, ol, li) {
  color: var(--b-sec) !important;
}
body.tf-theme-b #page .prose > :is(h1, h2, h3, h4, h5, h6) {
  color: var(--b-text);
}
body.tf-theme-b #page :is(.prose, .inner-text-custom, .entry-content) :is(strong, b) {
  color: var(--b-text);
}
/* FAQ "Q" (travel guide, ski): niente oro, domanda in chiaro, lettera Q attenuata. */
body.tf-theme-b #page .faq-section > div {
  border-color: var(--b-hair);
}
body.tf-theme-b #page .faq-section h3,
body.tf-theme-b #page .faq-section h3:hover,
body.tf-theme-b #page .faq-section strong {
  color: var(--b-text);
}
body.tf-theme-b #page .faq-section h3::before {
  color: var(--b-ter);
}
body.tf-theme-b #page .faq-section p {
  color: var(--b-sec);
}
body.tf-theme-b #page .underlined::after {
  display: none;
}

/* ----- Carosello veicoli ([vehicle_cards]): sfumature ai bordi col colore della pagina ----- */
body.tf-theme-b #page [aria-labelledby="vehicle-slider-heading"] > .pointer-events-none.left-0 {
  background: linear-gradient(to right, var(--b-base), transparent) !important;
}
body.tf-theme-b #page [aria-labelledby="vehicle-slider-heading"] > .pointer-events-none.right-0 {
  background: linear-gradient(to left, var(--b-base), transparent) !important;
}

/* ----- Pagine senza hero: la barra header resta alta quanto l'header.
   (post-hero.css da' min-height 640px a ogni .tf-deck dei template, barra inclusa) ----- */
body.tf-theme-b .tf-deck.tf-deck--bar {
  min-height: 0;
}

/* ----- "How does it work" compatto (home A/B, .tfd-hiw) ----- */
body.tf-theme-b .tfd-hiw-wrap {
  background: var(--b-base);
}
body.tf-theme-b .tfd-hiw {
  background: var(--b-surf);
  border: 1px solid var(--b-hair);
}
body.tf-theme-b .tfd-hiw-title,
body.tf-theme-b .tfd-hiw-step h3 {
  color: var(--b-text);
  font-stretch: 110%;
  font-weight: 600;
}
body.tf-theme-b .tfd-hiw-n {
  color: var(--b-ter);
}
body.tf-theme-b .tfd-hiw-step p {
  color: var(--b-sec);
}
body.tf-theme-b .tfd-hiw-step {
  border-color: var(--b-hair);
}

/* ----- Sfondi a gradiente "arbitrari" (bg-[linear-gradient(...)], pagina Trust) ----- */
body.tf-theme-b #page [class*="bg-[linear-gradient"]:not(:where(.tf-deck, .tf-site-footer, #app-download, .bg-black, .bg-gray-900, .bg-neutral-950) *) {
  background: var(--b-surf);
}
body.tf-theme-b #page [class*="bg-[linear-gradient"][class*="rounded"]:not(:where(.tf-deck, .tf-site-footer, #app-download, .bg-black, .bg-gray-900, .bg-neutral-950) *) {
  background: var(--b-raised);
}

/* ----- Card CTA nere con alone oro (booking_cta, Hotellerie, landing): card grafite + filo ----- */
body.tf-theme-b #page .isolate.overflow-hidden:is(.bg-black, .bg-\[\#000\]) {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
body.tf-theme-b #page .isolate.overflow-hidden:is(.bg-black, .bg-\[\#000\]) > svg[class*="-z-10"] {
  display: none;
}

/* ----- 404 (404.php) ----- */
body.tf-theme-b .tf404 {
  padding: 88px 0 24px;
  background: var(--b-base);
}
body.tf-theme-b .tf404-in {
  width: calc(100% - 128px);
  max-width: 1440px;
  margin: 0 auto;
}
body.tf-theme-b .tf404-eyebrow {
  margin: 0 0 14px;
  color: var(--b-ter);
  font-size: 15px;
  font-weight: 600;
}
body.tf-theme-b .tf404-h {
  margin: 0;
  max-width: 20ch;
  color: var(--b-text);
  font-size: clamp(34px, 4vw, 56px);
  font-stretch: 116%;
  font-weight: 600;
  line-height: 1.04;
  text-wrap: balance;
}
body.tf-theme-b .tf404-sub {
  margin: 20px 0 40px;
  max-width: 640px;
  color: var(--b-sec);
  font-size: 18px;
  line-height: 1.55;
}
body.tf-theme-b .tf404-picker {
  max-width: none;
  margin: 0;
}
body.tf-theme-b .tf404-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--b-sec);
  font-size: 14.5px;
}
body.tf-theme-b .tf404-back {
  display: inline-flex;
  gap: 8px;
  margin-top: 28px;
  color: var(--b-text);
  font-size: 15px;
  font-weight: 600;
}
body.tf-theme-b .tf404-back:hover {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
/* Skeleton del picker sul fondo della pagina (non sulla foto): segue il tema. */
html[data-tf-theme="light"] body.tf-theme-b .tf404 .tfd-bar {
  background: #fff;
}

/* ----- Contenitori blu-ardesia (bg-slate-900 ecc.): grafite neutro del tema ----- */
body.tf-theme-b #page :is(.bg-slate-900, .bg-slate-950, .bg-gray-900, .bg-gray-950, .bg-zinc-950, .tf-timeline-card-highlight):not(a):not(button):not(:where(.tf-deck, .tf-site-footer, #app-download) *) {
  background: #16161a;
  border-color: rgba(255, 255, 255, 0.1);
}
/* Anelli bianchi attorno ai pallini della timeline (pagina Trust): colore della card. */
body.tf-theme-b #page .ring-white:not(:where(.tf-deck, .bg-black, .bg-slate-900, .tf-timeline-card-highlight) *) {
  --tw-ring-color: var(--b-raised);
}
body.tf-theme-b .tf-timeline::before {
  background: var(--b-hair-strong);
  box-shadow: none;
}

/* ----- Badge e pulsanti oro: testo sempre scuro (lo skin schiarisce text-black) ----- */
body.tf-theme-b #page :is(.bg-\[\#f9b442\], .bg-\[\#e39f2b\], .bg-amber-400, .bg-amber-500, .bg-yellow-400),
body.tf-theme-b #page :is(.bg-\[\#f9b442\], .bg-\[\#e39f2b\], .bg-amber-400, .bg-amber-500, .bg-yellow-400) :is(span, i, svg, strong) {
  color: #18120a;
}

/* ----- Destinazioni, variante standard: colori fissi del CSS inline di functions.php ----- */
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-h {
  color: var(--b-text);
}
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-lede {
  color: var(--b-sec);
}
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-filter:hover {
  background: var(--b-text);
  color: var(--b-base);
}
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-card {
  background: #1a1a1d; /* scuro anche in chiaro: sopra c'e' testo bianco */
}
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-more {
  background: var(--b-text);
  color: var(--b-base);
}
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-row:hover {
  border-color: var(--b-hair-strong);
}
body.tf-theme-b #page .tfdst:not(.tfdst--b) .tfdst-rarrow {
  color: var(--b-text);
}

/* ----- Liste (all-cities, all-airports, all-countries): titolo allineato alla colonna ----- */
body.tf-theme-b #primary > .w-full.p-6 {
  padding-left: 0;
  padding-right: 0;
}
body.tf-theme-b #primary > .w-full.p-6 h1 {
  padding-left: 0;
  padding-right: 0;
  font-weight: 600;
  font-stretch: 116%;
}

/* ----- CookieYes: i suoi link di revoca hanno fondo #f8f9fa e testo grigio fissi ----- */
body.tf-theme-b a.cky-banner-element {
  background: transparent !important;
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
body.tf-theme-b #page .entry-content a.cky-banner-element,
body.tf-theme-b #page main a.cky-banner-element {
  color: var(--b-text) !important;
}

/* ----- Sezioni con contenitore max-w-6xl/5xl (pagina Trust ecc.): stessa colonna ----- */
body.tf-theme-b #page :is(section.mx-auto.max-w-6xl, section > .mx-auto.max-w-6xl, section.mx-auto.max-w-5xl, section > .mx-auto.max-w-5xl) {
  width: calc(100% - 128px);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
body.tf-theme-b #page :is(.max-w-7xl, .lg\:max-w-7xl) :is(section.mx-auto.max-w-6xl, section > .mx-auto.max-w-6xl, section.mx-auto.max-w-5xl, section > .mx-auto.max-w-5xl) {
  width: 100%;
}

/* ----- Griglie di righe/card: gli elementi possono restringersi (titoli lunghi
   con ellissi invece di allargare la griglia oltre lo schermo) ----- */
body.tf-theme-b .tflc-grid > li,
body.tf-theme-b .tflc,
body.tf-theme-b .tfdst-rows > *,
body.tf-theme-b .tfdst-row {
  min-width: 0;
}
/* Link lunghi nei testi (URL nelle policy): vanno a capo invece di uscire dallo schermo. */
body.tf-theme-b #page main :is(p, li, td) a,
body.tf-theme-b .entry-content a {
  overflow-wrap: anywhere;
}

/* ----- Foto con testo bianco sopra: fondo scuro di sicurezza anche in chiaro,
   cosi' il testo resta leggibile mentre la foto carica o se manca ----- */
body.tf-theme-b .tfdst-card,
body.tf-theme-b #page figure.relative:has(> figcaption.absolute) {
  background-color: #1a1a1d;
}

/* ----- Barra "Book now" che compare scorrendo su telefono (city, country, guide, ski) ----- */
body.tf-theme-b #banner {
  background: color-mix(in srgb, var(--b-base) 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--b-hair);
  box-shadow: none;
}
body.tf-theme-b #banner .tfb-logo-on-light {
  display: none;
}
body.tf-theme-b #banner .tfb-logo-on-dark {
  display: inline-block;
}
html[data-tf-theme="light"] body.tf-theme-b #banner .tfb-logo-on-light {
  display: inline-block;
}
html[data-tf-theme="light"] body.tf-theme-b #banner .tfb-logo-on-dark {
  display: none;
}
body.tf-theme-b #page #banner button,
body.tf-theme-b #banner button {
  background: var(--b-gold);
  color: #18120a;
  border-radius: 10px;
  font-weight: 600;
}

/* ----- Eyebrow ed etichette: niente spaziature larghe tra le lettere
   (tracking 0.18em-0.35em / widest nei template esistenti) ----- */
body.tf-theme-b #page :is([class*="tracking-[0.1"], [class*="tracking-[0.2"], [class*="tracking-[0.3"], .tracking-widest) {
  letter-spacing: 0.04em;
}

/* ----- Oro solo sulle azioni di prenotazione: anche nelle sezioni nere (Global
   Coverage, Trust...) icone, "+" ed eyebrow tornano neutri ----- */
body.tf-theme-b #page :is(.bg-black, .bg-gray-900, .bg-neutral-900, .bg-neutral-950, .bg-slate-900, .bg-slate-950, .bg-\[\#000\], .tf-timeline-card-highlight) :is(.text-amber-400, .text-amber-500, .text-\[\#f9b442\], .text-yellow-400) {
  color: rgba(242, 241, 238, 0.9);
}

/* ----- Loghi partner scuri (NLA su Become a partner): bianchi sul fondo scuro ----- */
body.tf-theme-b #page img[alt="NLA"] {
  filter: brightness(0) invert(1);
  opacity: 0.82;
}
html[data-tf-theme="light"] body.tf-theme-b #page img[alt="NLA"] {
  filter: none;
  opacity: 1;
}

/* ===========================================================================
   TEMPLATE SERVIZI (hourly, city rides, chauffeur, first class, taxi, flight
   tracking, drivers, global coverage, landing): blocchi comuni e sezioni intro
   =========================================================================== */

/* Blocchi comuni "Global Coverage" e "Seamless": foto grande, titolo come in home,
   statistiche su una riga con filo superiore. */
body.tf-theme-b #page :is(section[aria-labelledby="global-coverage-heading"], section[aria-labelledby="seamless-journey-heading"]) {
  padding-top: 96px;
  padding-bottom: 96px;
}
body.tf-theme-b #page :is(section[aria-labelledby="global-coverage-heading"], section[aria-labelledby="seamless-journey-heading"]) .grid {
  max-width: none;
  align-items: center;
  gap: 40px 72px;
}
body.tf-theme-b #page :is(section[aria-labelledby="global-coverage-heading"], section[aria-labelledby="seamless-journey-heading"]) .relative.overflow-hidden.rounded-3xl {
  max-width: none;
  height: auto;
  aspect-ratio: 5 / 4;
  padding: 0;
  border-radius: 16px;
  background: var(--b-raised);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-coverage-heading"], section[aria-labelledby="seamless-journey-heading"]) :is(.lg\:pr-4, .lg\:pl-4) {
  padding-left: 0;
  padding-right: 0;
}
body.tf-theme-b #page :is(#global-coverage-heading, #seamless-journey-heading) {
  margin-top: 14px;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.02;
  font-stretch: 114%;
  font-weight: 600;
}
body.tf-theme-b #page :is(section[aria-labelledby="global-coverage-heading"], section[aria-labelledby="seamless-journey-heading"]) p.text-base.font-bold {
  margin-top: 0;
  color: var(--b-ter);
  font-size: 15px;
  font-weight: 600;
}
body.tf-theme-b #page :is(section[aria-labelledby="global-coverage-heading"], section[aria-labelledby="seamless-journey-heading"]) .text-base.text-gray-700 p:not(.font-bold) {
  color: var(--b-sec);
  font-size: 17px;
  line-height: 1.6;
}
body.tf-theme-b #page section[aria-labelledby="global-coverage-heading"] dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--b-hair);
}
body.tf-theme-b #page section[aria-labelledby="global-coverage-heading"] dl > div {
  padding: 20px 16px 0 0;
}
body.tf-theme-b #page section[aria-labelledby="global-coverage-heading"] dl dt {
  color: var(--b-ter);
  font-size: 13px;
  font-weight: 600;
}
body.tf-theme-b #page section[aria-labelledby="global-coverage-heading"] dl dd {
  margin-top: 6px;
  font-size: 32px;
  font-stretch: 112%;
  font-weight: 600;
}

/* Sezioni intro dei template servizi: erano bande nere fisse con card grigie e
   accenti oro. Ora seguono il tema (chiaro/scuro) come il resto della pagina. */
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) {
  background: var(--b-surf);
  color: var(--b-text);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(.text-white, .text-neutral-950) {
  color: var(--b-text);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(.text-neutral-300, .text-neutral-400) {
  color: var(--b-sec);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(.text-amber-400, .text-amber-500) {
  color: var(--b-text);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(.bg-neutral-800, .bg-neutral-800\/50, .bg-neutral-800\/60, .bg-neutral-800\/80, .bg-neutral-900, .bg-neutral-950, .bg-gray-900) {
  background-color: var(--b-raised);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(.bg-neutral-700, .bg-neutral-600) {
  background-color: var(--b-hair-strong);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(.border-neutral-700, .border-neutral-800, .border-neutral-700\/30, .border-neutral-700\/50) {
  border-color: var(--b-hair);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(.border-amber-500\/50, .border-amber-500\/40, .border-amber-500\/30, .border-amber-500) {
  border-color: var(--b-hair-strong);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(.hover\:border-amber-500\/40, .hover\:border-amber-500\/30):hover {
  border-color: var(--b-hair-strong);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(span, div, dt, dd, p):is(.bg-amber-500, .bg-amber-400, .bg-\[\#f9b442\]) {
  background-color: color-mix(in srgb, var(--b-text) 10%, transparent);
  color: var(--b-text);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(span, div, dt, dd, p):is(.bg-amber-500, .bg-amber-400, .bg-\[\#f9b442\]) * {
  color: inherit;
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) :is(.bg-amber-500\/10, .bg-amber-500\/20) {
  background-color: color-mix(in srgb, var(--b-text) 7%, transparent);
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) .text-red-400 {
  color: #e5484d;
}
body.tf-theme-b #page :is(section[aria-labelledby="global-heading"], section[aria-labelledby="taxi-heading"], section[aria-labelledby="flight-tracking-heading"], section[aria-labelledby="professional-drivers-heading"], section[aria-labelledby="chauffeur-heading"], section[aria-labelledby="chauffeur-features-heading"], section[aria-labelledby="first-class-heading"]) [class*="shadow"] {
  box-shadow: none;
}

/* Global Coverage: numeri grandi separati da fili, niente riquadri e icone;
   continenti come riga di testo; tre punti chiave in colonne con filo superiore. */
body.tf-theme-b #page section[aria-labelledby="global-heading"] .text-center.mb-16 {
  margin-bottom: 56px;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-4 {
  max-width: none;
  gap: 0;
  border-top: 1px solid var(--b-hair);
  border-bottom: 1px solid var(--b-hair);
  margin-bottom: 72px;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-4 > div {
  padding: 32px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-4 > div + div {
  border-left: 1px solid var(--b-hair);
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-4 > div > i,
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-4 > div > svg {
  display: none;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-4 .text-5xl {
  font-stretch: 116%;
  font-weight: 600;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-6 {
  gap: 0;
  border-top: 1px solid var(--b-hair);
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-6 > div {
  padding: 18px 8px;
  border: 0;
  border-bottom: 1px solid var(--b-hair);
  border-radius: 0;
  background: transparent;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-6 > div > :is(i, svg) {
  display: none;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-6 p {
  font-size: 16px;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .rounded-3xl.bg-neutral-950 {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .rounded-3xl.bg-neutral-950 .grid > div {
  padding-top: 24px;
  border-top: 1px solid var(--b-hair);
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .rounded-3xl.bg-neutral-950 .grid > div > :is(i, svg) {
  display: none;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .rounded-3xl.bg-neutral-950 h4 {
  font-size: 19px;
  font-stretch: 110%;
}
body.tf-theme-b #page section[aria-labelledby="global-heading"] .rounded-3xl.bg-neutral-950 p {
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 1023px) {
  body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-4 > div:nth-child(3) {
    border-left: 0;
  }
  body.tf-theme-b #page section[aria-labelledby="global-heading"] .grid.lg\:grid-cols-4 > div:nth-child(n + 3) {
    border-top: 1px solid var(--b-hair);
  }
}
@media (max-width: 700px) {
  body.tf-theme-b #page :is(section[aria-labelledby="global-coverage-heading"], section[aria-labelledby="seamless-journey-heading"]) {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  body.tf-theme-b #page section[aria-labelledby="global-coverage-heading"] dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }
}

/* Verde "live" leggibile anche sul chiaro. */
html[data-tf-theme="light"] body.tf-theme-b #page .text-emerald-400 {
  color: #0f7a46;
}

/* ----- Menu lingua nell'header (pannello bianco) ----- */
body.tf-theme-b #language-menu-3 {
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  --tw-ring-color: transparent;
}
body.tf-theme-b #language-menu-3 a {
  color: rgba(242, 241, 238, 0.86);
}
body.tf-theme-b #language-menu-3 a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
body.tf-theme-b #language-menu-3 span {
  color: rgba(242, 241, 238, 0.55);
}

/* ===========================================================================
   Passata "tutto perfetto" (2026-09-23): titoli, etichette, accenti, template servizi
   =========================================================================== */

/* Titoli dentro le isole scure dei contenuti (bande nere, card scure, sezioni dei
   template servizi): stessa tipografia larga del resto; il colore resta dell'isola. */
body.tf-theme-b #primary :is(h1, h2, h3):where(:is(.bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *):not(:where(#app-download, .tfnl, .tfac-card) *) {
  font-stretch: 110%;
  letter-spacing: -0.01em;
}
body.tf-theme-b #primary :is(h1, h2, h3):is(.font-bold, .font-extrabold):where(:is(.bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) *):not(:where(#app-download, .tfnl, .tfac-card) *) {
  font-weight: 600;
}
/* Titoli delle sezioni intro dei template servizi: stesso corpo di "Global Coverage". */
body.tf-theme-b #page :is(#global-heading, #taxi-heading, #flight-tracking-heading, #professional-drivers-heading, #chauffeur-heading, #first-class-heading) {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.02;
  font-stretch: 114%;
  font-weight: 600;
}

/* Etichette a pillola (eyebrow "Agency workspace", stati "Recommended", "Coming soon",
   "Level 1", "Live tracking"...): testo semplice come le eyebrow del tema, senza fondo,
   bordo e maiuscolo spaziato. I pallini e i cerchi con dimensione fissa restano. */
body.tf-theme-b #primary :is(span, div).rounded-full:is(.inline-flex, [class*="px-"]):not(a *, button *, [class*="size-"], [class*=" h-"], [class^="h-"], [class*=" w-"], [class^="w-"]):not(:empty) {
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--b-ter);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
body.tf-theme-b #primary :where(.bg-black, .bg-\[\#000\], .bg-\[\#000000\], .bg-gray-900, .bg-gray-950, .bg-gray-800, .bg-neutral-900, .bg-neutral-950, .bg-neutral-800, .bg-slate-900, .bg-slate-950, .bg-zinc-950, .tf-timeline-card-highlight) :is(span, div).rounded-full:is(.inline-flex, [class*="px-"]):not(a *, button *, [class*="size-"], [class*=" h-"], [class^="h-"], [class*=" w-"], [class^="w-"]):not(:empty) {
  color: rgba(242, 241, 238, 0.66);
}

/* ...ma non nelle sezioni intro dei template servizi, che seguono il tema della pagina. */
body.tf-theme-b #primary section:is([aria-labelledby="global-heading"], [aria-labelledby="taxi-heading"], [aria-labelledby="flight-tracking-heading"], [aria-labelledby="professional-drivers-heading"], [aria-labelledby="chauffeur-heading"], [aria-labelledby="chauffeur-features-heading"], [aria-labelledby="first-class-heading"]) :is(span, div).rounded-full:is(.inline-flex, [class*="px-"]):not(a *, button *, [class*="size-"], [class*=" h-"], [class^="h-"], [class*=" w-"], [class^="w-"]):not(:empty) {
  color: var(--b-ter);
}

/* Puntini degli elenchi e numeri dei passi: niente oro (resta solo sulle CTA). */
body.tf-theme-b #primary span.rounded-full:is(.size-2, .h-2, .size-1\.5, .h-1\.5):is(.bg-\[\#f9b442\], .bg-amber-400, .bg-amber-500) {
  background: currentColor;
  opacity: 0.45;
}
body.tf-theme-b #primary li > span.rounded-full:is(.h-10, .size-10, .h-8, .size-8):is(.bg-\[\#f9b442\], .bg-amber-400, .bg-amber-500) {
  background: color-mix(in srgb, var(--b-text) 8%, transparent);
  color: var(--b-text);
}
body.tf-theme-b #primary .tf-timeline article > .absolute:is(.size-4, .size-3, .h-4) {
  background: var(--b-text);
  box-shadow: 0 0 0 4px var(--b-surf);
}
body.tf-theme-b #primary nav :is(a, span).border-\[\#f9b442\] {
  border-color: var(--b-text);
}

/* Nelle bande nere (About, Business, Agencies...): riquadri icona e fondi tinti d'oro
   diventano grafite chiaro, come il resto dell'isola. */
body.tf-theme-b #page :is(.bg-black, .bg-gray-900, .bg-neutral-900, .bg-neutral-950, .bg-slate-900, .bg-slate-950, .bg-\[\#000\], .tf-timeline-card-highlight) :is(.bg-\[\#f9b442\]\/10, .bg-\[\#f9b442\]\/15, .bg-\[\#f9b442\]\/20, .bg-amber-500\/10, .bg-amber-500\/20, .bg-amber-400\/10, .bg-amber-400\/20) {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Professional drivers: numero del passo come piccola etichetta (niente pallini
   flottanti ne' icone); statistiche tra due fili come Global Coverage, senza riquadro. */
body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .grid.lg\:grid-cols-4 > div > .absolute {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 18px;
  border-radius: 0;
  background: none;
  color: var(--b-ter);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .grid.lg\:grid-cols-4 > div > .mt-3 {
  margin-top: 0;
}
body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .grid.lg\:grid-cols-4 > div > .mt-3 > :is(i, svg) {
  display: none;
}
body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .max-w-5xl > .rounded-3xl {
  padding: 36px 0;
  border: 0;
  border-top: 1px solid var(--b-hair);
  border-bottom: 1px solid var(--b-hair);
  border-radius: 0;
  background: transparent;
}
body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .max-w-5xl dl {
  gap: 28px 0;
}
body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .max-w-5xl dl > div {
  padding: 4px 16px;
}
body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .max-w-5xl dt {
  color: var(--b-ter);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .max-w-5xl dd {
  margin-top: 8px;
  color: var(--b-text);
  font-size: clamp(32px, 3.4vw, 44px);
  font-stretch: 116%;
  font-weight: 600;
  letter-spacing: -0.01em;
}
body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .max-w-5xl dd span {
  font-size: 0.6em;
}
@media (min-width: 768px) {
  body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .max-w-5xl dl > div + div {
    border-left: 1px solid var(--b-hair);
  }
}
@media (max-width: 767px) {
  body.tf-theme-b #page section[aria-labelledby="professional-drivers-heading"] .max-w-5xl dl > div:nth-child(even) {
    border-left: 1px solid var(--b-hair);
  }
}

/* Taxi: "Recommended" dentro la card, sopra il titolo (non a cavallo del bordo). */
body.tf-theme-b #page section[aria-labelledby="taxi-heading"] .absolute.-top-3 {
  position: static;
  margin-bottom: 14px;
}

/* Flight tracking: il mockup (stato volo + autista) come le illustrazioni di How it
   works: pannello "mock" con due schede grafite, senza pillole ne' oro sulle etichette. */
body.tf-theme-b #page section[aria-labelledby="flight-tracking-heading"] .lg\:pl-4 > .rounded-3xl {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--b-hair);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 62%),
    var(--b-mock);
}
body.tf-theme-b #page section[aria-labelledby="flight-tracking-heading"] .lg\:pl-4 > .rounded-3xl > .rounded-2xl {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0c0e;
  color: #f2f1ee;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.85);
}
body.tf-theme-b #page section[aria-labelledby="flight-tracking-heading"] .lg\:pl-4 > .rounded-3xl > .rounded-2xl :is(.text-white, .font-semibold, .font-bold) {
  color: #f2f1ee;
}
body.tf-theme-b #page section[aria-labelledby="flight-tracking-heading"] .lg\:pl-4 > .rounded-3xl > .rounded-2xl :is(.text-neutral-300, .text-neutral-400, span.uppercase, .rounded-full:not(:empty)) {
  color: rgba(242, 241, 238, 0.62);
}
body.tf-theme-b #page section[aria-labelledby="flight-tracking-heading"] .lg\:pl-4 > .rounded-3xl > .rounded-2xl span.uppercase {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}
body.tf-theme-b #page section[aria-labelledby="flight-tracking-heading"] .lg\:pl-4 > .rounded-3xl > .rounded-2xl .fa-plane {
  color: var(--b-gold);
}
body.tf-theme-b #page section[aria-labelledby="flight-tracking-heading"] .lg\:pl-4 > .rounded-3xl > .rounded-2xl .h-px {
  background: rgba(242, 241, 238, 0.2);
}
body.tf-theme-b #page section[aria-labelledby="flight-tracking-heading"] .lg\:pl-4 > .rounded-3xl > .rounded-2xl .h-12.w-12 {
  background: rgba(255, 255, 255, 0.08);
}
body.tf-theme-b #page section[aria-labelledby="flight-tracking-heading"] .lg\:pl-4 > .rounded-3xl > .rounded-2xl .h-12.w-12 :is(i, svg) {
  color: #f2f1ee;
}

/* Micro-etichette in maiuscolo spaziato (eyebrow, dt, intestazioni di tabella, ruoli
   nelle testimonianze...): in tondo come le eyebrow del tema. Il widget ha classi sue. */
body.tf-theme-b #primary .uppercase:not(:where(.tfr-picker-mvz, #react-picker) *) {
  letter-spacing: 0;
  text-transform: none;
}
body.tf-theme-b #primary .uppercase:is(.text-\[10px\], .text-\[11px\]):not(:where(.tfr-picker-mvz, #react-picker) *) {
  font-size: 12px;
}
body.tf-theme-b #primary .uppercase:is(.text-\[\#f9b442\], .text-amber-400, .text-amber-500):not(:where(.tfr-picker-mvz, #react-picker) *) {
  color: var(--b-ter);
}
body.tf-theme-b #primary :where(.bg-black, .bg-gray-900, .bg-neutral-900, .bg-neutral-950, .bg-slate-900, .bg-slate-950, .bg-zinc-950) .uppercase:is(.text-\[\#f9b442\], .text-amber-400, .text-amber-500) {
  color: rgba(242, 241, 238, 0.66); /* nelle bande scure resta chiaro */
}

/* Striscia "trust" (airport, deep, city, country): su telefono griglia a due colonne
   invece dello scorrimento orizzontale che tagliava la seconda voce. */
@media (max-width: 700px) {
  body.tf-theme-b #primary .flex.flex-nowrap.items-stretch.overflow-x-auto.rounded-2xl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    overflow: visible;
    padding: 18px 16px;
  }
  body.tf-theme-b #primary .flex.flex-nowrap.items-stretch.overflow-x-auto.rounded-2xl > div {
    min-width: 0;
    align-items: flex-start;
    padding: 0;
  }
}

/* Breadcrumb: un solo stile su tutti i template (alcuni erano in maiuscolo spaziato 11-12px). */
body.tf-theme-b #page p#breadcrumbs {
  color: var(--b-ter);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
body.tf-theme-b #page p#breadcrumbs a {
  color: var(--b-sec);
}

/* Pagine protette da password (form di WordPress). */
body.tf-theme-b .post-password-form input[type="password"] {
  height: 44px;
  margin: 0 8px;
  padding: 0 14px;
  border: 1px solid var(--b-hair-strong);
  border-radius: 10px;
  background: var(--b-raised);
  color: var(--b-text);
}
body.tf-theme-b .post-password-form input[type="submit"] {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--b-text);
  color: var(--b-base);
  font-weight: 600;
  cursor: pointer;
}

/* ===== Responsive (base) ===== */
@media (max-width: 1100px) {
  body.tf-theme-b .tfb-reviews-grid {
    grid-template-columns: 1fr;
  }
  body.tf-theme-b .tfb-score {
    flex-direction: row;
    align-items: flex-end;
    padding-right: 0;
  }
  body.tf-theme-b .tfdst--b .tfdst-top {
    grid-template-columns: 1fr;
  }
  body.tf-theme-b .tfdst--b .tfdst-filters {
    justify-content: flex-start;
  }
}
@media (max-width: 980px) {
  body.tf-theme-b .tfdst--b .tfdst-mosaic > li {
    aspect-ratio: 4 / 5;
  }
}
@media (max-width: 760px) {
  body.tf-theme-b .tf-deck {
    background:
      linear-gradient(180deg, rgba(11, 11, 12, 0.8) 0%, rgba(11, 11, 12, 0.5) 30%, rgba(11, 11, 12, 0.76) 62%, #0b0b0c 100%),
      var(--tfd-photo-m-layer, url("https://images.transfeero.com/www.transfeero.com/2026/03/woman_inside_transfeero_car.png/w=750,h=1150,fit=cover,gravity=right,dpr=1,format=auto")) var(--tfd-photo-pos-m, 50% 24%) / cover no-repeat;
    background-color: #0b0b0c;
  }
  body.tf-theme-b .tf-deck--bar,
  body.tf-theme-b .tf-deck--plain {
    background: #0b0b0c;
  }
  /* Hero con picker a tutta altezza anche su telefono, come in home: la foto resta
     uno sfondo pieno schermo (non e' lei l'elemento LCP, lo e' il titolo) e il
     picker e' interamente nella prima schermata. */
  body.tf-theme-b .tf-deck:not(.tf-deck--compact):not(.tf-deck--bar) {
    min-height: 100vh;
    min-height: 100svh;
  }
  /* Titoli piu' piccoli e blocco in alto (non centrato nello schermo): il form di
     ricerca entra nella prima schermata anche su un telefono da 667 px. */
  body.tf-theme-b .tfd-hero {
    padding-top: 28px;
    padding-bottom: 18px;
  }
  body.tf-theme-b .tf-deck:not(.tf-deck--bar):has(.tfd-picker) .tfd-hero {
    margin-top: 0;
    padding-top: 28px;
  }
  body.tf-theme-b .tfd-h1 {
    font-size: 29px;
    line-height: 1.06;
    font-stretch: 112%;
    max-width: none;
  }
  body.tf-theme-b .tfd-sub {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
  }
}
@media (max-width: 700px) {
  body.tf-theme-b .tfb-wrap,
  body.tf-theme-b .tf-journey-steps .tf-content-width,
    body.tf-theme-b .tfd-hero,
  body.tf-theme-b .tfd-picker,
  body.tf-theme-b .tfd-facts,
  body.tf-theme-b .tfd-below,
  body.tf-theme-b #page .tfb-dest .max-w-7xl,
  body.tf-theme-b #page #app-download,
  body.tf-theme-b #page footer.tf-site-footer .max-w-7xl,
  body.tf-theme-b footer.tf-site-footer .max-w-7xl,
  body.tf-theme-b #page :is(.max-w-7xl, .lg\:max-w-7xl):not(.tf-site-footer .max-w-7xl) {
    width: calc(100% - 40px);
  }
  body.tf-theme-b .tfd-picker {
    width: calc(100% - 24px);
  }
  body.tf-theme-b #page :is(.max-w-7xl, .lg\:max-w-7xl) :is(.max-w-7xl, .lg\:max-w-7xl) {
    width: 100%;
  }
  body.tf-theme-b .tfb-sec {
    padding-top: 72px;
  }
  body.tf-theme-b .tfb-reviews--inline {
    padding: 64px 0;
  }
  body.tf-theme-b .tfb-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }
  body.tf-theme-b .tfb-score {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  body.tf-theme-b .tfb-score-num {
    font-size: 88px;
  }
  body.tf-theme-b .tfb-score-of {
    font-size: 26px;
  }
  body.tf-theme-b .tfb-review-list {
    grid-template-columns: 1fr;
  }
  body.tf-theme-b .tfb-dest > div {
    padding-top: 72px;
  }
  body.tf-theme-b .tfdst--b .tfdst-mosaic > li {
    aspect-ratio: 16 / 11;
  }
  body.tf-theme-b #page #app-download {
    margin-top: 72px;
  }
  body.tf-theme-b .tf404 {
    padding-top: 56px;
  }
  body.tf-theme-b .tfd-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }
  body.tf-theme-b .tfd-stat {
    padding: 0 12px;
    text-align: left;
  }
  body.tf-theme-b .tfd-stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  body.tf-theme-b #page :is(section.mx-auto.max-w-6xl, section > .mx-auto.max-w-6xl, section.mx-auto.max-w-5xl, section > .mx-auto.max-w-5xl) {
    width: calc(100% - 40px);
  }
  body.tf-theme-b #page :is(.max-w-7xl, .lg\:max-w-7xl) :is(section.mx-auto.max-w-6xl, section > .mx-auto.max-w-6xl, section.mx-auto.max-w-5xl, section > .mx-auto.max-w-5xl) {
    width: 100%;
  }
  body.tf-theme-b .tf404-in {
    width: calc(100% - 40px);
  }
}

/* ===========================================================================
   Pagine piu' snelle (2026-09-23). Niente contenuto tolto dall'HTML: liste lunghe
   con "View all", testi lunghi con "Read more" (script tf-slim in functions.php);
   sul telefono card in caroselli a scorrimento e footer a pannelli.
   =========================================================================== */
body.tf-theme-b .tf-more-list:not(.is-open) > .tf-more-item {
  display: none;
}
/* Articoli a sezioni apribili (script tf-slim): stesso linguaggio delle FAQ. */
body.tf-theme-b .tf-sec {
  clear: both;
  margin: 0;
  border-top: 1px solid var(--b-hair);
}
body.tf-theme-b .tf-sec:first-of-type {
  margin-top: 28px;
}
body.tf-theme-b .tf-sec:last-of-type {
  border-bottom: 1px solid var(--b-hair);
}
body.tf-theme-b .tf-sec > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
body.tf-theme-b .tf-sec > summary::-webkit-details-marker {
  display: none;
}
body.tf-theme-b #page .tf-sec > summary > :is(h2, h3) {
  margin: 0 !important;
  color: var(--b-text);
  font-size: clamp(17px, 1.4vw, 20px) !important;
  font-weight: 600;
  line-height: 1.3;
}
body.tf-theme-b .tf-sec > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin: -5px 4px 0 0;
  border-right: 1.5px solid var(--b-sec);
  border-bottom: 1.5px solid var(--b-sec);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
body.tf-theme-b .tf-sec[open] > summary::after {
  margin-top: 5px;
  transform: rotate(-135deg);
}
body.tf-theme-b .tf-sec > summary:hover > :is(h2, h3) {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
body.tf-theme-b .tf-sec-body {
  padding: 0 0 22px;
}
body.tf-theme-b .tf-sec-body > :first-child {
  margin-top: 0;
}
body.tf-theme-b .tf-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 20px;
  border: 1px solid var(--b-hair-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--b-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
body.tf-theme-b .tf-more-btn:hover {
  border-color: var(--b-text);
}
body.tf-theme-b .tf-more-btn::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
body.tf-theme-b .tf-more-btn[aria-expanded="true"]::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}
/* Nelle bande scure (isole) il pulsante resta chiaro. */
body.tf-theme-b :is(.bg-black, .bg-gray-900, .bg-neutral-900, .bg-neutral-950, .bg-slate-900, .bg-slate-950) .tf-more-btn {
  border-color: rgba(255, 255, 255, 0.28);
  color: #f2f1ee;
}

@media (max-width: 700px) {
  /* Caroselli orizzontali al posto delle colonne di card impilate. */
  html body.tf-theme-b :is(.tf-steps-grid, .tfb-rides-grid, .tfb-fleet-grid, .tfb-review-list, .tfdst--b .tfdst-mosaic) {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 0 -20px;
    padding: 0 20px 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  html body.tf-theme-b :is(.tf-steps-grid, .tfb-rides-grid, .tfb-fleet-grid, .tfb-review-list, .tfdst--b .tfdst-mosaic)::-webkit-scrollbar {
    display: none;
  }
  html body.tf-theme-b :is(.tf-steps-grid, .tfb-review-list) > * {
    flex: 0 0 84%;
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
  }
  html body.tf-theme-b .tfb-rides-grid > * {
    flex: 0 0 76%;
    min-width: 0;
    scroll-snap-align: start;
  }
  html body.tf-theme-b .tfb-fleet-grid > * {
    flex: 0 0 62%;
    min-width: 0;
    scroll-snap-align: start;
  }
  html body.tf-theme-b .tfdst--b .tfdst-mosaic > li {
    flex: 0 0 72%;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
  }
  html body.tf-theme-b .tfdst--b .tfdst-mosaic :is(.tfdst-apt, .tfdst-rapt) {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /* Key facts (airport, tratta, citta'-destinazione): due colonne. */
  html body.tf-theme-b #page #key-transfer-facts dl.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Footer: colonne di link a pannelli (titolo = pulsante). */
  body.tf-theme-b .tf-foot-acc {
    gap: 0 !important;
    margin-top: 32px !important;
  }
  body.tf-theme-b .tf-foot-acc .tf-foot-h {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 !important;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
  }
  body.tf-theme-b .tf-foot-acc .tf-foot-h::after {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }
  body.tf-theme-b .tf-foot-acc .tf-foot-col.is-open .tf-foot-h::after {
    margin-top: 4px;
    transform: rotate(-135deg);
  }
  body.tf-theme-b .tf-foot-acc .tf-foot-col:not(.is-open) .tf-foot-body {
    display: none;
  }
  body.tf-theme-b .tf-foot-acc .tf-foot-col.is-open .tf-foot-body {
    padding-bottom: 16px;
  }
}

/* Key facts (airport, tratta, citta'-destinazione) e fatti della citta': scheda leggera,
   voci separate da un filo invece di riquadri con ombra e icone. */
html body.tf-theme-b #page #key-transfer-facts dl.grid {
  gap: 0 40px;
  margin-top: 28px;
}
html body.tf-theme-b #page #key-transfer-facts dl.grid > div {
  padding: 16px 0 18px;
  border: 0;
  border-top: 1px solid var(--b-hair);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html body.tf-theme-b #page #key-transfer-facts dl.grid dt {
  color: var(--b-ter);
  font-size: 13px;
  font-weight: 500;
}
html body.tf-theme-b #page #key-transfer-facts dl.grid dd {
  margin-top: 6px;
  color: var(--b-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
html body.tf-theme-b #page section[itemtype="https://schema.org/Service"] .grid {
  gap: 0;
  border-top: 1px solid var(--b-hair);
  border-bottom: 1px solid var(--b-hair);
}
html body.tf-theme-b #page section[itemtype="https://schema.org/Service"] .grid > div {
  padding: 18px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html body.tf-theme-b #page section[itemtype="https://schema.org/Service"] .grid > div > span:first-of-type {
  display: none;
}
@media (min-width: 1024px) {
  html body.tf-theme-b #page section[itemtype="https://schema.org/Service"] .grid > div + div {
    border-left: 1px solid var(--b-hair);
  }
  html body.tf-theme-b #page section[itemtype="https://schema.org/Service"] .grid > div:first-child {
    padding-left: 0;
  }
}
@media (max-width: 1023px) {
  html body.tf-theme-b #page section[itemtype="https://schema.org/Service"] .grid > div {
    padding: 14px 0;
  }
  html body.tf-theme-b #page section[itemtype="https://schema.org/Service"] .grid > div:nth-child(n+3) {
    border-top: 1px solid var(--b-hair);
  }
}
@media (max-width: 700px) {
  html body.tf-theme-b #page #key-transfer-facts dl.grid {
    gap: 0 20px;
    margin-top: 20px;
  }
  html body.tf-theme-b #page #key-transfer-facts dl.grid > div {
    padding: 12px 0 14px;
  }
  html body.tf-theme-b #page #key-transfer-facts dl.grid dd {
    font-size: 15px;
  }
}

/* Telefoni molto stretti: nel pulsante account solo l'icona (il nome resta nel title e
   nell'aria-label del link). */
@media (max-width: 359px) {
  body.tf-theme-b .tfd-signin .tf-user-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Titolo recensione vuoto e numeri Trustpilot non ancora arrivati (widget: attributo hidden). */
body.tf-theme-b :is(.tfb-review, .tfd-below) [hidden] {
  display: none !important;
}
