/**
 * General Styles for Vehicle Archive and Single Page
 */

.vehicle-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.vehicle-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
    padding: 20px;
}

.vehicle-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vehicle-item a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    gap: 20px;
}

@media screen and (min-width: 1200px) {
    .vehicle-item a {
        flex-direction: row;
    }
}

.vehicle-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.vehicle-item-content {
    width: 100%;
}

.vehicle-item h3 {
    font-weight: bold;
}

.vehicle-item p {
    font-weight: 300;
}

.vehicle-item-content {
    dl {
      display: grid;
      gap: 0 20px;
      grid-template-columns: max-content auto;
      font-weight: 300;
      font-size: var(--text-sm);
    }
  
    dt {
      grid-column-start: 1;
    }
  
    dd {
      grid-column-start: 2;
      font-weight: 600;
    }
  }

.vehicle-item p.vehicle-price {
    margin-top: 10px;
    font-size: var(--text-xl);
    font-weight: bold;
}