.consult-banner {
  margin-top: 1.75rem;
  background: #fff;
}

@media (min-width: 640px) {
  .consult-banner {
    margin-top: 2.25rem;
  }
}

.consult-banner-hit {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.consult-banner-hit img {
  display: block;
  width: 100%;
  height: auto;
  outline: none;
  animation: consult-rise 0.9s ease both;
  transition: transform 0.7s ease;
}

.consult-banner-hit:hover img,
.consult-banner-hit:focus-visible img {
  transform: scale(1.008);
}

.consult-banner-sheen {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 236 196 / 0.28) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: consult-sheen 1.8s ease 0.55s 1 both;
}

@keyframes consult-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes consult-sheen {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(130%);
  }
}

.consult-dialog {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgb(11 26 69 / 0.7);
  padding: 12px;
}

@media (min-width: 640px) {
  .consult-dialog {
    align-items: center;
    padding: 24px;
  }
}

.consult-dialog[hidden] {
  display: none;
}

.consult-dialog-card {
  width: 100%;
  max-width: 28rem;
  max-height: min(100%, 40rem);
  overflow: auto;
  border-radius: 12px;
  background: #fff;
  color: #12141a;
  padding: 20px;
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.25);
}

@media (min-width: 640px) {
  .consult-dialog-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consult-banner-hit img,
  .consult-banner-sheen {
    animation: none;
  }
}
