/* Homepage catalog hub */
.brands_section .section_head,
.recent_models_section .section_head,
.seo_section .section_head {
  display: block;
}

.recent_models_section,
.data_explorer_section {
  background: transparent;
  padding: 42px 0;
}

.recent_models_section {
  padding-top: 34px;
}

.recent_model_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.recent_model_card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(31, 50, 81, 0.08);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.recent_model_card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 70, 58, 0.34);
  box-shadow: 0 20px 46px rgba(31, 50, 81, 0.13);
}

.recent_model_media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #edf1f6;
  overflow: hidden;
}

.recent_model_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease;
}

.recent_model_card:hover .recent_model_media img {
  transform: scale(1.035);
}

.recent_model_content {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.recent_model_make {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.recent_model_content h3 {
  min-height: 46px;
  margin: 0;
  color: #172033;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.recent_model_content h3 a {
  color: inherit;
  text-decoration: none;
}

.recent_model_content h3 a:hover {
  color: var(--accent);
}

.recent_model_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.recent_model_meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: #566278;
  background: #f4f7fb;
  border: 1px solid #e1e8f0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.data_explorer_section {
  padding-top: 28px;
}

.data_explorer_grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.data_panel {
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(31, 50, 81, 0.07);
  padding: 28px;
}

.section_head.compact {
  display: block;
  margin-bottom: 22px;
}

.body_type_grid,
.data_points_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.body_type_item,
.data_point {
  min-height: 64px;
  padding: 14px 15px;
  background: #f7f9fc;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
}

.body_type_name {
  display: block;
  color: #172033;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.body_type_count {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.data_point {
  color: #344258;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

@media (max-width: 1199px) {
  .recent_model_grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .recent_model_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data_explorer_grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .recent_model_grid,
  .body_type_grid,
  .data_points_grid {
    grid-template-columns: 1fr;
  }

  .data_panel {
    padding: 24px;
  }
}
