/* OHVO industry hub and contextual service-page links - live July 2026. */

body.ohvo-page-phone-greetings-by-industry,
body.ohvo-page-phone-greetings-by-industry #page-container {
  overflow-x: hidden;
}

#main-content .ohvo-industry-hub-hero {
  padding: 68px 0 42px;
}

#main-content .ohvo-industry-hub-title {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#main-content .ohvo-industry-hub .ohvo-industry-actions {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 auto 24px;
}

#main-content .ohvo-industry-hub-options {
  padding: 58px 0 88px;
}

#main-content .ohvo-industry-hub-intro {
  margin-bottom: 34px;
}

body.ohvo-page-phone-greetings-by-industry .elfsight-app-b355a3bf-7e8a-4308-93c9-0c773a89b386 {
  display: none !important;
  pointer-events: none !important;
}

body.ohvo-page-phone-greetings-by-industry [class*="BadgeSlideIn"],
body.ohvo-page-phone-greetings-by-industry [class*="slide-in__PositionContainer"],
body.ohvo-page-phone-greetings-by-industry .es-badge-container {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

#main-content .ohvo-industry-hub-grid .et_pb_text_inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#main-content .ohvo-industry-hub-grid .et_pb_text_inner > br {
  display: none;
}

#main-content .ohvo-industry-hub-card {
  display: flex;
  min-height: 372px;
  flex-direction: column;
  overflow: hidden;
  color: #111111;
  border: 1px solid #e6eadf;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.06);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#main-content .ohvo-industry-hub-card:hover,
#main-content .ohvo-industry-hub-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(17, 17, 17, 0.13);
}

#main-content .ohvo-industry-hub-card:focus-visible {
  outline: 3px solid #8ead2d;
  outline-offset: 3px;
}

#main-content .ohvo-industry-hub-card-image {
  display: block;
  width: 100%;
  height: 168px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#main-content .ohvo-industry-hub-card-copy {
  display: flex;
  min-height: 202px;
  flex: 1;
  flex-direction: column;
  padding: 24px 22px 22px;
}

#main-content .ohvo-industry-hub-card-copy strong {
  display: block;
  margin: 0 0 10px;
  color: #111111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.13;
}

#main-content .ohvo-industry-hub-card-copy span {
  display: block;
  color: #666666;
  font-size: 15px;
  line-height: 1.5;
}

#main-content .ohvo-industry-hub-card-copy em {
  display: block;
  margin-top: auto;
  padding-top: 20px;
  color: #8ead2d;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

#main-content .ohvo-industry-link-strip {
  padding: 70px 0;
  border-top: 1px solid #e1e7d5;
  border-bottom: 1px solid #e1e7d5;
}

#main-content .ohvo-industry-link-wrap {
  display: flex;
  width: 88%;
  max-width: 1120px;
  align-items: center;
  margin: 0 auto;
}

#main-content .ohvo-industry-link-copy {
  max-width: 610px;
}

#main-content .ohvo-industry-link-kicker {
  margin: 0 0 12px;
  color: #8ead2d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

#main-content .ohvo-industry-link-copy h2 {
  margin: 0 0 14px;
  color: #111111;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

#main-content .ohvo-industry-link-copy p:not(.ohvo-industry-link-kicker) {
  margin: 0;
  color: #666666;
  font-size: 18px;
  line-height: 1.5;
}

#main-content .ohvo-industry-link-action {
  display: flex;
  justify-content: flex-end;
}

#main-content .ohvo-industry-link-button.et_pb_button_module_wrapper {
  margin: 0;
}

#main-content .ohvo-industry-link-button.et_pb_button {
  padding: 14px 24px !important;
  color: #111111 !important;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  #main-content .ohvo-industry-hub-grid .et_pb_text_inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  /* The hub already has visible actions; the global bar obscures its cards. */
  body.ohvo-page-phone-greetings-by-industry .ohvo-mobile-sticky-cta {
    display: none !important;
    pointer-events: none !important;
  }

  body.ohvo-page-phone-greetings-by-industry.ohvo-has-mobile-sticky-cta {
    padding-bottom: 0 !important;
  }

  #main-content .ohvo-industry-hub-hero {
    padding: 58px 0 50px;
  }

  #main-content .ohvo-industry-hub-options {
    padding: 52px 0 64px;
  }

  #main-content .ohvo-industry-hub .ohvo-industry-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
  }

  #main-content .ohvo-industry-hub .ohvo-industry-btn {
    box-sizing: border-box;
    width: min(100%, 300px);
  }

  #main-content .ohvo-industry-hub-intro {
    margin-bottom: 30px;
  }

  #main-content .ohvo-industry-hub-grid .et_pb_text_inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  #main-content .ohvo-industry-hub-card {
    min-height: 0;
  }

  #main-content .ohvo-industry-hub-card-image {
    height: 205px;
  }

  #main-content .ohvo-industry-hub-card-copy {
    min-height: 0;
    padding: 22px 20px 20px;
  }

  #main-content .ohvo-industry-hub-card-copy strong {
    font-size: 21px;
  }

  #main-content .ohvo-industry-link-strip {
    padding: 54px 0;
  }

  #main-content .ohvo-industry-link-wrap {
    display: block;
  }

  #main-content .ohvo-industry-link-copy h2 {
    font-size: 31px;
  }

  #main-content .ohvo-industry-link-copy p:not(.ohvo-industry-link-kicker) {
    font-size: 17px;
  }

  #main-content .ohvo-industry-link-action {
    justify-content: flex-start;
    margin-top: 28px;
  }
}
