/* Keep this adapter limited to the two approved Test Drive blocks. */
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 20px;
  height: auto !important;
  margin: 0 0 28px !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) :is(.mg-row, .mg-col, .item-2-cont, .item-3-cont, .item-4-cont, .item-5-cont) {
  display: contents !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2)::before,
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2)::after,
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) :is(.mg-row, .mg-col, .listing-item)::before,
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) :is(.mg-row, .mg-col, .listing-item)::after {
  display: none !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .listing-item {
  grid-column: span 2;
  position: relative !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) :is(.listing-item-1, .listing-item-2) {
  grid-column: span 3;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .item-content {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  background: #fff !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .img-cont {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  transform: none !important;
  background-size: cover !important;
  background-position: center !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) :is(.img-cont, .item-content)::before,
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) :is(.img-cont, .item-content)::after {
  display: none !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .content-container {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-height: none !important;
  padding: 12px 0 0 !important;
  margin: 0 !important;
  background: #fff !important;
  transform: none !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .title,
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .title a {
  color: #222 !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: break-word;
  display: block !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .title a:hover {
  color: #d80620 !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .post-meta,
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .post-meta a {
  color: #606060 !important;
  text-shadow: none !important;
}
:is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .format-icon {
  top: 12px !important;
  right: 12px !important;
  bottom: auto !important;
  left: auto !important;
  margin: 0 !important;
  transform: none !important;
}
@media (max-width: 600px) {
  :is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  :is(body.home .listing-modern-grid-7, body.category-test-drive .listing-modern-grid-2) .listing-item {
    grid-column: 1;
  }
}
