/* Ensure the hero cover is a positioning context */
.wp-block-cover {
  position: relative;
}

/* Unmute button styling */
.hero-unmute-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.hero-unmute-btn:hover {
  background: rgba(0,0,0,0.6);
}

.hero-unmute-btn:focus {
  outline: 2px solid rgba(255,255,255,0.8);
  outline-offset: 2px;
}
.breadcrumb-white,
.breadcrumb-white a {
  color: #ffffff !important;
}
.tht-assessment-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
}

.tht-assessment-modal__backdrop {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

.tht-assessment-modal__dialog {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 auto !important;
}

.tht-assessment-popup-button {
  position: relative;
  z-index: 1;
}

/* Common Kadence/container conflict fix */
.entry-content,
.kb-row-layout-wrap,
.kt-row-layout-inner,
.wp-site-blocks,
.site,
.content-area,
.site-main {
  overflow: visible !important;
}
.tht-assessment-modal {
  z-index: 2147483647 !important;
}
.hero-image-fade {
  position: relative;
  overflow: hidden;
}

.hero-image-fade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    rgba(255,255,255,0.9) 12%,
    rgba(255,255,255,0.45) 28%,
    rgba(255,255,255,0) 48%
  );
  z-index: 2;
  pointer-events: none;
}

/* Hearing Clarity interactive cards */
.wp-block-kadence-infobox.hearing-choice {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.wp-block-kadence-infobox.hearing-choice:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.wp-block-kadence-infobox.hearing-choice.is-active {
  border-color: #2f73bd !important;
  background-color: #f1f7fd !important;
  box-shadow: 0 0 0 2px rgba(47, 115, 189, 0.12);
}

.wp-block-kadence-infobox.hearing-choice:focus-visible {
  outline: 3px solid rgba(47, 115, 189, 0.35);
  outline-offset: 3px;
}

.hearing-response {
  transition: all 0.25s ease;
}

.hearing-response-text {
  margin-bottom: 0;
}


/* Hearing Clarity explanation section */
.hearing-explainer {
  background-color: #f6f9fc;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hearing-explainer > .kt-row-column-wrap {
  align-items: center;
}

.hearing-explainer-copy h2 {
  margin-top: 0;
}

.hearing-comparison-card {
  background-color: #ffffff;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 10px 28px rgba(27, 62, 94, 0.08);
}

.hearing-comparison-card h3 {
  margin-top: 0;
}

.hearing-comparison-card p:nth-of-type(2),
.hearing-comparison-card p:nth-of-type(4) {
  color: #245f9e;
  font-size: 1.15em;
  font-weight: 700;
}

.hearing-comparison-card .wp-block-kadence-advancedbtn {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .hearing-explainer {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hearing-comparison-card {
    padding: 24px;
  }
}


/* What We Test Differently section */
.what-we-test {
  padding-top: 80px;
  padding-bottom: 80px;
}

.what-we-test > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col > h2,
.what-we-test > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col > h2 + p {
  text-align: center;
}

.what-we-test > .kt-row-column-wrap > .wp-block-kadence-column > .kt-inside-inner-col > h2 + p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.what-we-test-grid .wp-block-kadence-infobox {
  height: 100%;
  margin-bottom: 18px;
}

.what-we-test-grid .kt-blocks-info-box-link-wrap {
  height: 100%;
  padding: 28px;
  background: #f8fbfe;
  border: 1px solid #dbe5ef;
  border-radius: 12px;
  text-align: left;
}

.what-we-test-grid .kt-blocks-info-box-media-container {
  display: none;
}

.what-we-test-grid .kt-blocks-info-box-title {
  color: #245f9e;
  font-size: 1.25rem;
  line-height: 1.3;
}

.what-we-test-takeaway {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 4px solid #2f73bd;
  border-radius: 8px;
  background: #eaf3fb;
  font-size: 1.1rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .what-we-test {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .what-we-test-grid .kt-blocks-info-box-link-wrap {
    padding: 22px;
  }
}
