/* Hearing Aids main navigation and mega menu */

.at-editorial-menu > .menu-item-2087 > a {
  border: 1px solid rgba(10, 79, 138, .18);
  border-radius: 999px;
  background: rgba(10, 79, 138, .065);
  color: #0a4f8a;
}

.at-editorial-menu > .menu-item-2087 > a::after {
  display: none;
}

.at-editorial-mobile-menu > .menu-item-2087 > a {
  border-radius: 14px;
  background: rgba(10, 79, 138, .12);
  color: #bfe0f6 !important;
  font-weight: 850;
}

.at-mega-hearing-shell {
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.72fr);
  gap: 34px;
}

.at-mega-menu-intro-hearing {
  position: relative;
  overflow: hidden;
  border-color: rgba(8, 43, 49, .1);
  background: linear-gradient(150deg, #dff4f1 0%, #bfe8e3 100%) !important;
  color: #082b31 !important;
  box-shadow: 0 18px 42px rgba(8, 43, 49, .09);
}

.at-mega-menu-intro-hearing::before,
.at-mega-menu-intro-hearing::after {
  display: none !important;
  content: none !important;
}

.at-mega-menu-intro-hearing h2 {
  max-width: 11ch;
  color: #082b31 !important;
  font-size: clamp(2rem, 2.25vw, 2.55rem);
  line-height: 1.02;
  text-wrap: balance;
}

.at-mega-menu-intro-hearing .at-mega-menu-kicker {
  color: #16786f;
}

.at-mega-menu-intro-hearing h2,
.at-mega-menu-intro-hearing p {
  color: #082b31;
}

.at-mega-menu-intro-hearing p {
  color: #3a5b60;
}

.at-mega-hearing-start {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

.at-mega-hearing-start a {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 43, 49, .11);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  color: #082b31 !important;
  font-size: .86rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(8, 43, 49, .05);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.at-mega-hearing-start a:hover,
.at-mega-hearing-start a:focus-visible {
  border-color: rgba(22, 120, 111, .28);
  background: #fff;
  transform: translateX(3px);
}

.at-mega-hearing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.at-mega-hearing-group {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(8, 43, 49, .1);
  border-radius: 22px;
  background: #fff;
}

.at-mega-hearing-group-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #082b31;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.at-mega-hearing-group-heading i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f9e94;
  box-shadow: 0 0 0 5px rgba(47, 158, 148, .1);
}

.at-mega-hearing-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 11px;
  align-items: center;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #17343e !important;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.at-mega-hearing-link:hover,
.at-mega-hearing-link:focus-visible {
  border-color: rgba(10, 79, 138, .12);
  background: #f2f8fb;
  transform: translateX(2px);
}

.at-mega-hearing-link-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #e8f4fa;
  color: #0a4f8a;
}

.at-mega-hearing-link-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.at-mega-hearing-link-copy {
  min-width: 0;
}

.at-mega-hearing-link-copy strong,
.at-mega-hearing-link-copy small {
  display: block;
}

.at-mega-hearing-link-copy strong {
  color: #082b31;
  font-size: .91rem;
  line-height: 1.2;
}

.at-mega-hearing-link-copy small {
  margin-top: 3px;
  color: #647b7e;
  font-size: .72rem;
  line-height: 1.35;
}

.at-mega-hearing-link-arrow {
  color: #2f9e94;
  font-weight: 900;
}

.at-mega-hearing-brand-link {
  grid-template-columns: 86px minmax(0, 1fr) 18px;
  min-height: 72px;
  padding: 9px 10px;
}

.at-mega-hearing-brand-logo {
  display: grid;
  place-items: center;
  width: 86px;
  height: 46px;
  overflow: hidden;
  padding: 7px 9px;
  border: 1px solid rgba(8, 43, 49, .1);
  border-radius: 12px;
  background: #fff;
}

.at-mega-hearing-brand-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 72px !important;
  max-height: 31px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.at-mega-brand-wordmark {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1;
}

.at-mega-hearing-brand-phonak .at-mega-hearing-brand-logo {
  border-color: rgba(27, 151, 157, .2);
  background: #f1fbfa;
  color: #157f84;
}

.at-mega-hearing-brand-oticon .at-mega-hearing-brand-logo {
  border-color: rgba(65, 0, 50, .22);
  background: #410032;
  color: #fff;
}

.at-mega-hearing-brand-signia .at-mega-hearing-brand-logo {
  border-color: rgba(20, 35, 39, .12);
  background: #f4f3ef;
  color: #17282b;
}

.at-mega-hearing-brand-starkey .at-mega-hearing-brand-logo {
  border-color: rgba(15, 91, 120, .18);
  background: #eff8fa;
  color: #0f5b78;
}

.at-mega-hearing-brand-link .at-mega-hearing-link-copy strong {
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.at-mobile-hearing-label {
  padding: 18px 16px 7px !important;
  color: rgba(255,255,255,.5);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.at-editorial-mobile-menu-extra .at-mobile-hearing-link a {
  border-color: rgba(108, 181, 220, .22);
  background: rgba(10,79,138,.15);
  color: #bfe0f6 !important;
}

.ha4 [id^="hearing-aid-"] {
  scroll-margin-top: 132px;
}

@media (max-width: 1180px) {
  .at-mega-hearing-shell {
    grid-template-columns: minmax(220px, .58fr) minmax(0, 1.42fr);
  }

  .at-mega-hearing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .at-mega-hearing-group:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .at-mega-hearing-shell {
    grid-template-columns: 1fr;
  }
}
