/* =========================================================
   Production overview – card layout (NON-SCOOTER)
   ========================================================= */

.production-overview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
}

.production-overview-table tbody tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* kill table behaviour */
.production-overview-table td {
  border: none;
  padding: 0;
}

/* ===============================
   Card blocks
   =============================== */

/* Model title */
.production-overview-table td:first-child {
  grid-column: 1 / -1;
  font-size: 1.05rem;
  font-weight: 600;
  color: #000;
}

/* Meta (engine + years) */
.vin-meta {
  grid-column: 1;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
}

/* Start numbers */
.vin-starts {
  grid-column: 2;
  align-self: start;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Prefixes */
.production-overview-table td:nth-child(4) {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Notes / icons */
.production-overview-table td:last-child {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-size: 1.1rem;
  color: #666;
}

/* ===============================
   Mobile
   =============================== */

@media (max-width: 800px) {
  .production-overview-table tbody tr {
    grid-template-columns: 1fr;
  }

  .vin-starts,
  .production-overview-table td:last-child {
    grid-column: 1;
    justify-self: start;
  }
}
/* =========================================================
   Scooter cards – card layout (no tables)
   ========================================================= */

.scooter-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scooter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Title */
.scooter-title {
  grid-column: 1 / -1;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: #000;
}

/* Meta (engine + years) */
.scooter-card .vin-meta {
  grid-column: 1;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
}

/* Start numbers */
.scooter-card .vin-starts {
  grid-column: 2;
  align-self: start;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Prefixes */
.scooter-prefixes {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  line-height: 1.4;
}

.scooter-prefixes strong {
  font-weight: 600;
}

/* Notes / icons */
.scooter-notes {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  font-size: 1.1rem;
  color: #666;
  white-space: nowrap;
}
/* =========================================
   Scooter / Italian Info card titles
   (match changelog visual language)
   ========================================= */

.scooter-card .scooter-title {
  margin: 0 0 0.6rem 0;
  padding-bottom: 0.35rem;

  font-weight: 600;
  line-height: 1.25;

  border-bottom: 1px solid #e2e2e2;
}

/* Optional: slightly stronger on hover (feels nice, not required) */
.scooter-card:hover .scooter-title {
  border-bottom-color: #d0d0d0;
}

/* ===============================
   Mobile
   =============================== */

@media (max-width: 800px) {
  .scooter-card {
    grid-template-columns: 1fr;
  }

  .scooter-card .vin-starts,
  .scooter-notes {
    grid-column: 1;
    justify-self: start;
  }
}
/* =========================================
   Section spacing for vehicle groups
   ========================================= */

/* Space AFTER a block of cards */
.scooter-cards {
  margin-bottom: 3rem;
}

/* Space BEFORE section headings */
.vin-section h2,
section > h2 {
  margin-top: 3.5rem;
}
