
/* Hotel M&A accessibility fixes — 2026-08-25
 * Scope: shared footer, non-protected metric cards, and the contact form below
 * the protected ambassador section. That section is intentionally excluded
 * from every selector in this file.
 */

/* Shared footer: supporting text and trust badges must remain readable. */
html:root:root:root body footer.hmc-trust-footer.hmc-footer-refresh
  .hmc-fr-assurance > :is(a, div) > span:nth-of-type(2),
html:root:root:root body footer.hmc-trust-footer.hmc-footer-refresh
  .hmc-fr-assurance > :is(a, div) > span:nth-of-type(2) > span {
  color: #40545b !important;
}

html:root:root:root body footer.hmc-trust-footer.hmc-footer-refresh
  .hmc-fr-company .hmc-fr-badges > span,
html:root:root:root body footer.hmc-trust-footer.hmc-footer-refresh
  .hmc-fr-company .hmc-fr-badges > span *,
html:root:root:root body footer.hmc-trust-footer.hmc-footer-refresh
  .hmc-fr-btn--secondary > span {
  color: #ffffff !important;
}

html:root:root:root body footer.hmc-trust-footer.hmc-footer-refresh
  .hmc-fr-btn--secondary > span {
  opacity: 1 !important;
}

html:root:root:root body footer.hmc-trust-footer.hmc-trust-footer.hmc-footer-refresh
  .hmc-fr-assurance > a {
  border-color: #596b73 !important;
}

html:root:root:root body footer.hmc-trust-footer.hmc-trust-footer.hmc-footer-refresh
  .hmc-fr-assurance > a:hover {
  border-color: #40545b !important;
}

html:root:root:root body footer.hmc-trust-footer.hmc-footer-refresh a:focus-visible {
  outline: 3px solid #0b5e62 !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

/* Sell/value metric supporting labels sit on a dark blue surface. */
html:root:root:root body #body_wrap#body_wrap#body_wrap:is(.page-id-4812, .page-id-4813)
  .post_content #hmc4-main .hmc-no-png-metrics > div > span {
  color: #ffffff !important;
}

/* Seller contact form only; the protected hero above it is not selected. */
html:root:root:root body #body_wrap#body_wrap#body_wrap.page-id-4817
  .post_content .hmaccel section.hmaccel__contact #wpcf7-f6746-p4817-o1 .hmaccel__optional {
  color: #4b5c64 !important;
}

/* Seller and buyer CF7 fields: visible boundary, placeholder, and focus ring. */
html:root:root:root body :is(
  #body_wrap.page-id-4817 #wpcf7-f6746-p4817-o1,
  #body_wrap.page-id-1215 #wpcf7-f1236-p1215-o1
) :is(input.wpcf7-text, select.wpcf7-select, textarea.wpcf7-textarea) {
  border-color: #596b73 !important;
}

html:root:root:root body :is(
  #body_wrap.page-id-4817 #wpcf7-f6746-p4817-o1,
  #body_wrap.page-id-1215 #wpcf7-f1236-p1215-o1
) :is(input.wpcf7-text, select.wpcf7-select, textarea.wpcf7-textarea):hover:not(:disabled) {
  border-color: #40545b !important;
}

html:root:root:root body :is(
  #body_wrap.page-id-4817 #wpcf7-f6746-p4817-o1,
  #body_wrap.page-id-1215 #wpcf7-f1236-p1215-o1
) :is(input.wpcf7-text, select.wpcf7-select, textarea.wpcf7-textarea):focus-visible {
  border-color: #0b5e62 !important;
  outline: 3px solid #0b5e62 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

html:root:root:root body :is(
  #body_wrap.page-id-4817 #wpcf7-f6746-p4817-o1,
  #body_wrap.page-id-1215 #wpcf7-f1236-p1215-o1
) :is(input.wpcf7-text, textarea.wpcf7-textarea)::placeholder {
  color: #596b73 !important;
  opacity: 1 !important;
}

html:root:root:root body :is(
  #body_wrap.page-id-4817 #wpcf7-f6746-p4817-o1,
  #body_wrap.page-id-1215 #wpcf7-f1236-p1215-o1
) input.wpcf7-submit:focus-visible {
  outline: 3px solid #0b5e62 !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

/* Standard article comment controls. */
html:root:root:root body #body_wrap#body_wrap#body_wrap.single-post #commentform
  :is(textarea#comment, input#author, input#email, input#url) {
  border-color: #596b73 !important;
}

html:root:root:root body #body_wrap#body_wrap#body_wrap.single-post #commentform
  :is(textarea#comment, input#author, input#email, input#url):hover {
  border-color: #40545b !important;
}

html:root:root:root body #body_wrap#body_wrap#body_wrap.single-post #commentform
  :is(textarea#comment, input#author, input#email, input#url):focus-visible {
  border-color: #0b5e62 !important;
  outline: 3px solid #0b5e62 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* The case archive heading must not be clipped on 320px screens. */
@media (max-width: 360px) {
  html:root:root:root body #body_wrap#body_wrap#body_wrap.category-ma-case
    span.hmc-ja-nowrap {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
}

    