/* Service hero benefits, category filters, and staff booking actions. */
body.single-types .mfh-type-benefits {
  display: grid;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 28px;
  justify-items: center;
  text-align: center;
  color: #fff;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

body.single-types .mfh-type-benefits a {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: rgba(255, 255, 255, .94);
  font-size: 17px;
  line-height: 1.35;
  text-align: inherit;
  text-decoration: none;
  box-shadow: none;
}

body.single-types .mfh-type-benefits__tail {
  display: inline-block;
  white-space: nowrap;
}

body.single-types .mfh-type-benefits svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 7px;
  vertical-align: -.15em;
}

body.single-types .mfh-type-benefits a:hover,
body.single-types .mfh-type-benefits a:focus-visible,
body.single-types .mfh-type-benefits a:hover .mfh-type-benefits__tail,
body.single-types .mfh-type-benefits a:focus-visible .mfh-type-benefits__tail {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.single-types .mfh-type-benefits a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
  border-radius: 4px;
}

body.single-types .mfh-cert-team.mfh-type-team {
  position: relative;
  z-index: 2;
  background: #fff;
  outline: none;
}

body.single-types .mfh-type-team .mfh-cert-team__heading .h2 {
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  text-align: left;
}

body.single-types .mfh-type-team .mfh-type-team__card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  opacity: 1;
  transform: none;
  transform-origin: center;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

body.single-types .mfh-type-team .mfh-type-team__card:focus-within {
  transform: translateY(-4px);
}

body.single-types .mfh-type-team .mfh-type-team__card:focus-within .mfh-cert-team__image {
  transform: scale(1.025);
}

@media (hover: hover) {
  body.single-types .mfh-type-team .mfh-type-team__card:hover {
    transform: translateY(-4px);
  }
  body.single-types .mfh-type-team .mfh-type-team__card:hover .mfh-cert-team__image {
    transform: scale(1.025);
  }
}

/* A short entrance is independent of selection; every visible card stays active. */
body.single-types .mfh-type-team .is-entering .mfh-type-team__card {
  animation: mfh-type-team-drop .88s cubic-bezier(.22, 1, .36, 1) var(--mfh-team-reveal-delay, 0ms) both;
}

@keyframes mfh-type-team-drop {
  from { opacity: 0; transform: translate3d(0, -36px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

body.single-types .mfh-type-team .mfh-cert-team__caption {
  padding-top: 17px;
}

body.single-types .mfh-type-team .mfh-cert-team__caption h3 {
  min-height: 2.4em;
  margin-bottom: 8px;
  font-weight: 500;
}

body.single-types .mfh-type-team .mfh-cert-team__category {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

body.single-types .mfh-type-team .mfh-cert-team__category svg {
  flex: 0 0 16px;
  color: #77865f;
}

body.single-types .mfh-type-team__locations {
  display: grid;
  gap: 4px;
  margin: 13px 0 16px;
  padding: 0;
  list-style: none;
}

body.single-types .mfh-type-team__locations li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-types .mfh-type-team__locations li::before {
  content: none;
}

body.single-types .mfh-type-team__locations a,
body.single-types .mfh-type-team__location-text {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 3px 0;
  color: var(--mfh-team-muted, #6e6e73);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

body.single-types .mfh-type-team__locations svg {
  flex: 0 0 16px;
  margin-top: 1px;
  color: #77865f;
}

body.single-types .mfh-type-team__locations a:hover,
body.single-types .mfh-type-team__locations a:focus-visible {
  color: #4f5f39;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.single-types .mfh-type-team__locations a:focus-visible {
  outline: 2px solid #89966f;
  outline-offset: 3px;
  border-radius: 3px;
}

body.single-types .mfh-type-team__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: auto;
  gap: 9px;
  min-height: 44px;
  padding: 11px 21px;
  border: 1px solid #89966f;
  border-radius: 999px;
  background: #89966f;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}

body.single-types .mfh-type-team__book:hover {
  border-color: #687651;
  background: #687651;
  color: #fff;
  text-decoration: none;
}

body.single-types .mfh-type-team__book:focus-visible {
  outline: 2px solid #4f5f39;
  outline-offset: 4px;
}

body.single-types .mfh-type-team__book svg {
  flex: 0 0 16px;
}

@media (max-width: 767px) {
  body.single-types .mfh-type-benefits {
    margin-top: 18px;
    margin-bottom: 23px;
  }

  body.single-types .mfh-type-benefits a {
    font-size: 15px;
  }

  body.single-types .mfh-type-team .mfh-cert-team__description {
    max-width: 350px;
  }

  body.single-types .mfh-type-team__locations {
    margin-top: 11px;
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-types .mfh-type-team .mfh-type-team__card,
  body.single-types .mfh-type-team__book {
    transition: none;
    transform: none;
  }

  body.single-types .mfh-type-team .is-entering .mfh-type-team__card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  body.single-types .mfh-type-team .mfh-type-team__card:is(:hover, :focus-within) .mfh-cert-team__image {
    transform: none;
  }
}

/* Use the familiar staff-category controls, restricted to this service's roster. */
body.single-types .mfh-type-team__filters {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  overflow: visible;
}

body.single-types .mfh-type-team__filters > .prices_btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.single-types .mfh-type-team__filters .mfh-type-team__filter {
  flex: 0 0 auto;
  width: auto;
  min-height: 40px;
  margin: 0;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f5f5f7;
  color: #2f2f2f;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

body.single-types .mfh-type-team__filters .mfh-type-team__filter:is(.active, .is-active) {
  background: #89966f;
  color: #fff;
}

body.single-types .mfh-type-team__filters .mfh-type-team__filter:hover:not(:disabled) {
  background: #e8ebdf;
  color: #40502e;
}

body.single-types .mfh-type-team__filters .mfh-type-team__filter:is(.active, .is-active):hover {
  background: #74815b;
  color: #fff;
}

body.single-types .mfh-type-team__filters .mfh-type-team__filter:focus-visible {
  outline: 2px solid #4f5f39;
  outline-offset: 3px;
}

body.single-types .mfh-type-team__filters .mfh-type-team__filter:disabled {
  opacity: .45;
  cursor: default;
}

@media (max-width: 767px) {
  body.single-types .mfh-type-team__filters { margin-bottom: 19px; }
  body.single-types .mfh-type-team__filters .mfh-type-team__filter {
    padding: 9px 13px;
    font-size: 13px;
  }
}
