/* =========================================================
   Autoteka Vehicle Type Archive Title – FINAL ADJUSTMENT
========================================================= */

/* 1) Hide the original Archive title */
body.tax-vehicle-type h1.header-title {
  color: transparent !important;
  text-shadow: none !important;
  text-align: center !important;
  width: 100% !important;
  position: relative;
  overflow: hidden !important;
  white-space: nowrap !important;
  height: 100px !important;
}

/* 2) Inject correct title text on the same H1 (centered) */
body.tax-vehicle-type h1.header-title::after {
  content: "IMPORTED CARS";
  color: #ffffff !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  display: inline-block !important;
  position: absolute;
  top: 35% !important; /* Adjusted top to make text higher */
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 3) Term-specific titles */
body.term-imported-cars.tax-vehicle-type h1.header-title::after { content: "IMPORTED CARS" !important; }
body.term-used-cars.tax-vehicle-type h1.header-title::after     { content: "USED CARS" !important; }
body.term-sold-cars.tax-vehicle-type h1.header-title::after     { content: "SOLD CARS" !important; }

/* 4) Mobile: Adjust font size */
@media (max-width: 768px) {
  body.tax-vehicle-type h1.header-title::after {
    font-size: 30px !important;
  }
}