/* V608 — targeted homepage corrections after V607 sitewide audit. */

/* 1) WHO WE WORK WITH — explicit heading hierarchy and 20px rhythm. */
html body.v64-medtech-layout main #buyer-profiles > .wrap > h2.homepage-major-heading {
  margin: 0 0 20px !important;
  padding: 0 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 36px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
}
html body.v64-medtech-layout main #buyer-profiles .process-grid {
  margin-top: 0 !important;
  gap: 20px !important;
  row-gap: 20px !important;
  column-gap: 20px !important;
  align-items: stretch !important;
}
html body.v64-medtech-layout main #buyer-profiles .process-card {
  box-sizing: border-box !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}
html body.v64-medtech-layout main #buyer-profiles .process-card > h3 {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html body.v64-medtech-layout main #buyer-profiles .process-card > h3 + p {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 2) BUTTON ALIGNMENT — appearance unchanged; containers only. */
html body.v64-medtech-layout main :is(
  .commercial-cta-row,
  .rfq-ready-actions,
  .rfq-submit-row
) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  row-gap: 20px !important;
  column-gap: 20px !important;
}
html body.v64-medtech-layout main :is(
  .commercial-cta-row,
  .rfq-ready-actions,
  .rfq-submit-row
) > :is(a.btn,button.btn) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
/* Ready RFQ remains one row on normal desktop widths. */
html body.v64-medtech-layout main #international-supply .rfq-ready-actions {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 20px !important;
}
html body.v64-medtech-layout main #international-supply .rfq-ready-actions > .btn {
  width: 100% !important;
  min-width: 0 !important;
}

/* 3) CEO MESSAGE TO BOTTOM IMAGE — exactly one 20px interval. */
html body.v64-medtech-layout main #ceo-message > .wrap {
  gap: 0 !important;
  row-gap: 0 !important;
}
html body.v64-medtech-layout main #ceo-message .about-card {
  margin: 0 !important;
}
html body.v64-medtech-layout main #ceo-message .ceo-instrument-showcase {
  display: block !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
}

/* 4) Top-header Search Catalogues is a maroon button with white text.
      Drawer Search Catalogues is intentionally excluded. */
html body.v64-medtech-layout .ths-hamburger-header .ths-hamburger-actions > a.ths-catalogue-quick-link,
html body.v64-medtech-layout .ths-hamburger-header .ths-hamburger-actions > a.ths-catalogue-quick-link:link,
html body.v64-medtech-layout .ths-hamburger-header .ths-hamburger-actions > a.ths-catalogue-quick-link:visited {
  background: #76172f !important;
  background-color: #76172f !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #76172f !important;
}
html body.v64-medtech-layout .ths-hamburger-header .ths-hamburger-actions > a.ths-catalogue-quick-link:is(:hover,:focus,:focus-visible,:active) {
  background: #fff !important;
  background-color: #fff !important;
  color: #76172f !important;
  -webkit-text-fill-color: #76172f !important;
  border-color: #76172f !important;
}

@media (max-width: 760px) {
  html body.v64-medtech-layout main #international-supply .rfq-ready-actions {
    grid-template-columns: 1fr !important;
  }
}
