/* Changes to the homepage hero. This file loads after the original styles. */
.sticky-cta {
  display: none !important;
}

body.has-mobile-dock {
  padding-bottom: 0 !important;
}

#av-quiz .avq-opt.avq-opt--photo {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1.4;
  min-height: 210px;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  text-align: center;
  isolation: isolate;
}

#av-quiz .avq-opt.avq-opt--photo::after {
  content: '';
  position: absolute;
  inset: 35% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(13, 37, 57, .88));
  pointer-events: none;
}

#av-quiz .avq-opt__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#av-quiz .avq-opt .avq-opt__photo-label {
  position: absolute;
  right: 12px;
  bottom: 18px;
  left: 12px;
  z-index: 2;
  color: #fff;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
  overflow-wrap: break-word;
}

#av-quiz .avq-opt .avq-opt__photo-label > b,
#av-quiz .avq-opt .avq-opt__photo-label > span {
  display: block;
  color: #fff;
}

#av-quiz .avq-opt .avq-opt__photo-label > b {
  font-size: 30px;
}

#av-quiz .avq-opt .avq-opt__photo-label > span {
  font-size: 15px;
}

#av-quiz .avq-opt.avq-opt--photo.is-active {
  border-color: #315f8b;
  box-shadow: 0 0 0 4px rgba(49, 95, 139, .45);
}

#av-quiz .avq-opts--purpose .avq-opt.avq-opt--photo {
  aspect-ratio: auto;
  height: clamp(90px, 18vh, 140px);
  min-height: 0;
}

#av-quiz .avq-card--purpose {
  padding: 16px 24px;
  scroll-margin-top: 94px;
}

#av-quiz .avq-card--purpose .avq-card__title {
  margin-bottom: 12px;
}

#av-quiz .avq-card--purpose .avq-progress {
  margin-bottom: 14px;
}

#av-quiz .avq-card--purpose .avq-q {
  margin-bottom: 12px;
}

#av-quiz .avq-card--purpose .avq-foot {
  margin-top: 14px;
}

#av-quiz .avq-channel__icon.avq-channel__icon--brand {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: transparent;
}

#av-quiz .avq-channel__icon--brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 560px) {
  #av-quiz .avq-opts--2col {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  #av-quiz .avq-container {
    padding-inline: 16px;
  }

  #av-quiz .avq-card {
    padding: 16px;
  }

  #av-quiz .avq-opt.avq-opt--photo {
    min-height: 150px;
    aspect-ratio: 1.05;
  }

  #av-quiz .avq-opts--purpose .avq-opt.avq-opt--photo {
    height: clamp(105px, 16vh, 125px);
    min-height: 0;
  }

  #av-quiz .avq-opt .avq-opt__photo-label {
    right: 7px;
    bottom: 11px;
    left: 7px;
    font-size: clamp(12px, 3.2vw, 15px);
  }

  #av-quiz .avq-opt .avq-opt__photo-label > b {
    font-size: 22px;
  }

  #av-quiz .avq-opt .avq-opt__photo-label > span {
    font-size: 12px;
  }
}

.topnav__track > .topnav__item {
  visibility: hidden;
}

.mobile-nav__panel > a:nth-child(-n+2) {
  display: none;
}

@media (min-width: 900px) {
  #av-quiz .avq-head h2 {
    font-size: clamp(40px, 3.7vw, 52px) !important;
    line-height: 1.1;
  }

  #av-quiz .avq-head p:not(.avq-free) {
    font-size: clamp(19px, 1.75vw, 24px);
    line-height: 1.4;
  }

  #av-quiz .avq-head .avq-free {
    font-size: 20px;
  }
}

.hero--frame2 .hero__text,
.hero--frame2 .hero__trust,
.hero--frame2 .hero__metrics,
.marquee {
  display: none !important;
}

.hero--frame2 .hero__content {
  gap: 28px;
}

.hero--frame2 .hero__benefits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #3f4b50;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.hero--frame2 .hero__benefits li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
}

.hero--frame2 .hero__benefits li::before {
  position: static;
  display: block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 4px rgba(31, 116, 171, .10);
  background: #467eb0;
}

.hero--frame2 .hero__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: 12px;
  width: min(100%, 610px);
}

.hero--frame2 .hero__cta > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 12px 16px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

@media (max-width: 620px) {
  .hero--frame2 .hero__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr);
    gap: 10px;
  }

  .hero--frame2 .hero__cta > button {
    font-size: 14px;
    padding-inline: 10px;
  }
}

@media (max-width: 767px) {
  .topbar .nav-toggle {
    display: none !important;
  }

  .hero--frame2 {
    min-height: calc(100svh - 73px);
    display: flex;
    align-items: center;
    padding-block: 28px;
  }

  .hero--frame2 .container,
  .hero--frame2 .hero__grid {
    width: 100%;
  }

  .hero--frame2 .hero__content {
    gap: clamp(24px, 4svh, 36px);
  }

  .hero--frame2 h1 {
    font-size: clamp(36px, 9.5vw, 44px);
  }

  .hero--frame2 .hero__benefits {
    gap: 14px;
    font-size: 17px;
  }

  .hero--frame2 .hero__cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .hero--frame2 .hero__cta > button {
    min-height: 58px;
    font-size: 16px;
  }

  .hero--frame2 .hero__media {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .hero--frame2 .hero__cta {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .hero--frame2 .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
    gap: clamp(32px, 4vw, 64px);
  }

  .hero--frame2 h1 {
    max-width: 13ch;
    font-size: clamp(46px, 4.4vw, 64px);
  }

  .hero--frame2 .hero__media {
    max-width: 370px;
  }
}
