section.vehicles-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    align-items: flex-start;
}

body:not(.home) section.vehicles-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.vehicle{
    position: relative;
}

.vehicle__content {
    padding: 15px 0;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 15px;
    padding-top: 100px;
    padding-bottom: 30px;
    margin-top: 100px;
    margin-bottom: 20px;
    min-height: 280px;
}

.vehicle__price {
    padding: 15px;
    width: 100%;
    text-align: center;
    font-weight: bold;
    background: var(--yellow);
    color: var(--blue);
}

.vehicle__title, .vehicle__subtitle {
    margin: 0 0 15px;
}

.vehicle__intro {
    padding: 15px 15px 0;
}

.vehicle__content .vehicle__title{
    font-size: 20px;
    line-height: 1;
    font-weight: bold;
    padding: 0 15px;
    text-align: left;
}

.vehicle__intro .vehicle__title small{
    font-weight: normal;
}


.vehicle__intro .vehicle__title span{
    text-transform: none;
}

.vehicle__intro .vehicle__subtitle{
    font-size: 12px;
}

.vehicle__intro .vehicle__description {
    font-size: 12px;
    line-height: 1.2;
    text-align: justify;
    min-height: calc(12px * 4 * 1.2);
}

.vehicle__thumbnail {
    position: absolute;
    top: 0;
    padding: 0 15px;
    height: 200px;
    width: 100%;
}

.vehicle__thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.vehicle__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 0 10px;
}

.vehicle__feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    margin-bottom: 10px;
}

.vehicle__feature-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
}

.vehicle__reserve {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
}

.vehicle__reserve .vehicle__reserve-btn {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 20px;
    align-items: center;
    gap: 15px;
    padding: 5px 30px;
    color: white;
    border: 2px solid var(--red);
    border-radius: 10rem;
    overflow: hidden;
    font-weight: bold;
    background-color: var(--red);
    transition: 0.5s;
}

span.vehicle__reserve-btn-icon {
    height: 25px;
    width: 25px;
}

span.vehicle__reserve-btn-icon svg {
    width: 100%;
    height: 100%;
}

span.vehicle__reserve-btn-icon path {
    stroke: white;
    transition: 0.5s;
}

/* .page-template-template_location_voiture_reunion .vehicle__features{
	display: none;
} */


@media screen and (min-width: 815px) {

    .vehicle__reserve .vehicle__reserve-btn:hover, .vehicle__reserve .vehicle__reserve-btn:focus {
        background-color: var(--yellow);
        color: var(--blue);
        border-color: var(--yellow);
    }

    .vehicle__reserve .vehicle__reserve-btn:hover span.vehicle__reserve-btn-icon path, 
    .vehicle__reserve .vehicle__reserve-btn:focus span.vehicle__reserve-btn-icon path{
        stroke: var(--blue);
    }
}
@media screen and (max-width: 815px) {

    .vehicle {
        margin: 0 15px;
    }
}

/* .home .vehicle:nth-child(4) {
    display: none !important;
} */