/* Motors: hide author/seller name everywhere */
.stm-listing-author-name,
.stm-user-name,
.stm-seller-name,
.stm-listing-user-name,
.stm-listing-owner-name,
.stm-user-info .name,
.stm-user-info .title,
.stm-user-data .name,
.stm-dealer-name,
.stm-single-listing__author,
.stm-single-car-page .stm-user-info,
.stm-single-car-page .stm-user-data,
.similar-listings .stm-user-name,
.similar-listings .stm-listing-owner-name,
.stm-similar-listings .stm-user-name,
.stm-similar-listings .stm-listing-owner-name {
  display: none !important;
}

/* If hiding the name leaves awkward spacing, tighten it up */
.stm-user-info,
.stm-user-data,
.stm-single-listing__author {
  margin: 0 !important;
  padding: 0 !important;
}








/* === Motors: hide the seller/author card above the contact form === */
.single-listings .stm-single-car-contact,
.single-listings .stm_single_car_contact,
.single-listings .stm-single-car-side,
.single-listings .stm_single_car_side {
  /* don’t change layout here yet */
}

/* 1) Kill the NAME + role text when it’s an author link */
.single-listings a[href*="/author/"] {
  display: none !important;
}

/* 2) Also hide “Private Seller” / dealer position text (common classes) */
.single-listings .stm-user-position,
.single-listings .stm-user-title,
.single-listings .stm-user-role {
  display: none !important;
}

/* 3) If the empty box is still there, hide the whole seller card container */
.single-listings .stm-user-info,
.single-listings .stm-user-data,
.single-listings .stm-dealer-info,
.single-listings .stm-seller-info,
.single-listings .stm-user-public-profile {
  display: none !important;
}

/* 4) Remove the leftover spacing where that card used to be */
.single-listings .stm-single-car-contact,
.single-listings .stm_single_car_contact {
  padding-top: 0 !important;
  margin-top: 0 !important;
}






/* Hide by position (if they are the last 3 rows) */
.single-listings .data-list-item:nth-last-child(1),
.single-listings .data-list-item:nth-last-child(2),
.single-listings .data-list-item:nth-last-child(3) {
    display: none !important;
}

