/* HOMEPAGE - SECTIONS "ANNONCES EN VITRINE" / "ANNONCES RECENTES" */

.listing-card-vertical {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    height: 100%;
}

.listing-card-vertical:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
    color: inherit;
}

.listing-card-vertical-gallery {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
}

.listing-card-vertical-gallery img {
    object-fit: cover;
}

.listing-card-vertical-noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2.5rem;
    color: #ccc;
}

.listing-card-vertical-counter {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    z-index: 2;
}

.listing-card-vertical-energy {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    width: 26px;
    height: 26px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.listing-card-vertical-info {
    padding: 0.9rem 1rem 1.1rem;
}

.listing-card-vertical-price {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-text);
}

.listing-card-vertical-location {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-card-vertical-location i {
    color: #6c757d; /* icônes en gris neutre (2026-07-07) */
}

.listing-card-vertical-specs {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: #666;
}

.listing-card-vertical-specs span:not(:last-child)::after {
    content: '\00b7';
    margin-left: 0.3rem;
    color: #ccc;
}
