/* Five available cars and one clearly marked future addition. */
.car-grid.fleet-grid,
.vp-cars.fleet-grid,
.service-fleet.service-fleet--own.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.fleet-grid > article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.fleet-grid .car-details,
.fleet-grid .vp-car-body,
.fleet-grid .service-fleet-card > div:not(.fleet-placeholder-visual):not(.fleet-price-line) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 20px;
}

/* The price has its own row above the photo, so it never obscures the car. */
.fleet-grid .fleet-price-line {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
  min-height: 52px;
  padding: 10px 16px;
  background: #fff;
}

.fleet-price-tag {
  display: inline-block;
  padding: 6px 14px;
  border-left: 3px solid #c71924;
  border-radius: 5px;
  background: #0b2b6a;
  box-shadow: 0 3px 8px rgba(11, 43, 106, .14);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  transform: rotate(-3deg);
}

.fleet-grid .car-image-wrap { border-radius: 0; }

.fleet-grid .car-image-wrap,
.fleet-grid .vp-car-img,
.fleet-grid .service-fleet-card > img {
  aspect-ratio: 4 / 3;
  height: auto;
  flex: 0 0 auto;
}

.fleet-grid .service-fleet-card > img { width: 100%; object-fit: cover; }
.fleet-grid .car-meta { flex-wrap: wrap; gap: 7px 12px; font-size: 12px; }
.fleet-grid .car-heading { align-items: flex-start; gap: 10px; }
.fleet-grid .car-heading h3 { font-size: 20px; }
.fleet-grid .car-heading .car-plate { font-size: 11px; padding: 6px 8px; }
.fleet-grid .feature-list { gap: 12px 10px; }
.fleet-grid .feature { align-items: flex-start; font-size: 12px; line-height: 1.45; }
.fleet-grid .feature svg { flex: 0 0 16px; width: 16px; height: 18px; }
.fleet-grid .price-conditions { padding: 13px; font-size: 12px; line-height: 1.65; }
.fleet-grid .car-actions { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: auto; padding-top: 8px; }
.fleet-grid .car-actions .js-book-car { font-size: 13px; }
.fleet-grid .car-actions .availability-button { min-height: 40px; }

/* Consistent facts from the fleet workbook, shared by all three local pages. */
.fleet-grid .fleet-details .fleet-spec-group {
  min-width: 0;
  padding: 0;
  margin: 5px 0 12px;
}

.fleet-grid .fleet-details h4 {
  margin: 0 0 7px;
  color: #173d73;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.fleet-grid .fleet-facts { margin: 0; padding: 0; }
.fleet-grid .fleet-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid #edf1f5;
  font-size: 12px;
  line-height: 1.5;
}
.fleet-grid .fleet-facts > div:last-child { border-bottom: 0; }
.fleet-grid .fleet-facts dt { min-width: 0; color: #53647a; }
.fleet-grid .fleet-facts dd { margin: 0; color: #162d4f; font-weight: 700; text-align: right; }
.fleet-grid .fleet-facts .fleet-value-no { color: #68768a; font-weight: 500; }

.fleet-grid .fleet-facts-technical {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 14px;
}
.fleet-grid .fleet-facts-technical > div {
  display: block;
  min-width: 0;
  padding: 2px 0 4px;
  border-bottom: 1px solid #edf1f5;
}
.fleet-grid .fleet-facts-technical dt { font-size: 11px; }
.fleet-grid .fleet-facts-technical dd { margin-top: 1px; font-size: 14px; text-align: left; }

.fleet-grid .fleet-equipment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fleet-grid .fleet-equipment li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  padding: 0;
  color: #445670;
  font-size: 12px;
  line-height: 1.5;
}
.fleet-grid .fleet-feature-icon {
  flex: 0 0 16px;
  width: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
}
.fleet-grid .fleet-feature-yes { color: #20834b; }
.fleet-grid .fleet-feature-no { color: #ae5660; }

.fleet-grid .fleet-details .fleet-rental-terms {
  margin-top: auto;
  padding: 11px 12px;
  border: 1px solid #e5ebf3;
  border-radius: 12px;
  background: #f5f7fb;
}
.fleet-grid .fleet-details > .car-actions { margin-top: 0; }
.fleet-grid .fleet-rental-terms .fleet-facts dd { white-space: nowrap; }
.fleet-grid .fleet-details .fleet-car-note {
  margin: 6px 0 0;
  padding: 0;
  color: #28573c;
  font-size: 12px;
  line-height: 1.4;
}
.fleet-grid .fleet-terms-link {
  display: inline-block;
  margin-top: 6px;
  color: #365d90;
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.car-grid.fleet-grid { margin-bottom: 0; }
.fleet-common-notes {
  margin: 24px 0 32px;
  padding: 22px 24px;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #f1f5fa;
  scroll-margin-top: 110px;
}
.fleet-common-notes h3 { margin: 0 0 12px; color: #173d73; font-size: 17px; }
.fleet-common-notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fleet-common-notes .fleet-common-notes-grid p { margin: 0; color: #53647a; font-size: 13px; line-height: 1.6; }
.fleet-common-notes strong { display: block; margin-bottom: 3px; color: #173d73; }
@media (max-width: 699px) {
  .fleet-common-notes { padding: 18px; }
  .fleet-common-notes-grid { grid-template-columns: 1fr; gap: 14px; }
}

.fleet-grid .car-gallery-thumbs {
  gap: 10px;
  padding: 12px 16px 0;
  margin: 0;
}

.fleet-grid .car-gallery-thumbs .thumb {
  flex: 1 1 0;
  width: 0;
  max-width: none;
  height: 88px;
  border-radius: 10px;
}

.fleet-grid > .fleet-placeholder {
  border: 2px dashed #cad5e5;
  border-radius: 20px;
  background: #f4f7fc;
  box-shadow: none;
  overflow: hidden;
}

.fleet-grid > .fleet-placeholder:hover { transform: none; box-shadow: none; }

.fleet-grid .fleet-placeholder-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  padding: 32px;
  background: linear-gradient(145deg, #e8eff8, #f5f8fc);
  color: #7890b3;
}

.fleet-placeholder-visual svg {
  width: 72%;
  max-width: 230px;
  height: auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fleet-grid .fleet-placeholder-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: center;
  padding: 30px 24px;
  text-align: center;
}

.fleet-placeholder-label {
  color: #5d7392;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fleet-grid .fleet-placeholder h3 { margin: 14px 0 10px; color: #173d73; font-size: 24px; }
.fleet-grid .fleet-placeholder p { max-width: 260px; margin: 0; color: #60728b; font-size: 14px; line-height: 1.75; }
.fleet-placeholder-status { margin-top: 24px; padding: 8px 13px; border-radius: 999px; background: #e5ecf6; color: #526982; font-size: 12px; font-weight: 700; }

@media (max-width: 1099px) {
  .car-grid.fleet-grid,
  .vp-cars.fleet-grid,
  .service-fleet.service-fleet--own.fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 699px) {
  .car-grid.fleet-grid,
  .vp-cars.fleet-grid,
  .service-fleet.service-fleet--own.fleet-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .fleet-grid .car-gallery-thumbs .thumb { height: 100px; }
  .fleet-grid .fleet-placeholder-visual { aspect-ratio: 2 / 1; }
  .fleet-grid .fleet-placeholder-body { padding: 28px 22px; }
}
