/* ===========================================================================
   THEME B — Flotta (template-parts/fleet-b.php)
   ---------------------------------------------------------------------------
   Griglia 4x2 con "palco" illuminato: le auto nere restano leggibili sul fondo
   scuro. Stampato inline dal template part al primo uso (home e shortcode
   [vehicle_cards] di tutte le altre pagine).
   =========================================================================== */

/* ===== Fleet: lit cards so the black cars stay visible ===== */
body.tf-theme-b .tfb-fleet {
  margin-top: 136px;
  padding: 112px 0;
  background: var(--b-surf);
  border-top: 1px solid var(--b-hair);
  border-bottom: 1px solid var(--b-hair);
}
body.tf-theme-b .tfb-fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.tf-theme-b .tfb-car {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--b-raised);
  border: 1px solid var(--b-hair);
  overflow: hidden;
}
body.tf-theme-b .tfb-car-stage {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: radial-gradient(ellipse 72% 48% at 50% 72%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%);
}
html[data-tf-theme="light"] body.tf-theme-b .tfb-car-stage {
  background: radial-gradient(ellipse 72% 36% at 50% 82%, rgba(18, 17, 16, 0.08), rgba(18, 17, 16, 0) 70%);
}
body.tf-theme-b .tfb-car-stage img {
  display: block;
  max-width: 100%;
  max-height: 116px;
  width: auto;
  height: auto;
  object-fit: contain;
}
body.tf-theme-b .tfb-car-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 22px 24px;
}
body.tf-theme-b .tfb-car h3 {
  margin: 0;
  font-stretch: 112%;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  color: var(--b-text);
}
body.tf-theme-b .tfb-car p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--b-sec);
}
body.tf-theme-b .tfb-car-cap {
  display: flex;
  gap: 18px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--b-text);
}
body.tf-theme-b .tfb-car-cap span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
body.tf-theme-b .tfb-car-cap i,
body.tf-theme-b .tfb-car-cap svg {
  color: var(--b-ter);
}

/* Dentro le altre pagine ([vehicle_cards]): fascia senza margine superiore extra. */
body.tf-theme-b .tfb-fleet--inline {
  margin-top: 0;
}

@media (max-width: 1100px) {
  body.tf-theme-b .tfb-fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  body.tf-theme-b .tfb-fleet {
    margin-top: 80px;
    padding: 72px 0;
  }
  body.tf-theme-b .tfb-fleet--inline {
    margin-top: 0;
  }
  body.tf-theme-b .tfb-fleet-grid {
    gap: 12px;
  }
  body.tf-theme-b .tfb-car-stage {
    height: 140px;
    padding: 0 10px;
  }
  body.tf-theme-b .tfb-car-stage img {
    max-height: 96px;
  }
  body.tf-theme-b .tfb-car-body {
    padding: 0 14px 16px;
  }
  body.tf-theme-b .tfb-car h3 {
    font-size: 16px;
  }
  body.tf-theme-b .tfb-car p {
    font-size: 13px;
  }
}
