/* ===============================
   MACHINE CATEGORY ARCHIVE PAGES
================================ */
body.tax-machine-category {
  background: #1f2633; /* dark background */
  color: #f5f5f5;      /* light text */
}

body.tax-machine-category h1,
body.tax-machine-category h2,
body.tax-machine-category h3,
body.tax-machine-category p,
body.tax-machine-category .entry-title {
  color: #ffffff !important;
}

body.tax-machine-category .site-content {
  background: transparent;
}

/* ----------------------------------------
   Force styling for Machine Category Title
-----------------------------------------*/

/* Center and space the category title */
body.tax-machine-category h1.category-title,
body.tax-machine-category .ast-archive-description h1.category-title {
  text-align: center !important;
  display: block !important;
  margin-top: 100px !important; /* increase space below header */
  margin-bottom: 40px !important;
  color: #ffffff !important;
  font-size: 2.4rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

/* Optional: space for entire archive header */
body.tax-machine-category .ast-archive-description {
  margin-top: 80px !important;
}

/* Category description text */
body.tax-machine-category .term-description {
  text-align: center !important;
  max-width: 900px !important;
  margin: 0 auto 40px auto !important;
  font-size: 1.1rem !important;
  color: #d1d1d1 !important;
  line-height: 1.6 !important;
}

/* Mobile view */
@media (max-width: 768px) {
  body.tax-machine-category h1.category-title {
    font-size: 1.8rem !important;
    margin-top: 70px !important;
  }
}

